Provides a mechanism for registering and retrieving documentation for base and derived classes.
More...
#include <runtimeSelectionFactory.hpp>
|
| static void | registerClass (std::string name, BaseClassData data) |
| static std::string | doc (const std::string &baseClassName, const std::string &derivedClassName) |
| static std::string | schema (const std::string &baseClassName, const std::string &derivedClassName) |
| static std::vector< std::string > | entries (const std::string &baseClassName) |
| static LookupTable & | docTable () |
Provides a mechanism for registering and retrieving documentation for base and derived classes.
The BaseClassDocumentation class allows users to register documentation for base classes and retrieve documentation for derived classes based on the registered information. It also provides methods to retrieve the schema and entries associated with a base class.
Definition at line 57 of file runtimeSelectionFactory.hpp.
◆ LookupTable
◆ doc()
| std::string NeoN::BaseClassDocumentation::doc |
( |
const std::string & | baseClassName, |
|
|
const std::string & | derivedClassName ) |
|
inlinestatic |
Returns the documentation for a derived class based on the base class name.
- Parameters
-
| baseClassName | The name of the base class. |
| derivedClassName | The name of the derived class. |
- Returns
- The documentation for the derived class.
Definition at line 76 of file runtimeSelectionFactory.hpp.
◆ docTable()
| LookupTable & NeoN::BaseClassDocumentation::docTable |
( |
| ) |
|
|
inlinestatic |
◆ entries()
| std::vector< std::string > NeoN::BaseClassDocumentation::entries |
( |
const std::string & | baseClassName | ) |
|
|
inlinestatic |
Returns a vector of strings representing the entries for a given base class name.
- Parameters
-
| baseClassName | The name of the base class. |
- Returns
- A vector of strings representing the entries.
Definition at line 100 of file runtimeSelectionFactory.hpp.
◆ registerClass()
| void NeoN::BaseClassDocumentation::registerClass |
( |
std::string | name, |
|
|
BaseClassData | data ) |
|
inlinestatic |
◆ schema()
| std::string NeoN::BaseClassDocumentation::schema |
( |
const std::string & | baseClassName, |
|
|
const std::string & | derivedClassName ) |
|
inlinestatic |
Returns the schema of the derived class based on the base class name and derived class name.
- Parameters
-
| baseClassName | The name of the base class. |
| derivedClassName | The name of the derived class. |
- Returns
- The schema of the derived class.
Definition at line 88 of file runtimeSelectionFactory.hpp.
The documentation for this class was generated from the following file: