Commit 69cba7d0 authored by Marina Bertolino's avatar Marina Bertolino
Browse files

REFAC: otbAppDocLink() macro to an inline function

parent b3489785
......@@ -54,7 +54,7 @@ contain the following actions:
\item Declare all the parameters
\item Define the documentation link:
\item for contrib application use SetDocLink("\textit{docLink}") function defined in \doxygen{otb}{Wrapper::Application}
\item for official application use otbAppDocLink() macro
\item for official application use SetOfficialDocLink() function defined in \doxygen{otb}{Wrapper::Application}
\end{itemize}
......
......@@ -106,7 +106,7 @@ private:
SetDocExampleParameterValue("in2", "Spot5-Gloucester-after.tif");
SetDocExampleParameterValue("out", "detectedChangeImage.tif");
otbAppDocLink();
SetOfficialDocLink();
}
void DoUpdateParameters() ITK_OVERRIDE
......
......@@ -122,7 +122,7 @@ private:
SetDocExampleParameterValue("ip.nodatalabel", "10");
SetDocExampleParameterValue("ip.undecidedlabel", "7");
otbAppDocLink();
SetOfficialDocLink();
}
void DoUpdateParameters() ITK_OVERRIDE
......
......@@ -179,7 +179,7 @@ private:
SetDocExampleParameterValue("ref.vector.field","Class");
SetDocExampleParameterValue("ref.vector.nodata","255");
otbAppDocLink();
SetOfficialDocLink();
}
void DoUpdateParameters() ITK_OVERRIDE
......
......@@ -75,7 +75,7 @@ private:
SetDocExampleParameterValue("il", "QB_1_ortho.tif");
SetDocExampleParameterValue("out", "EstimateImageStatisticsQB1.xml");
otbAppDocLink();
SetOfficialDocLink();
}
void DoUpdateParameters() ITK_OVERRIDE
......
......@@ -72,7 +72,7 @@ private:
SetDocExampleParameterValue("outstats", "results.xml");
SetDocExampleParameterValue("feat", "perimeter");
otbAppDocLink();
SetOfficialDocLink();
}
void DoUpdateParameters() ITK_OVERRIDE
......
......@@ -113,7 +113,7 @@ private:
SetDocExampleParameterValue("field", "NONDVI");
SetDocExampleParameterValue("out", "PolylineFeatureFromImage_LI_NONDVI_gt.shp");
otbAppDocLink();
SetOfficialDocLink();
}
void DoUpdateParameters() ITK_OVERRIDE
......
......@@ -181,7 +181,7 @@ private:
SetDocExampleParameterValue("optobs", "true");
SetDocExampleParameterValue("out", "DSFuzzyModelEstimation.xml");
otbAppDocLink();
SetOfficialDocLink();
}
void DoUpdateParameters() ITK_OVERRIDE
......
......@@ -170,7 +170,7 @@ private:
SetDocExampleParameterValue("undecidedlabel","10");
SetDocExampleParameterValue("out","classification_fused.tif");
otbAppDocLink();
SetOfficialDocLink();
}
void DoUpdateParameters() ITK_OVERRIDE
......
......@@ -128,7 +128,7 @@ private:
SetDocExampleParameterValue("model", "clsvmModelQB1.svm");
SetDocExampleParameterValue("out", "clLabeledImageQB1.tif");
otbAppDocLink();
SetOfficialDocLink();
}
void DoUpdateParameters() ITK_OVERRIDE
......
......@@ -221,7 +221,7 @@ private:
SetDocExampleParameterValue("ct", "0.0001");
SetDocExampleParameterValue("out", "ClassificationFilterOutput.tif");
otbAppDocLink();
SetOfficialDocLink();
}
void DoUpdateParameters() ITK_OVERRIDE
......
......@@ -183,7 +183,7 @@ private:
SetDocExampleParameterValue("strategy", "smallest");
SetDocExampleParameterValue("mim","proportional");
otbAppDocLink();
SetOfficialDocLink();
}
void DoUpdateParameters()
......
......@@ -91,7 +91,7 @@ private:
SetDocExampleParameterValue("feat", "perimeter");
SetDocExampleParameterValue("cfield", "predicted");
otbAppDocLink();
SetOfficialDocLink();
}
void DoUpdateParameters() ITK_OVERRIDE
......
......@@ -124,7 +124,7 @@ private:
SetDocExampleParameterValue("field", "label");
SetDocExampleParameterValue("out","polygonStat.xml");
otbAppDocLink();
SetOfficialDocLink();
}
void DoUpdateParameters() ITK_OVERRIDE
......
......@@ -179,7 +179,7 @@ private:
SetDocExampleParameterValue("model", "clsvmModelQB1.svm");
SetDocExampleParameterValue("out", "clLabeledImageQB1.tif");
otbAppDocLink();
SetOfficialDocLink();
}
void DoUpdateParameters() ITK_OVERRIDE
......
......@@ -175,7 +175,7 @@ private:
SetDocExampleParameterValue("bf", "0.1");
SetDocExampleParameterValue("iv", "0");
otbAppDocLink();
SetOfficialDocLink();
}
void DoUpdateParameters() ITK_OVERRIDE
......
......@@ -116,7 +116,7 @@ private:
SetDocExampleParameterValue("field", "label");
SetDocExampleParameterValue("out","sample_values.sqlite");
otbAppDocLink();
SetOfficialDocLink();
}
void DoUpdateParameters()
......
......@@ -224,7 +224,7 @@ private:
SetDocExampleParameterValue("instats","apTvClPolygonClassStatisticsOut.xml");
SetDocExampleParameterValue("out","resampledVectors.sqlite");
otbAppDocLink();
SetOfficialDocLink();
}
void DoUpdateParameters()
......
......@@ -83,7 +83,7 @@ public:
SetDocExampleParameterValue( "io.out", "svmModelQB1.txt" );
SetDocExampleParameterValue( "io.confmatout", "svmConfusionMatrixQB1.csv" );
otbAppDocLink();
SetOfficialDocLink();
}
void DoUpdateParameters() ITK_OVERRIDE
......
......@@ -175,7 +175,7 @@ void DoInit() ITK_OVERRIDE
SetDocExampleParameterValue("io.imstat", "training_statistics.xml");
SetDocExampleParameterValue("classifier", "libsvm");
otbAppDocLink();
SetOfficialDocLink();
}
void DoUpdateParameters() ITK_OVERRIDE
......
Markdown is supported
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