|
OpenRTM-aist 2.0.2
|
NameValue and NVList utility functions. More...
#include <coil/Properties.h>#include <rtm/idl/SDOPackageSkel.h>#include <string>#include <iostream>

Go to the source code of this file.
Namespaces | |
| namespace | NVUtil |
| Utility for NameValue. | |
Functions | |
| template<class Value > | |
| SDOPackage::NameValue | NVUtil::newNV (const char *name, Value value) |
| Create NameValue. | |
| SDOPackage::NameValue | NVUtil::newNVChar (const char *name, CORBA::Char value) |
| Create NameValue typed CORBA::Char. | |
| SDOPackage::NameValue | NVUtil::newNVBool (const char *name, CORBA::Boolean value) |
| Create NameValue typed CORBA::Boolean. | |
| SDOPackage::NameValue | NVUtil::newNVOctet (const char *name, CORBA::Octet value) |
| Create NameValue typed CORBA::Octet. | |
| SDOPackage::NameValue | NVUtil::newNVAny (const char *name, const CORBA::Any &value) |
| Create NameValue typed CORBA::Any. | |
| void | NVUtil::copyFromProperties (SDOPackage::NVList &nv, const coil::Properties &prop) |
| Copy the properties to NVList. | |
| void | NVUtil::copyToProperties (coil::Properties &prop, const SDOPackage::NVList &nv) |
| Copy NVList to the Proeprties. | |
| coil::Properties | NVUtil::toProperties (const SDOPackage::NVList &nv) |
| Transform NVList to the properties. | |
| const CORBA::Any & | NVUtil::find (const SDOPackage::NVList &nv, const char *name) |
| Return the value specified by name from NVList. | |
| CORBA::Long | NVUtil::find_index (const SDOPackage::NVList &nv, const char *name) |
| Return the index of element specified by name from NVList. | |
| bool | NVUtil::isString (const SDOPackage::NVList &nv, const char *name) |
| Validate whether value type specified by name is string type. | |
| bool | NVUtil::isStringValue (const SDOPackage::NVList &nv, const char *name, const char *value) |
| Check whether the value of specified name matches the specified string. | |
| std::string | NVUtil::toString (const SDOPackage::NVList &nv, const char *name) |
| Get NVList of specifid name as string. | |
| bool | NVUtil::appendStringValue (SDOPackage::NVList &nv, const char *name, const char *value) |
| Append the specified string to element of NVList. | |
| void | NVUtil::append (SDOPackage::NVList &dest, const SDOPackage::NVList &src) |
| Append an element to NVList. | |
| std::ostream & | NVUtil::dump_to_stream (std::ostream &out, const SDOPackage::NameValue &nv) |
| Print information configured in NameValue as string type. | |
| std::ostream & | NVUtil::operator<< (std::ostream &os, const SDOPackage::NameValue &nv) |
| std::ostream & | NVUtil::operator<< (std::ostream &os, const SDOPackage::NVList &nvlist) |
| Print information configured in NVList as string type. | |
| std::ostream & | NVUtil::dump (std::ostream &out, const SDOPackage::NVList &nv) |
| Print information configured in NVList as string type. | |
| void | NVUtil::dump (const SDOPackage::NVList &nv) |
| Print information configured in NVList as a string type to Standard Outport. | |
| std::string | NVUtil::toString (const SDOPackage::NVList &nv) |
| Get information configured in NVList as a string type. | |
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.
$Id$