Last change
on this file since 2330 was
2019,
checked in by yushan, 3 years ago
|
Graph intermedia commit to a tmp branch
|
File size:
967 bytes
|
Rev | Line | |
---|
[602] | 1 | #include "data_input.hpp" |
---|
| 2 | |
---|
| 3 | #include "attribute_template.hpp" |
---|
| 4 | #include "group_template.hpp" |
---|
| 5 | #include "context.hpp" |
---|
| 6 | |
---|
| 7 | namespace xios |
---|
| 8 | { |
---|
| 9 | CDataInput::~CDataInput(void) |
---|
| 10 | { /* Nothing to do */ } |
---|
| 11 | |
---|
| 12 | //---------------------------------------------------------------- |
---|
| 13 | |
---|
| 14 | StdSize CDataInput::getFieldNbRecords(CField* field) |
---|
| 15 | { |
---|
| 16 | return this->getFieldNbRecords_(field); |
---|
| 17 | } |
---|
| 18 | |
---|
| 19 | //---------------------------------------------------------------- |
---|
| 20 | |
---|
[2019] | 21 | void CDataInput::readFieldData(CField* field, int record, CArray<double,1>& data) |
---|
[602] | 22 | { |
---|
[2019] | 23 | this->readFieldData_(field, record, data); |
---|
[602] | 24 | } |
---|
| 25 | |
---|
| 26 | //---------------------------------------------------------------- |
---|
| 27 | |
---|
| 28 | void CDataInput::closeFile(void) |
---|
| 29 | { |
---|
| 30 | this->closeFile_(); |
---|
| 31 | } |
---|
[775] | 32 | |
---|
| 33 | void CDataInput::readFieldAttributesMetaData(CField* field) |
---|
| 34 | { |
---|
| 35 | this->readFieldAttributes_(field, false); |
---|
| 36 | } |
---|
| 37 | |
---|
| 38 | void CDataInput::readFieldAttributesValues(CField* field) |
---|
| 39 | { |
---|
| 40 | this->readFieldAttributes_(field, true); |
---|
| 41 | } |
---|
[602] | 42 | } // namespace xios |
---|
Note: See
TracBrowser
for help on using the repository browser.