|
Katana Plug-in APIs 0.1
|
Helper class used to wrap raw attribute data contained on the host side. More...
#include <FnConstVector.h>
Public Types | |
| typedef T | value_type |
| typedef std::size_t | size_type |
Public Member Functions | |
| ConstVectorBase (const Attribute &attr, float t) | |
| ConstVectorBase (Attribute &&attr, float t) | |
| size_type | size () const |
| bool | empty () const |
Helper class used to wrap raw attribute data contained on the host side.
There are several convenience typedefs of this class for the different Attribute types, which remove the template from ConstVectorBase: IntConstVectorBase, FloatConstVectorBase, DoubleConstVectorBase, StringConstVectorBase
| typedef std::size_t Foundry::Katana::ConstVectorBase< T >::size_type |
Typedef of the sizetype
Reimplemented in Foundry::Katana::ConstVector< T >.
| typedef T Foundry::Katana::ConstVectorBase< T >::value_type |
Basic type of the data in ConstVectorBase
Reimplemented in Foundry::Katana::ConstVector< T >.
| Foundry::Katana::ConstVectorBase< T >::ConstVectorBase | ( | const Attribute & | attr, |
| float | t | ||
| ) | [inline] |
Constructor for a ConstVectorBase that shares ownership of attr.
| Foundry::Katana::ConstVectorBase< T >::ConstVectorBase | ( | Attribute && | attr, |
| float | t | ||
| ) | [inline] |
Constructor for a ConstVectorBase that takes ownership of attr.
| bool Foundry::Katana::ConstVectorBase< T >::empty | ( | ) | const [inline] |
Returns false if the ConstVectorBase contains any data
Reimplemented in Foundry::Katana::ConstVector< T >.
| size_type Foundry::Katana::ConstVectorBase< T >::size | ( | ) | const [inline] |
Returns the number of data elements
Reimplemented in Foundry::Katana::ConstVector< T >.
1.7.3