ROOT_Application  2.0
C++ Core modules and GUIStock
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 {
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" )
31 
32  else if ( mode == "Support" )
34  else if ( mode == "Tendance" )
36  else
37  std::cout << "EditorObjStock::SetMode mode not found : " << mode << std::endl;
38 
39  return;
40 }
41 
42 } //end namespace for implementation
TypeLine fEditorModeObjStock
defined in TypeObjectLine segment, half-segment.
void SetMode(std::string mode)
TypeLine
c++ 11 style, used by both EditorObjectStock and ObjectLine cannot make dictionary with enum class ! ...