resonance 1.0.1
Loading...
Searching...
No Matches
configquery.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
5#include "os/hxstr.h"
6
25int QueryConfigFlag(int nEventCode, ...);
26
37int QueryConfigValue(int nEventCode, ...);
38
51HxStr QueryConfigString(int nEventCode, ...);
52
65void QueryConfigVector(std::vector<int> *pResult, int nEventCode, ...);
66
79void QueryConfigStrings(std::vector<HxStr> *pResult, int nEventCode, ...);
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
int QueryConfigFlag(int nEventCode,...)
Read one configuration value as a flag through the embedded interpreter.
HxStr QueryConfigString(int nEventCode,...)
Read one configuration value as a string through the embedded interpreter.
int QueryConfigValue(int nEventCode,...)
Read one configuration value as an integer through the embedded interpreter.
void QueryConfigStrings(std::vector< HxStr > *pResult, int nEventCode,...)
Fill a vector of strings from one configuration value through the embedded interpreter.
void QueryConfigVector(std::vector< int > *pResult, int nEventCode,...)
Fill a vector of integers from one configuration value through the embedded interpreter.