Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

uniinitreegen.h

Go to the documentation of this file.
00001 /* -*- Mode: C++ -*-
00002  * Worldvisions Weaver Software:
00003  *   Copyright (C) 1997-2002 Net Integration Technologies, Inc.
00004  * 
00005  * A generator for .ini files.
00006  */
00007 #ifndef __UNICONFINITREEGEN_H
00008 #define __UNICONFINITREEGEN_H
00009 
00010 #include "uniconfgen.h"
00011 #include "unitempgen.h"
00012 #include "uniinigen.h"
00013 #include "unifiletreegen.h"
00014 #include "wvlog.h"
00015 
00016 /**
00017  * Loads and saves ".ini"-style files similar to those used by
00018  * Windows which are stored in a directory.
00019  * 
00020  * To mount, use the moniker prefix "initree:" followed by the
00021  * directory to search.
00022  * 
00023  */
00024 class UniIniTreeGen : public UniConfFileTreeGen
00025 {
00026     static const WvString moniker;
00027 public:
00028     /**
00029      * Creates a generator which can load/modify/save a .ini file.
00030      * "filename" is the local path of the .ini file
00031      */
00032     UniIniTreeGen(WvStringParm directory);
00033 
00034     virtual ~UniIniTreeGen();
00035     
00036     /***** Overridden members *****/
00037 
00038 /*    virtual bool commit(const UniConfKey &key, UniConfDepth::Type depth);
00039     virtual bool refresh(const UniConfKey &key, UniConfDepth::Type depth);*/
00040 
00041 private:
00042 /*    void save(WvStream &file, UniConfValueTree &parent);
00043     bool refreshcomparator(const UniConfValueTree *a,
00044         const UniConfValueTree *b, void *userdata); */
00045 };
00046 
00047 
00048 #endif // __UNICONFINI_H

Generated on Wed Dec 15 15:08:10 2004 for WvStreams by  doxygen 1.3.9.1