HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdTypedVectorSchema< T > Class Template Reference

#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. More...
 
HD_API bool IsDefined () const
 
 operator bool () const
 
HD_API size_t GetNumElements () const
 Number of elements in the vector. More...
 

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

template<typename T >
HdTypedVectorSchema< T >::HdTypedVectorSchema ( HdVectorDataSourceHandle const &  vector)
inline

Definition at line 85 of file vectorSchema.h.

Member Function Documentation

template<typename T >
T::Handle HdTypedVectorSchema< T >::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: