roswrap
src
rossimu
kinetic
include
xmlrpcpp
XmlRpcUtil.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
#ifndef _XMLRPCUTIL_H_
3
#define _XMLRPCUTIL_H_
4
//
5
// XmlRpc++ Copyright (c) 2002-2003 by Chris Morley
6
//
7
#if defined(_MSC_VER)
8
# pragma warning(disable:4786) // identifier was truncated in debug info
9
#endif
10
11
#ifndef MAKEDEPEND
12
# include <string>
13
#endif
14
15
#include "xmlrpcpp/XmlRpcDecl.h"
16
17
#if defined(_MSC_VER)
18
# define snprintf _snprintf_s
19
# define vsnprintf _vsnprintf_s
20
# define strcasecmp _stricmp
21
# define strncasecmp _strnicmp
22
#elif defined(__BORLANDC__)
23
# define strcasecmp stricmp
24
# define strncasecmp strnicmp
25
#endif
26
27
namespace
XmlRpc
{
28
30
class
XMLRPCPP_DECL
XmlRpcUtil {
31
public
:
32
// hokey xml parsing
34
static
std::string parseTag(
const
char
* tag, std::string
const
& xml,
int
* offset);
35
37
static
bool
findTag(
const
char
* tag, std::string
const
& xml,
int
* offset);
38
41
static
std::string getNextTag(std::string
const
& xml,
int
* offset);
42
45
static
bool
nextTagIs(
const
char
* tag, std::string
const
& xml,
int
* offset);
46
47
49
static
std::string xmlEncode(
const
std::string& raw);
50
52
static
std::string xmlDecode(
const
std::string& encoded);
53
54
56
static
void
log(
int
level,
const
char
* fmt, ...);
57
59
static
void
error
(
const
char
* fmt, ...);
60
61
};
62
}
// namespace XmlRpc
63
64
#endif // _XMLRPCUTIL_H_
XmlRpc
sick_scan_base.h
XMLRPCPP_DECL
#define XMLRPCPP_DECL
Definition:
XmlRpcDecl.h:53
error
def error(*args, **kwargs)
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof
, Martin Günther
autogenerated on Fri Oct 25 2024 02:47:13