67 lines
2.8 KiB
C++
67 lines
2.8 KiB
C++
//=====================================================================
|
|
// Copyright 2020 (c), Advanced Micro Devices, Inc. All rights reserved.
|
|
//=====================================================================
|
|
//
|
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
// of this software and associated documentation files(the "Software"), to deal
|
|
// in the Software without restriction, including without limitation the rights
|
|
// to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
|
|
// copies of the Software, and to permit persons to whom the Software is
|
|
// furnished to do so, subject to the following conditions :
|
|
//
|
|
// The above copyright notice and this permission notice shall be included in
|
|
// all copies or substantial portions of the Software.
|
|
//
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
|
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
// THE SOFTWARE.
|
|
//
|
|
|
|
#ifndef CMP_RAPIDXML_H
|
|
#define CMP_RAPIDXML_H
|
|
|
|
#include <rapidxml.hpp>
|
|
#include <rapidxml_utils.hpp>
|
|
|
|
/* Adding declarations to make it compatible with gcc 4.7 and greater */
|
|
namespace rapidxml
|
|
{
|
|
namespace internal
|
|
{
|
|
template <class OutIt, class Ch>
|
|
inline OutIt print_children(OutIt out, const xml_node<Ch>* node, int flags, int indent);
|
|
|
|
template <class OutIt, class Ch>
|
|
inline OutIt print_attributes(OutIt out, const xml_node<Ch>* node, int flags);
|
|
|
|
template <class OutIt, class Ch>
|
|
inline OutIt print_data_node(OutIt out, const xml_node<Ch>* node, int flags, int indent);
|
|
|
|
template <class OutIt, class Ch>
|
|
inline OutIt print_cdata_node(OutIt out, const xml_node<Ch>* node, int flags, int indent);
|
|
|
|
template <class OutIt, class Ch>
|
|
inline OutIt print_element_node(OutIt out, const xml_node<Ch>* node, int flags, int indent);
|
|
|
|
template <class OutIt, class Ch>
|
|
inline OutIt print_declaration_node(OutIt out, const xml_node<Ch>* node, int flags, int indent);
|
|
|
|
template <class OutIt, class Ch>
|
|
inline OutIt print_comment_node(OutIt out, const xml_node<Ch>* node, int flags, int indent);
|
|
|
|
template <class OutIt, class Ch>
|
|
inline OutIt print_doctype_node(OutIt out, const xml_node<Ch>* node, int flags, int indent);
|
|
|
|
template <class OutIt, class Ch>
|
|
inline OutIt print_pi_node(OutIt out, const xml_node<Ch>* node, int flags, int indent);
|
|
}
|
|
}
|
|
|
|
#include <rapidxml_print.hpp>
|
|
|
|
#endif
|