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

Public Member Functions

 StackVariable ()=default
 
 StackVariable (qint32 slot, Protocol::Tag type)
 
virtual ~StackVariable () 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::Tagsigbyte {&StackVariable::sigbyte, this}
 A tag identifying the type of the variable. More...
 
MessageField< qint32 > slot {&StackVariable::slot, this}
 The local variable's index in the frame. More...
 

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

◆ StackVariable() [1/2]

OODebug::StackVariable::StackVariable ( )
default

◆ StackVariable() [2/2]

OODebug::StackVariable::StackVariable ( qint32  slot,
Protocol::Tag  type 
)

◆ ~StackVariable()

OODebug::StackVariable::~StackVariable ( )
overridevirtual

Member Data Documentation

◆ sigbyte

MessageField<Protocol::Tag> OODebug::StackVariable::sigbyte {&StackVariable::sigbyte, this}

A tag identifying the type of the variable.

◆ slot

MessageField<qint32> OODebug::StackVariable::slot {&StackVariable::slot, this}

The local variable's index in the frame.