lestes::lang::cplus::lex::loc Class Reference

Test location. More...

Inheritance diagram for lestes::lang::cplus::lex::loc:

Inheritance graph
[legend]
List of all members.

Public Member Functions

bool equals (const ptr< loc > &other) const
 Tests equality.

Static Public Member Functions

static ptr< loccreate (ulint a_position)
 Returns new location.

Protected Member Functions

 loc (ulint a_position)
 Creates new location.

Private Member Functions

 loc (const loc &)
 Hides copy constructor.
locoperator= (const loc &)
 Hides assingment operator.

Private Attributes

ulint position
 The represented position.

Detailed Description

Test location.

Location only for testing purposes.


Constructor & Destructor Documentation

lestes::lang::cplus::lex::loc::loc ( ulint  a_position  )  [protected]

Creates new location.

Creates new location.

Parameters:
a_position The position to initialize wiht.

lestes::lang::cplus::lex::loc::loc ( const loc  )  [private]

Hides copy constructor.


Member Function Documentation

bool lestes::lang::cplus::lex::loc::equals ( const ptr< loc > &  rhs  )  const

Tests equality.

Tests equality to other location.

Parameters:
other The location to compare to.
Returns:
True if both positions are the same.

ptr< loc > lestes::lang::cplus::lex::loc::create ( ulint  a_position  )  [static]

Returns new location.

Returns new location, initializes with position.

Parameters:
a_position The position to initialize with.

loc& lestes::lang::cplus::lex::loc::operator= ( const loc  )  [private]

Hides assingment operator.


Member Data Documentation

ulint lestes::lang::cplus::lex::loc::position [private]

The represented position.


The documentation for this class was generated from the following file:
Generated on Mon Feb 12 18:43:37 2007 for lestes by doxygen 1.5.1-20070107