VR-Forces 4.2 Class Documentation
mappingList.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2001 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: mappingList.h,v $ $Revision: 1.1 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef DtMappingList_H_
13 #define DtMappingList_H_
14 
15 #include "vrfutil/rwList.h"
16 #include <vlutil/vlFilename.h>
17 #include <vl/hostStructs.h>
18 
24 
25 #include "vrfutil/vrfutilDefines.h"
27 {
28 public:
29 
31  DtMappingList();
32 
34  DtMappingList(const DtString & writeName, DtReaderWriterRegistry *
35  parentRegistry = 0);
36 
38  virtual ~DtMappingList();
39 
41  DtMappingList(const DtString & writeName, const DtMappingList& orig,
42  DtReaderWriterRegistry * parentRegistry = 0);
43 
46 
47  virtual DtMappingList * clone(const DtString & writeName,
48  DtReaderWriterRegistry * parentRegistry = 0) const;
49 
52 
57  virtual bool lookup(const DtString& name, DtSimulationAddress& address) const;
58 
60  virtual const DtList& objects(const DtSimulationAddress& addr);
61 
63  virtual const DtList& addresses();
64 
66  virtual void addMapping(const DtString& name,
67  const DtSimulationAddress& address);
68 
69 protected:
70 
71  DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath,
72  const DtVariableBindingsList& variableBindings);
73 
74  virtual void emptyList();
75  virtual void copyList(const DtMappingList & orig);
76 
77 protected:
78 
79  DtList myTmpObjList;
81 };
82 
83 #endif
84 

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)