libetonyek_xml.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3  * This file is part of the libetonyek project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  */
9 
10 #ifndef LIBETONYEK_XML_H_INCLUDED
11 #define LIBETONYEK_XML_H_INCLUDED
12 
13 #include <string>
14 
15 #include "libetonyek_utils.h"
16 
17 extern "C" int readFromStream(void *context, char *buffer, int len);
18 
19 extern "C" int closeStream(void * /* context */);
20 
21 namespace libetonyek
22 {
23 
29 bool bool_cast(const char *value);
30 double double_cast(const char *value);
31 int int_cast(const char *value);
32 
33 const char *char_cast(const char *c);
34 const char *char_cast(const signed char *c);
35 const char *char_cast(const unsigned char *c);
36 
37 }
38 
39 #endif // LIBETONYEK_XML_H_INCLUDED
40 
41 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
bool bool_cast(const char *value)
Convert string value to bool.
Definition: libetonyek_xml.cpp:54
int int_cast(const char *value)
Definition: libetonyek_xml.cpp:76
Definition: KEY2Token.h:36
int readFromStream(void *context, char *buffer, int len)
Definition: libetonyek_xml.cpp:27
const char * char_cast(const char *const c)
Definition: libetonyek_xml.cpp:81
double double_cast(const char *value)
Definition: libetonyek_xml.cpp:71
int closeStream(void *)
Definition: libetonyek_xml.cpp:46

Generated for libetonyek by doxygen 1.8.5