sptk2 logo
SPTK Home Page
Public Member Functions | List of all members
sptk::CLocation Class Reference

Location object. More...

#include <Location.h>

Public Member Functions

 CLocation (const char *file, int line)
 Constructor. More...
 
void set (const char *file, int line)
 Modifies location. More...
 
const char * file () const
 Returns location file name.
 
int line () const
 Returns location line number.
 
String toString () const
 Returns string presentation of location.
 
bool empty () const
 Returns true if location is empty.
 

Detailed Description

Location object.

Stores file name and line number in the file

Constructor & Destructor Documentation

◆ CLocation()

sptk::CLocation::CLocation ( const char *  file,
int  line 
)
inline

Constructor.

Parameters
fileconst char*, File name
lineint, Line number

Member Function Documentation

◆ set()

void sptk::CLocation::set ( const char *  file,
int  line 
)
inline

Modifies location.

Parameters
fileconst char*, File name
lineint, Line number

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

Fri Oct 14 2022 09:58:37: SPTK 5.4.1