MaterialX 1.39.3
Loading...
Searching...
No Matches
TypeSystem Class Reference

Class handling registration, storage and query of type descriptions. More...

#include <TypeDesc.h>

Public Member Functions

void registerType (TypeDesc type)
 Register an existing type decription.
 
void registerType (const string &name, uint8_t basetype, uint8_t semantic, uint16_t size, StructMemberDescVecPtr members=nullptr)
 Create and register a new type description.
 
TypeDesc getType (const string &name) const
 Return a type description by name.
 
const TypeDescVec & getTypes () const
 Return all registered type descriptions.
 

Static Public Member Functions

static TypeSystemPtr create ()
 Create a new type system.
 

Detailed Description

Class handling registration, storage and query of type descriptions.

Member Function Documentation

◆ getType()

TypeDesc getType ( const string & name) const

Return a type description by name.

If no type is found Type::NONE is returned.


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