Loading...
Searching...
No Matches
HdSchemaBasedContainerSchema< Schema > Class Template Reference

Template class for a schema backed by a container whose children have arbitrary names but an expected schema type. More...

#include <containerSchema.h>

+ Inheritance diagram for HdSchemaBasedContainerSchema< Schema >:

Public Member Functions

 HdSchemaBasedContainerSchema (HdContainerDataSourceHandle container)
 
Schema Get (const TfToken &name)
 
- Public Member Functions inherited from HdContainerSchema
 HdContainerSchema (HdContainerDataSourceHandle container)
 
HD_API TfTokenVector GetNames () const
 
- Public Member Functions inherited from HdSchema
 HdSchema (HdContainerDataSourceHandle container)
 
HD_API HdContainerDataSourceHandle GetContainer () const
 Returns the container 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 container.
 

Additional Inherited Members

- Public Types inherited from HdSchema
using UnderlyingDataSource = HdContainerDataSource
 
- Static Public Member Functions inherited from HdContainerSchema
static HD_API HdContainerDataSourceHandle BuildRetained (size_t count, const TfToken *names, const HdDataSourceBaseHandle *values)
 
- Protected Member Functions inherited from HdSchema
template<typename T >
T::Handle _GetTypedDataSource (TfToken name) const
 Returns a datasource of the requested type for the given name: schema implementations can use this to ask for child containers, sampled values, vectors, etc.
 
- Protected Attributes inherited from HdSchema
HdContainerDataSourceHandle _container
 

Detailed Description

template<typename Schema>
class HdSchemaBasedContainerSchema< Schema >

Template class for a schema backed by a container whose children have arbitrary names but an expected schema type.

Definition at line 75 of file containerSchema.h.

Constructor & Destructor Documentation

◆ HdSchemaBasedContainerSchema()

HdSchemaBasedContainerSchema ( HdContainerDataSourceHandle  container)
inline

Definition at line 79 of file containerSchema.h.

Member Function Documentation

◆ Get()

Schema Get ( const TfToken name)
inline

Definition at line 83 of file containerSchema.h.


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