Class SBCClassFactory#
This class describes a class factory in a class proxy. More...
#include <SBCClassFactory.hpp>
Public Functions#
Type | Name |
---|---|
SBCClassFactory () Constructs a class factory. |
|
void | addConstructor (SBCClassConstructor * constructor) Adds a constructor to the factory. |
SBCClassConstructor * | getConstructor (const SBValue & t0=SBValue(), const SBValue & t1=SBValue(), const SBValue & t2=SBValue(), const SBValue & t3=SBValue(), const SBValue & t4=SBValue(), const SBValue & t5=SBValue(), const SBValue & t6=SBValue(), const SBValue & t7=SBValue(), const SBValue & t8=SBValue(), const SBValue & t9=SBValue(), const SBValue & t10=SBValue(), const SBValue & t11=SBValue(), const SBValue & t12=SBValue(), const SBValue & t13=SBValue(), const SBValue & t14=SBValue(), const SBValue & t15=SBValue()) const Returns the constructor with arguments t0 ,t1 , ...,t15 . |
SBHashMap< std::string, SBCClassConstructor * > const & | getConstructorMap () const Returns the constructor map. |
void | print (unsigned int offset=0) const Prints the factory. |
virtual | ~SBCClassFactory () Destructs the factory. |
Detailed Description#
This class describes a class factory in a class proxy
Short name: SBFactory
Public Functions Documentation#
function SBCClassFactory#
Constructs a class factory.
function addConstructor#
Adds a constructor to the factory.
function getConstructor#
Returns the constructor with arguments t0
,t1
, ...,t15
.
SBCClassConstructor * SBCClassFactory::getConstructor (
const SBValue & t0=SBValue (),
const SBValue & t1=SBValue (),
const SBValue & t2=SBValue (),
const SBValue & t3=SBValue (),
const SBValue & t4=SBValue (),
const SBValue & t5=SBValue (),
const SBValue & t6=SBValue (),
const SBValue & t7=SBValue (),
const SBValue & t8=SBValue (),
const SBValue & t9=SBValue (),
const SBValue & t10=SBValue (),
const SBValue & t11=SBValue (),
const SBValue & t12=SBValue (),
const SBValue & t13=SBValue (),
const SBValue & t14=SBValue (),
const SBValue & t15=SBValue ()
) const
function getConstructorMap#
Returns the constructor map.
function print#
Prints the factory.
function ~SBCClassFactory#
Destructs the factory.