Alembic::AbcCollection

class ICollectionsSchema

Public Types

typedef ICollectionsSchema this_type

Public Functions

ICollectionsSchema()
template <class CPROP_PTR>
ICollectionsSchema(CPROP_PTR iParent, const std::string &iName, const Abc::Argument &iArg0 = Abc::Argument(), const Abc::Argument &iArg1 = Abc::Argument())
template <class CPROP_PTR>
ICollectionsSchema(CPROP_PTR iParent, const Abc::Argument &iArg0 = Abc::Argument(), const Abc::Argument &iArg1 = Abc::Argument())

This constructor is the same as above, but with default schema name used.

template <class CPROP_PTR>
ICollectionsSchema(CPROP_PTR iThis, Abc::WrapExistingFlag iFlag, const Abc::Argument &iArg0 = Abc::Argument(), const Abc::Argument &iArg1 = Abc::Argument())

Wrap an existing schema object.

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.

Protected Functions

void init(const Abc::Argument &iArg0, const Abc::Argument &iArg1)

Protected Attributes

std::vector<Abc::IStringArrayProperty> m_collections
class OCollectionsSchema

Public Types

typedef OCollectionsSchema this_type

Public Functions

OCollectionsSchema()
template <class CPROP_PTR>
OCollectionsSchema(CPROP_PTR iParent, const std::string &iName, const Abc::Argument &iArg0 = Abc::Argument(), const Abc::Argument &iArg1 = Abc::Argument(), const Abc::Argument &iArg2 = Abc::Argument())
template <class CPROP_PTR>
OCollectionsSchema(CPROP_PTR iParent, const Abc::Argument &iArg0 = Abc::Argument(), const Abc::Argument &iArg1 = Abc::Argument(), const Abc::Argument &iArg2 = Abc::Argument())
OCollectionsSchema(const OCollectionsSchema &iCopy)

Copy constructor.

Abc::OStringArrayProperty 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.

size_t getNumCollections()

Returns the number of collections that we have.

Abc::OStringArrayProperty getCollection(size_t i)

Return a collection by index.

Abc::OStringArrayProperty getCollection(const std::string &iName)

Return a collection by name.

bool valid() const

Returns whether this function set is valid.

Protected Attributes

std::vector<Abc::OStringArrayProperty> m_collections
namespace Alembic
namespace AbcCollection
namespace ALEMBIC_VERSION_NS

Typedefs

typedef Abc::ISchemaObject<ICollectionsSchema> ICollections

Object declaration.

typedef Util::shared_ptr<ICollections> ICollectionsPtr
typedef Abc::OSchemaObject<OCollectionsSchema> OCollections

Object declaration.

typedef Util::shared_ptr<OCollections> OCollectionsPtr

Functions

Alembic::AbcCollection::ALEMBIC_VERSION_NS::ALEMBIC_ABC_DECLARE_SCHEMA_INFO("AbcCollection_Collections_v1", "", ".collection", CollectionsSchemaInfo)
file All.h
#include <Alembic/Util/Export.h>#include <Alembic/AbcCollection/ICollections.h>#include <Alembic/AbcCollection/OCollections.h>
file ICollections.h
#include <Alembic/Abc/All.h>#include <Alembic/Util/Export.h>#include <Alembic/AbcCollection/SchemaInfoDeclarations.h>
file OCollections.h
#include <Alembic/Abc/All.h>#include <Alembic/Util/Export.h>#include <Alembic/AbcCollection/SchemaInfoDeclarations.h>
file SchemaInfoDeclarations.h
#include <Alembic/Abc/OSchema.h>