nlib
TransformXml.h
Go to the documentation of this file.
1 
2 /*---------------------------------------------------------------------------*
3 
4  Project: CrossRoad
5  Copyright (C)2012-2016 Nintendo. All rights reserved.
6 
7  These coded instructions, statements, and computer programs contain
8  proprietary information of Nintendo of America Inc. and/or Nintendo
9  Company Ltd., and are protected by Federal copyright law. They may
10  not be disclosed to third parties or copied or duplicated in any form,
11  in whole or in part, without the prior written consent of Nintendo.
12 
13  *---------------------------------------------------------------------------*/
14 
15 #pragma once
16 #ifndef INCLUDE_NN_NLIB_EXI_TRANSFORMXML_H_
17 #define INCLUDE_NN_NLIB_EXI_TRANSFORMXML_H_
18 
19 #include "nn/nlib/Config.h"
20 
21 #if defined(_MSC_VER) && defined(nx_exi_EXPORTS)
22 #undef NLIB_VIS_PUBLIC
23 #define NLIB_VIS_PUBLIC NLIB_WINEXPORT
24 #endif
25 
26 NLIB_NAMESPACE_BEGIN
27 namespace exi {
28 class XmlStreamReader;
29 class XmlStreamWriter;
30 
31 NLIB_VIS_PUBLIC bool TransformXml(XmlStreamReader* r, XmlStreamWriter* w) NLIB_NOEXCEPT;
32 
33 } // namespace exi
34 NLIB_NAMESPACE_END
35 
36 #if defined(_MSC_VER) && defined(nx_exi_EXPORTS)
37 #undef NLIB_VIS_PUBLIC
38 #define NLIB_VIS_PUBLIC NLIB_WINIMPORT
39 #endif
40 
41 #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:87
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:99
A file that contains the configuration information for each development environment.