VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCore
DtMenuEntry.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2000 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: DtMenuEntry.h,v $ $Revision: 1.4 $ $State: Exp $
7
*********************************************************************/
11
14
15
#pragma once
16
17
#include <
vrfGuiCore/vrfGuiCore.h
>
18
19
#include <
vrfutil/rdrWritr.h
>
20
#include <
vrfutil/rwString.h
>
21
22
namespace
makVrf
23
{
24
class
DT_DLL_VRFGUICORE
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
}
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
)