BlueBerry
A modular, cross-platform, C++ application framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
berry::IStructuredSelection Struct Reference

#include <berryIStructuredSelection.h>

+ Inheritance diagram for berry::IStructuredSelection:
+ Collaboration diagram for berry::IStructuredSelection:

List of all members.

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 ()

Detailed Description

A selection containing elements.

Definition at line 31 of file berryIStructuredSelection.h.


Member Typedef Documentation

typedef ContainerType::const_iterator berry::IStructuredSelection::iterator

Definition at line 34 of file berryIStructuredSelection.h.


Constructor & Destructor Documentation


Member Function Documentation

virtual iterator berry::IStructuredSelection::Begin ( ) const [pure virtual]

Returns an iterator to the beginning of the elements of this selection.

Returns:
an iterator over the selected elements

Implemented in berry::QtItemSelection.

virtual iterator berry::IStructuredSelection::End ( ) const [pure virtual]

Returns an iterator to the end of the elements of this selection.

Returns:
an iterator over the selected elements

Implemented in berry::QtItemSelection.

Returns the first element in this selection, or null if the selection is empty.

Returns:
an element, or null if none

Implemented in berry::QtItemSelection.

virtual int berry::IStructuredSelection::Size ( ) const [pure virtual]

Returns the number of elements selected in this selection.

Returns:
the number of elements selected

Implemented in berry::QtItemSelection.

Returns the elements in this selection as a vector.

Returns:
the selected elements as a vector

Implemented in berry::QtItemSelection.


The documentation for this struct was generated from the following files: