source utilities More...
#include <source_utils.h>
Public Types | |
enum | source_t { SOURCE_INVALID = -1, SOURCE_MO_METAL = 0x1, SOURCE_MO_COMPOSITE = 0x2, SOURCE_SE = 0x4, SOURCE_TE_NATURAL = 0x8, SOURCE_TE_ENRICHED = 0x10, SOURCE_ZR = 0x20, SOURCE_ND = 0x40, SOURCE_CA = 0x80, SOURCE_CU = 0x100, SOURCE_CD = 0x200, SOURCE_CALIB_TUBE = 0x400, SOURCE_ENDCAP = 0x800 } |
Static Public Member Functions | |
static int | get_source_from_label (const std::string &label_) |
returns the source id from the label_ | |
static std::string | get_label_from_source (int id_) |
returns the label from the source id_ | |
static bool | is_source_valid (int id_) |
returns true if the source id_ exists |
source utilities
geom_utils.h Author(s): Francois Mauger mauge Creation date: 2008-12-17 Last modified: 2012-03-08 r@lp ccaen .in2 p3.fr
License: GPL
Description: source utilities
History: