|
Template class wrapping a vector data source whose children are container data source conforming to an expected schema. More...
#include <vectorSchema.h>
Public Member Functions | |
HdSchemaBasedVectorSchema (HdVectorDataSourceHandle const &vector) | |
Schema | GetElement (const size_t element) const |
Public Member Functions inherited from HdVectorSchema | |
HdVectorSchema (HdVectorDataSourceHandle const &vector) | |
HD_API HdVectorDataSourceHandle | GetVector () |
Returns the vector data source that this schema is interpreting. | |
HD_API bool | IsDefined () const |
operator bool () const | |
Returns true if this schema is applied on top of a non-null vector. | |
HD_API size_t | GetNumElements () const |
Number of elements in the vector. | |
Additional Inherited Members | |
Public Types inherited from HdVectorSchema | |
using | UnderlyingDataSource = HdVectorDataSource |
Static Public Member Functions inherited from HdVectorSchema | |
static HD_API HdVectorDataSourceHandle | BuildRetained (size_t count, const HdDataSourceBaseHandle *values) |
Protected Member Functions inherited from HdVectorSchema | |
template<typename T > | |
T::Handle | _GetTyped (const size_t element) const |
Protected Attributes inherited from HdVectorSchema | |
HdVectorDataSourceHandle | _vector |
Template class wrapping a vector data source whose children are container data source conforming to an expected schema.
Definition at line 80 of file vectorSchema.h.
|
inline |
Definition at line 83 of file vectorSchema.h.
|
inline |
Definition at line 86 of file vectorSchema.h.