| 1 |
< |
/* |
| 1 |
> |
/* |
| 2 |
|
* Copyright (c) 2005 The University of Notre Dame. All Rights Reserved. |
| 3 |
|
* |
| 4 |
|
* The University of Notre Dame grants you ("Licensee") a |
| 48 |
|
#include "brains/SimInfo.hpp" |
| 49 |
|
#include "constraints/ZconsStruct.hpp" |
| 50 |
|
namespace oopse { |
| 51 |
< |
|
| 52 |
< |
|
| 53 |
< |
/** |
| 54 |
< |
* @class ZConsReader |
| 55 |
< |
* @todo document |
| 56 |
< |
*/ |
| 57 |
< |
class ZConsReader{ |
| 51 |
> |
|
| 52 |
> |
|
| 53 |
> |
/** |
| 54 |
> |
* @class ZConsReader |
| 55 |
> |
* @todo document |
| 56 |
> |
*/ |
| 57 |
> |
class ZConsReader{ |
| 58 |
|
public: |
| 59 |
|
|
| 60 |
|
ZConsReader(SimInfo* info); |
| 65 |
|
int getNZMols() {return allZmols_.size();} |
| 66 |
|
int getNFixedZmols() {return fixedZmolData_.size();} |
| 67 |
|
const std::vector<ZconsData>& getFixedZMolData() {return fixedZmolData_; } |
| 68 |
< |
double getCurTime() {return curTime_; } |
| 69 |
< |
|
| 68 |
> |
RealType getCurTime() {return curTime_; } |
| 69 |
> |
|
| 70 |
|
private: |
| 71 |
|
|
| 72 |
|
std::ifstream istream_; |
| 73 |
|
SimInfo* info_; |
| 74 |
|
std::vector<int> allZmols_; |
| 75 |
< |
double curTime_; |
| 75 |
> |
RealType curTime_; |
| 76 |
|
std::vector<ZconsData> fixedZmolData_; |
| 77 |
|
const static int MAXBUFFERSIZE = 2000; |
| 78 |
< |
}; |
| 79 |
< |
|
| 78 |
> |
}; |
| 79 |
> |
|
| 80 |
|
} |
| 81 |
|
#endif |