Loading...
Searching...
No Matches
Alembic::Abc::ALEMBIC_VERSION_NS::OScalarProperty Class Reference

`#include <OScalarProperty.h>`

Inherits Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< AbcA::ScalarPropertyWriterPtr >.

Inherited by Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< BooleanTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< Uint8TPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< Int8TPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< Uint16TPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< Int16TPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< Uint32TPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< Int32TPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< Uint64TPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< Int64TPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< Float16TPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< Float32TPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< Float64TPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< StringTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< WstringTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< V2sTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< V2iTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< V2fTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< V2dTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< V3sTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< V3iTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< V3fTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< V3dTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< P2sTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< P2iTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< P2fTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< P2dTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< P3sTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< P3iTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< P3fTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< P3dTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< Box2sTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< Box2iTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< Box2fTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< Box2dTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< Box3sTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< Box3iTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< Box3fTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< Box3dTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< M33fTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< M33dTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< M44fTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< M44dTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< QuatfTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< QuatdTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< C3hTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< C3fTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< C3cTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< C4hTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< C4fTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< C4cTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< N2fTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< N2dTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< N3fTPTraits >, Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< N3dTPTraits >, and Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< TRAITS >.

Collaboration diagram for Alembic::Abc::ALEMBIC_VERSION_NS::OScalarProperty:
[legend]

## Public Types

typedef OScalarProperty | this_type
Public Types inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< AbcA::ScalarPropertyWriterPtr >
typedef OBasePropertyT< AbcA::ScalarPropertyWriterPtr > | this_type
typedef OBasePropertyT< AbcA::ScalarPropertyWriterPtr > | operator_bool_base_type

## Public Member Functions

| OScalarProperty ()
| OScalarProperty (AbcA::CompoundPropertyWriterPtr iParent, const std::string &iName, const AbcA::DataType &iDataType, const Argument &iArg0=Argument(), const Argument &iArg1=Argument(), const Argument &iArg2=Argument(), const Argument &iArg3=Argument())
| OScalarProperty (OCompoundProperty iParent, const std::string &iName, const AbcA::DataType &iDataType, const Argument &iArg0=Argument(), const Argument &iArg1=Argument(), const Argument &iArg2=Argument())
| OScalarProperty (AbcA::ScalarPropertyWriterPtr iPtr, ErrorHandler::Policy iPolicy=ErrorHandler::kThrowPolicy)
| OScalarProperty (AbcA::ScalarPropertyWriterPtr iPtr, WrapExistingFlag iWrapFlag, ErrorHandler::Policy iPolicy=ErrorHandler::kThrowPolicy)
| ~OScalarProperty ()
size_t | getNumSamples () const
void | set (const void *iSample)
void | setFromPrevious ()
void | setTimeSampling (uint32_t iIndex)
void | setTimeSampling (AbcA::TimeSamplingPtr iTime)
OCompoundProperty | getParent () const
Public Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< AbcA::ScalarPropertyWriterPtr >
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::ScalarPropertyWriterPtr | 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::ScalarPropertyWriterPtr >
| 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::ScalarPropertyWriterPtr >
AbcA::ScalarPropertyWriterPtr | m_property

## Detailed Description

Definition at line 51 of file OScalarProperty.h.

## Member Typedef Documentation

## this_type

typedef OScalarProperty Alembic::Abc::ALEMBIC_VERSION_NS::OScalarProperty::this_type

By convention we always define this_type in Abc classes Used by unspecified-bool-type conversion below

Definition at line 57 of file OScalarProperty.h.

## Constructor & Destructor Documentation

## OScalarProperty() [1/5]

Alembic::Abc::ALEMBIC_VERSION_NS::OScalarProperty::OScalarProperty | ( |  | ) |

inline

The default constructor creates an empty OScalarProperty function set. ...

Definition at line 65 of file OScalarProperty.h.

References Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< AbcA::ScalarPropertyWriterPtr >::OBasePropertyT().

Referenced by Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< BooleanTPTraits >::OTypedScalarProperty().

Here is the call graph for this function:
Here is the caller graph for this function:

## OScalarProperty() [2/5]

Alembic::Abc::ALEMBIC_VERSION_NS::OScalarProperty::OScalarProperty | ( | AbcA::CompoundPropertyWriterPtr | iParent,
|  | const std::string & | iName,
|  | const AbcA::DataType & | iDataType,
|  | const Argument & | iArg0 = Argument(),
|  | const Argument & | iArg1 = Argument(),
|  | const Argument & | iArg2 = Argument(),
|  | const Argument & | iArg3 = Argument() )

Create a new OScalarProperty named iName as a child of compound iParent, of data type iDataType. The remaining optional arguments can be used the inherited parent ErrorHandlerPolicy, an override to that policy, specify MetaData, and to specify time sampling or time sampling index.

## OScalarProperty() [3/5]

Alembic::Abc::ALEMBIC_VERSION_NS::OScalarProperty::OScalarProperty | ( | OCompoundProperty | iParent,
|  | const std::string & | iName,
|  | const AbcA::DataType & | iDataType,
|  | const Argument & | iArg0 = Argument(),
|  | const Argument & | iArg1 = Argument(),
|  | const Argument & | iArg2 = Argument() )

Create a new OScalarProperty named iName as a child of compound iParent, of data type iDataType. The remaining optional arguments can be used to override the ErrorHandlerPolicy, specify MetaData, and to specify time sampling or time sampling index.

References Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< AbcA::ScalarPropertyWriterPtr >::OCompoundProperty.

Here is the call graph for this function:

## OScalarProperty() [4/5]

Alembic::Abc::ALEMBIC_VERSION_NS::OScalarProperty::OScalarProperty | ( | AbcA::ScalarPropertyWriterPtr | iPtr,
|  | ErrorHandler::Policy | iPolicy = ErrorHandler::kThrowPolicy )

inline

This attaches an OScalarProperty wrapper around an existing ScalarPropertyWriterPtr, arguments are there to specify ErrorHandling policy,

Definition at line 96 of file OScalarProperty.h.

References Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< AbcA::ScalarPropertyWriterPtr >::OBasePropertyT(), and Alembic::Abc::ALEMBIC_VERSION_NS::ErrorHandler::kThrowPolicy.

Here is the call graph for this function:

## OScalarProperty() [5/5]

Alembic::Abc::ALEMBIC_VERSION_NS::OScalarProperty::OScalarProperty | ( | AbcA::ScalarPropertyWriterPtr | iPtr,
|  | WrapExistingFlag | iWrapFlag,
|  | ErrorHandler::Policy | iPolicy = ErrorHandler::kThrowPolicy )

inline

Definition at line 102 of file OScalarProperty.h.

References Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< AbcA::ScalarPropertyWriterPtr >::OBasePropertyT(), and Alembic::Abc::ALEMBIC_VERSION_NS::ErrorHandler::kThrowPolicy.

Here is the call graph for this function:

## ~OScalarProperty()

Alembic::Abc::ALEMBIC_VERSION_NS::OScalarProperty::~OScalarProperty | ( |  | ) |

Default copy constructor used Default assignment operator used.

Destructor ...

## Member Function Documentation

## getNumSamples()

size_t Alembic::Abc::ALEMBIC_VERSION_NS::OScalarProperty::getNumSamples | ( |  | ) | const

Return the number of samples contained in the property. This can be any number, including zero. This returns the number of samples that were written, independently of whether or not they were constant. It make change over time as more samples are written.

## getParent()

OCompoundProperty Alembic::Abc::ALEMBIC_VERSION_NS::OScalarProperty::getParent | ( |  | ) | const

Return the parent compound property, handily wrapped in a OCompoundProperty wrapper.

References Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< AbcA::ScalarPropertyWriterPtr >::OCompoundProperty.

Here is the call graph for this function:

## set()

void Alembic::Abc::ALEMBIC_VERSION_NS::OScalarProperty::set | ( | const void * | iSample | ) |

Set a sample from the address of a datum. ...

Referenced by Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< BooleanTPTraits >::set().

Here is the caller graph for this function:

## setFromPrevious()

void Alembic::Abc::ALEMBIC_VERSION_NS::OScalarProperty::setFromPrevious | ( |  | ) |

Set a sample from the previous sample. ...

Referenced by Alembic::AbcGeom::ALEMBIC_VERSION_NS::SetPropUsePrevIfNull< Abc::OBox3dProperty, Abc::Box3d >(), and Alembic::AbcGeom::ALEMBIC_VERSION_NS::SetPropUsePrevIfNull< Abc::OWstringProperty, Alembic::Util::wstring >().

Here is the caller graph for this function:

## setTimeSampling() [1/2]

void Alembic::Abc::ALEMBIC_VERSION_NS::OScalarProperty::setTimeSampling | ( | AbcA::TimeSamplingPtr | iTime | ) |

Changes the TimeSampling used by this property. If the TimeSampling is changed to Acyclic and the number of samples currently set is more than the number of times provided in the Acyclic TimeSampling, an exception will be thrown.

## setTimeSampling() [2/2]

void Alembic::Abc::ALEMBIC_VERSION_NS::OScalarProperty::setTimeSampling | ( | uint32_t | iIndex | ) |

Changes the TimeSampling used by this property. If the TimeSampling is changed to Acyclic and the number of samples currently set is more than the number of times provided in the Acyclic TimeSampling, an exception will be thrown.

The documentation for this class was generated from the following file:

- opt/local/include/Alembic/Abc/OScalarProperty.h