SOFA API  59c939c2
Open source framework for multi-physics simuation
sofa::defaulttype::RegisterTemplateAlias Class Reference

#include <TemplatesAliases.h>

Helper class used to register a template alias in the TemplateAliases class. More...

Detailed Description

Helper class used to register a template alias in the TemplateAliases class.

It should be used as a temporary object. For example :

core::RegisterTemplateAlias Vec3Alias("Vec3", "Vec3d");

Public Member Functions

 RegisterTemplateAlias (const std::string &alias, const std::string &result, const bool doWarnUser=false)
 Register an alias. More...
 

Constructor details

sofa::defaulttype::RegisterTemplateAlias::RegisterTemplateAlias ( const std::string &  alias,
const std::string &  result,
const bool  doWarnUser = false 
)

Register an alias.