VR-Forces 4.0.4 Class Documentation
include/vrfplanmgr/surrenderSrch.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: surrenderSrch.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtSurrenderSearch_H_
00013 #define DtSurrenderSearch_H_
00014 
00015 #include <vlutil/vlString.h>
00016 #include <vlutil/vlMachineTypes.h>
00017 #include "vrfobjcore/subSearch.h"
00018 
00019 
00020 class DtVrfObject;
00021 
00030 
00031 #include "vrfplanmgr/vrfplanmgrDefines.h"
00032 class DT_DLL_vrfplanmgr DtSurrenderSearch : public DtSimSubordinateSearch
00033 {
00034 public:
00035 
00037    DtSurrenderSearch();
00038 
00040    virtual ~DtSurrenderSearch();
00041 
00042    void setSurrenderTestValue(bool);
00043    bool surrenderTestValue() const;
00044 
00045 protected:
00046 
00048    virtual bool initializeSearch(const DtVrfObjectManager* vrfObjectManager);
00049 
00051    virtual bool inspectEntity(const DtVrfObject& entity);
00052 
00056    virtual bool searchSubordinates(const DtVrfObject& pAggEntity);
00057 
00059    virtual bool isValidEntity(const DtVrfObject& entity);
00060 
00061 private:
00063    DtSurrenderSearch(const DtSurrenderSearch& orig);
00064 
00066    DtSurrenderSearch& operator=(const DtSurrenderSearch& orig);
00067 
00068 protected:
00069    bool mySurrenderTestVal;
00070 };
00071 
00072 
00073 inline void DtSurrenderSearch::setSurrenderTestValue(bool b)
00074 {
00075    mySurrenderTestVal = b;
00076 }
00077 
00078 inline bool DtSurrenderSearch::surrenderTestValue() const
00079 {
00080    return mySurrenderTestVal;
00081 }
00082 
00083 #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)