Editor API
UnigineEditor public API
Editor::Selector Class Referenceabstract

#include <Selector.h>

Inheritance diagram for Editor::Selector:
Editor::SelectorGUIDs Editor::SelectorNodes

Public Member Functions

 Selector ()
 
virtual ~Selector ()
 
virtual int type () const =0
 Returns the current selector type. More...
 
virtual bool equal (const Selector *selector) const =0
 Checks whether the current selector is equal to the specified one. More...
 
virtual Selectorclone () const =0
 Clones the current selector. More...
 

Constructor & Destructor Documentation

◆ Selector()

Editor::Selector::Selector ( )

◆ ~Selector()

virtual Editor::Selector::~Selector ( )
virtual

Member Function Documentation

◆ clone()

virtual Selector* Editor::Selector::clone ( ) const
pure virtual

Clones the current selector.

Returns
Clone of the current selector.

Implemented in Editor::SelectorNodes, and Editor::SelectorGUIDs.

◆ equal()

virtual bool Editor::Selector::equal ( const Selector selector) const
pure virtual

Checks whether the current selector is equal to the specified one.

Returns
true if selectors are equal; otherwise, false.

Implemented in Editor::SelectorNodes, and Editor::SelectorGUIDs.

◆ type()

virtual int Editor::Selector::type ( ) const
pure virtual

Returns the current selector type.

Returns
Current selector type: one of the SelectorType enum values.

Implemented in Editor::SelectorNodes, and Editor::SelectorGUIDs.