VR-Forces 4.0.4 Class Documentation
include/vrfobjcore/echelonIdChangedPred.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: echelonIdChangedPred.h,v $ $Revision: 1.9 $ $State: Exp $
00007 *******************************************************************************/
00008 #ifndef echelonIdChangedPred_H_
00009 #define echelonIdChangedPred_H_
00010 
00013 
00015 
00016 #include "vrfobjcore/vrfObjPred.h"
00017 #include <vlutil/vlString.h>
00018 
00022 #include "vrfobjcore/vrfobjcoreDefines.h"
00023 class DT_DLL_vrfobjcore DtEchelonIdChangedPredicate : public DtVrfObjectPredicate
00024 {
00025 public:
00026 
00028    DtEchelonIdChangedPredicate(bool negate = false);
00029 
00030    DtEchelonIdChangedPredicate(const DtString& echelonId,
00031       bool negate = false);
00032 
00034    virtual ~DtEchelonIdChangedPredicate();
00035 
00037    DtEchelonIdChangedPredicate(const DtEchelonIdChangedPredicate& orig);
00038 
00040    DtEchelonIdChangedPredicate& operator=(
00041       const DtEchelonIdChangedPredicate& orig);
00042 
00044    virtual DtVrfObjectPredicate* clone() const;
00045 
00046    virtual const DtString& echelonId() const;
00047    virtual void setEchelonId(const DtString& id);
00048 
00049    virtual const DtString& previousEchelonId() const;
00050    virtual void setPreviousEchelonId(const DtString& id);
00051 
00052 protected:
00053 
00055    virtual bool eval(const DtVrfObject* object);
00056 
00058    virtual bool predicateEqual(const DtVrfObjectPredicate& orig) const;
00059 
00060    DtString myEchelonId;
00061    DtString myPreviousEchelonId;
00062 };
00063 
00064 #endif
00065 
00066 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)