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

Public Member Functions

 Location ()=default
 
 Location (Protocol::TypeTagKind typeTag, qint64 classId, qint64 methodId, qint64 methodIndex)
 
virtual ~Location () override
 
bool operator== (const Location &other) const
 
- Public Member Functions inherited from OODebug::MessagePart
virtual ~MessagePart ()
 
void addMessageField (ReadOperator reader, WriteOperator writer=nullptr)
 
virtual int kind () const
 

Public Attributes

MessageField< qint64 > classId {&Location::classId, this}
 
MessageField< qint64 > methodId {&Location::methodId, this}
 
MessageField< qint64 > methodIndex {&Location::methodIndex, this}
 
MessageField< Protocol::TypeTagKindtypeTag {&Location::typeTag, 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

◆ Location() [1/2]

OODebug::Location::Location ( )
default

◆ Location() [2/2]

OODebug::Location::Location ( Protocol::TypeTagKind  typeTag,
qint64  classId,
qint64  methodId,
qint64  methodIndex 
)

◆ ~Location()

OODebug::Location::~Location ( )
overridevirtual

Member Function Documentation

◆ operator==()

bool OODebug::Location::operator== ( const Location other) const

Member Data Documentation

◆ classId

MessageField<qint64> OODebug::Location::classId {&Location::classId, this}

◆ methodId

MessageField<qint64> OODebug::Location::methodId {&Location::methodId, this}

◆ methodIndex

MessageField<qint64> OODebug::Location::methodIndex {&Location::methodIndex, this}

◆ typeTag

MessageField<Protocol::TypeTagKind> OODebug::Location::typeTag {&Location::typeTag, this}