nlib
TransformXml.h
Go to the documentation of this file.
1 
2 #pragma once
3 #ifndef INCLUDE_NN_NLIB_EXI_TRANSFORMXML_H_
4 #define INCLUDE_NN_NLIB_EXI_TRANSFORMXML_H_
5 
6 #include "nn/nlib/Config.h"
7 
8 #if defined(_MSC_VER) && defined(nx_exi_EXPORTS)
9 #undef NLIB_VIS_PUBLIC
10 #define NLIB_VIS_PUBLIC NLIB_WINEXPORT
11 #endif
12 
13 NLIB_NAMESPACE_BEGIN
14 namespace exi {
15 class XmlStreamReader;
16 class XmlStreamWriter;
17 
18 NLIB_VIS_PUBLIC bool TransformXml(XmlStreamReader* r, XmlStreamWriter* w) NLIB_NOEXCEPT;
19 
20 } // namespace exi
21 NLIB_NAMESPACE_END
22 
23 #if defined(_MSC_VER) && defined(nx_exi_EXPORTS)
24 #undef NLIB_VIS_PUBLIC
25 #define NLIB_VIS_PUBLIC NLIB_WINIMPORT
26 #endif
27 
28 #endif // INCLUDE_NN_NLIB_EXI_TRANSFORMXML_H_
#define NLIB_VIS_PUBLIC
Symbols for functions and classes are made available outside of the library.
Definition: Platform_unix.h:61
bool TransformXml(XmlStreamReader *r, XmlStreamWriter *w) noexcept
Reads from XmlStreamReader and writes to XmlStreamWriter.
#define NLIB_NOEXCEPT
Defines noexcept geared to the environment, or the equivalent.
Definition: Config.h:86
A file that contains the configuration information for each development environment.