SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::core::Plugin::ComponentEntry Struct Reference

#include <Plugin.h>

Public Attributes

std::string name
 The name of the class or class template. More...
bool isATemplate
 True iff the component is a class template. More...
std::string defaultTemplateParameters
std::string description
 A description of the component. More...
std::set< std::string > aliases
 Aliases (different names) for the component. More...
sofa::core::ObjectFactory::CreatorMap creators
 Creators for the component. More...

Public Member Functions

 ComponentEntry ()
 ComponentEntry (const std::string &name, bool isATemplate)

Attribute details

std::set<std::string> sofa::core::Plugin::ComponentEntry::aliases

Aliases (different names) for the component.

sofa::core::ObjectFactory::CreatorMap sofa::core::Plugin::ComponentEntry::creators

Creators for the component.

std::string sofa::core::Plugin::ComponentEntry::defaultTemplateParameters

If the component is a template, the parameters used in the default instanciation of the template, if any.

If the component is a not template, or if it has no default instanciation in this plugin, this string is empty.

std::string sofa::core::Plugin::ComponentEntry::description

A description of the component.

bool sofa::core::Plugin::ComponentEntry::isATemplate

True iff the component is a class template.

std::string sofa::core::Plugin::ComponentEntry::name

The name of the class or class template.

Constructor details

sofa::core::Plugin::ComponentEntry::ComponentEntry ( )
sofa::core::Plugin::ComponentEntry::ComponentEntry ( const std::string &  name,
bool  isATemplate