|
Alembic Version 1.1
|
#include <OCompoundProperty.h>
Public Types | |
| typedef OCompoundProperty | this_type |
| Public Types inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< AbcA::CompoundPropertyWriterPtr > | |
| typedef OBasePropertyT< AbcA::CompoundPropertyWriterPtr > | this_type |
| typedef OBasePropertyT< AbcA::CompoundPropertyWriterPtr > | operator_bool_base_type |
Public Member Functions | |
| OCompoundProperty () | |
| OCompoundProperty (AbcA::CompoundPropertyWriterPtr iParent, const std::string &iName, const Argument &iArg0=Argument(), const Argument &iArg1=Argument()) | |
| OCompoundProperty (OCompoundProperty iParent, const std::string &iName, const Argument &iArg0=Argument(), const Argument &iArg1=Argument()) | |
| OCompoundProperty (AbcA::CompoundPropertyWriterPtr iProp, const Argument &iArg0=Argument(), const Argument &iArg1=Argument()) | |
| OCompoundProperty (AbcA::CompoundPropertyWriterPtr iProp, WrapExistingFlag iWrapFlag=kWrapExisting, const Argument &iArg0=Argument(), const Argument &iArg1=Argument()) | |
| OCompoundProperty (OObject iObject, const Argument &iArg0=Argument(), const Argument &iArg1=Argument()) | |
| OCompoundProperty (OObject iObject, TopFlag iTopFlag=kTop, const Argument &iArg0=Argument(), const Argument &iArg1=Argument()) | |
| ~OCompoundProperty () | |
| size_t | getNumProperties () const |
| const AbcA::PropertyHeader & | getPropertyHeader (size_t i) const |
| const AbcA::PropertyHeader * | getPropertyHeader (const std::string &iName) const |
| OBaseProperty | getProperty (size_t i) const |
| OBaseProperty | getProperty (const std::string &iName) const |
| OCompoundProperty | getParent () const |
| Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< AbcA::CompoundPropertyWriterPtr > | |
| 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 |
| OObject | getObject () const |
| AbcA::CompoundPropertyWriterPtr | 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 |
Additional Inherited Members | |
| Protected Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< AbcA::CompoundPropertyWriterPtr > | |
| OBasePropertyT () | |
| 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::OBasePropertyT< AbcA::CompoundPropertyWriterPtr > | |
| AbcA::CompoundPropertyWriterPtr | m_property |
Definition at line 51 of file OCompoundProperty.h.
By convention we always define this_type in Abc classes Used by unspecified-bool-type conversion below
Definition at line 57 of file OCompoundProperty.h.
|
inline |
The default constructor creates an empty OCompoundProperty function set. ...
Definition at line 65 of file OCompoundProperty.h.
References Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< AbcA::CompoundPropertyWriterPtr >::OBasePropertyT().
Referenced by OCompoundProperty(), Alembic::Abc::ALEMBIC_VERSION_NS::OSchema< XformSchemaInfo >::OSchema(), and getParent().
| Alembic::Abc::ALEMBIC_VERSION_NS::OCompoundProperty::OCompoundProperty | ( | AbcA::CompoundPropertyWriterPtr | iParent, |
| const std::string & | iName, | ||
| const Argument & | iArg0 = Argument(), | ||
| const Argument & | iArg1 = Argument() ) |
Create a new OCompoundProperty named iName as a child of iParent. The remaining optional arguments can be used to override the ErrorHandlerPolicy, or to specify MetaData.
| Alembic::Abc::ALEMBIC_VERSION_NS::OCompoundProperty::OCompoundProperty | ( | OCompoundProperty | iParent, |
| const std::string & | iName, | ||
| const Argument & | iArg0 = Argument(), | ||
| const Argument & | iArg1 = Argument() ) |
Create a new OCompoundProperty named iName as a child of iParent. The remaining optional arguments can be used to override the ErrorHandlerPolicy, or to specify MetaData.
References OCompoundProperty().
| Alembic::Abc::ALEMBIC_VERSION_NS::OCompoundProperty::OCompoundProperty | ( | AbcA::CompoundPropertyWriterPtr | iProp, |
| const Argument & | iArg0 = Argument(), | ||
| const Argument & | iArg1 = Argument() ) |
This attaches an OCompoundProperty wrapper around an existing CompoundPropertyWriterPtr, with an optional error handling policy.
| Alembic::Abc::ALEMBIC_VERSION_NS::OCompoundProperty::OCompoundProperty | ( | AbcA::CompoundPropertyWriterPtr | iProp, |
| WrapExistingFlag | iWrapFlag = kWrapExisting, | ||
| const Argument & | iArg0 = Argument(), | ||
| const Argument & | iArg1 = Argument() ) |
References Alembic::Abc::ALEMBIC_VERSION_NS::kWrapExisting.
| Alembic::Abc::ALEMBIC_VERSION_NS::OCompoundProperty::OCompoundProperty | ( | OObject | iObject, |
| const Argument & | iArg0 = Argument(), | ||
| const Argument & | iArg1 = Argument() ) |
This attaches an OCompoundProperty wrapper around the top properties of an OObject.
| Alembic::Abc::ALEMBIC_VERSION_NS::OCompoundProperty::OCompoundProperty | ( | OObject | iObject, |
| TopFlag | iTopFlag = kTop, | ||
| const Argument & | iArg0 = Argument(), | ||
| const Argument & | iArg1 = Argument() ) |
References Alembic::Abc::ALEMBIC_VERSION_NS::kTop.
| Alembic::Abc::ALEMBIC_VERSION_NS::OCompoundProperty::~OCompoundProperty | ( | ) |
Default copy constructor used Default assignment operator used.
Destructor ...
| size_t Alembic::Abc::ALEMBIC_VERSION_NS::OCompoundProperty::getNumProperties | ( | ) | const |
Returns the number of properties that have been created thus far. May change as more are created.
| OCompoundProperty Alembic::Abc::ALEMBIC_VERSION_NS::OCompoundProperty::getParent | ( | ) | const |
Return the parent compound property, handily wrapped in a OCompoundProperty wrapper.
References OCompoundProperty().
| OBaseProperty Alembic::Abc::ALEMBIC_VERSION_NS::OCompoundProperty::getProperty | ( | const std::string & | iName | ) | const |
Return a wrapped base property version of an ALREADY ADDED property. Will return an empty pointer if the writer for this property no longer exists or was never added. This would primarily be used for introspection.
| OBaseProperty Alembic::Abc::ALEMBIC_VERSION_NS::OCompoundProperty::getProperty | ( | size_t | i | ) | const |
Return a wrapped base property version of an ALREADY ADDED property. Will return an empty pointer if the writer for this property no longer exists or was never added. This would primarily be used for introspection.
| const AbcA::PropertyHeader * Alembic::Abc::ALEMBIC_VERSION_NS::OCompoundProperty::getPropertyHeader | ( | const std::string & | iName | ) | const |
Return the header of a property that has already been added. Property is selected by name. This will return NULL if no property with the given name is found.
| const AbcA::PropertyHeader & Alembic::Abc::ALEMBIC_VERSION_NS::OCompoundProperty::getPropertyHeader | ( | size_t | i | ) | const |
Return the header of a property that has already been added. Property is selected by index. This will throw an exception on out-of-range access.