|
OpenCV453
|
This class implements name-value dictionary, values are instances of DictValue. [詳解]
#include <dict.hpp>
cv::dnn::LayerParamsに継承されています。
公開メンバ関数 | |
| bool | has (const String &key) const |
Checks a presence of the key in the dictionary. | |
| DictValue * | ptr (const String &key) |
If the key in the dictionary then returns pointer to its value, else returns NULL. | |
| const DictValue * | ptr (const String &key) const |
| const DictValue & | get (const String &key) const |
If the key in the dictionary then returns its value, else an error will be generated. | |
| template<typename T > | |
| T | get (const String &key) const |
| template<typename T > | |
| T | get (const String &key, const T &defaultValue) const |
If the key in the dictionary then returns its value, else returns defaultValue. | |
| template<typename T > | |
| const T & | set (const String &key, const T &value) |
Sets new value for the key, or adds new key-value pair into the dictionary. | |
| void | erase (const String &key) |
Erase key from the dictionary. | |
| std::map< String, DictValue >::const_iterator | begin () const |
| std::map< String, DictValue >::const_iterator | end () const |
フレンド | |
| std::ostream & | operator<< (std::ostream &stream, const Dict &dict) |
This class implements name-value dictionary, values are instances of DictValue.
|
inline |
これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。
|
inline |
これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。