Loading...
Searching...
No Matches
HdContainerOfSchemasSchema< 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 HdContainerOfSchemasSchema< Schema >:

Public Member Functions

 HdContainerOfSchemasSchema (HdContainerDataSourceHandle container)
 
Schema Get (const TfToken &name) const
 
- 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 HdContainerOfSchemasSchema< Schema >

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

Definition at line 63 of file containerSchema.h.

Constructor & Destructor Documentation

◆ HdContainerOfSchemasSchema()

HdContainerOfSchemasSchema ( HdContainerDataSourceHandle  container)
inline

Definition at line 67 of file containerSchema.h.

Member Function Documentation

◆ Get()

Schema Get ( const TfToken name) const
inline

Definition at line 71 of file containerSchema.h.


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