support for uninitialized fields & empty sets and tables.

The only snag is... with the default output format of the log-file writer, the input reader cannot tell if a table or set is empty or uninitialized (both cases use the same character by default). In this case, by default it is assumed that the field/vector is uninitalized.
This commit is contained in:
Bernhard Amann 2011-11-16 23:51:51 -08:00
parent 4fef1e3f8c
commit 4dd95fcf3c
4 changed files with 57 additions and 79 deletions

View file

@ -59,17 +59,13 @@ private:
//map<string, string> *keyMap;
//
// Options set from the script-level.
char* separator;
int separator_len;
string separator;
char* set_separator;
int set_separator_len;
string set_separator;
char* empty_field;
int empty_field_len;
string empty_field;
char* unset_field;
int unset_field_len;
string unset_field;
};