VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
examples
convertParamDb
extMtlParamDbEntry.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2004 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: extMtlParamDbEntry.h,v $ $Revision: 1.1 $ $State: Exp $
7
*******************************************************************************/
8
9
#ifndef DtExtMtlParameterDbEntry_H_
10
#define DtExtMtlParameterDbEntry_H_
11
12
#include "
vrfobjparam/mtlParamDbEntry.h
"
13
#include "
extMtl/extDtcRead.h
"
14
15
//class DtExtMtlParameterDbEntry:
16
//
17
//Instances of DtExtMtlParameterDbEntry are the data records used in a
18
//DtMtlParameterDb parameter database. It holds a
19
//DtVrfObjectParameter* object and the name of a parameter entry
20
//file (*.ope) from which a DtVrfObjectParameter object can be loaded.
21
22
class
DtExtMtlParameterDbEntry
:
public
DtMtlParameterDbEntry
23
{
24
public
:
25
26
//default constructor
27
DtExtMtlParameterDbEntry
();
28
29
//destructor
30
virtual
~DtExtMtlParameterDbEntry
();
31
32
//This the map of DtlObjPtr to DtReaderWriter comments that we build
33
//as we go when reading in a file. This map is consulted and used to
34
//associate the comment with the object before writing out to file.
35
virtual
void
setObjectCommentMap
(
DtlObjStringMap
* objectCommentMap);
36
37
//Override to call DtExtDtcRead() instead of DtcRead, so that we can
38
//build up the map of DtReaderWriter comments as we load the file.
39
virtual
DtVrfObjectParameters
*
readParameterEntry
(FILE* fp);
40
41
private
:
42
43
//copy constructor - not implemented
44
DtExtMtlParameterDbEntry
(
const
DtExtMtlParameterDbEntry
& orig);
45
46
//assignment operator - not implemented
47
DtExtMtlParameterDbEntry
&
operator=
(
const
DtExtMtlParameterDbEntry
& orig);
48
49
protected
:
50
51
DtlObjStringMap
*
myObjectCommentMap
;
52
};
53
54
#endif
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)