Open
Graph Drawing
Framework

 v.2010.10
 

Public Member Functions | Private Attributes

ogdf::DinoLineBufferPosition Class Reference

#include <ogdf/fileformats/DinoLineBuffer.h>

List of all members.

Public Member Functions

 DinoLineBufferPosition ()
 DinoLineBufferPosition (int lineNumber, int lineUpdateCount, int linePosition)
 DinoLineBufferPosition (const DinoLineBufferPosition &position)
int getLineNumber () const
int getLineUpdateCount () const
int getLinePosition () const
void set (int lineNumber, int lineUpdateCount, int linePosition)
void incrementPosition ()
bool operator!= (const DinoLineBufferPosition &position) const
const DinoLineBufferPositionoperator= (const DinoLineBufferPosition &position)

Private Attributes

int m_lineNumber
int m_lineUpdateCount
int m_linePosition

Detailed Description

This class characterizes uniquely a position in the line buffer.

Note that the element m_lineUpdateCount allows to check if a position is obsolete, i.e. its content has already been overwritten.

Definition at line 76 of file DinoLineBuffer.h.


Constructor & Destructor Documentation

ogdf::DinoLineBufferPosition::DinoLineBufferPosition (  )  [inline]

Default Constructor

Definition at line 94 of file DinoLineBuffer.h.

ogdf::DinoLineBufferPosition::DinoLineBufferPosition ( int  lineNumber,
int  lineUpdateCount,
int  linePosition 
)

Constructor

ogdf::DinoLineBufferPosition::DinoLineBufferPosition ( const DinoLineBufferPosition position  ) 

Copy Constructor


Member Function Documentation

int ogdf::DinoLineBufferPosition::getLineNumber (  )  const [inline]

Get the line number

Definition at line 109 of file DinoLineBuffer.h.

int ogdf::DinoLineBufferPosition::getLinePosition (  )  const [inline]

Get the position in the line

Definition at line 119 of file DinoLineBuffer.h.

int ogdf::DinoLineBufferPosition::getLineUpdateCount (  )  const [inline]

Get the update count of the line

Definition at line 114 of file DinoLineBuffer.h.

void ogdf::DinoLineBufferPosition::incrementPosition (  ) 

Increments the position by 1

bool ogdf::DinoLineBufferPosition::operator!= ( const DinoLineBufferPosition position  )  const

Test if inequal

const DinoLineBufferPosition& ogdf::DinoLineBufferPosition::operator= ( const DinoLineBufferPosition position  ) 

Assignment

void ogdf::DinoLineBufferPosition::set ( int  lineNumber,
int  lineUpdateCount,
int  linePosition 
)

Set all values


Member Data Documentation

Contains the lineNumber; Range [0 .. c_maxNoOfLines-1]

Definition at line 81 of file DinoLineBuffer.h.

Contains the position in line m_lineNumber; Range [0 .. c_maxLineLength-1]

Definition at line 89 of file DinoLineBuffer.h.

Contains the number of times line m_lineNumber has been overwritten by new data; Range [0 .. ]

Definition at line 86 of file DinoLineBuffer.h.


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