Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
enum | ModifierFlag { None = 0x00000000 , Public = 0x00000001 , Private = 0x00000002 , Protected = 0x00000004 , Static = 0x00000008 , Final = 0x00000010 , Abstract = 0x00000020 , Virtual = 0x00000040 , Override = 0x00000080 , Inline = 0x00000100 , Const = 0x00000200 , ConstExpr = 0x0000400 , Default = 0x00000800 , Deleted = 0x00001000 , Explicit = 0x00002000 } |
using | Modifiers = QFlags< ModifierFlag > |
Public Member Functions | |
Modifier (Modifiers modifiers) | |
void | clear () |
Modifiers | get () const |
bool | isSet (ModifierFlag flag) const |
virtual void | load (Model::PersistentStore &store) override |
virtual void | save (Model::PersistentStore &store) const override |
void | set (Modifiers modifiers, bool enable=true) |
Private Member Functions | |
Modifiers | fromInt (int val) |
Private Attributes | |
Modifiers | modifiers_ {} |
Additional Inherited Members | |
Protected Types inherited from Core::Reflect< Base > | |
using | Super = Reflect< Base > |
using OOModel::Modifier::Modifiers = QFlags<ModifierFlag> |
OOModel::Modifier::Modifier | ( | Modifiers | modifiers | ) |
void OOModel::Modifier::clear | ( | ) |
|
private |
|
inline |
|
inline |
|
overridevirtual |
|
overridevirtual |
void OOModel::Modifier::set | ( | Modifiers | modifiers, |
bool | enable = true |
||
) |
|
private |