10#include "unitempgen.h"
28 typedef wv::function<void()> SaveCallback;
42 UniIniGen(WvStringParm filename,
int _create_mode = 0666,
43 SaveCallback _save_cb = SaveCallback());
56 bool commit_atomic(WvStringParm real_filename);
Represents a UniConf key which is a path in a hierarchy structured much like the traditional Unix fil...
A plain UniConfTree that holds keys and values.
Loads and saves ".ini"-style files similar to those used by Windows, but adapted to represent keys an...
UniIniGen(WvStringParm filename, int _create_mode=0666, SaveCallback _save_cb=SaveCallback())
Creates a generator which can load/modify/save a .ini file.
virtual bool refresh()
Refreshes information about a key recursively.
virtual void set(const UniConfKey &key, WvStringParm value)
Stores a string value for a key into the registry.
virtual void commit()
Commits any changes.
A UniConf generator that stores keys in memory.
WvFile implements a stream connected to a file or Unix device.
Unified support for streams, that is, sequences of bytes that may or may not be ready for read/write ...