VR-Forces 4.0.4 Class Documentation
include/vrfutil/mappingList.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2001 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: mappingList.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtMappingList_H_
00013 #define DtMappingList_H_
00014 
00015 #include "vrfutil/rwList.h"
00016 #include <vlutil/vlFilename.h>
00017 #include <vl/hostStructs.h>
00018 
00024 
00025 #include "vrfutil/vrfutilDefines.h"
00026 class DT_DLL_vrfutil DtMappingList : public DtRwList
00027 {
00028 public:
00029 
00031    DtMappingList();
00032 
00034    DtMappingList(const DtString & writeName, DtReaderWriterRegistry * 
00035       parentRegistry = 0);
00036 
00038    virtual ~DtMappingList();
00039 
00041    DtMappingList(const DtString & writeName, const DtMappingList& orig, 
00042       DtReaderWriterRegistry * parentRegistry = 0);
00043 
00045    DtMappingList& operator=(const DtMappingList& orig);
00046 
00047    virtual DtMappingList * clone(const DtString & writeName, 
00048       DtReaderWriterRegistry * parentRegistry = 0) const;
00049 
00052 
00057    virtual bool lookup(const DtString& name, DtSimulationAddress& address) const;
00058 
00060    virtual const DtList& objects(const DtSimulationAddress& addr);
00061 
00063    virtual const DtList& addresses();
00064    
00066    virtual void addMapping(const DtString& name, 
00067       const DtSimulationAddress& address);
00068 
00069 protected:
00070 
00071    DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath,
00072       const DtVariableBindingsList& variableBindings);
00073 
00074    virtual void emptyList();
00075    virtual void copyList(const DtMappingList & orig);
00076 
00077 protected:
00078 
00079    DtList myTmpObjList;
00080    DtList myTmpAddressList;
00081 };
00082 
00083 #endif
00084 

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)