Schema classes represent a structured view of the inherently unstructured container data source passed into the constructor.
More...
Schema classes represent a structured view of the inherently unstructured container data source passed into the constructor.
They're used to represent what fields a given object is expected to have. Note that a schema can be applied to a container which doesn't contain all of the named fields; in that case, some of the field accessors will return null, and the caller should use default values for those fields.
Definition at line 25 of file schema.h.
T::Handle _GetTypedDataSource |
( |
TfToken |
name | ) |
const |
|
inlineprotected |
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.
If the key has the wrong type, this function returns null.
Definition at line 52 of file schema.h.