SUMMARY:  INNER | FIELD | CONSTR | METHOD | FRIEND DETAIL:  FIELD | CONSTR | METHOD | FRIEND


Platform
Struct String::Position
Implemented in:
Platform.String.h
Enclosing class:
String

struct Position

Line and column position info.

Field Summarycollapse
Int column
          Column.
Int line
          Line.

Constructor Summarycollapse
Position()
          Creates position with line = 1 and column = 1.
Position(Int inLine, Int inColumn)
          Creates position with the specified line and column.

Method Summarycollapse
Int compareTo(const Position& other) const
          DOCTODO.
UInt deepSize() const
          DOCTODO.
Bool equals(const Position& other) const
          DOCTODO.
Void exchangeWith(Position& other)
          DOCTODO.
UInt hashCode() const
          DOCTODO.

 

Field Detail

column

Int column

Column.


line

Int line

Line.

 

Constructor Detail

Position[inline]

Position()

Creates position with line = 1 and column = 1.


Position[inline]

Position(Int inLine, Int inColumn)

Creates position with the specified line and column.

Parameters:
inLine - line
inColumn - column

 

Method Detail

compareTo[inline]

Int compareTo(const Position& other) const

DOCTODO.

Parameters:
other - DOCTODO
Returns:
DOCTODO

deepSize[inline]

UInt deepSize() const

DOCTODO.

Returns:
DOCTODO

equals[inline]

Bool equals(const Position& other) const

DOCTODO.

Parameters:
other - DOCTODO
Returns:
DOCTODO

exchangeWith[inline]

Void exchangeWith(Position& other)

DOCTODO.

Parameters:
other - DOCTODO

hashCode[inline]

UInt hashCode() const

DOCTODO.

Returns:
DOCTODO


SUMMARY:  INNER | FIELD | CONSTR | METHOD | FRIEND DETAIL:  FIELD | CONSTR | METHOD | FRIEND