Loading...
Searching...
No Matches
HdTypedVectorSchema< T > Class Template Reference

Template class wrapping a vector data source whose children are data source of an expected type. More...

#include <vectorSchema.h>

+ Inheritance diagram for HdTypedVectorSchema< T >:

Public Member Functions

 HdTypedVectorSchema (HdVectorDataSourceHandle const &vector)
 
T::Handle 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
 

Detailed Description

template<typename T>
class HdTypedVectorSchema< T >

Template class wrapping a vector data source whose children are data source of an expected type.

Definition at line 82 of file vectorSchema.h.

Constructor & Destructor Documentation

◆ HdTypedVectorSchema()

HdTypedVectorSchema ( HdVectorDataSourceHandle const &  vector)
inline

Definition at line 85 of file vectorSchema.h.

Member Function Documentation

◆ GetElement()

T::Handle GetElement ( const size_t  element) const
inline

Definition at line 88 of file vectorSchema.h.


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