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.
virtual void set(const UniConfKey &key, WvStringParm value)
Stores a string value for a key into the registry.
UniIniGen(WvStringParm filename, int _create_mode=0666, SaveCallback _save_cb=SaveCallback())
Creates a generator which can load/modify/save a .ini file.
virtual void commit()
Commits any changes.
virtual bool refresh()
Refreshes information about a key recursively.
WvFile implements a stream connected to a file or Unix device.
A WvLog stream accepts log messages from applications and forwards them to all registered WvLogRcv's.
Unified support for streams, that is, sequences of bytes that may or may not be ready for read/write ...
WvString is an implementation of a simple and efficient printable-string class.