This document is for a version of USD that is under development. See this page for the current release.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
HdSchemaBasedVectorSchema< Schema > Class Template Reference

Template class wrapping a vector data source whose children are container data source conforming to an expected schema. More...

#include <vectorSchema.h>

+ Inheritance diagram for HdSchemaBasedVectorSchema< Schema >:

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
 

Detailed Description

template<typename Schema>
class HdSchemaBasedVectorSchema< Schema >

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.

Constructor & Destructor Documentation

◆ HdSchemaBasedVectorSchema()

HdSchemaBasedVectorSchema ( HdVectorDataSourceHandle const &  vector)
inline

Definition at line 83 of file vectorSchema.h.

Member Function Documentation

◆ GetElement()

Schema GetElement ( const size_t  element) const
inline

Definition at line 86 of file vectorSchema.h.


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