OpenASIP 2.2
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Annotation Class Reference

#include <ParserStructs.hh>

Collaboration diagram for Annotation:
Collaboration graph

Public Member Functions

std::string toString () const
 

Public Attributes

UValue id
 
std::vector< InitDataFieldpayload
 

Detailed Description

One annotation.

Definition at line 364 of file ParserStructs.hh.

Member Function Documentation

◆ toString()

std::string Annotation::toString ( ) const
inline

Definition at line 371 of file ParserStructs.hh.

371 {
372 std::stringstream retVal;
373 retVal << "[0x" << std::hex << id;
374
375 for (unsigned int i = 0; i < payload.size(); i++) {
376 retVal << " " << payload[i].toString();
377 }
378
379 retVal << "]";
380
381 return retVal.str();
382 }
std::vector< InitDataField > payload

References id, and payload.

Member Data Documentation

◆ id

UValue Annotation::id

◆ payload

std::vector<InitDataField> Annotation::payload

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