WvStreams
unibachelorgen.cc
1 /*
2  * Worldvisions Weaver Software:
3  * Copyright (C) 2005 Net Integration Technologies, Inc.
4  *
5  * A UniConf generator that refuses to commit() or refresh(). This is
6  * useful in blocking propogation of these messages upstream.
7  */
8 
9 #include "unibachelorgen.h"
10 #include "wvmoniker.h"
11 
12 
13 static IUniConfGen *creator(WvStringParm s, IObject *_obj)
14 {
15  return new UniBachelorGen(wvcreate<IUniConfGen>(s, _obj));
16 }
17 
18 static WvMoniker<IUniConfGen> moniker("bachelor", creator);
19 
20 UniBachelorGen::UniBachelorGen(IUniConfGen *inner)
21  : UniFilterGen(inner)
22 {
23 }
24 
25 UniBachelorGen::UniBachelorGen(WvStringParm moniker)
26  : UniFilterGen(NULL)
27 {
28  setinner(wvcreate<IUniConfGen>(moniker));
29 }
30 
32 {
33 }
34 
35 
37 {
38  return false;
39 }