VR-Forces 4.1 Class Documentation
compositePred.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: compositePred.h,v $ $Revision: 1.8 $ $State: Exp $
7 *******************************************************************************/
8 #ifndef compositePred_H_
9 #define compositePred_H_
10 
13 
15 
16 #include "vrfobjcore/vrfObjPred.h"
17 #include <vlpi/disEnums.h>
18 #include <vlutil/vlHashlist.h>
19 
27 {
28 public:
29 
31  DtCompositePredicate(bool negate = false);
32 
34  virtual ~DtCompositePredicate();
35 
38 
41  const DtCompositePredicate& orig);
42 
44  virtual DtVrfObjectPredicate* clone() const;
45 
47  virtual void addPredicate(const DtVrfObjectPredicate& predicate);
48 
50  virtual void removePredicate(const DtVrfObjectPredicate& predicate);
51 
53  virtual bool hasPredicate(const DtVrfObjectPredicate& predicate) const;
54 
55 protected:
56 
58  virtual bool eval(const DtVrfObject* object);
59 
61  virtual bool predicateEqual(const DtVrfObjectPredicate& orig) const;
62 
63 
64 protected:
65 
66  DtList myPredicates;
67 };
68 
69 #endif

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)