Envision
A visual programming IDE for object-oriented languages
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
OOModel::Modifier Class Reference
Inheritance diagram for OOModel::Modifier:
Core::Reflect< Base >

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 >
 

Member Typedef Documentation

◆ Modifiers

Member Enumeration Documentation

◆ ModifierFlag

Enumerator
None 
Public 
Private 
Protected 
Static 
Final 
Abstract 
Virtual 
Override 
Inline 
Const 
ConstExpr 
Default 
Deleted 
Explicit 

Constructor & Destructor Documentation

◆ Modifier()

OOModel::Modifier::Modifier ( Modifiers  modifiers)

Member Function Documentation

◆ clear()

void OOModel::Modifier::clear ( )

◆ fromInt()

Modifier::Modifiers OOModel::Modifier::fromInt ( int  val)
private

◆ get()

Modifier::Modifiers OOModel::Modifier::get ( ) const
inline

◆ isSet()

bool OOModel::Modifier::isSet ( ModifierFlag  flag) const
inline

◆ load()

void OOModel::Modifier::load ( Model::PersistentStore store)
overridevirtual

◆ save()

void OOModel::Modifier::save ( Model::PersistentStore store) const
overridevirtual

◆ set()

void OOModel::Modifier::set ( Modifiers  modifiers,
bool  enable = true 
)

Member Data Documentation

◆ modifiers_

Modifiers OOModel::Modifier::modifiers_ {}
private