Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
lib::test::anonymous_namespace{linked-elements-test.cpp} Namespace Reference

Classes

struct  Num
 to demonstrate holding subclasses More...
 
struct  Nummy
 Test-Element, supporting intrusive linked list storage. More...
 
class  NummyGenerator
 Helper to produce a pre-determined series of objects to populate a LinkedElements list. More...
 
class  Populator
 Iterator-Frontend to generate this series of objects. More...
 

Functions

 LUMIERA_ERROR_DEFINE (PROVOKED_FAILURE, "provoked failure")
 
void __triggerErrorAt (int i)
 
void __triggerError_reset ()
 
uint sum (uint n)
 

Variables

const uint NUM_ELEMENTS = 500
 
int exception_trigger = -1
 

Function Documentation

◆ LUMIERA_ERROR_DEFINE()

LUMIERA_ERROR_DEFINE ( PROVOKED_FAILURE  ,
"provoked failure"   
)

◆ __triggerErrorAt()

void __triggerErrorAt ( int  i)
inline

Definition at line 50 of file linked-elements-test.cpp.

References __triggerErrorAt(), and exception_trigger.

Referenced by __triggerErrorAt().

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

◆ __triggerError_reset()

void __triggerError_reset ( )
inline

Definition at line 51 of file linked-elements-test.cpp.

References __triggerError_reset(), and exception_trigger.

Referenced by __triggerError_reset().

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

◆ sum()

uint sum ( uint  n)
inline

Definition at line 146 of file linked-elements-test.cpp.

Variable Documentation

◆ NUM_ELEMENTS

const uint NUM_ELEMENTS = 500

Definition at line 47 of file linked-elements-test.cpp.

◆ exception_trigger

int exception_trigger = -1

Definition at line 48 of file linked-elements-test.cpp.

Referenced by Nummy::Nummy(), __triggerError_reset(), and __triggerErrorAt().