HoverRace
2.0
|
API documentation for a Lua class. More...
#include <Class.h>
Public Types | |
using | methods_t = std::map< const std::string, std::shared_ptr< Method >> |
Public Member Functions | |
Class (const std::string &name) | |
Constructor. More... | |
void | AddMethod (std::shared_ptr< Method > method) |
std::shared_ptr< Method > | GetMethod (const std::string &methodName) const |
const methods_t & | GetMethods () const |
const std::string & | GetName () const |
void | Load (Util::yaml::MapNode *node) |
Private Member Functions | |
Class ()=delete | |
Private Attributes | |
methods_t | methods |
std::string | name |
API documentation for a Lua class.
using HoverRace::Script::Help::Class::methods_t = std::map<const std::string, std::shared_ptr<Method>> |
|
privatedelete |
HoverRace::Script::Help::Class::Class | ( | const std::string & | name | ) |
Constructor.
name | The name of the class. |
void HoverRace::Script::Help::Class::AddMethod | ( | std::shared_ptr< Method > | method | ) |
std::shared_ptr< Method > HoverRace::Script::Help::Class::GetMethod | ( | const std::string & | methodName | ) | const |
|
inline |
|
inline |
void HoverRace::Script::Help::Class::Load | ( | Util::yaml::MapNode * | node | ) |
|
private |
|
private |