Mania++
 All Classes Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
Parameter Struct Reference

Pointer and type information of a parameter. More...

#include <Parameter.h>

Public Member Functions

template<typename T >
 Parameter (T *input)
 Updates properties with input information. More...
 
 Parameter (void *input, const std::type_info *type)
 Updates properties with input information. More...
 
std::string GetType ()
 Returns demangled type information.
 

Public Attributes

void * pointer
 Pointer to the parameter.
 
const std::type_info * typeinfo
 Type information of the parameter.
 

Detailed Description

Pointer and type information of a parameter.

Constructor & Destructor Documentation

template<typename T >
Parameter::Parameter ( T *  input)
inline

Updates properties with input information.

Parameters
inputInput to be parameterized.
Parameter::Parameter ( void *  input,
const std::type_info *  type 
)
inline

Updates properties with input information.

Parameters
inputPointer to content.
typePointer type.

The documentation for this struct was generated from the following file: