libetonyek_xml.cpp File Reference documentation

Namespaces | Functions
libetonyek_xml.cpp File Reference
`#include "libetonyek_xml.h"`
`#include <cassert>`
`#include <boost/lexical_cast.hpp>`
`#include <boost/none.hpp>`
`#include <boost/optional.hpp>`
`#include "libetonyek_utils.h"`
`#include "IWORKToken.h"`
`#include "IWORKTokenizer.h"`

## Namespaces
namespace | libetonyek

## Functions
int | readFromStream (void *context, char *buffer, int len)
int | closeStream (void *)
std::unique_ptr< xmlTextReader, void(*)(xmlTextReaderPtr)> | libetonyek::xmlReaderForStream (const RVNGInputStreamPtr_t &input)
bool | libetonyek::bool_cast (const char *value)
| Convert string value to bool.
boost::optional< bool > | libetonyek::try_bool_cast (const char *value)
double | libetonyek::double_cast (const char *value)
boost::optional< double > | libetonyek::try_double_cast (const char *value)
int | libetonyek::int_cast (const char *value)
boost::optional< int > | libetonyek::try_int_cast (const char *value)
const char * | libetonyek::char_cast (const char *const c)
const char * | libetonyek::char_cast (const signed char *const c)
const char * | libetonyek::char_cast (const unsigned char *const c)

## Function Documentation

## ◆ closeStream()

int closeStream | ( | void * |  | ) |

Referenced by libetonyek::xmlReaderForStream().

## ◆ readFromStream()

int readFromStream | ( | void * | context,
|  | char * | buffer,
|  | int | len
| ) |  |

Referenced by libetonyek::xmlReaderForStream().