Classes of the DVM.
More...
#include <types.hpp>
|
| DVMClass (std::string name) |
| constructor of DVM class with the name of the class
|
|
| ~DVMClass ()=default |
| default destructor of DVMClass
|
|
type_e | get_type () const override |
| get type_e enum value for Class object.
|
|
std::string | print_type () const override |
| get the type in string format
|
|
const std::string & | get_name () const |
| Get the name of the class.
|
|
std::string & | get_name () |
| Return a reference to the name.
|
|
const std::string & | pretty_print () override |
| Pretty print the name of the type.
|
|
| DVMType (type_e type, std::string raw_type) |
| Constructor of DVMType.
|
|
virtual | ~DVMType ()=default |
| Destructor of DVMType.
|
|
std::string & | get_raw () |
| get raw string from the type object
|
|
◆ DVMClass()
KUNAI::DEX::DVMClass::DVMClass |
( |
std::string |
name | ) |
|
|
inline |
constructor of DVM class with the name of the class
- Parameters
-
◆ get_name() [1/2]
std::string & KUNAI::DEX::DVMClass::get_name |
( |
| ) |
|
|
inline |
Return a reference to the name.
- Returns
- name of the class
◆ get_name() [2/2]
const std::string & KUNAI::DEX::DVMClass::get_name |
( |
| ) |
const |
|
inline |
Get the name of the class.
- Returns
- name of the class
◆ get_type()
type_e KUNAI::DEX::DVMClass::get_type |
( |
| ) |
const |
|
inlineoverridevirtual |
get type_e enum value for Class object.
- Returns
- type_e with value CLASS.
Implements KUNAI::DEX::DVMType.
◆ pretty_print()
const std::string & KUNAI::DEX::DVMClass::pretty_print |
( |
| ) |
|
|
overridevirtual |
Pretty print the name of the type.
- Returns
- pretty print version of the name
Reimplemented from KUNAI::DEX::DVMType.
◆ print_type()
std::string KUNAI::DEX::DVMClass::print_type |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: