HDK
|
#include <CompoundPropertyWriter.h>
A CompoundProperty is a group of other properties, possibly Simple or possibly Compound. Every object has at one of these.
Definition at line 51 of file CompoundPropertyWriter.h.
|
virtual |
Virtual destructor ...
|
pure virtual |
Create and return the requested array property. If a property already exists with the same name, throws. an exception. An exception will also be thrown if the DataType, or time sampling index is illegal.
|
pure virtual |
Create and return the requested compound property. If a property already exists with the same name, throws an exception.
|
pure virtual |
Create and return the requested scalar property. If a property already exists with the same name, throws an exception. An exception will also be thrown if the DataType, or time sampling index is illegal.
|
pure virtual |
Returns the number of properties that have been created thus far. May change as more are created.
BasePropertyWriterPtr Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::CompoundPropertyWriter::getProperty | ( | size_t | i | ) |
It is an error to request for a property by index out of range. This returns a property that has ALREADY BEEN ADDED. This will throw an exception on out-of-range access. There is a possibility it could return a NULL pointer, if the added property has been closed (deleted). This is just a convenience function which calls getPropertyHeader and then getProperty.
|
pure virtual |
Returns an ALREADY ADDED PROPERTY by name. If it can't find one by name, it returns an empty pointer. This can also happen if the property was added, but has been closed (deleted).
|
pure virtual |
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.
|
pure virtual |
Return the header of a property that has already been added, found by name. A typical use of this would be for an application that wants to incrementally add properties, and wishes to query whether a property of a given name has already been added, before attempting to add a new one. This will return NULL if no property of the given name has been added.