VR-Forces 4.0.4 Class Documentation
include/vrfobjparam/ammoSlctTbl.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1999 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: ammoSlctTbl.h,v $ $Revision: 1.11 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00013 
00014 #ifndef DtAmmoSelectTable_H_ 
00015 #define DtAmmoSelectTable_H_
00016 
00017 #include "vrfutil/rwList.h"
00018 #include <vl/hostStructs.h>
00019 #include "vrfobjparam/simMunList.h"
00020 
00021 class DtAmmoSelectEntry;
00022 
00026 #include "vrfobjparam/vrfobjparamDefines.h"
00027 class DT_DLL_vrfobjparam DtAmmoSelectTable : public DtRwList
00028 {
00029 public:
00030 
00031    //default constructor
00032    DtAmmoSelectTable();
00033 
00035    DtAmmoSelectTable(const DtString& name, 
00036       DtReaderWriterRegistry* parentRegistry = NULL);
00037    DtAmmoSelectTable(const DtSymbolString& name, 
00038       DtReaderWriterRegistry* parentRegistry = NULL);
00039 
00041    DtAmmoSelectTable(const DtString& name, 
00042                      const DtAmmoSelectTable& orig, 
00043                      DtReaderWriterRegistry* parentRegistry = NULL);
00044 
00045    DtAmmoSelectTable(const DtSymbolString& name, 
00046                      const DtAmmoSelectTable& orig, 
00047                      DtReaderWriterRegistry* parentRegistry = NULL);
00048 
00049    const DtAmmoSelectTable & operator=(const DtAmmoSelectTable & orig);
00050 
00052    virtual ~DtAmmoSelectTable();
00053 
00054    virtual DtAmmoSelectTable* clone(const DtString& name, 
00055                                     DtReaderWriterRegistry* parentRegistry = NULL) const;
00056 
00057    virtual DtAmmoSelectTable* clone(const DtSymbolString& name, 
00058       DtReaderWriterRegistry* parentRegistry = NULL) const;
00059 
00062    virtual void addAmmoSelectEntry(const DtAmmoSelectEntry& selectEntry);
00063 
00065    virtual const DtSimMunitionList& simMunitionList(const DtEntityType& 
00066       targetType, DtEntityType* bestMatch = NULL) const;
00067 
00068 protected:
00069 
00071    virtual DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath,
00072       const DtVariableBindingsList& variableBindings);
00073 
00077    virtual DtListItem* lookupAmmoSelectEntry(
00078       const DtEntityType& targetType) const;
00079 
00080    virtual void emptyList();
00081    virtual void copyList(const DtAmmoSelectTable & orig);
00082    virtual void addAmmoSelectEntry(DtAmmoSelectEntry* selectEntry);
00083 
00084 protected:
00085 
00088    DtSimMunitionList myDefaultList;
00089 
00090 };
00091 
00092 #endif
00093 
00094 
00095 

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)