![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
Set of change flags (its IDs). More...
#include <IChangeable.h>
Public Member Functions | |
ChangeSet () | |
ChangeSet (const ChangeSet &changeSet) | |
ChangeSet (ChangeSet &&changeSet) | |
ChangeSet (const QString &description) | |
ChangeSet (int id1, const QString &description="") | |
ChangeSet (int id1, int id2, const QString &description="") | |
ChangeSet (int id1, int id2, int id3, const QString &description="") | |
ChangeSet (int id1, int id2, int id3, int id4, const QString &description="") | |
ChangeSet (int id1, int id2, int id3, int id4, int id5, const QString &description="") | |
ChangeSet (int id1, int id2, int id3, int id4, int id5, int id6, const QString &description="") | |
ChangeSet (int id1, int id2, int id3, int id4, int id5, int id6, int id7, const QString &description="") | |
ChangeSet (int id1, int id2, int id3, int id4, int id5, int id6, int id7, int id8, const QString &description="") | |
ChangeSet (int id1, int id2, int id3, int id4, int id5, int id6, int id7, int id8, int id9, const QString &description="") | |
ChangeSet (int id1, int id2, int id3, int id4, int id5, int id6, int id7, int id8, int id9, int id10, const QString &description="") | |
void | Reset () |
Remove all IDs. | |
bool | IsEmpty () const |
Check if there is any change in the set. | |
bool | Contains (int changeId) const |
Check if there is specific change flag in the set. | |
bool | ContainsExplicit (int changeId, bool singleOnly=false) const |
Check if there is specific change flag in the set explicit set by user. | |
bool | ContainsAny (const ChangeSet &changeSet) const |
Check if any of IDs is changed. | |
void | MaskOut (const ChangeSet &changeSet) |
Remove the IDs from the second set. | |
const QString & | GetDescription () const |
Get textual description of this change set. | |
QSet< int > | GetIds () const |
Get set of all stored IDs. | |
ChangeSet & | operator= (const ChangeSet &changeSet) |
ChangeSet & | operator= (ChangeSet &&changeSet) |
ChangeSet & | operator+= (int changeId) |
Add some change flag. | |
ChangeSet & | operator+= (const ChangeSet &changeSet) |
Add some change set. | |
Set of change flags (its IDs).
Definition at line 37 of file IChangeable.h.
istd::IChangeable::ChangeSet::ChangeSet | ( | ) |
istd::IChangeable::ChangeSet::ChangeSet | ( | const ChangeSet & | changeSet | ) |
istd::IChangeable::ChangeSet::ChangeSet | ( | ChangeSet && | changeSet | ) |
|
explicit |
|
explicit |
istd::IChangeable::ChangeSet::ChangeSet | ( | int | id1, |
int | id2, | ||
const QString & | description = "" ) |
istd::IChangeable::ChangeSet::ChangeSet | ( | int | id1, |
int | id2, | ||
int | id3, | ||
const QString & | description = "" ) |
istd::IChangeable::ChangeSet::ChangeSet | ( | int | id1, |
int | id2, | ||
int | id3, | ||
int | id4, | ||
const QString & | description = "" ) |
istd::IChangeable::ChangeSet::ChangeSet | ( | int | id1, |
int | id2, | ||
int | id3, | ||
int | id4, | ||
int | id5, | ||
const QString & | description = "" ) |
istd::IChangeable::ChangeSet::ChangeSet | ( | int | id1, |
int | id2, | ||
int | id3, | ||
int | id4, | ||
int | id5, | ||
int | id6, | ||
const QString & | description = "" ) |
istd::IChangeable::ChangeSet::ChangeSet | ( | int | id1, |
int | id2, | ||
int | id3, | ||
int | id4, | ||
int | id5, | ||
int | id6, | ||
int | id7, | ||
const QString & | description = "" ) |
istd::IChangeable::ChangeSet::ChangeSet | ( | int | id1, |
int | id2, | ||
int | id3, | ||
int | id4, | ||
int | id5, | ||
int | id6, | ||
int | id7, | ||
int | id8, | ||
const QString & | description = "" ) |
istd::IChangeable::ChangeSet::ChangeSet | ( | int | id1, |
int | id2, | ||
int | id3, | ||
int | id4, | ||
int | id5, | ||
int | id6, | ||
int | id7, | ||
int | id8, | ||
int | id9, | ||
const QString & | description = "" ) |
istd::IChangeable::ChangeSet::ChangeSet | ( | int | id1, |
int | id2, | ||
int | id3, | ||
int | id4, | ||
int | id5, | ||
int | id6, | ||
int | id7, | ||
int | id8, | ||
int | id9, | ||
int | id10, | ||
const QString & | description = "" ) |
bool istd::IChangeable::ChangeSet::Contains | ( | int | changeId | ) | const |
Check if there is specific change flag in the set.
Referenced by imath::TFulcrumGridFunctionBase< Argument, Result, Fulcrums >::CalculateCache(), and iview::CInteractiveShapeBase::IsDisplayChangeImportant().
bool istd::IChangeable::ChangeSet::ContainsAny | ( | const ChangeSet & | changeSet | ) | const |
Check if any of IDs is changed.
bool istd::IChangeable::ChangeSet::ContainsExplicit | ( | int | changeId, |
bool | singleOnly = false ) const |
Check if there is specific change flag in the set explicit set by user.
There are some control flags, used to indicate that all changes were done. The functionality of this flags will be omitted by this check.
changeId | ID of requested change. |
singleOnly | if it is true, than this function return tru only if the set contains only requested change and nothing more. |
Referenced by icmpstr::TObjectShapeBase< GraphicsItemClass, ObjectClass >::AfterModelChange(), iinspgui::TCommonSupplierGuiCompBase< UI >::AfterModelChange(), and istdgui::TGuiObserverWrap< Gui, Observer >::AfterModelChange().
const QString & istd::IChangeable::ChangeSet::GetDescription | ( | ) | const |
Get textual description of this change set.
QSet< int > istd::IChangeable::ChangeSet::GetIds | ( | ) | const |
Get set of all stored IDs.
Please note, that there are some special IDs changing interpretation of this set. It will be exported in raw form.
bool istd::IChangeable::ChangeSet::IsEmpty | ( | ) | const |
Check if there is any change in the set.
void istd::IChangeable::ChangeSet::MaskOut | ( | const ChangeSet & | changeSet | ) |
Remove the IDs from the second set.
Add some change set.
ChangeSet & istd::IChangeable::ChangeSet::operator+= | ( | int | changeId | ) |
Add some change flag.
void istd::IChangeable::ChangeSet::Reset | ( | ) |
Remove all IDs.
Referenced by istd::TCachedUpdateManagerWrap< Base >::SetCacheValid().
© Witold Gantzke and Kirill Lepskiy