ContRap-Core
|
Class Load represents the load command for libraries. More...
#include <command.h>
Public Member Functions | |
Load (Library::OpenMode mode=Library::NO_CHANGE) | |
Creates a load command. | |
virtual | ~Load () |
Virtual destructor. | |
virtual CommandType | get_command_type () const |
Returns the enumerated type of the command. | |
void | set_open_mode (Library::OpenMode mode) |
Sets the library open mode of the load command. | |
Library::OpenMode | get_open_mode () const |
Returns the open mode. | |
virtual std::string | to_string () const |
Converts the object to a non-formatted string. | |
Protected Attributes | |
Library::OpenMode | mode |
Open mode of the libraries. |
crp::Load::Load | ( | Library::OpenMode | mode = Library::NO_CHANGE | ) |
Creates a load command.
mode | Library open mode |
virtual crp::Load::~Load | ( | ) | [inline, virtual] |
Virtual destructor.
virtual CommandType crp::Load::get_command_type | ( | ) | const [inline, virtual] |
Library::OpenMode crp::Load::get_open_mode | ( | ) | const [inline] |
Returns the open mode.
void crp::Load::set_open_mode | ( | Library::OpenMode | mode | ) | [inline] |
Sets the library open mode of the load command.
mode | Open mode of the command |
virtual std::string crp::Load::to_string | ( | ) | const [virtual] |
Converts the object to a non-formatted string.
This method is thought to be used for debugging purposes only.
Reimplemented from crp::Command.
Library::OpenMode crp::Load::mode [protected] |
Open mode of the libraries.