VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCommon
menuEntry.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2000 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: menuEntry.h,v $ $Revision: 1.4 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifndef MENUENTRY_H
13
#define MENUENTRY_H
14
15
#include "
vrfutil/rdrWritr.h
"
16
17
#include "
vrfutil/rwString.h
"
18
22
23
#include "
vrfGuiCommon/vrfGuiCommonDefines.h
"
24
class
DT_DLL_vrfGuiCommon
DtMenuEntry
:
public
DtReaderWriter
25
{
26
27
public
:
28
30
DtMenuEntry
31
(
32
const
DtString
& name,
33
DtReaderWriterRegistry
*
const
parentRegistry = NULL
34
);
35
37
virtual
~
DtMenuEntry
();
38
40
DtMenuEntry
(
const
DtMenuEntry
& orig);
41
43
DtMenuEntry
&
operator=
(
const
DtMenuEntry
& orig);
44
45
virtual
DtString
label()
const
;
46
void
setLabel(
const
DtString
&);
47
48
virtual
bool
operator==
(
const
DtMenuEntry
&)
const
;
49
virtual
bool
operator!=
(
const
DtMenuEntry
&)
const
;
50
51
virtual
DtMenuEntry
* clone()
const
;
52
53
protected
:
54
55
DtRwString
myLabel
;
56
57
};
58
59
inline
void
DtMenuEntry::setLabel
(
const
DtString
& label)
60
{
61
myLabel
=
label
;
62
}
63
64
#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
)