SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::component::makealiascomponent Namespace Reference


class  MakeAliasComponent
 A component to add alias to other components. More...


int MakeAliasComponentClass

Detailed Description

I use a per-file namespace so that I can employ the 'using' keywords without fearing it will leack names into the global namespace. When closing this namespace selected object from this per-file namespace are then imported into their parent namespace. for ease of use

Variable Documentation

int sofa::component::makealiascomponent::MakeAliasComponentClass
Initial value:
= RegisterObject("This object create an alias to a component name to make the scene more readable. ")
.add< MakeAliasComponent >()
RegisterObject & add(bool defaultTemplate=false)
Definition: ObjectFactory.h:291
Helper class used to register a class in the ObjectFactory.
Definition: ObjectFactory.h:259