27#ifndef __RADAR_ODIMH5V21_METADATA_HPP__
28#define __RADAR_ODIMH5V21_METADATA_HPP__
71 bool exists (
const char* name);
77 void remove (
const char* name);
85 H5::Attribute*
getH5Attribute (
const char* name,
bool mandatory =
false);
97 void set (
const char* name,
bool value);
104 void set (
const char* name,
char value);
113 void set (
const char* name,
unsigned char value);
122 void set (
const char* name,
short value);
131 void set (
const char* name,
unsigned short value);
140 void set (
const char* name,
int value);
149 void set (
const char* name,
unsigned int value);
158 void set (
const char* name, int64_t value);
170 void set (
const char* name,
float value);
177 void set (
const char* name,
double value);
184 void set (
const char* name,
const char* value);
191 void set (
const char* name,
const std::string& value);
203 void set (
const char* name,
const std::vector<bool>& value);
212 void set (
const char* name,
const std::vector<char>& value);
221 void set (
const char* name,
const std::vector<unsigned char>& value);
230 void set (
const char* name,
const std::vector<short>& value);
239 void set (
const char* name,
const std::vector<unsigned short>& value);
248 void set (
const char* name,
const std::vector<int>& value);
257 void set (
const char* name,
const std::vector<unsigned int>& value);
266 void set (
const char* name,
const std::vector<int64_t>& value);
276 void set (
const char* name,
const std::vector<float>& value,
int precision = 0);
286 void set (
const char* name,
const std::vector<double>& value,
int precision = 0);
296 void set (
const char* name,
const std::vector<char*>& value);
306 void set (
const char* name,
const std::vector<std::string>& value);
318 void set (
const char* name,
const std::vector<std::pair<short,short> >& value);
327 void set (
const char* name,
const std::vector<std::pair<int,int> >& value);
336 void set (
const char* name,
const std::vector<std::pair<int64_t,int64_t> >& value);
346 void set (
const char* name,
const std::vector<std::pair<float,float> >& value,
int precision = 0);
356 void set (
const char* name,
const std::vector<std::pair<double,double> >& value,
int precision = 0);
365 void set (
const char* name,
const std::vector<std::pair<std::string,std::string> >& value);
376 void setSimpleArray (
const char* name,
const std::vector<int64_t>& value);
385 void setSimpleArray (
const char* name,
const std::vector<double>& value);
398 void set (
const char* name,
const std::vector<AZTimes>& value);
407 void set (
const char* name,
const std::vector<AZTimes>& value,
int precision);
417 void set (
const char* name,
const std::vector<AZAngles>& value);
428 void set (
const char* name,
const std::vector<AZAngles>& value,
int precision);
446 void set (
const char* name,
const std::vector<Angles>& value);
457 void set (
const char* name,
const std::vector<Angles>& value,
int precision);
467 void set (
const char* name,
const std::vector<Arotation>& value);
478 void set (
const char* name,
const std::vector<Arotation>& value,
int precision);
489 void set (
const char* name,
const std::vector<TXpower>& value,
int precision);
499 void set (
const char* name,
const std::vector<Nodes>& value);
507 void set (
const char* name,
const std::stringstream& value);
512 void set (
const char* name,
const std::ostringstream& value);
523 bool getBool (
const char* name);
531 bool getBool (
const char* name,
bool value);
539 char getChar (
const char* name);
547 char getChar (
const char* name,
char value);
555 unsigned char getUChar (
const char* name);
563 unsigned char getUChar (
const char* name,
unsigned char value);
579 short getShort (
const char* name,
short value);
587 unsigned short getUShort (
const char* name);
595 unsigned short getUShort (
const char* name,
unsigned short value);
603 int getInt (
const char* name);
612 int getInt (
const char* name,
int value);
620 unsigned int getUInt (
const char* name);
629 unsigned int getUInt (
const char* name,
unsigned int value);
637 int64_t
getLong (
const char* name);
646 int64_t
getLong (
const char* name, int64_t value);
663 time_t
getTimeT (
const char* name, time_t value);
680 float getFloat (
const char* name,
float value);
696 double getDouble (
const char* name,
double value);
704 std::string
getStr (
const char* name);
712 std::string
getStr (
const char* name,
const std::string& value);
725 std::vector<bool>
getBools (
const char* name,
bool mandatory =
false);
735 std::vector<char>
getChars (
const char* name,
bool mandatory =
false);
745 std::vector<unsigned char>
getUChars (
const char* name,
bool mandatory =
false);
755 std::vector<short>
getShorts (
const char* name,
bool mandatory =
false);
765 std::vector<unsigned short>
getUShorts (
const char* name,
bool mandatory =
false);
775 std::vector<int>
getInts (
const char* name,
bool mandatory =
false);
785 std::vector<unsigned int>
getUInts (
const char* name,
bool mandatory =
false);
795 std::vector<int64_t>
getLongs (
const char* name,
bool mandatory =
false);
805 std::vector<time_t>
getTimes (
const char* name,
bool mandatory =
false);
815 std::vector<float>
getFloats (
const char* name,
bool mandatory =
false);
825 std::vector<double>
getDoubles (
const char* name,
bool mandatory =
false);
835 std::vector<std::string>
getStrings (
const char* name,
bool mandatory =
false);
864 std::vector<std::pair<short,short> >
getShortPairs (
const char* name,
bool mandatory =
false);
874 std::vector<std::pair<int,int> >
getIntPairs (
const char* name,
bool mandatory =
false);
884 std::vector<std::pair<int64_t,int64_t> >
getLongPairs (
const char* name,
bool mandatory =
false);
894 std::vector<std::pair<float,float> >
getFloatPairs (
const char* name,
bool mandatory =
false);
904 std::vector<std::pair<double,double> >
getDoublePairs (
const char* name,
bool mandatory =
false);
914 const std::vector<std::pair<std::string,std::string> >
getStrPairs (
const char* name,
bool mandatory =
false);
926 std::vector<AZTimes>
getAZTimes (
const char* name);
935 std::vector<AZAngles>
getAZAngles (
const char* name);
954 std::vector<Angles>
getAngles (
const char* name);
975 std::vector<TXpower>
getTXpower (
const char* name);
985 std::vector<Nodes>
getNodes (
const char* name);
1003 void import(
MetadataGroup* group,
const std::set<std::string>& names);
1019 HDF5Attribute::set(root, OdimH5v21::ATTRIBUTE_ROOT_CONVENTIONS, OdimH5v21::CONVENTIONS_ODIM_H5_V2_1);
1244 virtual double getLongitude () = 0;
1709 virtual void setAngles (
const std::vector<Angles>& val) = 0;
1958 virtual double getRPM (
double defaultValue) = 0;
2213 virtual std::vector<double>
getTXPower (
double defaultValue) = 0;
2220 virtual void setTXPower (
const std::vector<double>& val) = 0;
2231 virtual double getNI (
double defaultValue) = 0;
2666 virtual void setAngles (
const std::vector<Angles>& val) = 0;
2699 virtual void setNodes (
const std::vector<Nodes>& val) = 0;
static void set(H5::H5Object *obj, const char *name, int64_t value)
Set the value of an attribute.
Definition odimh5v21_hdf5.cpp:170
static std::string getStr(H5::H5Object *obj, const char *name)
Get the value of a string attribute.
Definition odimh5v21_hdf5.cpp:383
OdimH5 object source informations.
Definition odimh5v21_support.hpp:111
Bottom and top heights (m) of the integration layer.
Definition odimh5v21_support.hpp:453
Namespace related to ODIMH5 version 2.1.
Definition odimh5v21.hpp:46
Constants and values used by OdimH5 library.
Interface classes between OdimH5 objects and HDF5 library.
Classes and struct used by main OdimH5 classes.