XmlRpcException.h
Go to the documentation of this file.
1 #include "sick_scan/sick_scan_base.h" /* Base definitions included in all header files, added by add_sick_scan_base_header.py. Do not edit this line. */
2 
3 #ifndef _XMLRPCEXCEPTION_H_
4 #define _XMLRPCEXCEPTION_H_
5 //
6 // XmlRpc++ Copyright (c) 2002-2003 by Chris Morley
7 //
8 #if defined(_MSC_VER)
9 # pragma warning(disable:4786) // identifier was truncated in debug info
10 #endif
11 
12 #ifndef MAKEDEPEND
13 # include <string>
14 #endif
15 
16 #include "xmlrpcpp/XmlRpcDecl.h"
17 
18 
19 namespace XmlRpc {
20 
24  class XMLRPCPP_DECL XmlRpcException {
25  public:
29  XmlRpcException(const std::string& message, int code=-1) :
30  _message(message), _code(code) {}
31 
33  const std::string& getMessage() const { return _message; }
34 
36  int getCode() const { return _code; }
37 
38  private:
39  std::string _message;
40  int _code;
41  };
42 
43 }
44 
45 #endif // _XMLRPCEXCEPTION_H_
XmlRpc
message
def message(msg, *args, **kwargs)
sick_scan_base.h
XMLRPCPP_DECL
#define XMLRPCPP_DECL
Definition: XmlRpcDecl.h:53


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:13