A class that gives records a location in the query.
More...
#include <LocationInfo.hpp>
|
| LocationInfo () |
| Constructor that sets the information to 0.
|
|
| LocationInfo (const XMLCh *file, unsigned int line, unsigned int column) |
| Constructor that takes the initial information.
|
|
const XMLCh * | getFile () const |
| The file that the query was parsed from.
|
|
unsigned int | getLine () const |
| The line in the query.
|
|
unsigned int | getColumn () const |
| The column in the query.
|
|
void | setLocationInfo (const XMLCh *file, unsigned int line, unsigned int column) |
| Sets the location to the given information.
|
|
void | setLocationInfo (const LocationInfo *o) |
| Sets the location with the information in the given LocationInfo object.
|
|
A class that gives records a location in the query.
◆ LocationInfo() [1/2]
LocationInfo::LocationInfo |
( |
| ) |
|
|
inline |
◆ LocationInfo() [2/2]
LocationInfo::LocationInfo |
( |
const XMLCh * | file, |
|
|
unsigned int | line, |
|
|
unsigned int | column ) |
|
inline |
Constructor that takes the initial information.
◆ getColumn()
unsigned int LocationInfo::getColumn |
( |
| ) |
const |
|
inline |
◆ getFile()
const XMLCh * LocationInfo::getFile |
( |
| ) |
const |
|
inline |
The file that the query was parsed from.
This could be null.
◆ getLine()
unsigned int LocationInfo::getLine |
( |
| ) |
const |
|
inline |
◆ setLocationInfo() [1/2]
void LocationInfo::setLocationInfo |
( |
const LocationInfo * | o | ) |
|
|
inline |
◆ setLocationInfo() [2/2]
void LocationInfo::setLocationInfo |
( |
const XMLCh * | file, |
|
|
unsigned int | line, |
|
|
unsigned int | column ) |
|
inline |
Sets the location to the given information.
The documentation for this class was generated from the following file: