|
OpenCV 4.5.3(日本語機械翻訳)
|
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) | |
| 整数スカラーの構築 |
|
| DictValue (int64 i=0) | |
| 整数スカラーの構築 |
|
| CV_WRAP | DictValue (int i) |
| 整数スカラーの構築 |
|
| DictValue (unsigned p) | |
| 整数スカラーの構築 |
|
| CV_WRAP | DictValue (double p) |
| 浮動小数点のスカラを構築する |
|
| CV_WRAP | DictValue (const String &s) |
| 文字列スカラを構築します。 |
|
| DictValue (const char *s) | |
| これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。 |
|
| template<typename T > | |
| T | get (int idx=-1) const |
| 指定されたインデックスの配列要素を要求された型に変換し,その結果を返します。 |
|
| 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) |
| 整数配列を構築します。 |
|
| template<typename TypeIter > | |
| static DictValue | arrayReal (TypeIter begin, int size) |
| 浮動小数点の配列を構築します。 |
|
| template<typename TypeIter > | |
| static DictValue | arrayString (TypeIter begin, int size) |
| 文字列の配列を構築します |
|
フレンド |
|
| std::ostream & | operator<< (std::ostream &stream, const DictValue &dictv) |
この構造体は, double, cv::String, int64 のいずれかのスカラ値(または配列)を格納します.