OpenCV453
|
This struct stores the scalar value (or array) of one of the following type: double, cv::String or int64. [詳解]
#include <dict.hpp>
公開メンバ関数 | |
DictValue (const DictValue &r) | |
DictValue (bool i) | |
Constructs integer scalar | |
DictValue (int64 i=0) | |
Constructs integer scalar | |
CV_WRAP | DictValue (int i) |
Constructs integer scalar | |
DictValue (unsigned p) | |
Constructs integer scalar | |
CV_WRAP | DictValue (double p) |
Constructs floating point scalar | |
CV_WRAP | DictValue (const String &s) |
Constructs string scalar | |
DictValue (const char *s) | |
これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。 | |
template<typename T > | |
T | get (int idx=-1) const |
Tries to convert array element with specified index to requested type and returns its. | |
int | size () const |
CV_WRAP bool | isInt () const |
CV_WRAP bool | isString () const |
CV_WRAP bool | isReal () const |
CV_WRAP int | getIntValue (int idx=-1) const |
CV_WRAP double | getRealValue (int idx=-1) const |
CV_WRAP String | getStringValue (int idx=-1) const |
DictValue & | operator= (const DictValue &r) |
template<typename TypeIter > | |
CV__DNN_INLINE_NS_BEGIN DictValue | arrayInt (TypeIter begin, int size) |
template<> | |
DictValue | get (int idx) const |
template<> | |
int64 | get (int idx) const |
template<> | |
int | get (int idx) const |
template<> | |
unsigned | get (int idx) const |
template<> | |
bool | get (int idx) const |
template<> | |
double | get (int idx) const |
template<> | |
float | get (int idx) const |
template<> | |
String | get (int idx) const |
静的公開メンバ関数 | |
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 | |
フレンド | |
std::ostream & | operator<< (std::ostream &stream, const DictValue &dictv) |
This struct stores the scalar value (or array) of one of the following type: double, cv::String or int64.