ed
error_context.h
Go to the documentation of this file.
1 #ifndef ED_ERROR_CONTEXT_H_
2 #define ED_ERROR_CONTEXT_H_
3 
4 #include <vector>
5 
6 namespace ed
7 {
8 
10 {
12 };
13 
15 {
16 
17 public:
18 
19  ErrorContext(const char* msg, const char* value = 0);
20 
21  ~ErrorContext();
22 
23  void change(const char* msg, const char* value = 0);
24 
25  static ErrorContextData* data();
26 
27 };
28 
29 } // end namespace ed
30 
31 #endif
vector
ed::ErrorContextData
Definition: error_context.h:9
ed::ErrorContext::data
static ErrorContextData * data()
Definition: error_context.cpp:65
ed::ErrorContext
Definition: error_context.h:14
ed::ErrorContextData::stack
std::vector< std::pair< const char *, const char * > > stack
Definition: error_context.h:11
ed::ErrorContext::ErrorContext
ErrorContext(const char *msg, const char *value=0)
Definition: error_context.cpp:37
ed
Definition: convex_hull.h:8
ed::ErrorContext::~ErrorContext
~ErrorContext()
Definition: error_context.cpp:50
ed::ErrorContext::change
void change(const char *msg, const char *value=0)
Definition: error_context.cpp:59