Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
morkSpan Class Reference

#include <morkParser.h>

Collaboration diagram for morkSpan:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 morkSpan ()
morkPlaceAsPlace ()
const morkPlaceAsConstPlace () const
void SetSpan (mork_pos inFromPos, mork_line inFromLine, mork_pos inToPos, mork_line inToLine)
void SetEndWithEnd (const morkSpan &inSpan)
void SetStartWithEnd (const morkSpan &inSpan)
void ClearSpan ()
 morkSpan (mork_pos inFromPos, mork_line inFromLine, mork_pos inToPos, mork_line inToLine)

Public Attributes

morkPlace mSpan_Start
morkPlace mSpan_End

Detailed Description

Definition at line 169 of file morkParser.h.


Constructor & Destructor Documentation

morkSpan::morkSpan ( ) [inline]

Definition at line 177 of file morkParser.h.

{ } // use inline empty constructor for each place
morkSpan::morkSpan ( mork_pos  inFromPos,
mork_line  inFromLine,
mork_pos  inToPos,
mork_line  inToLine 
) [inline]

Definition at line 203 of file morkParser.h.

  : mSpan_Start(inFromPos, inFromLine), mSpan_End(inToPos, inToLine)
  {  /* empty implementation */ }

Member Function Documentation

const morkPlace* morkSpan::AsConstPlace ( ) const [inline]

Definition at line 180 of file morkParser.h.

{ return &mSpan_Start; }

Definition at line 179 of file morkParser.h.

{ return &mSpan_Start; }

Here is the caller graph for this function:

void morkSpan::ClearSpan ( ) [inline]

Definition at line 197 of file morkParser.h.

Here is the caller graph for this function:

void morkSpan::SetEndWithEnd ( const morkSpan inSpan) [inline]

Definition at line 190 of file morkParser.h.

  { mSpan_End = inSpan.mSpan_End; }

Here is the caller graph for this function:

void morkSpan::SetSpan ( mork_pos  inFromPos,
mork_line  inFromLine,
mork_pos  inToPos,
mork_line  inToLine 
) [inline]

Definition at line 182 of file morkParser.h.

  {
    mSpan_Start.SetPlace(inFromPos, inFromLine);
    mSpan_End.SetPlace(inToPos,inToLine);
  }

Here is the call graph for this function:

void morkSpan::SetStartWithEnd ( const morkSpan inSpan) [inline]

Definition at line 194 of file morkParser.h.

  { mSpan_Start = inSpan.mSpan_End; }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 172 of file morkParser.h.

Definition at line 171 of file morkParser.h.


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