#include <CreateObjectDesc.h>
Public Member Functions | |
| CreateObjectDesc (unsigned cmd_number, const cl7::string_type &cmd_name, world::WorldDesc *world_desc, unsigned obj_id) | |
| virtual | ~CreateObjectDesc (void) |
| unsigned | get_obj_id () const |
| world::ObjectDesc * | get_obj_desc () const |
Protected Attributes | |
| const unsigned | _obj_id |
| world::ObjectDesc * | _obj_desc |
The (base) class for any creation command.
| cyber::editor::commands::creation::CreateObjectDesc::CreateObjectDesc | ( | unsigned | cmd_number, | |
| const cl7::string_type & | cmd_name, | |||
| world::WorldDesc * | world_desc, | |||
| unsigned | obj_id | |||
| ) |
Explicit constructor.
| cyber::editor::commands::creation::CreateObjectDesc::~CreateObjectDesc | ( | void | ) | [virtual] |
Destructor.
| world::ObjectDesc* cyber::editor::commands::creation::CreateObjectDesc::get_obj_desc | ( | ) | const [inline] |
Returns the created object description.
| unsigned cyber::editor::commands::creation::CreateObjectDesc::get_obj_id | ( | ) | const [inline] |
Returns the id of the created object description.
The created object description.
const unsigned cyber::editor::commands::creation::CreateObjectDesc::_obj_id [protected] |
The id of the created object description.
1.7.1