Web Analytics Made Easy - Statcounter
Skip to content

Class SBCClassFactory#

ClassList > 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.

SBCClassFactory::SBCClassFactory () 


function addConstructor#

Adds a constructor to the factory.

void SBCClassFactory::addConstructor (
    SBCClassConstructor * constructor
) 


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.

SBHashMap< std::string, SBCClassConstructor * > const & SBCClassFactory::getConstructorMap () const


function print#

Prints the factory.

void SBCClassFactory::print (
    unsigned int offset=0
) const


function ~SBCClassFactory#

Destructs the factory.

virtual SBCClassFactory::~SBCClassFactory ()