GTIRB
v2.2.0
GrammaTech Intermediate Representation for Binaries: C++ API
|
Describes a location inside a node (byte interval, block, etc). More...
#include <Offset.hpp>
Public Member Functions | |
Offset ()=default | |
Default constructor. More... | |
Offset (const UUID &ElemId, uint64_t Disp) | |
Constructor using a ElemId uuid and a Displacement. More... | |
Public Attributes | |
uint64_t | Displacement {0} |
The displacement from the start of the node, in bytes. More... | |
UUID | ElementId |
The UUID of the node. More... | |
Friends | |
bool | fromProtobuf (Context &, Offset &, const MessageType &) |
bool | operator!= (const Offset &LHS, const Offset &RHS) noexcept |
Inequality operator for Offset. More... | |
constexpr friend bool | operator< (const Offset &LHS, const Offset &RHS) noexcept |
Less-than operator for Offset. More... | |
constexpr friend bool | operator<= (const Offset &LHS, const Offset &RHS) noexcept |
Less-than-or-equal operator for Offset. More... | |
bool | operator== (const Offset &LHS, const Offset &RHS) noexcept |
Equality operator for Offset. More... | |
constexpr friend bool | operator> (const Offset &LHS, const Offset &RHS) noexcept |
Greater-than operator for Offset. More... | |
constexpr friend bool | operator>= (const Offset &LHS, const Offset &RHS) noexcept |
Greater-than-or-equal operator for Offset. More... | |
Describes a location inside a node (byte interval, block, etc).
|
inline |
Constructor using a ElemId uuid and a Displacement.
|
default |
Default constructor.
Less-than operator for Offset.
Less-than-or-equal operator for Offset.
Greater-than operator for Offset.
Greater-than-or-equal operator for Offset.
uint64_t gtirb::Offset::Displacement {0} |
The displacement from the start of the node, in bytes.
UUID gtirb::Offset::ElementId |
The UUID of the node.