SourceForge.net Logo
Public Member Functions | List of all members
LocationInfo Class Reference

A class that gives records a location in the query. More...

#include <LocationInfo.hpp>

Inheritance diagram for LocationInfo:
Inheritance graph
[legend]

Public Member Functions

 LocationInfo ()
 Constructor that sets the information to 0. More...
 
 LocationInfo (const XMLCh *file, unsigned int line, unsigned int column)
 Constructor that takes the initial information. More...
 
const XMLCh * getFile () const
 The file that the query was parsed from. More...
 
unsigned int getLine () const
 The line in the query. More...
 
unsigned int getColumn () const
 The column in the query. More...
 
void setLocationInfo (const XMLCh *file, unsigned int line, unsigned int column)
 Sets the location to the given information. More...
 
void setLocationInfo (const LocationInfo *o)
 Sets the location with the information in the given LocationInfo object. More...
 

Detailed Description

A class that gives records a location in the query.

Constructor & Destructor Documentation

LocationInfo::LocationInfo ( )
inline

Constructor that sets the information to 0.

LocationInfo::LocationInfo ( const XMLCh *  file,
unsigned int  line,
unsigned int  column 
)
inline

Constructor that takes the initial information.

Member Function Documentation

unsigned int LocationInfo::getColumn ( ) const
inline

The column in the query.

const XMLCh* LocationInfo::getFile ( ) const
inline

The file that the query was parsed from.

This could be null.

unsigned int LocationInfo::getLine ( ) const
inline

The line in the query.

void LocationInfo::setLocationInfo ( const XMLCh *  file,
unsigned int  line,
unsigned int  column 
)
inline

Sets the location to the given information.

void LocationInfo::setLocationInfo ( const LocationInfo o)
inline

Sets the location with the information in the given LocationInfo object.


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