CLI  2.9
CallInfo Class Reference

Call information object. More...

#include <debug.h>

Inheritance diagram for CallInfo:

Public Member Functions

 CallInfo (const CallInfo &)
 
 CallInfo (const char *const STR_File, const unsigned int I_Line, const char *const STR_Function)
 Regular constructor. More...
 
 ~CallInfo (void)
 Destructor. More...
 
const char *const GetFile (void) const
 File accessor. More...
 
const unsigned int GetLine (void) const
 Line accessor. More...
 
const char *const GetFunction (void) const
 Function accessor. More...
 
- Public Member Functions inherited from Object
virtual ~Object (void)=0
 Pure virtual destructor. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Object
 Object (void)
 Default constructor only available to sub-classes. More...
 

Detailed Description

Call information object.

Definition at line 43 of file debug.h.

Constructor & Destructor Documentation

◆ CallInfo() [1/2]

CallInfo::CallInfo ( const CallInfo )
Warning
Copy constructor is declared public for compilation reasons, but not implemented.

◆ CallInfo() [2/2]

CallInfo::CallInfo ( const char *const  STR_File,
const unsigned int  I_Line,
const char *const  STR_Function 
)
explicit

Regular constructor.

Parameters
STR_FileFile of call.
I_LinePosition in file.
STR_FunctionFunction of call.

◆ ~CallInfo()

CallInfo::~CallInfo ( void  )

Destructor.

Member Function Documentation

◆ GetFile()

const char* const CallInfo::GetFile ( void  ) const

File accessor.

Returns
The source file name of the call info.

◆ GetFunction()

const char* const CallInfo::GetFunction ( void  ) const

Function accessor.

Returns
The source function of the call info.

◆ GetLine()

const unsigned int CallInfo::GetLine ( void  ) const

Line accessor.

Returns
The source line of the call info.

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