#include <Selection.h>
Public Types | |
| typedef world::ObjectDesc | ObjDesc |
| typedef std::vector< ObjDesc * > | ObjDescs |
Public Member Functions | |
| Selection (void) | |
| Selection (const Selection &rhs) | |
| Selection & | operator= (const Selection &rhs) |
| ~Selection (void) | |
| const ObjDescs & | get_obj_descs () const |
| ObjDesc * | get_ref_obj_desc () const |
| void | set_ref_obj_desc (ObjDesc *ref_obj_desc) |
| bool | find (ObjDesc *obj_desc) |
| void | add (ObjDesc *obj_desc) |
| void | remove (ObjDesc *obj_desc) |
| void | clear () |
| ObjDescs::iterator | _find (ObjDesc *obj_desc) |
Holds the currently selected object descriptions.
| typedef std::vector<ObjDesc*> cyber::editor::Selection::ObjDescs |
| cyber::editor::Selection::Selection | ( | void | ) |
Default constructor.
| cyber::editor::Selection::Selection | ( | const Selection & | rhs | ) |
Copy constructor.
| cyber::editor::Selection::~Selection | ( | void | ) |
Destructor.
| Selection::ObjDescs::iterator cyber::editor::Selection::_find | ( | ObjDesc * | obj_desc | ) |
Searches for the given object description and returns its iterator.
| void cyber::editor::Selection::add | ( | ObjDesc * | obj_desc | ) |
Adds the given object description.
| void cyber::editor::Selection::clear | ( | ) |
Empties the selection.
| bool cyber::editor::Selection::find | ( | ObjDesc * | obj_desc | ) |
Returns true, if the given object description is included.
| const ObjDescs& cyber::editor::Selection::get_obj_descs | ( | ) | const [inline] |
Returns the list of selected object descriptions.
| ObjDesc* cyber::editor::Selection::get_ref_obj_desc | ( | ) | const [inline] |
Returns the reference object description of the current selection.
| void cyber::editor::Selection::remove | ( | ObjDesc * | obj_desc | ) |
Removes the given object description.
| void cyber::editor::Selection::set_ref_obj_desc | ( | ObjDesc * | ref_obj_desc | ) | [inline] |
Sets the reference object description of the current selection.
1.7.1