HDK
|
#include <OCollections.h>
Public Types | |
typedef OCollectionsSchema | this_type |
![]() | |
typedef CollectionsSchemaInfo | info_type |
typedef OSchema < CollectionsSchemaInfo > | this_type |
![]() | |
typedef OCompoundProperty | this_type |
![]() | |
typedef OBasePropertyT < AbcA::CompoundPropertyWriterPtr > | this_type |
typedef OBasePropertyT < AbcA::CompoundPropertyWriterPtr > | operator_bool_base_type |
Protected Attributes | |
std::vector < Abc::OStringArrayProperty > | m_collections |
![]() | |
AbcA::CompoundPropertyWriterPtr | m_property |
Additional Inherited Members | |
![]() | |
static const char * | getSchemaTitle () |
static const char * | getSchemaBaseType () |
static const char * | getDefaultSchemaName () |
static bool | replaceOnSparse () |
static bool | matches (const AbcA::MetaData &iMetaData, SchemaInterpMatching iMatching=kStrictMatching) |
static bool | matches (const AbcA::PropertyHeader &iHeader, SchemaInterpMatching iMatching=kStrictMatching) |
![]() | |
OBasePropertyT () | |
OBasePropertyT (AbcA::CompoundPropertyWriterPtriPtr, ErrorHandler::Policy iPolicy) | |
![]() | |
Base () | |
Base (ErrorHandler::Policy iPolicy) | |
Base (const Base &iCopy) | |
Base & | operator= (const Base &iCopy) |
bool | valid () const |
void | reset () |
Definition at line 48 of file OCollections.h.
typedef OCollectionsSchema Alembic::AbcCollection::ALEMBIC_VERSION_NS::OCollectionsSchema::this_type |
Definition at line 53 of file OCollections.h.
|
inline |
Definition at line 55 of file OCollections.h.
Alembic::AbcCollection::ALEMBIC_VERSION_NS::OCollectionsSchema::OCollectionsSchema | ( | Alembic::AbcCoreAbstract::CompoundPropertyWriterPtr | iParent, |
const std::string & | iName, | ||
const Abc::Argument & | iArg0 = Abc::Argument() , |
||
const Abc::Argument & | iArg1 = Abc::Argument() , |
||
const Abc::Argument & | iArg2 = Abc::Argument() , |
||
const Abc::Argument & | iArg3 = Abc::Argument() |
||
) |
This constructor creates a new collections writer. The first argument is an CompoundPropertyWriterPtr to use as a parent. The next is the name to give the schema which is usually the default name given by OCollections (.collection) The remaining optional arguments can be used to override the ErrorHandlerPolicy, to specify MetaData, specify sparse sampling and to set TimeSampling.
Alembic::AbcCollection::ALEMBIC_VERSION_NS::OCollectionsSchema::OCollectionsSchema | ( | Abc::OCompoundProperty | iParent, |
const std::string & | iName, | ||
const Abc::Argument & | iArg0 = Abc::Argument() , |
||
const Abc::Argument & | iArg1 = Abc::Argument() , |
||
const Abc::Argument & | iArg2 = Abc::Argument() |
||
) |
This constructor creates a new collections writer. The first argument is an OCompundProperty to use as a parent, and from which the ErrorHandlerPolicy is derived. The next is the name to give the schema which is usually the default name given by OCollections (.collection) The remaining optional arguments can be used to specify MetaData, specify sparse sampling and to set TimeSampling.
|
inline |
Copy constructor.
Definition at line 84 of file OCollections.h.
Abc::OStringArrayProperty Alembic::AbcCollection::ALEMBIC_VERSION_NS::OCollectionsSchema::createCollection | ( | const std::string & | iName, |
const Abc::Argument & | iArg0 = Abc::Argument() , |
||
const Abc::Argument & | iArg1 = Abc::Argument() , |
||
const Abc::Argument & | iArg2 = Abc::Argument() |
||
) |
Create a named collection, if the collection already exists return it.
Abc::OStringArrayProperty Alembic::AbcCollection::ALEMBIC_VERSION_NS::OCollectionsSchema::getCollection | ( | size_t | i | ) |
Return a collection by index.
Abc::OStringArrayProperty Alembic::AbcCollection::ALEMBIC_VERSION_NS::OCollectionsSchema::getCollection | ( | const std::string & | iName | ) |
Return a collection by name.
|
inline |
Returns the number of collections that we have.
Definition at line 99 of file OCollections.h.
|
inline |
Returns whether this function set is valid.
Definition at line 108 of file OCollections.h.
|
protected |
Definition at line 114 of file OCollections.h.