VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rwClassDocDB.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: rwClassDocDB.h,v $ $Revision: 1.1 $ $State: Exp $
7 ** Created: 4/4/07 MEM
8 *******************************************************************************/
9 
10 //
11 // File: rwClassDocDB.h
12 //
13 // Class: DtReaderWriterClassDocDB
14 //
15 // Description: This class contains a database of DtReaderWriterClassDocumenation
16 // objects, keyed by class type (e.g. DtRwBoolean). You can use it to look up
17 // an entry in the database given a class type and DtReaderWriter data member
18 // name.
19 //
20 
21 #ifndef rwClassDocDB_H_
22 #define rwClassDocDB_H_
23 #include <vrvUtil/signalslib.h>
24 
25 #include "rwClassDocumenation.h"
26 
27 typedef std::map<DtString, DtReaderWriterClassDocumentation> DtReaderWriterClassDocumentationMap;
28 
30 {
31 public:
35  const DtReaderWriterClassDocDB& orig);
36  virtual ~DtReaderWriterClassDocDB();
37 
38  // Add a given DtReaderWriter class documenation entry to the database.
39  // There will be one entry per DtReaderWriter class.
40  virtual void addEntry(const DtReaderWriterClassDocumentation& entry);
41 
42  // Look up the entry for a DtReaderWriter data member, give the DtReaderWriter
43  // name of the data member, and the DtReaderWriter class it belongs to. If
44  // the item cannot be located in the given class, it will recursively move
45  // up the inheritance tree in attempting to locate the item.
46  virtual bool lookup(const DtString& rwClassType,
47  const DtString& rwDataMemberName,
49 
50 protected:
51 
52  // Map of DtReaderWriterClassDocumenation objects, keyed by DtReaderWriter
53  // class type.
55 };
56 
57 #endif

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)