This struct stores the scalar value (or array) of one of the following type: double, cv::String or int64.
More...
#include "dict.hpp"
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.
◆ DictValue() [1/5]
cv::dnn::DictValue::DictValue |
( |
const DictValue & |
r | ) |
|
◆ DictValue() [2/5]
cv::dnn::DictValue::DictValue |
( |
int |
p = 0 | ) |
|
|
inline |
Constructs integer scalar.
◆ DictValue() [3/5]
cv::dnn::DictValue::DictValue |
( |
unsigned |
p | ) |
|
|
inline |
Constructs integer scalar.
◆ DictValue() [4/5]
cv::dnn::DictValue::DictValue |
( |
double |
p | ) |
|
|
inline |
Constructs floating point scalar.
◆ DictValue() [5/5]
cv::dnn::DictValue::DictValue |
( |
const String & |
p | ) |
|
|
inline |
Constructs string scalar.
◆ ~DictValue()
cv::dnn::DictValue::~DictValue |
( |
| ) |
|
◆ arrayInt()
template<typename TypeIter >
static DictValue cv::dnn::DictValue::arrayInt |
( |
TypeIter |
begin, |
|
|
int |
size |
|
) |
| |
|
static |
Constructs integer array.
◆ arrayReal()
template<typename TypeIter >
static DictValue cv::dnn::DictValue::arrayReal |
( |
TypeIter |
begin, |
|
|
int |
size |
|
) |
| |
|
static |
Constructs floating point array.
◆ arrayString()
template<typename TypeIter >
static DictValue cv::dnn::DictValue::arrayString |
( |
TypeIter |
begin, |
|
|
int |
size |
|
) |
| |
|
static |
Constructs array of strings.
◆ get()
template<typename T >
T cv::dnn::DictValue::get |
( |
int |
idx = -1 | ) |
const |
Tries to convert array element with specified index to requested type and returns its.
◆ isInt()
bool cv::dnn::DictValue::isInt |
( |
| ) |
const |
◆ isReal()
bool cv::dnn::DictValue::isReal |
( |
| ) |
const |
◆ isString()
bool cv::dnn::DictValue::isString |
( |
| ) |
const |
◆ operator=()
◆ size()
int cv::dnn::DictValue::size |
( |
| ) |
const |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
stream, |
|
|
const DictValue & |
dictv |
|
) |
| |
|
friend |
void* cv::dnn::DictValue::p |
◆ pd
◆ pi
◆ ps
The documentation for this struct was generated from the following file:
- /build/opencv-mMYgHw/opencv-3.1.0+dfsg1/contrib/modules/dnn/include/opencv2/dnn/dict.hpp