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);
 This is the hash or associative list container type in Qore, dynamically allocated only...
Definition: QoreHashNode.h:50
 
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 
 
long long int64
64bit integer type, cannot use int64_t here since it breaks the API on some 64-bit systems due to equ...
Definition: common.h:260
 
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