Base Property Reader.
More...
#include <BasePropertyReader.h>
Base Property Reader.
Definition at line 51 of file BasePropertyReader.h.
virtual Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::BasePropertyReader::~BasePropertyReader |
( |
| ) |
|
|
virtual |
virtual ArrayPropertyReaderPtr Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::BasePropertyReader::asArrayPtr |
( |
| ) |
|
|
virtual |
Up-cast this base property to an ArrayProperty, if such an upcast is valid. This can be checked with the isArray() function. If the upcast is not valid, an empty pointer will be returned. This default implementation returns an empty pointer.
Up-cast this base property to a CompoundProperty, if such an upcast is valid. This can be checked with the isCompound() function. If the upcast is not valid, an empty pointer will be returned. This default implementation returns an empty pointer.
Up-cast this base property to a ScalarProperty, if such an upcast is valid. This can be checked with the isScalar() function. If the upcast is not valid, an empty pointer will be returned. This default implementation returns an empty pointer.
const DataType& Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::BasePropertyReader::getDataType |
( |
| ) |
const |
|
inline |
Non-compound properties have a DataType. It is an error to call this function for CompoundProperties, and an exception will be thrown. This is a convenience function which just returns the DataType from the header that was used in creation.
Definition at line 109 of file BasePropertyReader.h.
virtual const PropertyHeader& Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::BasePropertyReader::getHeader |
( |
| ) |
const |
|
pure virtual |
Properties are created with a collection of metadata that is stored in a lightweight structure called PropertyHeader. This returns a constant reference to the PropertyHeader which was given upon creation.
const MetaData& Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::BasePropertyReader::getMetaData |
( |
| ) |
const |
|
inline |
const std::string& Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::BasePropertyReader::getName |
( |
| ) |
const |
|
inline |
All properties have a name, which is unique amongst its siblings in the compund property they all live in. This is the name that was given when the property was created, and is part of the property header.
Definition at line 73 of file BasePropertyReader.h.
virtual ObjectReaderPtr Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::BasePropertyReader::getObject |
( |
| ) |
|
|
pure virtual |
All properties have an object that owns them, and in order to ensure the object stays alive as long as the properties do, they retain a shared pointer to their object.
Most properties live in a compound property. (Except for the top-compound property in any object) This returns a pointer to the parent compound property.
PropertyType Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::BasePropertyReader::getPropertyType |
( |
| ) |
const |
|
inline |
There are three types of abstract properties. They are Scalar, Array, and Compound properties. This function returns an enum PropertyType which indicates which property type is returned. This is simply a convenience function which returns data from the PropertyHeader.
Definition at line 81 of file BasePropertyReader.h.
TimeSamplingPtr Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::BasePropertyReader::getTimeSampling |
( |
| ) |
const |
|
inline |
Non-compound properties have a TimeSampling. It is an error to call this function for CompoundProperties, and an exception will be thrown. This is a convenience function which just returns the TimeSampling from the header that was used in creation.
Definition at line 116 of file BasePropertyReader.h.
bool Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::BasePropertyReader::isArray |
( |
| ) |
const |
|
inline |
bool Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::BasePropertyReader::isCompound |
( |
| ) |
const |
|
inline |
bool Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::BasePropertyReader::isScalar |
( |
| ) |
const |
|
inline |
bool Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::BasePropertyReader::isSimple |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: