This struct stores the scalar value (or array) of one of the following type: double, cv::String or int64.
More...
#include <opencv2/dnn/dict.hpp>
|
template<typename TypeIter > |
static DictValue | arrayInt (TypeIter begin, int size) |
| Constructs integer array.
|
|
template<typename TypeIter > |
static DictValue | arrayReal (TypeIter begin, int size) |
| Constructs floating point array.
|
|
template<typename TypeIter > |
static DictValue | arrayString (TypeIter begin, int size) |
| Constructs array of strings.
|
|
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.
cv::dnn::DictValue::DictValue |
( |
const DictValue & |
r | ) |
|
cv::dnn::DictValue::DictValue |
( |
bool |
i | ) |
|
|
inline |
Constructs integer scalar.
cv::dnn::DictValue::DictValue |
( |
int64 |
i = 0 | ) |
|
|
inline |
Constructs integer scalar.
cv::dnn::DictValue::DictValue |
( |
int |
i | ) |
|
|
inline |
Constructs integer scalar.
cv::dnn::DictValue::DictValue |
( |
unsigned |
p | ) |
|
|
inline |
Constructs integer scalar.
cv::dnn::DictValue::DictValue |
( |
double |
p | ) |
|
|
inline |
Constructs floating point scalar.
cv::dnn::DictValue::DictValue |
( |
const String & |
s | ) |
|
|
inline |
Constructs string scalar.
cv::dnn::DictValue::DictValue |
( |
const char * |
s | ) |
|
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
cv::dnn::DictValue::~DictValue |
( |
| ) |
|
template<typename TypeIter >
static DictValue cv::dnn::DictValue::arrayInt |
( |
TypeIter |
begin, |
|
|
int |
size |
|
) |
| |
|
static |
Constructs integer array.
template<typename TypeIter >
static DictValue cv::dnn::DictValue::arrayReal |
( |
TypeIter |
begin, |
|
|
int |
size |
|
) |
| |
|
static |
Constructs floating point array.
template<typename TypeIter >
static DictValue cv::dnn::DictValue::arrayString |
( |
TypeIter |
begin, |
|
|
int |
size |
|
) |
| |
|
static |
Constructs array of strings.
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.
int cv::dnn::DictValue::getIntValue |
( |
int |
idx = -1 | ) |
const |
double cv::dnn::DictValue::getRealValue |
( |
int |
idx = -1 | ) |
const |
String cv::dnn::DictValue::getStringValue |
( |
int |
idx = -1 | ) |
const |
bool cv::dnn::DictValue::isInt |
( |
| ) |
const |
bool cv::dnn::DictValue::isReal |
( |
| ) |
const |
bool cv::dnn::DictValue::isString |
( |
| ) |
const |
int cv::dnn::DictValue::size |
( |
| ) |
const |
std::ostream& operator<< |
( |
std::ostream & |
stream, |
|
|
const DictValue & |
dictv |
|
) |
| |
|
friend |
void* cv::dnn::DictValue::pv |
The documentation for this struct was generated from the following file: