ContRap-Core
|
Class Selector represents nested scope or class selection commands. More...
#include <command.h>
Public Member Functions | |
Selector (const DPtr &base=DPtr::bottom, const DPtr &first=DPtr::bottom) | |
Creates a selector. | |
virtual | ~Selector () |
Virtual destructor. | |
virtual CommandType | get_command_type () const |
Returns the enumerated type of the command. | |
virtual std::string | to_string () const |
Converts the object to a non-formatted string. |
crp::Selector::Selector | ( | const DPtr & | base = DPtr::bottom , |
const DPtr & | first = DPtr::bottom |
||
) |
Creates a selector.
base | Base selector argument |
first | First selected argument |
virtual crp::Selector::~Selector | ( | ) | [inline, virtual] |
Virtual destructor.
virtual CommandType crp::Selector::get_command_type | ( | ) | const [inline, virtual] |
virtual std::string crp::Selector::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.