21 #ifndef otbWrapperDocExampleStructure_h
22 #define otbWrapperDocExampleStructure_h
24 #include "itkObject.h"
25 #include "itkObjectFactory.h"
29 #include "otbConfigure.h"
30 #include "itkFixedArray.h"
31 #include "OTBApplicationEngineExport.h"
66 itkGetMacro(NbOfExamples,
unsigned int);
71 void AddParameter(
const std::string &key,
const std::string &name,
unsigned int exId = 0);
77 unsigned int GetNumberOfParameters(
unsigned int exId = 0);
80 std::string GetParameterKey(
unsigned int i,
unsigned int exId = 0);
83 std::string GetParameterValue(
unsigned int i,
unsigned int exId = 0);
86 void SetApplicationName(
const std::string &name);
89 std::string GetApplicationName();
92 std::vector<std::string> GetExampleCommentList();
95 std::string GetExampleComment(
unsigned int i);
98 void SetExampleComment(
const std::string& comm,
unsigned int i);
101 unsigned int AddExample(
const std::string& comm =
"");
105 std::string GenerateCLExample(
unsigned int exId);
108 std::string GenerateCLExample();
112 std::string GenerateHtmlExample(
unsigned int exId);
115 std::string GenerateHtmlExample();