KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Semantic_step_event.h
Go to the documentation of this file.
1 #ifndef SEMANTIC_STEP_EVENT_H_
2 #define SEMANTIC_STEP_EVENT_H_
3 
11 #include "semantics/Tree_event.h"
12 
13 namespace semantics
14 {
16  {
17  public:
18  typedef boost::shared_ptr<Semantic_step_event> Event_ptr;
19  protected:
20  Semantic_step_event(bool learn) : Tree_event(learn) {}
21  Semantic_step_event(Data_type data, bool learn) : Tree_event(data, learn)
22  {}
23  virtual ~Semantic_step_event() {};
24  public:
25  virtual Event_ptr get_a_copy(bool learn = false) const = 0;
26 
27  void print(std::ostream& os) const;
28 
29  virtual void update_step(const Step_code_t& val);
30  };
31 };
32 
33 #endif
virtual ~Semantic_step_event()
Definition: Semantic_step_event.h:23
std::vector< Value_type > Data_type
Definition: Tree_event.h:36
Semantic_step_event(bool learn)
Definition: Semantic_step_event.h:20
virtual void update_step(const Step_code_t &val)
Definition: Semantic_step_event.cpp:18
Semantic_step_event(Data_type data, bool learn)
Definition: Semantic_step_event.h:21
virtual Event_ptr get_a_copy(bool learn=false) const =0
void print(std::ostream &os) const
display this node's data in human readable form
Definition: Semantic_step_event.cpp:13
Definition: Tree_event.h:26
Definition: Semantic_step_event.h:15
boost::shared_ptr< Semantic_step_event > Event_ptr
Definition: Semantic_step_event.h:18
Code
Definition: SemanticIO.h:54