Drop cv:: prefix from cv::String used inside the cv namespace

This commit is contained in:
Andrey Kamaev
2013-03-22 20:37:49 +04:00
parent 75513a46dc
commit be7bbe3aa9
122 changed files with 1077 additions and 1077 deletions

View File

@@ -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 }"

View File

@@ -284,7 +284,7 @@ getBuildInformation
-------------------
Returns full configuration time cmake output.
.. ocv:function:: const cv::String& getBuildInformation()
.. ocv:function:: const String& getBuildInformation()
Returned value is raw cmake output including version control system revision, compiler version, compiler flags, enabled modules and third party libraries, etc. Output format depends on target architecture.

View File

@@ -113,7 +113,7 @@ Here is how to read the file created by the code sample above: ::
// first method: use (type) operator on FileNode.
int frameCount = (int)fs2["frameCount"];
cv::String date;
String date;
// second method: use FileNode::operator >>
fs2["calibrationDate"] >> date;
@@ -548,11 +548,11 @@ Returns the node content as double.
:returns: The node content as double.
FileNode::operator cv::String
FileNode::operator String
------------------------------
Returns the node content as text string.
.. ocv:function:: FileNode::operator cv::String() const
.. ocv:function:: FileNode::operator String() const
:returns: The node content as a text string.