26 #ifndef GWRAPPER_BASE2
27 #define GWRAPPER_BASE2
67 virtual bool is_open()
const = 0;
79 virtual void open_group(
const std::string & name =
"none")=0;
105 virtual void add_dset(
int rank,
const unsigned int * dims,
V_TYPE vt ,
const void * data,
const std::string & dset_name)=0;
120 virtual void add_meta_data(
const std::string & key,
float val)=0;
132 virtual void add_meta_data(
const std::string & key,
const std::string & val)=0;
136 virtual void add_meta_data(
const std::string & key,
int val)=0;
140 virtual void add_meta_data(
const std::string & key,
unsigned int val)=0;
156 virtual void add_meta_data(
const std::string & key,
float val,
const std::string & dset_name)=0;
168 virtual void add_meta_data(
const std::string & key,
const std::string & val,
const std::string & dset_name)=0;
172 virtual void add_meta_data(
const std::string & key,
int val,
const std::string & dset_name)=0;
176 virtual void add_meta_data(
const std::string & key,
unsigned int val,
const std::string & dset_name)=0;
218 virtual bool is_open()
const = 0;
230 virtual void open_group(
const std::string & name =
"none")=0;
249 virtual void get_dset(std::vector<int> & data,std::vector<unsigned int> & dims,
const std::string & dset_name)
const=0;
250 virtual void get_dset(std::vector<unsigned int> & data, std::vector<unsigned int> & dims,
const std::string & dset_name)
const=0;
251 virtual void get_dset(std::vector<float> & data, std::vector<unsigned int> & dims,
const std::string & dset_name)
const=0;
259 virtual void get_dset_info(std::vector<int> & dims,
V_TYPE& vt ,
const std::string & dset_name)
const=0;
275 virtual float get_meta_data(
const std::string & key,
float & val)=0;
287 virtual std::string
get_meta_data(
const std::string & key, std::string & val)=0;
291 virtual int get_meta_data(
const std::string & key,
int & val)=0;
295 virtual unsigned int get_meta_data(
const std::string & key,
unsigned int& val)=0;
313 virtual float get_meta_data(
const std::string & key,
float& val,
const std::string & dset_name)=0;
325 virtual std::string
get_meta_data(
const std::string & key, std::string & val,
const std::string & dset_name)=0;
329 virtual int get_meta_data(
const std::string & key,
int &val,
const std::string & dset_name)=0;