36 #ifndef ARM_TRC_PRINTABLE_ELEM_H_INCLUDED
37 #define ARM_TRC_PRINTABLE_ELEM_H_INCLUDED
60 virtual void toString(std::string &str)
const;
61 virtual void toStringFmt(
const uint32_t fmtFlags, std::string &str)
const;
64 static void getValStr(std::string &valStr,
const int valTotalBitSize,
const int valValidBits,
const uint64_t value,
const bool asHex =
true,
const int updateBits = 0);
70 str =
"Trace Element : print not implemented";
79 template<
class Pc,
class Pt>
83 pktClass =
static_cast<const Pt *
>(p_pkt);
84 pktClass.toString(str);
Class to provide trace element strings for printing.
static void getValStr(std::string &valStr, const int valTotalBitSize, const int valValidBits, const uint64_t value, const bool asHex=true, const int updateBits=0)
virtual ~trcPrintableElem()
virtual void toStringFmt(const uint32_t fmtFlags, std::string &str) const
void trcPrintElemToString(const void *p_pkt, std::string &str)
virtual void toString(std::string &str) const