|
OpenCV 4.5.3(日本語機械翻訳)
|
This class implements name-value dictionary, values are instances of DictValue. [詳解]
#include <dict.hpp>
cv::dnn::LayerParamsに継承されています。
公開メンバ関数 |
|
| bool | has (const String &key) const |
のインスタンスです。keyの存在を確認します。 |
|
| DictValue * | ptr (const String &key) |
もし、辞書の中にkeyがある場合は,その値へのポインタを返し,ない場合はNULLを返します。 |
|
| const DictValue * | ptr (const String &key) const |
| const DictValue & | get (const String &key) const |
もし、辞書の中にkey辞書の中にある場合はその値を返し、そうでない場合はエラーが発生します。 |
|
| template<typename T > | |
| T | get (const String &key) const |
| template<typename T > | |
| T | get (const String &key, const T &defaultValue) const |
もし、辞書の中にkey辞書の中にある場合はその値を返し,そうでない場合はdefaultValue. |
|
| template<typename T > | |
| const T & | set (const String &key, const T &value) |
新しいvalueを設定します。keyまたは新しいキーと値のペアを辞書に追加します。 |
|
| void | erase (const String &key) |
消去keyを辞書から消去します。 |
|
| 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) |
このクラスは,名前-値辞書を実装しており,値は以下のインスタンスです。DictValue.
|
inline |
これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。
|
inline |
これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。