source: XIOS/dev/dev_ym/XIOS_COUPLING/src/data_input.cpp @ 2230

Last change on this file since 2230 was 1930, checked in by ymipsl, 4 years ago

Big update on on going work related to data distribution and transfer between clients and servers.
Revisite of the source and store filter using "connectors".

YM

File size: 967 bytes
Line 
1#include "data_input.hpp"
2
3#include "attribute_template.hpp"
4#include "group_template.hpp"
5#include "context.hpp"
6
7namespace 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
21  void CDataInput::readFieldData(CField* field, int record, CArray<double,1>& data)
22  {
23    this->readFieldData_(field, record, data);
24  }
25
26  //----------------------------------------------------------------
27
28  void CDataInput::closeFile(void)
29  {
30    this->closeFile_();
31  }
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  }
42} // namespace xios
Note: See TracBrowser for help on using the repository browser.