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
include
vrfGuiCore
createObjectMenuItem.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2000 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: DtCreateObjectMenuItem.h,v $ $Revision: 1.3 $ $State: Exp $
7
*********************************************************************/
8
11
15
16
#pragma once
17
18
#include <
vrfGuiCore/menuItem.h
>
19
20
#include <
vrfutil/rwObjectType.h
>
21
#include <
vrfutil/rwForceType.h
>
22
23
namespace
makVrf
24
{
25
class
DT_DLL_VRFGUICORE
DtCreateObjectMenuItem
:
public
DtMenuItem
26
{
27
28
public
:
29
31
DtCreateObjectMenuItem
32
(
33
const
DtString
& name,
34
DtReaderWriterRegistry
*
const
parentRegistry = NULL
35
);
36
38
virtual
~
DtCreateObjectMenuItem
();
39
41
DtCreateObjectMenuItem
(
const
DtCreateObjectMenuItem
& orig);
42
44
DtCreateObjectMenuItem
& operator=(
const
DtCreateObjectMenuItem
& orig);
45
46
virtual
DtString
keywords()
const
;
47
void
setKeywords(
const
DtString
&);
48
49
virtual
DtString
menuIcon()
const
;
50
void
setMenuIcon(
const
DtString
&);
51
52
virtual
DtObjectType
objectType()
const
;
53
void
setObjectType(
const
DtObjectType
&);
54
55
virtual
DtForceType forceType()
const
;
56
void
setForceType(DtForceType);
57
58
virtual
bool
operator==
(
const
DtMenuEntry
&)
const
;
59
60
virtual
DtMenuEntry
* clone()
const
;
61
62
protected
:
63
64
DtRwObjectType
myObjectType
;
65
DtRwForceType
myForceType
;
66
DtRwString
myKeywords
;
67
DtRwString
myMenuIcon
;
68
};
69
70
inline
void
DtCreateObjectMenuItem::setMenuIcon
(
const
DtString
& o)
71
{
72
myMenuIcon
= o;
73
}
74
75
inline
void
DtCreateObjectMenuItem::setKeywords
(
const
DtString
& o)
76
{
77
myKeywords
= o;
78
}
79
80
inline
void
DtCreateObjectMenuItem::setObjectType
(
const
DtObjectType
& o)
81
{
82
myObjectType
= o;
83
}
84
85
inline
void
DtCreateObjectMenuItem::setForceType
(DtForceType f)
86
{
87
myForceType
= f;
88
}
89
}
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
)