Struct cv::dnn::DictValue#
This struct stores the scalar value (or array) of one of the following type: double, cv::String or int64. View details
#include <opencv2/dnn/dict.hpp>Collaboration diagram for cv::dnn::DictValue:
Friends#
Return |
Name |
Description |
|---|---|---|
|
Detailed Description#
-
struct DictValue#
This struct stores the scalar value (or array) of one of the following type: double, cv::String or int64.
- Todo:
Maybe int64 is useless because double type exactly stores at least 2^52 integers.
Constructor & Destructor Documentation#
DictValue()#
cv::dnn::DictValue::DictValue(bool i)
Python:
Constructs integer scalar.
DictValue()#
cv::dnn::DictValue::DictValue(const char * s)
Python:
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
DictValue()#
cv::dnn::DictValue::DictValue(const DictValue & r)
Python:
DictValue()#
cv::dnn::DictValue::DictValue(const String & s)
Python:
Constructs string scalar.
DictValue()#
cv::dnn::DictValue::DictValue(double p)
Python:
Constructs floating point scalar.
DictValue()#
cv::dnn::DictValue::DictValue(int i)
Python:
Constructs integer scalar.
DictValue()#
cv::dnn::DictValue::DictValue(int64 i = 0)
Python:
Constructs integer scalar.
DictValue()#
cv::dnn::DictValue::DictValue(unsigned p)
Python:
Constructs integer scalar.
~DictValue()#
DictValue()#
cv::dnn::DictValue::DictValue(
Param _type,
void * _p )
Python:
Member Function Documentation#
get()#
template<typename T>
T cv::dnn::DictValue::get(int idx = -1)
Tries to convert array element with specified index to requested type and returns its.
getIntValue()#
int cv::dnn::DictValue::getIntValue(int idx = -1)
Python:
cv.dnn.DictValue.getIntValue([, idx]) -> retval
getRealValue()#
double cv::dnn::DictValue::getRealValue(int idx = -1)
Python:
cv.dnn.DictValue.getRealValue([, idx]) -> retval
getStringValue()#
String cv::dnn::DictValue::getStringValue(int idx = -1)
Python:
cv.dnn.DictValue.getStringValue([, idx]) -> retval
isInt()#
bool cv::dnn::DictValue::isInt()
Python:
cv.dnn.DictValue.isInt() -> retval
isReal()#
bool cv::dnn::DictValue::isReal()
Python:
cv.dnn.DictValue.isReal() -> retval
isString()#
bool cv::dnn::DictValue::isString()
Python:
cv.dnn.DictValue.isString() -> retval
operator=()#
DictValue & cv::dnn::DictValue::operator=(const DictValue & r)
size()#
int cv::dnn::DictValue::size()
arrayInt()#
template<typename TypeIter>
static DictValue cv::dnn::DictValue::arrayInt(
TypeIter begin,
int size )
Constructs integer array.
arrayReal()#
template<typename TypeIter>
static DictValue cv::dnn::DictValue::arrayReal(
TypeIter begin,
int size )
Constructs floating point array.
arrayString()#
template<typename TypeIter>
static DictValue cv::dnn::DictValue::arrayString(
TypeIter begin,
int size )
Constructs array of strings.
release()#
void cv::dnn::DictValue::release()
Member Data Documentation#
#
union cv::dnn::DictValue cv::dnn::DictValue::
type#
pd#
AutoBuffer< double, 1 > * cv::dnn::DictValue::pd
pi#
AutoBuffer< int64, 1 > * cv::dnn::DictValue::pi
ps#
AutoBuffer< String, 1 > * cv::dnn::DictValue::ps
pv#
void * cv::dnn::DictValue::pv
Source file#
The documentation for this struct was generated from the following file:
opencv2/dnn/dict.hpp