UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
defines.hpp
1 /* defines.hpp */
2 /* $Id$ */
3 #ifndef __hds_db_defines_hpp
4 #define __hds_db_defines_hpp
5 
6 #include <inttypes.h>
7 #include <vector>
8 #include <string>
9 
11 namespace hds
12 {
14  namespace db
15  {
17  typedef float AmplT;
18 
20  typedef float TimeT;
21 
23  typedef std::vector<AmplT> TrBody;
24 
26  typedef uint64_t DbIndex;
27 
29  typedef std::vector<DbIndex> DbIndexes;
30 
32  enum OpenMode
33  {
34  OM_READ = 0,
40  };
41 
43  std::string toString(OpenMode mode);
44 
46  enum ErrCode
47  {
53  };
54 
56  std::string toString(ErrCode ec);
57 
58  }; // db
59 }; // hds
60 
61 #endif /* __hds_db_defines_hpp */
Definition: defines.hpp:51
OpenMode
Definition: defines.hpp:32
ErrCode
Definition: errors.hpp:12
std::vector< DbIndex > DbIndexes
Definition: defines.hpp:29
uint64_t DbIndex
Definition: defines.hpp:26
Definition: defines.hpp:35
Definition: defines.hpp:39
std::string toString(OpenMode mode)
Definition: defines.hpp:49
ErrCode
Definition: defines.hpp:46
std::vector< AmplT > TrBody
Definition: defines.hpp:23
Definition: defines.hpp:48
Definition: defines.hpp:37
Definition: defines.hpp:34
Definition: defines.hpp:36
float TimeT
Definition: defines.hpp:20
Definition: defines.hpp:50
Definition: defines.hpp:52
float AmplT
Definition: defines.hpp:17