NameValue and NVList utility functions. [詳細]
#include <string>#include <iostream>#include <coil/Properties.h>#include <rtm/idl/SDOPackageSkel.h>ネームスペース | |
| namespace | NVUtil |
NameValue 用ユーティリティ. | |
関数 | |
| template<class Value > | |
| SDOPackage::NameValue | NVUtil::newNV (const char *name, Value value) |
| NameValue を生成する. | |
| SDOPackage::NameValue | NVUtil::newNVChar (const char *name, const CORBA::Char value) |
| value が CORBA::Char の NameValue を生成する | |
| SDOPackage::NameValue | NVUtil::newNVBool (const char *name, const CORBA::Boolean value) |
| value が CORBA::Boolean の NameValue を生成する | |
| SDOPackage::NameValue | NVUtil::newNVOctet (const char *name, const CORBA::Octet value) |
| value が CORBA::Octet の NameValue を生成する | |
| SDOPackage::NameValue | NVUtil::newNVAny (const char *name, const CORBA::Any &value) |
| value が CORBA::Any の NameValue を生成する | |
| void | NVUtil::copyFromProperties (SDOPackage::NVList &nv, const coil::Properties &prop) |
| Properties を NVList へコピーする. | |
| void | NVUtil::copyToProperties (coil::Properties &prop, const SDOPackage::NVList &nv) |
| NVList を Properties へコピーする. | |
| coil::Properties | NVUtil::toProperties (const SDOPackage::NVList &nv) |
| NVList を Properties へ変換する. | |
| const CORBA::Any & | NVUtil::find (const SDOPackage::NVList &nv, const char *name) |
| NVList から name で指定された value を返す. | |
| const CORBA::Long | NVUtil::find_index (const SDOPackage::NVList &nv, const char *name) |
| name で指定された要素のインデックスを返す | |
| bool | NVUtil::isString (const SDOPackage::NVList &nv, const char *name) |
| 指定された name の value の型が string であるか検証する | |
| bool | NVUtil::isStringValue (const SDOPackage::NVList &nv, const char *name, const char *value) |
| 指定された name の value の値が指定した文字列と一致するか検証する | |
| std::string | NVUtil::toString (const SDOPackage::NVList &nv, const char *name) |
| 指定された name の NVList を string として返す。 | |
| bool | NVUtil::appendStringValue (SDOPackage::NVList &nv, const char *name, const char *value) |
| 指定された文字列を NVList の要素に追加する。 | |
| void | NVUtil::append (SDOPackage::NVList &dest, const SDOPackage::NVList &src) |
| NVList に要素を追加する。. | |
| std::ostream & | NVUtil::dump (std::ostream &out, const SDOPackage::NVList &nv) |
| NVList に設定されている内容を文字列として出力する。. | |
| void | NVUtil::dump (const SDOPackage::NVList &nv) |
| NVList に設定されている内容を文字列として標準出力する。. | |
| std::string | NVUtil::toString (const SDOPackage::NVList &nv) |
| NVList に設定されている内容を文字列にする. | |
NameValue and NVList utility functions.
Copyright (C) 2006-2010 Noriaki Ando Task-intelligence Research Group, Intelligent Systems Research Institute, National Institute of Advanced Industrial Science and Technology (AIST), Japan All rights reserved.
1.6.3