Particle Identification and Tracking
Namespaces | Constant Groups | Typedefs | Enumerations | Functions
enum_utils.h File Reference
#include <string>
+ Include dependency graph for enum_utils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 utilities
 Namespace for utilities and helper functions.
 

Constant Groups

 utilities
 Namespace for utilities and helper functions.
 

Typedefs

typedef enum utilities::W_TYPE utilities::W_TYPE
 Enumeration for wrapper types. More...
 
typedef enum utilities::D_TYPE utilities::D_TYPE
 Enumeration for data types (where type is the physical meaning of the data). More...
 
typedef enum utilities::V_TYPE utilities::V_TYPE
 Enumeration for the type of value the data is (ie float, int,complex) More...
 

Enumerations

enum  utilities::W_TYPE { utilities::W_MATLAB = 0, utilities::W_TEXT, utilities::W_NING, utilities::W_HDF }
 Enumeration for wrapper types. More...
 
enum  utilities::D_TYPE {
  utilities::D_INDEX =0, utilities::D_XPOS =1, utilities::D_YPOS =2, utilities::D_FRAME =3,
  utilities::D_I =4, utilities::D_R2 =5, utilities::D_E =6, utilities::D_NEXT_INDX =7,
  utilities::D_PREV_INDX =8, utilities::D_DX =9, utilities::D_DY =10, utilities::D_ORGX =11,
  utilities::D_ORGY =12, utilities::D_ZPOS =13, utilities::D_TRACKID =14, utilities::D_S_ORDER_PARAMETER =15,
  utilities::D_MULT =16, utilities::D_N_SIZE =17, utilities::D_SENTRY
}
 Enumeration for data types (where type is the physical meaning of the data). More...
 
enum  utilities::V_TYPE {
  utilities::V_ERROR = -1, utilities::V_UINT = 0, utilities::V_INT =1, utilities::V_FLOAT =2,
  utilities::V_COMPLEX =3, utilities::V_STRING =4, utilities::V_BOOL =5, utilities::V_TIME =6,
  utilities::V_GUID =7
}
 Enumeration for the type of value the data is (ie float, int,complex) More...
 

Functions

V_TYPE utilities::v_type (D_TYPE in)
 Helper function to map between D_TYPE and V_TYPE. More...
 
std::string utilities::DT2str_s (D_TYPE in)
 Helper functions to convert D_TYPEs in to short name strings. More...
 
D_TYPE utilities::str2DT_s (std::string in)
 Helper functions to convert short name strings in to D_TYPEs. More...
 
std::string utilities::format_dset_name (D_TYPE type, int comp_num)
 Helper function to format dset names with computation numbers attached. More...
 
std::string utilities::format_name (const std::string &name,int comp_num)
 Helper function to format computation numbers on to strings. More...
 
std::string utilities::VT2str_s (V_TYPE)
 Helper function to make v_types to strings. More...
 
V_TYPE utilities::str2VT_s (const std::string &type_str)
 Helper function to make string in to V_TYPE. More...
 
V_TYPE utilities::str2VT_s (const char *const in)
 Helper function to make string in to V_TYPE. More...