OTB  6.7.0
Orfeo Toolbox
otbWrapperOutputXML.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2019 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 otbWrapperOutputXML_h
22 #define otbWrapperOutputXML_h
23 
24 #include "otbWrapperApplication.h"
25 #include "otb_tinyxml.h"
26 #include <string>
27 
28 namespace otb
29 {
30 namespace Wrapper
31 {
32 namespace XML
33 {
34 
35 OTBApplicationEngine_EXPORT TiXmlElement* AddChildNodeTo(TiXmlElement* parent, std::string name, std::string value = "");
36 
37 OTBApplicationEngine_EXPORT std::string pixelTypeToString(ImagePixelType pixType);
38 
39 OTBApplicationEngine_EXPORT void Write(const std::string& filename, Application::Pointer application);
40 
41 OTBApplicationEngine_EXPORT TiXmlElement* ParseApplication(Application::Pointer app);
42 
43 OTBApplicationEngine_EXPORT std::string MakeCommandLine(otb::Wrapper::Application::Pointer application);
44 
46 OTBApplicationEngine_EXPORT void ParseGroup(Application::Pointer app, TiXmlElement* n_App, const std::string& group);
47 
48 } // namespace XML
49 } // End namespace Wrapper
50 } // End namespace otb
51 
52 #endif
itk::SmartPointer< Self > Pointer
OTBApplicationEngine_EXPORT std::string pixelTypeToString(ImagePixelType pixType)
OTBApplicationEngine_EXPORT std::string MakeCommandLine(otb::Wrapper::Application::Pointer application)
OTBApplicationEngine_EXPORT void ParseGroup(Application::Pointer app, TiXmlElement *n_App, const std::string &group)
OTBApplicationEngine_EXPORT TiXmlElement * ParseApplication(Application::Pointer app)
OTBApplicationEngine_EXPORT TiXmlElement * AddChildNodeTo(TiXmlElement *parent, std::string name, std::string value="")
OTBApplicationEngine_EXPORT void Write(const std::string &filename, Application::Pointer application)