GTIRB
v2.2.0
GrammaTech Intermediate Representation for Binaries: C++ API
|
An interface for accessing the serialized form of an AuxData instance. More...
#include <AuxDataContainer.hpp>
Public Member Functions | |
AuxDataRaw (const std::string &K, const std::string &RB, const std::string &PT) | |
Public Attributes | |
const std::string & | Key |
The string name of the AuxData field. More... | |
const std::string & | ProtobufType |
The type of the AuxData as stored in protobuf. More... | |
const std::string & | RawBytes |
The raw bytes of the serialized form of the AuxData. More... | |
An interface for accessing the serialized form of an AuxData instance.
The const_aux_data_iterator provides this value type for the AuxData instances contained in this container. This provides access to all AuxData present in a container regardless of whether or not appropriate types have been registered.
The content provided through this interface is only ever populated at the point at which this container is unserialized. Edits to AuxData after this point (or newly added AuxData) will not be reflected through this interface.
|
inline |
const std::string& gtirb::AuxDataContainer::AuxDataRaw::Key |
The string name of the AuxData field.
const std::string& gtirb::AuxDataContainer::AuxDataRaw::ProtobufType |
The type of the AuxData as stored in protobuf.
Note that this is not the AuxData's C++ type.
const std::string& gtirb::AuxDataContainer::AuxDataRaw::RawBytes |
The raw bytes of the serialized form of the AuxData.