object.h File Reference

Convenience functions (syntactic sugar) to wrap explicit constructor (aka in-place 'new') and destructor calls. More...

#include <new>
Include dependency graph for object.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define INCLUDED_GENERIC_OBJECT_H

Functions

template<typename Type >
void constructor (Type &object)
template<typename Type , typename T1 >
void constructor (Type &object, const T1 &t1)
template<typename Type , typename T1 , typename T2 >
void constructor (Type &object, const T1 &t1, const T2 &t2)
template<typename Type , typename T1 , typename T2 , typename T3 >
void constructor (Type &object, const T1 &t1, const T2 &t2, const T3 &t3)
template<typename Type , typename T1 , typename T2 , typename T3 , typename T4 >
void constructor (Type &object, const T1 &t1, const T2 &t2, const T3 &t3, const T4 &t4)
template<typename Type , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
void constructor (Type &object, const T1 &t1, const T2 &t2, const T3 &t3, const T4 &t4, const T5 &t5)
template<typename Type , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
void constructor (Type &object, const T1 &t1, const T2 &t2, const T3 &t3, const T4 &t4, const T5 &t5, const T6 &t6)
template<typename Type , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
void constructor (Type &object, const T1 &t1, const T2 &t2, const T3 &t3, const T4 &t4, const T5 &t5, const T6 &t6, const T7 &t7)
template<typename Type , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
void constructor (Type &object, const T1 &t1, const T2 &t2, const T3 &t3, const T4 &t4, const T5 &t5, const T6 &t6, const T7 &t7, const T8 &t8)
template<typename Type >
void destructor (Type &object)

Detailed Description

Convenience functions (syntactic sugar) to wrap explicit constructor (aka in-place 'new') and destructor calls.

Use makeReference() to wrap non-const-reference constructor parameters.

Definition in file object.h.


Define Documentation

#define INCLUDED_GENERIC_OBJECT_H

Definition at line 23 of file object.h.


Function Documentation

template<typename Type , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
void constructor ( Type &  object,
const T1 &  t1,
const T2 &  t2,
const T3 &  t3,
const T4 &  t4,
const T5 &  t5,
const T6 &  t6,
const T7 &  t7,
const T8 &  t8 
) [inline]

Definition at line 73 of file object.h.

template<typename Type , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
void constructor ( Type &  object,
const T1 &  t1,
const T2 &  t2,
const T3 &  t3,
const T4 &  t4,
const T5 &  t5,
const T6 &  t6,
const T7 &  t7 
) [inline]

Definition at line 68 of file object.h.

template<typename Type , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
void constructor ( Type &  object,
const T1 &  t1,
const T2 &  t2,
const T3 &  t3,
const T4 &  t4,
const T5 &  t5,
const T6 &  t6 
) [inline]

Definition at line 63 of file object.h.

template<typename Type , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
void constructor ( Type &  object,
const T1 &  t1,
const T2 &  t2,
const T3 &  t3,
const T4 &  t4,
const T5 &  t5 
) [inline]

Definition at line 58 of file object.h.

template<typename Type , typename T1 , typename T2 , typename T3 , typename T4 >
void constructor ( Type &  object,
const T1 &  t1,
const T2 &  t2,
const T3 &  t3,
const T4 &  t4 
) [inline]

Definition at line 53 of file object.h.

template<typename Type , typename T1 , typename T2 , typename T3 >
void constructor ( Type &  object,
const T1 &  t1,
const T2 &  t2,
const T3 &  t3 
) [inline]

Definition at line 48 of file object.h.

template<typename Type , typename T1 , typename T2 >
void constructor ( Type &  object,
const T1 &  t1,
const T2 &  t2 
) [inline]

Definition at line 43 of file object.h.

template<typename Type , typename T1 >
void constructor ( Type &  object,
const T1 &  t1 
) [inline]

Definition at line 38 of file object.h.

template<typename Type >
void constructor ( Type &  object  )  [inline]

Definition at line 33 of file object.h.

template<typename Type >
void destructor ( Type &  object  )  [inline]

Definition at line 78 of file object.h.


Generated by  doxygen 1.6.2