Raytrix Light Field SDK  4.0
Logo
Public Member Functions | List of all members
Rx::CCodeLocation Class Reference

Detailed Description

Holds information about a certain code location. These information are:

Public Member Functions

 CCodeLocation ()
 Default constructor. More...
 
 CCodeLocation (const char *pcFile, const char *pcFunction, int iLine)
 Constructor. More...
 
const CRxStringGetFile () const
 Gets the source code file name. More...
 
const CRxStringGetFunction () const
 Gets the name of the function. More...
 
const int & GetLine () const
 Gets the line in the source code file. More...
 
CRxString ToString () const
 Convert this CCodeLocation into a string representation. More...
 

Constructor & Destructor Documentation

Rx::CCodeLocation::CCodeLocation ( )
inline

Default constructor.

Rx::CCodeLocation::CCodeLocation ( const char *  pcFile,
const char *  pcFunction,
int  iLine 
)
inline

Constructor.

Parameters
pcFileThe source code file name.
pcFunctionThe name of the function.
iLineThe line in the source code file.

Member Function Documentation

const CRxString& Rx::CCodeLocation::GetFile ( ) const
inline

Gets the source code file name.

Returns
The source code file name.
const CRxString& Rx::CCodeLocation::GetFunction ( ) const
inline

Gets the name of the function.

Returns
The name of the function.
const int& Rx::CCodeLocation::GetLine ( ) const
inline

Gets the line in the source code file.

Returns
The line in the source code file.
CRxString Rx::CCodeLocation::ToString ( ) const
inline

Convert this CCodeLocation into a string representation.

Returns
This CCodeLocation as a CRxString.