|
Katana Plug-in APIs 0.1
|
Classes | |
| struct | Identity |
Public Member Functions | |
| SampleAccessorBase (const Attribute &attr) | |
| SampleAccessorBase (const Attribute *attr) | |
| SampleAccessorBase (Attribute &&attr) | |
| bool | isValid () const |
| int64_t | getNumberOfTimeSamples () const |
| int64_t | getNumberOfValues () const |
| size_t | size () const |
| bool | empty () const |
| Foundry::Katana::SampleAccessorBase< ValueT >::SampleAccessorBase | ( | const Attribute & | attr | ) | [inline, explicit] |
Constructor for an accessor that shares ownership of attr.
| Foundry::Katana::SampleAccessorBase< ValueT >::SampleAccessorBase | ( | const Attribute * | attr | ) | [inline, explicit] |
Constructor for an accessor that does not take ownership of attr.
| Foundry::Katana::SampleAccessorBase< ValueT >::SampleAccessorBase | ( | Attribute && | attr | ) | [inline, explicit] |
Constructor for an accessor that takes ownership of attr.
| bool Foundry::Katana::SampleAccessorBase< ValueT >::empty | ( | ) | const [inline] |
Returns true if the attribute has no time samples (or the accessor is invalid).
Referenced by Foundry::Katana::StringAttribute::getValuesAs(), Foundry::Katana::DoubleAttribute::getValuesAs(), Foundry::Katana::FloatAttribute::getValuesAs(), and Foundry::Katana::IntAttribute::getValuesAs().
| int64_t Foundry::Katana::SampleAccessorBase< ValueT >::getNumberOfTimeSamples | ( | ) | const [inline] |
Returns the number of samples in the attribute.
| int64_t Foundry::Katana::SampleAccessorBase< ValueT >::getNumberOfValues | ( | ) | const [inline] |
Returns the number of values per sample.
Referenced by Foundry::Katana::StringAttribute::getValuesAs(), Foundry::Katana::DoubleAttribute::getValuesAs(), Foundry::Katana::FloatAttribute::getValuesAs(), and Foundry::Katana::IntAttribute::getValuesAs().
| bool Foundry::Katana::SampleAccessorBase< ValueT >::isValid | ( | ) | const [inline] |
Returns true if this is a valid accessor -- an accessor that was created from a valid FnAttribute and not via the default constructor.
| size_t Foundry::Katana::SampleAccessorBase< ValueT >::size | ( | ) | const [inline] |
Returns the number of samples in the attribute.
1.7.3