WvStreams
Main Page
Modules
Classes
Files
File List
File Members
include
unilistgen.h
1
/* -*- Mode: C++ -*-
2
* Worldvisions Weaver Software:
3
* Copyright (C) 1997-2002 Net Integration Technologies, Inc.
4
*
5
* UniListGen is a UniConf generator to allow multiple generators to be
6
* stacked in a priority sequence for get/set/etc.
7
*
8
*/
9
10
#ifndef __UNICONFLISTGEN_H
11
#define __UNICONFLISTGEN_H
12
13
#include "uniconfgen.h"
14
#include "wvscatterhash.h"
15
30
class
UniListGen
:
public
UniConfGen
31
{
32
public
:
33
UniListGen
(UniConfGenList *_l);
34
virtual
~
UniListGen
();
35
36
UniConfGenList *l;
37
38
/***** Overridden members *****/
39
40
virtual
void
commit
();
41
virtual
bool
refresh
();
42
virtual
void
flush_buffers
() { }
43
virtual
WvString
get
(
const
UniConfKey
&key);
44
virtual
void
set
(
const
UniConfKey
&key,
WvStringParm
value);
45
virtual
void
setv
(
const
UniConfPairList &pairs);
46
virtual
bool
exists
(
const
UniConfKey
&key);
47
virtual
bool
haschildren
(
const
UniConfKey
&key);
48
virtual
bool
isok
();
49
virtual
Iter *
iterator
(
const
UniConfKey
&key);
50
51
class
IterIter;
52
53
protected
:
58
virtual
void
gencallback
(
const
UniConfKey
&key,
WvStringParm
value);
59
};
60
61
62
#endif // __UNICONFLISTGEN_H
Generated on Thu Oct 31 2013 15:14:22 for WvStreams by
1.8.4