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

Public Member Functions

 StepData ()=default
 
 StepData (qint64 threadId, Protocol::StepSize size, Protocol::StepDepth depth)
 
virtual ~StepData () override
 
- Public Member Functions inherited from OODebug::MessagePart
virtual ~MessagePart ()
 
void addMessageField (ReadOperator reader, WriteOperator writer=nullptr)
 
virtual int kind () const
 

Public Attributes

MessageField< Protocol::StepDepthstepDepth {&StepData::stepDepth, this}
 
MessageField< Protocol::StepSizestepSize {&StepData::stepSize, this}
 
MessageField< qint64 > threadID {&StepData::threadID, this}
 

Additional Inherited Members

- Public Types inherited from OODebug::MessagePart
using ReadOperator = std::function< void(MessagePart *, QDataStream &)>
 
using WriteOperator = std::function< void(const MessagePart *, QDataStream &)>
 
- 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...
 
- Static Public Attributes inherited from OODebug::MessagePart
static const int noKind {}
 

Constructor & Destructor Documentation

◆ StepData() [1/2]

OODebug::StepData::StepData ( )
default

◆ StepData() [2/2]

OODebug::StepData::StepData ( qint64  threadId,
Protocol::StepSize  size,
Protocol::StepDepth  depth 
)

◆ ~StepData()

OODebug::StepData::~StepData ( )
overridevirtual

Member Data Documentation

◆ stepDepth

MessageField<Protocol::StepDepth> OODebug::StepData::stepDepth {&StepData::stepDepth, this}

◆ stepSize

MessageField<Protocol::StepSize> OODebug::StepData::stepSize {&StepData::stepSize, this}

◆ threadID

MessageField<qint64> OODebug::StepData::threadID {&StepData::threadID, this}