Some small optimizations, added reference functions to JSON lib, fixed config commandline options.

This commit is contained in:
Thulinma 2013-08-12 13:18:48 +02:00
parent 0c059f0ca3
commit ea71dd2d5c
7 changed files with 38 additions and 10 deletions

View file

@ -64,6 +64,8 @@ namespace JSON {
const std::string asString();
const long long int asInt();
const bool asBool();
const std::string & asStringRef();
const char * c_str();
//array operator for maps and arrays
Value & operator[](const std::string i);
Value & operator[](const char * i);