Drop cv:: prefix from cv::String used inside the cv namespace
This commit is contained in:
@@ -16,7 +16,7 @@ The CommandLineParser class is designed for command line arguments parsing
|
||||
:param argv:
|
||||
:param keys:
|
||||
|
||||
.. ocv:function:: template<typename T> T CommandLineParser::get<T>(const cv::String& name, bool space_delete = true)
|
||||
.. ocv:function:: template<typename T> T CommandLineParser::get<T>(const String& name, bool space_delete = true)
|
||||
|
||||
:param name:
|
||||
:param space_delete:
|
||||
@@ -26,7 +26,7 @@ The CommandLineParser class is designed for command line arguments parsing
|
||||
:param index:
|
||||
:param space_delete:
|
||||
|
||||
.. ocv:function:: bool CommandLineParser::has(const cv::String& name)
|
||||
.. ocv:function:: bool CommandLineParser::has(const String& name)
|
||||
|
||||
:param name:
|
||||
|
||||
@@ -41,7 +41,7 @@ The CommandLineParser class is designed for command line arguments parsing
|
||||
|
||||
.. ocv:function:: void CommandLineParser::printErrors()
|
||||
|
||||
.. ocv:function:: cv::String CommandLineParser::getPathToApplication()
|
||||
.. ocv:function:: String CommandLineParser::getPathToApplication()
|
||||
|
||||
|
||||
The sample below demonstrates how to use CommandLineParser:
|
||||
@@ -59,12 +59,12 @@ The sample below demonstrates how to use CommandLineParser:
|
||||
|
||||
int N = parser.get<int>("N");
|
||||
double fps = parser.get<double>("fps");
|
||||
cv::String path = parser.get<cv::String>("path");
|
||||
String path = parser.get<String>("path");
|
||||
|
||||
use_time_stamp = parser.has("timestamp");
|
||||
|
||||
cv::String img1 = parser.get<cv::String>(0);
|
||||
cv::String img2 = parser.get<cv::String>(1);
|
||||
String img1 = parser.get<String>(0);
|
||||
String img2 = parser.get<String>(1);
|
||||
|
||||
int repeat = parser.get<int>(2);
|
||||
|
||||
@@ -78,7 +78,7 @@ Syntax:
|
||||
|
||||
::
|
||||
|
||||
const cv::String keys =
|
||||
const String keys =
|
||||
"{help h usage ? | | print this message }"
|
||||
"{@image1 | | image1 for compare }"
|
||||
"{@image2 | | image2 for compare }"
|
||||
|
||||
Reference in New Issue
Block a user