#include <BonnMotionFileCache.h>
Public Types | |
typedef std::vector< double > | Line |
Public Member Functions | |
const Line * | getLine (int nodeId) const |
Protected Types | |
typedef std::list< Line > | LineList |
Protected Attributes | |
LineList | lines |
Friends | |
class | BonnMotionFileCache |
typedef std::vector<double> BonnMotionFile::Line |
typedef std::list<Line> BonnMotionFile::LineList [protected] |
const BonnMotionFile::Line * BonnMotionFile::getLine | ( | int | nodeId | ) | const |
Referenced by BonnMotionMobility::initialize().
00024 { 00025 LineList::const_iterator it = lines.begin(); 00026 for (int i=0; i<nodeId && it!=lines.end(); i++) it++; 00027 return (it==lines.end()) ? NULL : &(*it); 00028 }
friend class BonnMotionFileCache [friend] |
LineList BonnMotionFile::lines [protected] |
Referenced by getLine(), and BonnMotionFileCache::parseFile().