ROOT_Application
2.0
C++ Core modules and GUIStock
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src_gui_root
ObjectStock
EditorObjStock.cxx
Go to the documentation of this file.
1
9
#include "
EditorObjStock.h
"
10
11
// works within namespace
12
namespace
EditorObjStock {
13
14
// anonymous here ?? strange error of compilation !!
15
//namespace {
16
TypeLine
fEditorModeObjStock
=
TypeLine::kNone_line
;
17
bool
kAnchor
=
false
;
18
bool
kTranslate
=
false
;
19
bool
kRotate
=
false
;
20
//}
21
22
// used ??
23
void
SetMode
( std::string mode )
24
{
25
#ifdef DEBUG_OBJSTOCK
26
std::cout <<
"EditorObjStock::SetMode "
<< mode << std::endl;
27
#endif
28
29
if
( mode ==
"None"
)
30
fEditorModeObjStock
=
TypeLine::kNone_line
;
31
32
else
if
( mode ==
"Support"
)
33
fEditorModeObjStock
=
TypeLine::kSupport
;
34
else
if
( mode ==
"Tendance"
)
35
fEditorModeObjStock
=
TypeLine::kTendance
;
36
else
37
std::cout <<
"EditorObjStock::SetMode mode not found : "
<< mode << std::endl;
38
39
return
;
40
}
41
42
}
//end namespace for implementation
TypeLine::kSupport
TypeLine::kTendance
EditorObjStock::kTranslate
bool kTranslate
Definition:
EditorObjStock.cxx:18
TypeLine::kNone_line
EditorObjStock::fEditorModeObjStock
TypeLine fEditorModeObjStock
defined in TypeObjectLine segment, half-segment.
Definition:
EditorObjStock.cxx:16
EditorObjStock::kRotate
bool kRotate
Definition:
EditorObjStock.cxx:19
EditorObjStock::SetMode
void SetMode(std::string mode)
Definition:
EditorObjStock.cxx:23
EditorObjStock::kAnchor
bool kAnchor
Definition:
EditorObjStock.cxx:17
EditorObjStock.h
TypeLine
TypeLine
c++ 11 style, used by both EditorObjectStock and ObjectLine cannot make dictionary with enum class ! ...
Definition:
TypeObjectLine.h:25
Generated on Mon May 25 2015 20:35:30 for ROOT_Application by
1.8.6