OpenCV 4.13.0
Open Source Computer Vision
読み込み中...
検索中...
見つかりません
🤖 AIによる機械翻訳(非公式) — これは OpenCV 4.13.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。

この構造体は、次のいずれかの型のスカラー値(または配列)を格納する: double、cv::String、または int64。続き...

#include <opencv2/dnn/dict.hpp>

Collaboration diagram for cv::dnn::DictValue:

公開メンバ関数

 DictValue (bool i)
 整数スカラーを構築する。
 
 DictValue (const char *s)
 これは利便性のために提供されているオーバーロードされたメンバ関数である。上記の関数とは受け取る引数のみが異なる。
 
 DictValue (const DictValue &r)
 
 DictValue (const String &s)
 文字列スカラーを構築する。
 
 DictValue (double p)
 浮動小数点スカラーを構築する。
 
 DictValue (int i)
 整数スカラーを構築する。
 
 DictValue (int64 i=0)
 整数スカラーを構築する。
 
 DictValue (unsigned p)
 整数スカラーを構築する。
 
 ~DictValue ()
 
template<typename T >
get (int idx=-1) const
 指定したインデックスの配列要素を要求された型に変換しようとし、それを返す。
 
int getIntValue (int idx=-1) const
 
double getRealValue (int idx=-1) const
 
String getStringValue (int idx=-1) const
 
bool isInt () const
 
bool isReal () const
 
bool isString () const
 
DictValueoperator= (const DictValue &r)
 
int size () 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。

TODOTodo
double 型は少なくとも 2^52 個の整数を正確に格納するため、int64 は不要かもしれない。

構築子と解体子の詳解

◆ DictValue() [1/8]

cv::dnn::DictValue::DictValue ( const DictValue & r)

◆ DictValue() [2/8]

cv::dnn::DictValue::DictValue ( bool i)
inlineexplicit

整数スカラーを構築する。

◆ DictValue() [3/8]

cv::dnn::DictValue::DictValue ( int64 i = 0)
inlineexplicit

整数スカラーを構築する。

◆ DictValue() [4/8]

cv::dnn::DictValue::DictValue ( int i)
inlineexplicit

整数スカラーを構築する。

◆ DictValue() [5/8]

cv::dnn::DictValue::DictValue ( unsigned p)
inlineexplicit

整数スカラーを構築する。

◆ DictValue() [6/8]

cv::dnn::DictValue::DictValue ( double p)
inlineexplicit

浮動小数点スカラーを構築する。

◆ DictValue() [7/8]

cv::dnn::DictValue::DictValue ( const String & s)
inlineexplicit

文字列スカラーを構築する。

◆ DictValue() [8/8]

cv::dnn::DictValue::DictValue ( const char * s)
inlineexplicit

これは利便性のために提供されているオーバーロードされたメンバ関数である。上記の関数とは、受け取る引数のみが異なる。

◆ ~DictValue()

cv::dnn::DictValue::~DictValue ( )

メンバ関数詳解

◆ arrayInt()

template<typename TypeIter >
static DictValue cv::dnn::DictValue::arrayInt ( TypeIter begin,
int size )
static

整数配列を構築する。

◆ arrayReal()

template<typename TypeIter >
static DictValue cv::dnn::DictValue::arrayReal ( TypeIter begin,
int size )
static

浮動小数点配列を構築する。

◆ arrayString()

template<typename TypeIter >
static DictValue cv::dnn::DictValue::arrayString ( TypeIter begin,
int size )
static

文字列の配列を構築する。

◆ get()

template<typename T >
T cv::dnn::DictValue::get ( int idx = -1) const

指定したインデックスの配列要素を要求された型に変換しようとし、それを返す。

◆ getIntValue()

int cv::dnn::DictValue::getIntValue ( int idx = -1) const

◆ getRealValue()

double cv::dnn::DictValue::getRealValue ( int idx = -1) const

◆ getStringValue()

String cv::dnn::DictValue::getStringValue ( int idx = -1) const

◆ isInt()

bool cv::dnn::DictValue::isInt ( ) const

◆ isReal()

bool cv::dnn::DictValue::isReal ( ) const

◆ isString()

bool cv::dnn::DictValue::isString ( ) const

◆ operator=()

DictValue & cv::dnn::DictValue::operator= ( const DictValue & r)

◆ size()

int cv::dnn::DictValue::size ( ) const

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & stream,
const DictValue & dictv )
friend

メンバ変数詳解

◆ pd

AutoBuffer<double, 1>* cv::dnn::DictValue::pd

◆ pi

AutoBuffer<int64, 1>* cv::dnn::DictValue::pi

◆ ps

AutoBuffer<String, 1>* cv::dnn::DictValue::ps

◆ pv

void* cv::dnn::DictValue::pv

この構造体詳解は次のファイルから抽出されました: