VR-Forces 4.0.4 Class Documentation
include/vrfplanmgr/entInAreaSrch.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: entInAreaSrch.h,v $ $Revision: 1.12 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtEntInAreaSearch_H_
00013 #define DtEntInAreaSearch_H_
00014 
00015 #include <vlutil/vlString.h>
00016 #include <vlutil/vlMachineTypes.h>
00017 #include "vrfobjcore/subSearch.h"
00018 
00019 class DtVrfObject;
00020 
00027 #include "vrfplanmgr/vrfplanmgrDefines.h"
00028 class DT_DLL_vrfplanmgr DtEntInAreaSearch : public DtSimSubordinateSearch
00029 {
00030 public:
00031 
00033    DtEntInAreaSearch();
00034 
00035    DtEntInAreaSearch(const DtString& areaName);
00036 
00038    virtual ~DtEntInAreaSearch();
00039 
00041    virtual const DtString& areaName() const;
00042 
00044    virtual void setAreaName(const DtString& areaName);
00045 
00046    void setWarnedOnce(bool);
00047    bool warnedOnce() const;
00048 
00049 protected:
00050 
00053    virtual bool initializeSearch(const DtVrfObjectManager* vrfObjectManager);
00054 
00056    virtual bool inspectEntity(const DtVrfObject& entity);
00057 
00061    virtual bool searchSubordinates(
00062       const DtVrfObject& pAggEntity);
00063 
00064 private:
00066    DtEntInAreaSearch(const DtEntInAreaSearch& orig);
00067 
00069    DtEntInAreaSearch& operator=(const DtEntInAreaSearch& orig);
00070 
00071 protected:
00072 
00074    DtString myAreaName;
00075    const DtVrfObject* myControlArea;
00076    bool myWarnedOnce;
00077 };
00078 
00079 inline void DtEntInAreaSearch::setWarnedOnce(bool b)
00080 {
00081    myWarnedOnce = b;
00082 }
00083 
00084 inline bool DtEntInAreaSearch::warnedOnce() const
00085 {
00086    return myWarnedOnce;
00087 }
00088 
00089 #endif

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)