Puma Reference Manual Puma: Puma::Location Class Reference



Puma::Location Class Reference

#include <Location.h>

List of all members.

Public Member Functions

 Location ()
 Location (Filename f, int l, int c=0)
void setup (Filename f, int l, int c=0)
const Filenamefilename () const
int line () const
int column () const
bool operator== (const Location &l) const
bool operator!= (const Location &l) const
bool operator< (const Location &l) const

Constructor & Destructor Documentation

Puma::Location::Location ( ) [inline]
Puma::Location::Location ( Filename  f,
int  l,
int  c = 0 
) [inline]

Member Function Documentation

int Puma::Location::column ( ) const [inline]
const Filename& Puma::Location::filename ( ) const [inline]
int Puma::Location::line ( ) const [inline]
bool Puma::Location::operator!= ( const Location l) const [inline]
bool Puma::Location::operator< ( const Location l) const [inline]
bool Puma::Location::operator== ( const Location l) const [inline]
void Puma::Location::setup ( Filename  f,
int  l,
int  c = 0 
) [inline]