#include <ComponentLibrary.h>
An Generic Component of the Sofa Library. More...
An Generic Component of the Sofa Library.
It contains all the information related to a Sofa component: its name, the templates available, a description of it, its creator, ... This Interface is used for the Modeler mainly.
| Protected Attributes | |
| std::string | name | 
| std::vector< std::string > | templateName | 
| std::string | description | 
| std::string | categoryName | 
| ClassEntry::SPtr | entry | 
| Public Member Functions | |
| ComponentLibrary (const std::string &componentName, const std::string &categoryName, ClassEntry::SPtr entry, const std::vector< std::string > &exampleFiles) | |
| virtual | ~ComponentLibrary () | 
| virtual void | addTemplate (const std::string &templateName) | 
| virtual void | endConstruction () | 
| virtual void | setDisplayed (bool) | 
| const std::string & | getName () const | 
| const std::string & | getDescription () const | 
| const std::string & | getCategory () const | 
| const std::vector< std::string > & | getTemplates () const | 
| const ClassEntry::SPtr | getEntry () const | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| sofa::core::ComponentLibrary::ComponentLibrary | ( | const std::string & | componentName, | 
| const std::string & | categoryName, | ||
| ClassEntry::SPtr | entry, | ||
| const std::vector< std::string > & | exampleFiles | ||
| ) | 
| 
 | inlinevirtual | 
| 
 | virtual | 
| 
 | virtual | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inlinevirtual |