OTB  9.0.0
Orfeo Toolbox
otbWrapperInputXML.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2022 Centre National d'Etudes Spatiales (CNES)
3  *
4  * This file is part of Orfeo Toolbox
5  *
6  * https://www.orfeo-toolbox.org/
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  */
20 
21 #ifndef otbWrapperInputXML_h
22 #define otbWrapperInputXML_h
23 
24 #include "otbWrapperApplication.h"
25 #include "otb_tinyxml.h"
26 #include <sstream>
27 #include <string>
28 
29 namespace otb
30 {
31 namespace Wrapper
32 {
33 namespace XML
34 {
35 
36 OTBApplicationEngine_EXPORT const std::string GetChildNodeTextOf(TiXmlElement* parentElement, std::string key);
37 
38 OTBApplicationEngine_EXPORT int Read(const std::string& filename, Application::Pointer application);
39 
40 /* copied from Utilities/tinyXMLlib/tinyxml.cpp. Must have a FIX inside tinyxml.cpp */
41 OTBApplicationEngine_EXPORT FILE* TiXmlFOpen(const char* filename, const char* mode);
42 
43 } // namespace XML
44 } // End namespace Wrapper
45 } // End namespace otb
46 
47 #endif
otb::Wrapper::Application::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbWrapperApplication.h:82
otb::Wrapper::XML::TiXmlFOpen
OTBApplicationEngine_EXPORT FILE * TiXmlFOpen(const char *filename, const char *mode)
otbWrapperApplication.h
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition: otbJoinContainer.h:32
otb::Wrapper::XML::GetChildNodeTextOf
const OTBApplicationEngine_EXPORT std::string GetChildNodeTextOf(TiXmlElement *parentElement, std::string key)
otb::Wrapper::XML::Read
OTBApplicationEngine_EXPORT int Read(const std::string &filename, Application::Pointer application)