--- branches/new_design/OOPSE-3.0/src/io/ZConsReader.hpp 2004/12/01 19:32:45 1817 +++ branches/new_design/OOPSE-3.0/src/io/ZConsReader.hpp 2004/12/01 20:05:49 1818 @@ -5,11 +5,14 @@ #include #include -#include "integrators/Integrator.hpp" #include "brains/SimInfo.hpp" -using namespace std; +namespace oopse { +/** + * @class ZConsReader + * @todo document + */ class ZConsReader{ public: @@ -21,28 +24,30 @@ class ZConsReader{ void readNextFrame(); bool hasNextFrame(); int getNumZMol(); - vector getZConsIndex(); - vector getZConsPos(); + std::vector getZConsIndex(); + std::vector getZConsPos(); //vector getKRatio(); - vector getCurZPos(); - vector getCurFZ(); + std::vector getCurZPos(); + std::vector getCurFZ(); double getCurTime(); private: + ifstream* istream; SimInfo* info; - string zconsFileName; + std::string zconsFileName; int nZMol; - vector index; - vector zconsPos; + std::vector index; + std::vector zconsPos; //vector kRatio; double curTime; - vector curFZ; - vector curZPos; + std::vector curFZ; + std::vector curZPos; }; +} #endif