Lumiera  0.pre.03
»edit your freedom«
lib::test::anonymous_namespace{multifact-argument-test.cpp} Namespace Reference

Typedefs

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

Enumerations

enum  prodID {
  ONE = 1,
  TWO
}
 

Classes

struct  Num
 

Functions

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

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* lib::test::anonymous_namespace{multifact-argument-test.cpp}::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 63 of file multifact-argument-test.cpp.