Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
lib::test::anonymous_namespace{multifact-argument-test.cpp} Namespace Reference

Typedefs

typedef factory::MultiFact< Num(int), prodID, factory::BuildRefcountPtrTestFactory
 the factory instantiation used for this test
 
typedef std::map< prodID, function< Num(int)> > DispatcherMap
 

Enumerations

enum  prodID {
  ONE = 1 ,
  TWO
}
 

Classes

struct  Num
 

Functions

NumfabricateNumberz (int base, int offset)
 dummy "factory" function to be invoked
 

Typedef Documentation

◆ TestFactory

the factory instantiation used for this test

Definition at line 67 of file multifact-argument-test.cpp.

◆ DispatcherMap

typedef std::map<prodID, function<Num(int)> > DispatcherMap

Definition at line 70 of file multifact-argument-test.cpp.

Enumeration Type Documentation

◆ prodID

enum prodID
Enumerator
ONE 
TWO 

Definition at line 40 of file multifact-argument-test.cpp.


Class Documentation

◆ lib::test::anonymous_namespace{multifact-argument-test.cpp}::Num

struct lib::test::anonymous_namespace{multifact-argument-test.cpp}::Num
Class Members
int n_
+ Collaboration diagram for Num:

Function Documentation

◆ fabricateNumberz()

Num * fabricateNumberz ( int  base,
int  offset 
)

dummy "factory" function to be invoked

Returns
pointer to heap allocated product object
Note
this function needs to deliver the product in a form which can be accepted by the concrete wrapper, which is going to be configured into the factory.

Definition at line 54 of file multifact-argument-test.cpp.

References fabricateNumberz(), and Num::n_.

Referenced by fabricateNumberz().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: