tvm
Public Member Functions | List of all members
tvm::ReflectionVTable::Registry Class Reference

Registry of a reflection table. More...

#include <reflection.h>

Collaboration diagram for tvm::ReflectionVTable::Registry:

Public Member Functions

 Registry (ReflectionVTable *parent, uint32_t type_index)
 
Registryset_creator (FCreate f)
 Set fcreate function. More...
 
Registryset_repr_bytes (FReprBytes f)
 Set bytes repr function. More...
 

Detailed Description

Registry of a reflection table.

Constructor & Destructor Documentation

◆ Registry()

tvm::ReflectionVTable::Registry::Registry ( ReflectionVTable parent,
uint32_t  type_index 
)
inline

Member Function Documentation

◆ set_creator()

Registry& tvm::ReflectionVTable::Registry::set_creator ( FCreate  f)
inline

Set fcreate function.

Parameters
fThe creator function.
Returns
Reference to self.

◆ set_repr_bytes()

Registry& tvm::ReflectionVTable::Registry::set_repr_bytes ( FReprBytes  f)
inline

Set bytes repr function.

Parameters
fThe ReprBytes function.
Returns
Reference to self.

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