Alembic Version 1.1
Loading...
Searching...
No Matches
Alembic::AbcCollection::ALEMBIC_VERSION_NS::ICollectionsSchema Class Reference

#include <ICollections.h>

Inheritance diagram for Alembic::AbcCollection::ALEMBIC_VERSION_NS::ICollectionsSchema:
Collaboration diagram for Alembic::AbcCollection::ALEMBIC_VERSION_NS::ICollectionsSchema:

Public Types

typedef ICollectionsSchema this_type
Public Types inherited from Alembic::Abc::ALEMBIC_VERSION_NS::ISchema< CollectionsSchemaInfo >
typedef CollectionsSchemaInfo info_type
typedef ISchema< CollectionsSchemaInfo > this_type
Public Types inherited from Alembic::Abc::ALEMBIC_VERSION_NS::ICompoundProperty
typedef ICompoundProperty this_type

Public Member Functions

 ICollectionsSchema ()
 ICollectionsSchema (const ICompoundProperty &iParent, const std::string &iName, const Abc::Argument &iArg0=Abc::Argument(), const Abc::Argument &iArg1=Abc::Argument())
 ICollectionsSchema (const ICompoundProperty &iProp, const Abc::Argument &iArg0=Abc::Argument(), const Abc::Argument &iArg1=Abc::Argument())
 ICollectionsSchema (const ICollectionsSchema &iCopy)
 Copy constructor.
size_t getNumCollections ()
 Returns the number of collections that we have.
Abc::IStringArrayProperty getCollection (size_t i)
 Return a collection by index.
Abc::IStringArrayProperty getCollection (const std::string &iName)
 Return a collection by name.
std::string getCollectionName (size_t i)
 Returns the name of a collection at a given index.
bool valid () const
 Returns whether this function set is valid.
Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::ISchema< CollectionsSchemaInfo >
 ISchema ()
virtual ~ISchema ()
Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::ICompoundProperty
 ICompoundProperty ()
 ICompoundProperty (const ICompoundProperty &iParent, const std::string &iName, const Argument &iArg0=Argument())
 ICompoundProperty (AbcA::CompoundPropertyReaderPtr iPtr, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
 ICompoundProperty (AbcA::CompoundPropertyReaderPtr iPtr, WrapExistingFlag, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
 ICompoundProperty (const IObject &iObject, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
 ICompoundProperty (const IObject &iObject, TopFlag, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
 ~ICompoundProperty ()
size_t getNumProperties () const
 Returns the number of properties contained in this ICompoundProperty.
const AbcA::PropertyHeader & getPropertyHeader (size_t i) const
const AbcA::PropertyHeader * getPropertyHeader (const std::string &iName) const
ICompoundProperty getParent () const
Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::IBasePropertyT< AbcA::CompoundPropertyReaderPtr >
const AbcA::PropertyHeader & getHeader () const
const std::string & getName () const
AbcA::PropertyType getPropertyType () const
bool isScalar () const
bool isArray () const
bool isCompound () const
bool isSimple () const
const AbcA::MetaData & getMetaData () const
const AbcA::DataType & getDataType () const
AbcA::TimeSamplingPtr getTimeSampling () const
IObject getObject () const
AbcA::CompoundPropertyReaderPtr getPtr () const
void reset ()
bool valid () const
 ALEMBIC_OPERATOR_BOOL (valid())
Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::Base
ErrorHandlergetErrorHandler () const
ErrorHandler::Policy getErrorHandlerPolicy () const

Protected Member Functions

void init (const Abc::Argument &iArg0, const Abc::Argument &iArg1)
Protected Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::IBasePropertyT< AbcA::CompoundPropertyReaderPtr >
 IBasePropertyT ()
Protected Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::Base
 Base ()
 Base (ErrorHandler::Policy iPolicy)
 Base (const Base &iCopy)
Baseoperator= (const Base &iCopy)
bool valid () const
void reset ()

Protected Attributes

std::vector< Abc::IStringArrayPropertym_collections
Protected Attributes inherited from Alembic::Abc::ALEMBIC_VERSION_NS::IBasePropertyT< AbcA::CompoundPropertyReaderPtr >
AbcA::CompoundPropertyReaderPtr m_property

Additional Inherited Members

Static Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::ISchema< CollectionsSchemaInfo >
static const char * getSchemaTitle ()
static const char * getDefaultSchemaName ()
static bool matches (const AbcA::MetaData &iMetaData, SchemaInterpMatching iMatching=kStrictMatching)
Protected Types inherited from Alembic::Abc::ALEMBIC_VERSION_NS::IBasePropertyT< AbcA::CompoundPropertyReaderPtr >
typedef IBasePropertyT< AbcA::CompoundPropertyReaderPtr > this_type
typedef IBasePropertyT< AbcA::CompoundPropertyReaderPtr > operator_bool_base_type

Detailed Description

Definition at line 48 of file ICollections.h.

Member Typedef Documentation

◆ this_type

Constructor & Destructor Documentation

◆ ICollectionsSchema() [1/4]

Alembic::AbcCollection::ALEMBIC_VERSION_NS::ICollectionsSchema::ICollectionsSchema ( )
inline

Definition at line 56 of file ICollections.h.

Referenced by ICollectionsSchema().

Here is the caller graph for this function:

◆ ICollectionsSchema() [2/4]

Alembic::AbcCollection::ALEMBIC_VERSION_NS::ICollectionsSchema::ICollectionsSchema ( const ICompoundProperty & iParent,
const std::string & iName,
const Abc::Argument & iArg0 = Abc::Argument(),
const Abc::Argument & iArg1 = Abc::Argument() )
inline

This constructor creates a new collections reader. The first argument is the parent ICompoundProperty, from which the error handler policy for is derived. The second argument is the name of the ICompoundProperty that contains this schemas properties. The remaining optional arguments can be used to override the ErrorHandlerPolicy and to specify schema interpretation matching.

Definition at line 64 of file ICollections.h.

References Alembic::Abc::ALEMBIC_VERSION_NS::ICompoundProperty::ICompoundProperty(), Alembic::Abc::ALEMBIC_VERSION_NS::ISchema< CollectionsSchemaInfo >::ISchema(), and init().

Here is the call graph for this function:

◆ ICollectionsSchema() [3/4]

Alembic::AbcCollection::ALEMBIC_VERSION_NS::ICollectionsSchema::ICollectionsSchema ( const ICompoundProperty & iProp,
const Abc::Argument & iArg0 = Abc::Argument(),
const Abc::Argument & iArg1 = Abc::Argument() )
inline

This constructor wraps an existing ICompoundProperty as the collection reader, and the error handler policy is derived from it. The remaining optional arguments can be used to override the ErrorHandlerPolicy and to specify schema interpretation matching.

Definition at line 77 of file ICollections.h.

References Alembic::Abc::ALEMBIC_VERSION_NS::ICompoundProperty::ICompoundProperty(), Alembic::Abc::ALEMBIC_VERSION_NS::ISchema< CollectionsSchemaInfo >::ISchema(), and init().

Here is the call graph for this function:

◆ ICollectionsSchema() [4/4]

Alembic::AbcCollection::ALEMBIC_VERSION_NS::ICollectionsSchema::ICollectionsSchema ( const ICollectionsSchema & iCopy)
inline

Copy constructor.

Definition at line 86 of file ICollections.h.

References ICollectionsSchema(), and Alembic::Abc::ALEMBIC_VERSION_NS::ISchema< CollectionsSchemaInfo >::ISchema().

Here is the call graph for this function:

Member Function Documentation

◆ getCollection() [1/2]

Abc::IStringArrayProperty Alembic::AbcCollection::ALEMBIC_VERSION_NS::ICollectionsSchema::getCollection ( const std::string & iName)

Return a collection by name.

◆ getCollection() [2/2]

Abc::IStringArrayProperty Alembic::AbcCollection::ALEMBIC_VERSION_NS::ICollectionsSchema::getCollection ( size_t i)

Return a collection by index.

◆ getCollectionName()

std::string Alembic::AbcCollection::ALEMBIC_VERSION_NS::ICollectionsSchema::getCollectionName ( size_t i)

Returns the name of a collection at a given index.

◆ getNumCollections()

size_t Alembic::AbcCollection::ALEMBIC_VERSION_NS::ICollectionsSchema::getNumCollections ( )
inline

Returns the number of collections that we have.

Definition at line 93 of file ICollections.h.

References m_collections.

◆ init()

void Alembic::AbcCollection::ALEMBIC_VERSION_NS::ICollectionsSchema::init ( const Abc::Argument & iArg0,
const Abc::Argument & iArg1 )
protected

Referenced by ICollectionsSchema(), and ICollectionsSchema().

Here is the caller graph for this function:

◆ valid()

bool Alembic::AbcCollection::ALEMBIC_VERSION_NS::ICollectionsSchema::valid ( ) const
inline

Returns whether this function set is valid.

Definition at line 105 of file ICollections.h.

Member Data Documentation

◆ m_collections

std::vector< Abc::IStringArrayProperty > Alembic::AbcCollection::ALEMBIC_VERSION_NS::ICollectionsSchema::m_collections
protected

Definition at line 114 of file ICollections.h.

Referenced by getNumCollections().


The documentation for this class was generated from the following file: