GTIRB  v2.1.0
GrammaTech Intermediate Representation for Binaries: C++ API
Public Member Functions | Public Attributes | List of all members
gtirb::AuxDataContainer::AuxDataRaw Struct Reference

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ AuxDataRaw()

gtirb::AuxDataContainer::AuxDataRaw::AuxDataRaw ( const std::string &  K,
const std::string &  RB,
const std::string &  PT 
)
inline

Member Data Documentation

◆ Key

const std::string& gtirb::AuxDataContainer::AuxDataRaw::Key

The string name of the AuxData field.

◆ ProtobufType

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.

◆ RawBytes

const std::string& gtirb::AuxDataContainer::AuxDataRaw::RawBytes

The raw bytes of the serialized form of the AuxData.


The documentation for this struct was generated from the following file: