VR-Forces 4.1.1 Class Documentation
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: createObjectMenuItem.h,v $ $Revision: 1.3 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef CREATEOBJECTMENUITEM_H
13 #define CREATEOBJECTMENUITEM_H
14 
15 #include "vrfGuiCommon/menuItem.h"
16 
17 #include "vrfutil/rwObjType.h"
18 #include "vrfutil/rwForce.h"
19 
23 
26 {
27 
28 public:
29 
32  (
33  const DtString& name,
34  DtReaderWriterRegistry* const parentRegistry = NULL
35  );
36 
38  virtual ~DtCreateObjectMenuItem();
39 
42 
45 
46  virtual DtObjectType objectType() const;
47  void setObjectType(const DtObjectType&);
48 
49  virtual DtForceType forceType() const;
50  void setForceType(DtForceType);
51 
52  virtual bool operator==(const DtMenuEntry&) const;
53 
54  virtual DtMenuEntry* clone() const;
55 
56 protected:
57 
60 };
61 
63 {
64  myObjectType = o;
65 }
66 
67 inline void DtCreateObjectMenuItem::setForceType(DtForceType f)
68 {
69  myForceType = f;
70 }
71 
72 #endif

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)