22 #ifndef GNEReferenceCounter_h 23 #define GNEReferenceCounter_h 61 void decRef(
const std::string& debugMsg =
"") {
62 #ifdef _DEBUG_REFERENCECOUNTER 67 throw ProcessError(
"Attempt to decrement references below zero for instance of GNEReferenceCounter");
73 void incRef(
const std::string& debugMsg =
"") {
74 #ifdef _DEBUG_REFERENCECOUNTER 87 virtual const std::string
getID()
const = 0;
#define UNUSED_PARAMETER(x)
GNEReferenceCounter()
constructor
~GNEReferenceCounter()
destructor
std::string toString(const T &t, std::streamsize accuracy=OUTPUT_ACCURACY)
void incRef(const std::string &debugMsg="")
void decRef(const std::string &debugMsg="")
virtual const std::string getID() const =0