24 #ifndef _QORE_PARSEOPTIONMAP_H
25 #define _QORE_PARSEOPTIONMAP_H
29 typedef std::map<const char *, int64, ltstr> opt_map_t;
30 typedef std::map<int64, const char *> rev_opt_map_t;
35 DLLLOCAL
static opt_map_t map;
36 DLLLOCAL
static rev_opt_map_t rmap;
40 DLLLOCAL ParseOptionMap& operator=(
const ParseOptionMap&);
43 DLLLOCAL ParseOptionMap();
44 DLLLOCAL
static void static_init();
47 DLLEXPORT
static const char *
find_name(
int code);
51 DLLEXPORT
static int find_code(
const char *name);
54 DLLEXPORT
static int64
find_code64(
const char *name);
provides access to parse option information
Definition: ParseOptionMap.h:33
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