HdVectorSchema Class Reference

Vector schema classes represent a view of a vector data source which is returning untyped data sources. More...

+ Inheritance diagram for HdVectorSchema:

Public Member Functions

 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
 Returns true if this schema is applied on top of a non-null vector. More...
 
HD_API size_t GetNumElements () const
 Number of elements in the vector. More...
 

Static Public Member Functions

static HD_API HdVectorDataSourceHandle BuildRetained (size_t count, HdDataSourceBaseHandle *values)
 

Protected Attributes

HdVectorDataSourceHandle _vector
 

Detailed Description

Vector schema classes represent a view of a vector data source which is returning untyped data sources.

Definition at line 39 of file vectorSchema.h.

Member Function Documentation

◆ GetNumElements()

HD_API size_t GetNumElements ( ) const

Number of elements in the vector.

◆ GetVector()

HD_API HdVectorDataSourceHandle GetVector ( )

Returns the vector data source that this schema is interpreting.

◆ operator bool()

operator bool ( ) const
inlineexplicit

Returns true if this schema is applied on top of a non-null vector.

Definition at line 59 of file vectorSchema.h.


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