C-Breeze
C Compiler Infrastructure

[ Project home page]

Coord Class Reference

#include <coord.h>

List of all members.

Public Member Functions

 Coord (int line, short int offset, short int file)
 Coord (simpleCoord s)
int line () const
void line (int line)
short int offset () const
void offset (short int offset)
short int file () const
void file (short int file)
string & filename ()
void get ()
bool is_unknown () const
string to_string ()

Static Public Attributes

static Coord Unknown

Private Attributes

int _line
short int _offset
short int _file

Friends

ostream & operator<< (ostream &, const Coord &)


Constructor & Destructor Documentation

Coord::Coord int  line,
short int  offset,
short int  file
[inline]
 

Definition at line 71 of file coord.h.

Coord::Coord simpleCoord  s  ) 
 


Member Function Documentation

void Coord::file short int  file  )  [inline]
 

Definition at line 86 of file coord.h.

References _file.

short int Coord::file  )  const [inline]
 

Definition at line 85 of file coord.h.

References _file.

string& Coord::filename  ) 
 

void Coord::get  ) 
 

bool Coord::is_unknown  )  const [inline]
 

Definition at line 92 of file coord.h.

References _file.

void Coord::line int  line  )  [inline]
 

Definition at line 80 of file coord.h.

References _line.

int Coord::line  )  const [inline]
 

Definition at line 79 of file coord.h.

References _line.

void Coord::offset short int  offset  )  [inline]
 

Definition at line 83 of file coord.h.

References _offset.

short int Coord::offset  )  const [inline]
 

Definition at line 82 of file coord.h.

References _offset.

string Coord::to_string  ) 
 


Friends And Related Function Documentation

ostream& operator<< ostream &  ,
const Coord
[friend]
 


Member Data Documentation

short int Coord::_file [private]
 

Definition at line 62 of file coord.h.

Referenced by file(), and is_unknown().

int Coord::_line [private]
 

Definition at line 60 of file coord.h.

Referenced by line().

short int Coord::_offset [private]
 

Definition at line 61 of file coord.h.

Referenced by offset().

Coord Coord::Unknown [static]
 

Definition at line 67 of file coord.h.


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

Generated on February 1, 2006
Back to the C-Breeze home page