Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions
OODebug::Modifier Class Reference
Inheritance diagram for OODebug::Modifier:
OODebug::MessagePart

Public Member Functions

 Modifier ()=default
 
virtual ~Modifier () override
 
virtual int kind () const override
 
- Public Member Functions inherited from OODebug::MessagePart
virtual ~MessagePart ()
 
void addMessageField (ReadOperator reader, WriteOperator writer=nullptr)
 

Static Public Member Functions

static Modifier makeClassExclude (QString classPattern)
 
static Modifier makeEventOff (qint32 count)
 
static Modifier makeLocation (Location loc)
 
static Modifier makeMatchClass (QString classPattern)
 
static Modifier makeSingleStep (qint64 threadId, Protocol::StepSize stepSize, Protocol::StepDepth stepDepth)
 
- Static Public Member Functions inherited from OODebug::MessagePart
template<typename Enum >
static constexpr std::enable_if< std::is_enum< Enum >::value, typename std::underlying_type< Enum >::type >::type cast (Enum enumValue)
 Casts an enum value to its underlying type. More...
 

Public Attributes

MessageField< QString, classExcludeclassExcludePatterm {&Modifier::classExcludePatterm, this}
 
MessageField< QString, classMatchclassPattern {&Modifier::classPattern, this}
 
MessageField< qint32, eventOffcount {&Modifier::count, this}
 
MessageField< Location, locationOnlylocation {&Modifier::location, this}
 
MessageField< qint8 > modKind {&Modifier::modKind, this}
 
MessageField< StepData, stepOnlystep {&Modifier::step, this}
 

Static Public Attributes

static const int classExclude = 6
 
static const int classMatch = 5
 
static const int eventOff = 1
 
static const int locationOnly = 7
 
static const int stepOnly = 10
 
- Static Public Attributes inherited from OODebug::MessagePart
static const int noKind {}
 

Private Member Functions

 Modifier (int kind)
 

Additional Inherited Members

- Public Types inherited from OODebug::MessagePart
using ReadOperator = std::function< void(MessagePart *, QDataStream &)>
 
using WriteOperator = std::function< void(const MessagePart *, QDataStream &)>
 

Constructor & Destructor Documentation

◆ Modifier() [1/2]

OODebug::Modifier::Modifier ( )
default

◆ ~Modifier()

OODebug::Modifier::~Modifier ( )
overridevirtual

◆ Modifier() [2/2]

OODebug::Modifier::Modifier ( int  kind)
private

Member Function Documentation

◆ kind()

int OODebug::Modifier::kind ( ) const
overridevirtual

Reimplemented from OODebug::MessagePart.

◆ makeClassExclude()

Modifier OODebug::Modifier::makeClassExclude ( QString  classPattern)
static

◆ makeEventOff()

Modifier OODebug::Modifier::makeEventOff ( qint32  count)
static

◆ makeLocation()

Modifier OODebug::Modifier::makeLocation ( Location  loc)
static

◆ makeMatchClass()

Modifier OODebug::Modifier::makeMatchClass ( QString  classPattern)
static

◆ makeSingleStep()

Modifier OODebug::Modifier::makeSingleStep ( qint64  threadId,
Protocol::StepSize  stepSize,
Protocol::StepDepth  stepDepth 
)
static

Member Data Documentation

◆ classExclude

const int OODebug::Modifier::classExclude = 6
static

◆ classExcludePatterm

MessageField<QString, classExclude> OODebug::Modifier::classExcludePatterm {&Modifier::classExcludePatterm, this}

◆ classMatch

const int OODebug::Modifier::classMatch = 5
static

◆ classPattern

MessageField<QString, classMatch> OODebug::Modifier::classPattern {&Modifier::classPattern, this}

◆ count

MessageField<qint32, eventOff> OODebug::Modifier::count {&Modifier::count, this}

◆ eventOff

const int OODebug::Modifier::eventOff = 1
static

◆ location

MessageField<Location, locationOnly> OODebug::Modifier::location {&Modifier::location, this}

◆ locationOnly

const int OODebug::Modifier::locationOnly = 7
static

◆ modKind

MessageField<qint8> OODebug::Modifier::modKind {&Modifier::modKind, this}

◆ step

MessageField<StepData, stepOnly> OODebug::Modifier::step {&Modifier::step, this}

◆ stepOnly

const int OODebug::Modifier::stepOnly = 10
static