|
BlueBerry
A modular, cross-platform, C++ application framework
|
#include <berryIStructuredSelection.h>
Inheritance diagram for berry::IStructuredSelection:
Collaboration diagram for berry::IStructuredSelection:Public Types | |
| typedef ObjectVector < Object::Pointer > | ContainerType |
| typedef ContainerType::const_iterator | iterator |
Public Member Functions | |
| berryInterfaceMacro (IStructuredSelection, berry) | |
| virtual Object::Pointer | GetFirstElement () const =0 |
| virtual iterator | Begin () const =0 |
| virtual iterator | End () const =0 |
| virtual int | Size () const =0 |
| virtual ContainerType::Pointer | ToVector () const =0 |
| virtual | ~IStructuredSelection () |
A selection containing elements.
Definition at line 31 of file berryIStructuredSelection.h.
Definition at line 33 of file berryIStructuredSelection.h.
| typedef ContainerType::const_iterator berry::IStructuredSelection::iterator |
Definition at line 34 of file berryIStructuredSelection.h.
| berry::IStructuredSelection::~IStructuredSelection | ( | ) | [virtual] |
Definition at line 21 of file berryIStructuredSelection.cpp.
| virtual iterator berry::IStructuredSelection::Begin | ( | ) | const [pure virtual] |
Returns an iterator to the beginning of the elements of this selection.
Implemented in berry::QtItemSelection.
| virtual iterator berry::IStructuredSelection::End | ( | ) | const [pure virtual] |
Returns an iterator to the end of the elements of this selection.
Implemented in berry::QtItemSelection.
| virtual Object::Pointer berry::IStructuredSelection::GetFirstElement | ( | ) | const [pure virtual] |
Returns the first element in this selection, or null if the selection is empty.
null if none Implemented in berry::QtItemSelection.
| virtual int berry::IStructuredSelection::Size | ( | ) | const [pure virtual] |
Returns the number of elements selected in this selection.
Implemented in berry::QtItemSelection.
| virtual ContainerType::Pointer berry::IStructuredSelection::ToVector | ( | ) | const [pure virtual] |
Returns the elements in this selection as a vector.
Implemented in berry::QtItemSelection.