Editor API
UnigineEditor public API
Editor::SelectorNodes::SubItemList Class Referenceabstract

This class represents a list of selected subitems of a selected node. When an object is selected, some of its surfaces or collision shapes can also be selected, the subitems list shall contain all of them. More...

#include <Selector.h>

Inheritance diagram for Editor::SelectorNodes::SubItemList:
Editor::IndexList

Public Member Functions

 SubItemList ()
 
virtual ~SubItemList ()
 
virtual int type () const =0
 
virtual bool equal (SubItemList *other) const =0
 Checks whether the subitems list is equal to the other list specified. More...
 
virtual void merge (SubItemList *other)=0
 Merges the subitems list with the other list specified. More...
 
virtual void exclude (Constants::SubObjectType sub)=0
 Excludes all subitems of the specified type from the list. More...
 
virtual SubItemListclone () const =0
 

Detailed Description

This class represents a list of selected subitems of a selected node. When an object is selected, some of its surfaces or collision shapes can also be selected, the subitems list shall contain all of them.

Constructor & Destructor Documentation

◆ SubItemList()

Editor::SelectorNodes::SubItemList::SubItemList ( )

◆ ~SubItemList()

virtual Editor::SelectorNodes::SubItemList::~SubItemList ( )
virtual

Member Function Documentation

◆ clone()

virtual SubItemList* Editor::SelectorNodes::SubItemList::clone ( ) const
pure virtual

Implemented in Editor::IndexList.

◆ equal()

virtual bool Editor::SelectorNodes::SubItemList::equal ( SubItemList other) const
pure virtual

Checks whether the subitems list is equal to the other list specified.

Parameters
otherOther subitems list.
Returns
true if subitems lists are equal; otherwise, false.

◆ exclude()

virtual void Editor::SelectorNodes::SubItemList::exclude ( Constants::SubObjectType  sub)
pure virtual

Excludes all subitems of the specified type from the list.

Parameters
subType of subitems to be excluded from the list. One of the Constants::SubObjectType enum values.

Implemented in Editor::IndexList.

◆ merge()

virtual void Editor::SelectorNodes::SubItemList::merge ( SubItemList other)
pure virtual

Merges the subitems list with the other list specified.

Parameters
otherOther subitems list.

◆ type()

virtual int Editor::SelectorNodes::SubItemList::type ( ) const
pure virtual

Implemented in Editor::IndexList.