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

unifiletreegen.h

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 __UNICONFFILETREEGEN_H
00008 #define __UNICONFFILETREEGEN_H
00009 
00010 #include "uniconfgen.h"
00011 #include "unitempgen.h"
00012 #include "wvlog.h"
00013 #include "unimounttreegen.h"
00014 
00015 class UniConfFileTreeGen : public UniMountTreeGen
00016 {
00017 public:
00018     WvString basedir, moniker;
00019     WvLog log;
00020     
00021     UniConfFileTreeGen(WvStringParm _basedir, WvStringParm _moniker);
00022     virtual ~UniConfFileTreeGen() { }
00023 
00024     /***** Overridden members *****/
00025 
00026     virtual bool refresh();
00027 
00028 private:
00029 //    class NodeIter;
00030 };
00031 #if 0
00032 class UniConfFileTreeGen::NodeIter : public UniConfFileTreeGen::Iter
00033 {
00034 protected:
00035     UniConfValueTree::Iter xit;
00036 
00037 public:
00038     NodeIter(UniConfValueTree &node) : xit(node)
00039         { }
00040 
00041     /***** Overridden methods *****/
00042 
00043     virtual void rewind()
00044         { xit.rewind(); }
00045     virtual bool next()
00046         { return xit.next(); }
00047     virtual UniConfKey key() const
00048         { return xit->key(); }
00049 };
00050 #endif
00051 #endif // __UNICONFFILETREEGEN_H

Generated on Fri May 20 11:17:45 2005 for WvStreams by  doxygen 1.4.2