OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimErrorStatusInterface.h
Go to the documentation of this file.
1 //*******************************************************************
2 // Copyright (C) 2002 ImageLinks Inc.
3 //
4 // License: See top level LICENSE.txt file.
5 //
6 // Author: David Burken
7 //
8 // Description:
9 //
10 // Contains class declaration for common error interfaces.
11 //
12 //*************************************************************************
13 // $Id: ossimErrorStatusInterface.h 22149 2013-02-11 21:36:10Z dburken $
14 
15 #ifndef ossimErrorStatusInterface_HEADER
16 #define ossimErrorStatusInterface_HEADER
17 
18 #include <iosfwd>
20 #include <ossim/base/ossimRtti.h>
22 
30 {
31 public:
33 
34  virtual ~ossimErrorStatusInterface();
35 
37  virtual ossimErrorCode getErrorStatus() const;
38 
40  virtual ossimString getErrorStatusString() const;
41 
43  virtual void setErrorStatus(ossimErrorCode error_status) const;
44 
46  virtual void setErrorStatus() const;
47 
49  virtual void clearErrorStatus() const;
50 
52  bool hasError() const;
53 
62  virtual std::ostream& print(std::ostream& out) const;
63 
65  const ossimErrorStatusInterface& obj);
66 
67 protected:
69 
71 };
72 
73 #endif
ossim_int32 ossimErrorCode
#define OSSIMDLLEXPORT
std::ostream & print(H5::H5File *file, std::ostream &out)
Print method.
Definition: ossimH5Util.cpp:41
ostream & operator<<(ostream &out, const ossimAxes &axes)
Definition: ossimAxes.h:88
#define TYPE_DATA
Definition: ossimRtti.h:339
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23