SlideIO
2.0.0
Open-source library for reading of medical images
Loading...
Searching...
No Matches
src
slideio
core
tools
xmltools.hpp
1
// This file is part of slideio project.
2
// It is subject to the license terms in the LICENSE file found in the top-level directory
3
// of this distribution and at http://slideio.com/license.html.
4
#pragma once
5
6
#include "slideio/core/slideio_core_def.hpp"
7
#include <string>
8
#include <tinyxml2.h>
9
#include <vector>
10
11
#if defined(_MSC_VER)
12
#pragma warning( push )
13
#pragma warning(disable: 4251)
14
#endif
15
16
17
namespace
slideio
18
{
19
class
SLIDEIO_CORE_EXPORTS XMLTools
20
{
21
public
:
22
static
int
childNodeTextToInt(
const
tinyxml2::XMLNode* xmlParent,
const
char
* childName,
int
defaultValue = -1);
23
static
const
tinyxml2::XMLElement* getElementByPath(
const
tinyxml2::XMLNode* parent,
const
std::vector<std::string>& path);
24
};
25
}
26
27
28
#if defined(_MSC_VER)
29
#pragma warning( pop )
30
#endif
slideio
Definition:
exceptions.hpp:12
Generated by
1.9.5