BonnMotionFile Class Reference

#include <BonnMotionFileCache.h>

List of all members.


Detailed Description

Represents a BonnMotion file's contents.
See also:
BonnMotionFileCache, BonnMotionMobility


Public Types

typedef std::vector< double > Line

Public Member Functions

const LinegetLine (int nodeId) const

Private Types

typedef std::list< LineLineList

Private Attributes

LineList lines

Friends

class BonnMotionFileCache


Member Typedef Documentation

typedef std::vector<double> BonnMotionFile::Line

typedef std::list<Line> BonnMotionFile::LineList [private]


Member Function Documentation

const BonnMotionFile::Line * BonnMotionFile::getLine ( int  nodeId  )  const

00025 {
00026     LineList::const_iterator it = lines.begin();
00027     for (int i=0; i<nodeId && it!=lines.end(); i++) it++;
00028     return (it==lines.end()) ? NULL : &(*it);
00029 }


Friends And Related Function Documentation

friend class BonnMotionFileCache [friend]


Member Data Documentation

LineList BonnMotionFile::lines [private]


The documentation for this class was generated from the following files:
Generated on Wed Apr 4 13:20:19 2007 for INET Framework for OMNeT++/OMNEST by  doxygen 1.4.7