#include <OObject.h>

Public Types | |
| typedef OObject | this_type |
| typedef OObject | operator_bool_base_type |
Public Member Functions | |
| OObject () | |
| template<class OBJECT_PTR > | |
| OObject (OBJECT_PTR iParentObject, const std::string &iName, const Argument &iArg0=Argument(), const Argument &iArg1=Argument(), const Argument &iArg2=Argument()) | |
| template<class OBJECT_PTR > | |
| OObject (OBJECT_PTR iPtr, WrapExistingFlag iFlag, const Argument &iArg0=Argument(), const Argument &iArg1=Argument(), const Argument &iArg2=Argument()) | |
| template<class ARCHIVE_PTR > | |
| OObject (ARCHIVE_PTR iPtr, TopFlag iTop, const Argument &iArg0=Argument(), const Argument &iArg1=Argument(), const Argument &iArg2=Argument()) | |
| ~OObject () | |
| const AbcA::ObjectHeader & | getHeader () const |
| const std::string & | getName () const |
| const std::string & | getFullName () const |
| const AbcA::MetaData & | getMetaData () const |
| OArchive | getArchive () |
| OObject | getParent () |
| size_t | getNumChildren () |
| const AbcA::ObjectHeader & | getChildHeader (size_t i) |
| const AbcA::ObjectHeader * | getChildHeader (const std::string &iName) |
| OCompoundProperty | getProperties () |
| OObject | getChild (size_t iChildIndex) |
| OObject | getChild (const std::string &iChildName) |
| AbcA::ObjectWriterPtr | getPtr () |
| void | reset () |
| bool | valid () const |
| ALEMBIC_OPERATOR_BOOL (valid()) | |
Protected Attributes | |
| AbcA::ObjectWriterPtr | m_object |
Definition at line 52 of file OObject.h.
By convention, we always define "this_type" in every Abc class. This convention is relied upon by the unspecified-bool-type conversion.
Reimplemented in Alembic::Abc::ALEMBIC_VERSION_NS::OSchemaObject< SCHEMA >.
| Alembic::Abc::ALEMBIC_VERSION_NS::OObject::OObject | ( | ) | [inline] |
| Alembic::Abc::ALEMBIC_VERSION_NS::OObject::OObject | ( | OBJECT_PTR | iParentObject, | |
| const std::string & | iName, | |||
| const Argument & | iArg0 = Argument(), |
|||
| const Argument & | iArg1 = Argument(), |
|||
| const Argument & | iArg2 = Argument() | |||
| ) | [inline] |
This templated, explicit function creates a new object writer. The first argument is any Abc (or AbcCoreAbstract) object which can intrusively be converted to an ObjectWriterPtr to use as a parent, from which the error handler policy for inheritance is also derived. The remaining optional arguments can be used to override the ErrorHandlerPolicy, to specify MetaData, and that's it.
| Alembic::Abc::ALEMBIC_VERSION_NS::OObject::~OObject | ( | ) |
Default copy constructor used Default assignment operator used. Destructor ...
| Alembic::Abc::ALEMBIC_VERSION_NS::OObject::ALEMBIC_OPERATOR_BOOL | ( | valid() | ) |
The unspecified-bool-type operator casts the object to "true" if it is valid, and "false" otherwise.
| OArchive Alembic::Abc::ALEMBIC_VERSION_NS::OObject::getArchive | ( | ) |
This function returns the object's archive, handily wrapped in an OArchive wrapper.
| OObject Alembic::Abc::ALEMBIC_VERSION_NS::OObject::getChild | ( | const std::string & | iChildName | ) |
| OObject Alembic::Abc::ALEMBIC_VERSION_NS::OObject::getChild | ( | size_t | iChildIndex | ) |
| const AbcA::ObjectHeader* Alembic::Abc::ALEMBIC_VERSION_NS::OObject::getChildHeader | ( | const std::string & | iName | ) |
This function returns the header of a named object if it has been created - even if the object no longer exists.
| const AbcA::ObjectHeader& Alembic::Abc::ALEMBIC_VERSION_NS::OObject::getChildHeader | ( | size_t | i | ) |
This function returns the headers of each of the child objects created so far.
| const std::string& Alembic::Abc::ALEMBIC_VERSION_NS::OObject::getFullName | ( | ) | const [inline] |
| const AbcA::ObjectHeader& Alembic::Abc::ALEMBIC_VERSION_NS::OObject::getHeader | ( | ) | const |
Return the object's header. ...
| const AbcA::MetaData& Alembic::Abc::ALEMBIC_VERSION_NS::OObject::getMetaData | ( | ) | const [inline] |
| const std::string& Alembic::Abc::ALEMBIC_VERSION_NS::OObject::getName | ( | ) | const [inline] |
| size_t Alembic::Abc::ALEMBIC_VERSION_NS::OObject::getNumChildren | ( | ) |
This function returns the number of child objects that this object has. This may change as new children are created for writing.
| OObject Alembic::Abc::ALEMBIC_VERSION_NS::OObject::getParent | ( | ) |
| OCompoundProperty Alembic::Abc::ALEMBIC_VERSION_NS::OObject::getProperties | ( | ) |
This returns the single top-level OCompoundProperty that exists automatically as part of the object.
| AbcA::ObjectWriterPtr Alembic::Abc::ALEMBIC_VERSION_NS::OObject::getPtr | ( | ) | [inline] |
getPtr, as usual, returns a shared ptr to the underlying AbcCoreAbstract object, in this case the ObjectWriterPtr.
| void Alembic::Abc::ALEMBIC_VERSION_NS::OObject::reset | ( | ) | [inline] |
Reset returns this function set to an empty, default state.
Reimplemented from Alembic::Abc::ALEMBIC_VERSION_NS::Base.
Reimplemented in Alembic::Abc::ALEMBIC_VERSION_NS::OSchemaObject< SCHEMA >.
| bool Alembic::Abc::ALEMBIC_VERSION_NS::OObject::valid | ( | ) | const [inline] |
Valid returns whether this function set is valid.
Reimplemented from Alembic::Abc::ALEMBIC_VERSION_NS::Base.
Reimplemented in Alembic::Abc::ALEMBIC_VERSION_NS::OSchemaObject< SCHEMA >.
AbcA::ObjectWriterPtr Alembic::Abc::ALEMBIC_VERSION_NS::OObject::m_object [protected] |
1.5.9