HDK
|
#include <ICompoundProperty.h>
Public Types | |
typedef ICompoundProperty | this_type |
Additional Inherited Members | |
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 |
Protected Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::IBasePropertyT< AbcA::CompoundPropertyReaderPtr > | |
IBasePropertyT () | |
IBasePropertyT (AbcA::CompoundPropertyReaderPtriPtr, ErrorHandler::Policy iPolicy) | |
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 inherited from Alembic::Abc::ALEMBIC_VERSION_NS::IBasePropertyT< AbcA::CompoundPropertyReaderPtr > | |
AbcA::CompoundPropertyReaderPtr | m_property |
Definition at line 51 of file ICompoundProperty.h.
By convention we always define this_type in Abc classes Used by unspecified-bool-type conversion below
Definition at line 57 of file ICompoundProperty.h.
|
inline |
The default constructor creates an empty ICompoundProperty function set. ...
Definition at line 65 of file ICompoundProperty.h.
Alembic::Abc::ALEMBIC_VERSION_NS::ICompoundProperty::ICompoundProperty | ( | const ICompoundProperty & | iParent, |
const std::string & | iName, | ||
const Argument & | iArg0 = Argument() |
||
) |
This constructor creates a new compound property reader. The first argument is the parent ICompundProperty, from which the error handler policy for inheritance is also derived. The remaining optional arguments can be used to override the ErrorHandlerPolicy, and that's it.
Alembic::Abc::ALEMBIC_VERSION_NS::ICompoundProperty::ICompoundProperty | ( | AbcA::CompoundPropertyReaderPtr | iPtr, |
const Argument & | iArg0 = Argument() , |
||
const Argument & | iArg1 = Argument() |
||
) |
This attaches an ICompoundProperty wrapper around an existing CompoundPropertyReaderPtr, with an optional error handling policy.
The extra argument is to support ISchema, which is publicly derived from ICompoundProperty (see ISchema.h).
Alembic::Abc::ALEMBIC_VERSION_NS::ICompoundProperty::ICompoundProperty | ( | AbcA::CompoundPropertyReaderPtr | iPtr, |
WrapExistingFlag | , | ||
const Argument & | iArg0 = Argument() , |
||
const Argument & | iArg1 = Argument() |
||
) |
Alembic::Abc::ALEMBIC_VERSION_NS::ICompoundProperty::ICompoundProperty | ( | const IObject & | iObject, |
const Argument & | iArg0 = Argument() , |
||
const Argument & | iArg1 = Argument() |
||
) |
This attaches an ICompoundProperty wrapper around the top properties of any object, with an optional error handling policy.
The extra argument is to support ISchema, which is publicly derived from ICompoundProperty (see ISchema.h).
Alembic::Abc::ALEMBIC_VERSION_NS::ICompoundProperty::ICompoundProperty | ( | const IObject & | iObject, |
TopFlag | , | ||
const Argument & | iArg0 = Argument() , |
||
const Argument & | iArg1 = Argument() |
||
) |
Alembic::Abc::ALEMBIC_VERSION_NS::ICompoundProperty::~ICompoundProperty | ( | ) |
Default copy constructor used Default assignment operator used. Destructor ...
size_t Alembic::Abc::ALEMBIC_VERSION_NS::ICompoundProperty::getNumProperties | ( | ) | const |
Returns the number of properties contained in this ICompoundProperty.
ICompoundProperty Alembic::Abc::ALEMBIC_VERSION_NS::ICompoundProperty::getParent | ( | ) | const |
There is no distinction between already added properties and created properties with an AbcA::CompoundPropertyReader, therefore we have no need to expose "getProperty". Simply use the appropriate IScalarProperty, ICompoundProperty, or IArrayProperty wrappers. Return the parent compound property, handily wrapped in a ICompoundProperty wrapper.
const AbcA::PropertyHeader& Alembic::Abc::ALEMBIC_VERSION_NS::ICompoundProperty::getPropertyHeader | ( | size_t | i | ) | const |
Return the header of a child property. Property is selected by index. This will throw an exception on out-of-range access.
const AbcA::PropertyHeader* Alembic::Abc::ALEMBIC_VERSION_NS::ICompoundProperty::getPropertyHeader | ( | const std::string & | iName | ) | const |
Return the header of a property name. This will return a NULL pointer if no header by that name is found.