VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
entityEditorImpl
myMtlParamDbEntry.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2005 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: myMtlParamDbEntry.h,v $ $Revision: 1.2 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef MyMtlParameterDbEntry_H_
13
#define MyMtlParameterDbEntry_H_
14
15
#include "
vrfobjparam/mtlParamDbEntry.h
"
16
#include <map>
17
#include <mtl/mtl.h>
18
19
class
DtlObj;
20
class
DtReaderWriter
;
21
22
typedef
std::map<DtlObj*, std::string>
DtlObjStringMap
;
23
typedef
std::map<DtReaderWriter*, std::string>
DtReaderWriterCommentMap
;
24
29
30
#include "
entityEditorImpl/entityEditorImplDefines.h
"
31
32
class
DT_DLL_entityeditorimpl
MyMtlParameterDbEntry
:
public
DtMtlParameterDbEntry
33
{
34
public
:
35
37
MyMtlParameterDbEntry
();
38
40
virtual
~
MyMtlParameterDbEntry
();
41
42
void
setCommentMap(
const
DtReaderWriterCommentMap
&);
43
const
DtReaderWriterCommentMap
& commentMap()
const
;
44
45
private
:
46
48
MyMtlParameterDbEntry
(
const
MyMtlParameterDbEntry
& orig);
49
51
MyMtlParameterDbEntry
&
operator=
(
const
MyMtlParameterDbEntry
& orig);
52
53
protected
:
55
virtual
DtVrfObjectParameters
*
readParameterEntry
(FILE* fp);
56
57
public
:
58
static
void
postGetSelfCb(
DtReaderWriter
* readerWriterObject,
59
DtlObjPtr args,
void
* userData);
60
62
virtual
void
setCommentMapFrom(
const
DtReaderWriterCommentMap
&);
63
64
protected
:
65
DtReaderWriterCommentMap
myCommentMap
;
66
DtlObjStringMap
myObjectCommentMap
;
67
};
68
69
inline
void
MyMtlParameterDbEntry::setCommentMap
(
const
DtReaderWriterCommentMap
& a)
70
{
71
myCommentMap
= a;
72
}
73
74
inline
const
DtReaderWriterCommentMap
&
MyMtlParameterDbEntry::commentMap
()
const
75
{
76
return
myCommentMap
;
77
}
78
79
#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
)