Class xlifepp::Trace#

class Trace#

Trace object allows to keep trace of runtime, as a string list, of the hierarchy of functions used up to now.

Public Functions

inline Trace()#

constructor

inline ~Trace()#

destructor

string_t current()#

returns last input string of a Trace object list

string_t current(const number_t)#

returns string of last l to current inputs of a Trace object list

current returns string of last l to current inputs of a Trace object list

void indent()#

function indent prints context-depending indentation to log file

number_t length() const#

function length returns the number of items of f_list

string_t list()#

returns function list of a Trace object list

void noSuchFunction(const string_t&)#

function not yet implemented

void pop()#

“pops” current input out of a Trace function list member

pop “pops” current input out of a Trace function list member

void print()#

print prints function list to default print file

void print(std::ofstream&)#

prints function list to opened ofstream or to default print file

print prints function list to opened ofstream

void push(const string_t&)#

“pushes” name into Trace function list member

push adds name into Trace function list member

Public Static Functions

static inline bool isLogged()#

returns true if log activated

static inline void logOff()#

deactivates log

static inline void logOn()#

activates log

Public Static Attributes

static bool disablePushPop = false#

push pop engine off

static bool traceMemory = false#

activate printing of large memory allocation

static bool trackingMode = false#

activate printing in push, pop functions

Friends

friend Trace &operator<<(Trace&, const string_t &s)#

print operator