ROOT_Application  2.0
C++ Core modules and GUIStock
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PatternRecognition.h
Go to the documentation of this file.
1 
2 /*
3 * Pattern recognition, used as indicator
4 * specialzed version, split to not mix up
5 *
6 */
7 
8 #include <iostream>
9 #include <sstream>
10 #include <cstdlib>
11 //#include <vector>
12 
13 #ifndef PATTERN_RECOGNITION_H_
14 #define PATTERN_RECOGNITION_H_
15 
16 class Pattern {
17 
18  public :
19  //no need to be public ??
20  //enum Value { null_l,
21 
22  static Pattern const Null, DojiStar;
23 
24  //delete first const
25  std::string const label () const;
26  //std::string const label () const { return pattern_labels_[v_]; }
27  // const std::string label () const { return pattern_labels_[v_]; }
28 
29  private :
31  Pattern (Value v): v_(v) {}
33 
34  //cannot initilize in header ??
35  //std::string pattern_labels_[] = {"Null","DojiStar"};
36  //other properties....
37 };
38 
39 #endif /* PATTERN_RECOGNITION_H_ */
std::string const label() const
static Pattern const DojiStar
static Pattern const Null
Pattern(Value v)