1#include "Identifier/Identifier.h"
12 sscanf (
id.
c_str(),
"0x%x", &m_id);
22 sprintf (temp,
"0x%x", (
unsigned int)m_id);
24 result.insert(2,10-result.length(),
'0');
33 std::cout <<
me.getString();
std::ostream & operator<<(std::ostream &os, const Identifier &Id)
virtual std::string getString() const
Provide a string form of the identifier - hexadecimal.
virtual void show() const
Print out in hex form.
virtual void set(const std::string &id)
build from a string form - hexadecimal