|
Alembic Version 1.1
|
#include <ICollections.h>
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 | |
| ErrorHandler & | getErrorHandler () 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) | |
| Base & | operator= (const Base &iCopy) |
| bool | valid () const |
| void | reset () |
Protected Attributes | |
| std::vector< Abc::IStringArrayProperty > | m_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 |
Definition at line 48 of file ICollections.h.
| typedef ICollectionsSchema Alembic::AbcCollection::ALEMBIC_VERSION_NS::ICollectionsSchema::this_type |
Definition at line 53 of file ICollections.h.
|
inline |
Definition at line 56 of file ICollections.h.
Referenced by ICollectionsSchema().
|
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().
|
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().
|
inline |
Copy constructor.
Definition at line 86 of file ICollections.h.
References ICollectionsSchema(), and Alembic::Abc::ALEMBIC_VERSION_NS::ISchema< CollectionsSchemaInfo >::ISchema().
| Abc::IStringArrayProperty Alembic::AbcCollection::ALEMBIC_VERSION_NS::ICollectionsSchema::getCollection | ( | const std::string & | iName | ) |
Return a collection by name.
| Abc::IStringArrayProperty Alembic::AbcCollection::ALEMBIC_VERSION_NS::ICollectionsSchema::getCollection | ( | size_t | i | ) |
Return a collection by index.
| std::string Alembic::AbcCollection::ALEMBIC_VERSION_NS::ICollectionsSchema::getCollectionName | ( | size_t | i | ) |
Returns the name of a collection at a given index.
|
inline |
Returns the number of collections that we have.
Definition at line 93 of file ICollections.h.
References m_collections.
|
protected |
Referenced by ICollectionsSchema(), and ICollectionsSchema().
|
inline |
Returns whether this function set is valid.
Definition at line 105 of file ICollections.h.
|
protected |
Definition at line 114 of file ICollections.h.
Referenced by getNumCollections().