diff options
Diffstat (limited to 'ACEXML/common/Env.i')
-rw-r--r-- | ACEXML/common/Env.i | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ACEXML/common/Env.i b/ACEXML/common/Env.i new file mode 100644 index 00000000000..e3b149089b1 --- /dev/null +++ b/ACEXML/common/Env.i @@ -0,0 +1,26 @@ +// -*- C++ -*- $Id$ + +ACEXML_INLINE int +ACEXML_Env::exception_occured (void) const +{ + return this->exception_ != 0; +} + +ACEXML_INLINE void +ACEXML_Env::reset (void) +{ + this->exception (0); +} + +ACEXML_INLINE ACEXML_Exception * +ACEXML_Env::exception (void) const +{ + return this->exception_; +} + +ACEXML_INLINE void +ACEXML_Env::exception (ACEXML_Exception *ex) +{ + delete this->exception_; + this->exception_ = ex; +} |