libFAUDES

Sections

Index

faudes::AutoRegisterType< T > Class Template Reference

Auto register faudes-type with specified type name. More...

#include <cfl_registry.h>

List of all members.

Public Member Functions

 AutoRegisterType (const std::string &rTypeName="Void")

Detailed Description

template<class T>
class faudes::AutoRegisterType< T >

Auto register faudes-type with specified type name.

This is a convenience class template to automize faudes type registration. It uses the Insert template of the type registry. If the type name is already registered, no registration will not take place and the old configuration is maintained. Also registration with faudes-type name "Void" will be silently ignored. Type documentation is not supported but may be added via MergeDocumentation.

Template Parameters:
T Template parameter to specify the C++ type to register
Parameters:
rTypeName Specify the faudes-type name

Definition at line 437 of file cfl_registry.h.


Constructor & Destructor Documentation

template<class T>
faudes::AutoRegisterType< T >::AutoRegisterType ( const std::string &  rTypeName = "Void"  )  [inline]

Definition at line 439 of file cfl_registry.h.


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

libFAUDES 2.18b --- 2010-12-17 --- c++ source docu by doxygen 1.6.3