VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
appsrc
vrfOpdEditor
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
29
class
DtReaderWriterClassDocDB
30
{
31
public
:
32
DtReaderWriterClassDocDB
();
33
DtReaderWriterClassDocDB
(
const
DtReaderWriterClassDocDB
& orig);
34
const
DtReaderWriterClassDocDB
&
operator=
(
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,
48
DtReaderWriterClassMemberDataRecord
& record)
const
;
49
50
protected
:
51
52
// Map of DtReaderWriterClassDocumenation objects, keyed by DtReaderWriter
53
// class type.
54
DtReaderWriterClassDocumentationMap
myRwClassDocumentationMap
;
55
};
56
57
#endif
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)