32 #ifndef _QORE_PARSEOPTIONMAP_H
33 #define _QORE_PARSEOPTIONMAP_H
37 typedef std::map<const char *, int64, ltstr> opt_map_t;
38 typedef std::map<int64, const char *> rev_opt_map_t;
43 DLLLOCAL
static opt_map_t map;
44 DLLLOCAL
static rev_opt_map_t rmap;
48 DLLLOCAL ParseOptionMap& operator=(
const ParseOptionMap&);
51 DLLLOCAL ParseOptionMap();
52 DLLLOCAL
static void static_init();
55 DLLEXPORT
static const char *
find_name(
int code);
59 DLLEXPORT
static int find_code(
const char *name);
62 DLLEXPORT
static int64
find_code64(
const char *name);
provides access to parse option information
Definition: ParseOptionMap.h:41
static DLLEXPORT const char * find_name(int code)
find a parse option name from its code
static DLLEXPORT int find_code(const char *name)
find a parse option code from its name
static DLLEXPORT int64 find_code64(const char *name)
find a parse option code from its name
static DLLEXPORT void list_options()
print out all parse optionsto stdout