WvStreams
|
00001 /* -*- Mode: C++ -*- 00002 * Worldvisions Weaver Software: 00003 * Copyright (C) 2002-2005 Net Integration Technologies, Inc. 00004 */ 00005 #ifndef __UNIFASTREGETGEN_H 00006 #define __UNIFASTREGETGEN_H 00007 00008 #include "unifiltergen.h" 00009 00010 class UniConfValueTree; 00011 00033 class UniFastRegetGen : public UniFilterGen 00034 { 00035 public: 00036 UniFastRegetGen(IUniConfGen *_inner); 00037 virtual ~UniFastRegetGen(); 00038 00039 /***** Overridden members *****/ 00040 virtual WvString get(const UniConfKey &key); 00041 virtual bool exists(const UniConfKey &key); 00042 virtual bool haschildren(const UniConfKey &key); 00043 00044 private: 00045 IUniConfGen *inner; 00046 UniConfValueTree *tree; 00047 00048 protected: 00049 virtual void gencallback(const UniConfKey &key, WvStringParm value); 00050 }; 00051 00052 00053 #endif // __UNIFASTREGETGEN_H