faudes::AutoRegisterType< T > Class Template Reference

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 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
TTemplate parameter to specify the C++ type to register
Parameters
rTypeNameSpecify the faudes-type name

Definition at line 460 of file cfl_registry.h.

#include <cfl_registry.h>

Public Member Functions

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

Constructor & Destructor Documentation

◆ AutoRegisterType()

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

Definition at line 462 of file cfl_registry.h.


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

libFAUDES 2.32f --- 2024.12.22 --- c++ api documentaion by doxygen