Developer Documentation
UpdateType Class Reference

Update type class. More...

#include <OpenFlipper/common/UpdateType.hh>

Public Member Functions

 UpdateType (const UpdateType &_type)=default
 
UpdateTypeoperator= (const UpdateType &_type)=default
 
 UpdateType (const UpdateTypeSet &_set)
 
bool operator== (const UpdateType &_type) const
 Exact compare operator. More...
 
UpdateType operator| (const UpdateType &_type) const
 
UpdateTypeoperator|= (const UpdateType &_type)
 
UpdateTypeoperator++ ()
 
bool operator< (const UpdateType &_i) const
 
bool contains (const UpdateType &_type) const
 Check if this update contains the given UpdateType. More...
 

Private Attributes

UpdateTypeSet type_
 

Detailed Description

Update type class.

This class is used to specify the scope of updates. There are update types for selection,geometry,topology,colors,... specified here: Default update types

You can also find functions to add custom update types at runtime at Runtime Update Types

Definition at line 59 of file UpdateType.hh.

Constructor & Destructor Documentation

◆ UpdateType() [1/2]

UpdateType::UpdateType ( )

Definition at line 66 of file UpdateType.cc.

◆ UpdateType() [2/2]

UpdateType::UpdateType ( const UpdateTypeSet &  _set)
explicit

Definition at line 72 of file UpdateType.cc.

Member Function Documentation

◆ contains()

bool UpdateType::contains ( const UpdateType _type) const

Check if this update contains the given UpdateType.

Definition at line 99 of file UpdateType.cc.

◆ operator++()

UpdateType & UpdateType::operator++ ( )

Definition at line 113 of file UpdateType.cc.

◆ operator<()

bool UpdateType::operator< ( const UpdateType _i) const

Definition at line 131 of file UpdateType.cc.

◆ operator==()

bool UpdateType::operator== ( const UpdateType _type) const

Exact compare operator.

Definition at line 78 of file UpdateType.cc.

◆ operator|()

UpdateType UpdateType::operator| ( const UpdateType _type) const

Definition at line 83 of file UpdateType.cc.

◆ operator|=()

UpdateType & UpdateType::operator|= ( const UpdateType _type)

Definition at line 90 of file UpdateType.cc.

Member Data Documentation

◆ type_

UpdateTypeSet UpdateType::type_
private

Definition at line 88 of file UpdateType.hh.


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