RegistryDefinition Class Reference

#include <registrybase.h>

Public Member Functions

template<typename REG >
 RegistryDefinition (REG *, TranslationUnit *unit)
 
const RegistryInterface * GetRegistry () const
 

Private Attributes

EntityDefinition _super
 
const DataType &(* _type )()
 
const RegistryInterface * _registry
 

Friends

class ObjectModel
 
class RegistryImpl
 

Constructor & Destructor Documentation

◆ RegistryDefinition()

RegistryDefinition ( REG *  ,
TranslationUnit *  unit 
)
explicit

Member Function Documentation

◆ GetRegistry()

const RegistryInterface* GetRegistry ( ) const

Returns the registry. This is only valid after a successful initialization.

Returns
The registry.

Friends And Related Function Documentation

◆ ObjectModel

friend class ObjectModel
friend

◆ RegistryImpl

friend class RegistryImpl
friend

Member Data Documentation

◆ _super

EntityDefinition _super
private

Base definition object.

◆ _type

const DataType&(* _type) ()
private

Returns the datatype of the registry.

◆ _registry

const RegistryInterface* _registry
private