Developer Documentation
|
Update type class. More...
#include <OpenFlipper/common/UpdateType.hh>
Public Member Functions | |
UpdateType (const UpdateType &_type)=default | |
UpdateType & | operator= (const UpdateType &_type)=default |
UpdateType (const UpdateTypeSet &_set) | |
bool | operator== (const UpdateType &_type) const |
Exact compare operator. More... | |
UpdateType | operator| (const UpdateType &_type) const |
UpdateType & | operator|= (const UpdateType &_type) |
UpdateType & | operator++ () |
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_ |
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.
UpdateType::UpdateType | ( | ) |
Definition at line 66 of file UpdateType.cc.
|
explicit |
Definition at line 72 of file UpdateType.cc.
bool UpdateType::contains | ( | const UpdateType & | _type | ) | const |
Check if this update contains the given UpdateType.
Definition at line 99 of file UpdateType.cc.
UpdateType & UpdateType::operator++ | ( | ) |
Definition at line 113 of file UpdateType.cc.
bool UpdateType::operator< | ( | const UpdateType & | _i | ) | const |
Definition at line 131 of file UpdateType.cc.
bool UpdateType::operator== | ( | const UpdateType & | _type | ) | const |
Exact compare operator.
Definition at line 78 of file UpdateType.cc.
UpdateType UpdateType::operator| | ( | const UpdateType & | _type | ) | const |
Definition at line 83 of file UpdateType.cc.
UpdateType & UpdateType::operator|= | ( | const UpdateType & | _type | ) |
Definition at line 90 of file UpdateType.cc.
|
private |
Definition at line 88 of file UpdateType.hh.