WARPXM v1.10.0
Loading...
Searching...
No Matches
WxCreatorMapBase< B > Class Template Reference

Defines Common Interface for WxCreatorMap. More...

#include <wxcreator.h>

Inheritance diagram for WxCreatorMapBase< B >:
WxCreatorMap< B >

Detailed Description

template<class B>
class WxCreatorMapBase< B >

Defines Common Interface for WxCreatorMap.

Static Public Member Functions

static wxm::detail::creator_baseaddCreator (const std::string &nm, wxm::detail::creator_base *b)
 Add a new creator object into the list of available creators for base classes that have default constructor.
 
static wxm::detail::creator_baseaddCreatorForChildren (const std::string &nm, wxm::detail::creator_base *b)
 Add a new creator object into the list of available creators for base classes that have a parent pointer constructor.
 
static void removeCreatorForDefault (const std::string &nm)
 Remove a creator from the list of default constructor creators.
 
static void removeCreatorForChild (const std::string &nm)
 Remove a creator from the list of parent pointer constructor creators.
 

Member Function Documentation

◆ addCreator()

template<class B >
static wxm::detail::creator_base & WxCreatorMapBase< B >::addCreator ( const std::string &  nm,
wxm::detail::creator_base b 
)
inlinestatic

Add a new creator object into the list of available creators for base classes that have default constructor.

Parameters
nmName of the creator
bPointer to the creator base object

◆ addCreatorForChildren()

template<class B >
static wxm::detail::creator_base & WxCreatorMapBase< B >::addCreatorForChildren ( const std::string &  nm,
wxm::detail::creator_base b 
)
inlinestatic

Add a new creator object into the list of available creators for base classes that have a parent pointer constructor.

Parameters
nmName of the creator
bPointer to the creator base object

◆ removeCreatorForChild()

template<class B >
static void WxCreatorMapBase< B >::removeCreatorForChild ( const std::string &  nm)
inlinestatic

Remove a creator from the list of parent pointer constructor creators.

Parameters
nmName of creator to remove

◆ removeCreatorForDefault()

template<class B >
static void WxCreatorMapBase< B >::removeCreatorForDefault ( const std::string &  nm)
inlinestatic

Remove a creator from the list of default constructor creators.

Parameters
nmName of creator to remove

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