Commit 06973636 authored by Victor Poughon's avatar Victor Poughon
Browse files

BUG: add exports to wrapper xml functions

No related merge requests found
Showing with 9 additions and 9 deletions
+9 -9
......@@ -33,12 +33,12 @@ namespace Wrapper
namespace XML
{
const std::string GetChildNodeTextOf(TiXmlElement* parentElement, std::string key);
OTBApplicationEngine_EXPORT const std::string GetChildNodeTextOf(TiXmlElement* parentElement, std::string key);
int Read(const std::string& filename, Application::Pointer application);
OTBApplicationEngine_EXPORT int Read(const std::string& filename, Application::Pointer application);
/* copied from Utilities/tinyXMLlib/tinyxml.cpp. Must have a FIX inside tinyxml.cpp */
FILE* TiXmlFOpen(const char* filename, const char* mode);
OTBApplicationEngine_EXPORT FILE* TiXmlFOpen(const char* filename, const char* mode);
} // namespace XML
} // End namespace Wrapper
......
......@@ -32,18 +32,18 @@ namespace Wrapper
namespace XML
{
TiXmlElement* AddChildNodeTo(TiXmlElement* parent, std::string name, std::string value = "");
OTBApplicationEngine_EXPORT TiXmlElement* AddChildNodeTo(TiXmlElement* parent, std::string name, std::string value = "");
std::string pixelTypeToString(ImagePixelType pixType);
OTBApplicationEngine_EXPORT std::string pixelTypeToString(ImagePixelType pixType);
void Write(const std::string& filename, Application::Pointer application);
OTBApplicationEngine_EXPORT void Write(const std::string& filename, Application::Pointer application);
TiXmlElement* ParseApplication(Application::Pointer app);
OTBApplicationEngine_EXPORT TiXmlElement* ParseApplication(Application::Pointer app);
std::string MakeCommandLine(otb::Wrapper::Application::Pointer application);
OTBApplicationEngine_EXPORT std::string MakeCommandLine(otb::Wrapper::Application::Pointer application);
/** Recursive function to parse a group parameter */
void ParseGroup(Application::Pointer app, TiXmlElement* n_App, const std::string& group);
OTBApplicationEngine_EXPORT void ParseGroup(Application::Pointer app, TiXmlElement* n_App, const std::string& group);
} // namespace XML
} // End namespace Wrapper
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment