Namespaces | Functions
NVUtil.h File Reference

NameValue and NVList utility functions. More...

#include <string>
#include <iostream>
#include <coil/Properties.h>
#include <rtm/idl/SDOPackageSkel.h>
Include dependency graph for NVUtil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


 Utility for NameValue.


void NVUtil::append (SDOPackage::NVList &dest, const SDOPackage::NVList &src)
 Append an element to NVList. More...
bool NVUtil::appendStringValue (SDOPackage::NVList &nv, const char *name, const char *value)
 Append the specified string to element of NVList. More...
void NVUtil::copyFromProperties (SDOPackage::NVList &nv, const coil::Properties &prop)
 Copy the properties to NVList. More...
void NVUtil::copyToProperties (coil::Properties &prop, const SDOPackage::NVList &nv)
 Copy NVList to the Proeprties. More...
void NVUtil::dump (const SDOPackage::NVList &nv)
 Print information configured in NVList as a string type to Standard Outport. More...
std::ostream & NVUtil::dump (std::ostream &out, const SDOPackage::NVList &nv)
 Print information configured in NVList as string type. More...
const CORBA::Any & NVUtil::find (const SDOPackage::NVList &nv, const char *name)
 Return the value specified by name from NVList. More...
const CORBA::Long NVUtil::find_index (const SDOPackage::NVList &nv, const char *name)
 Return the index of element specified by name from NVList. More...
bool NVUtil::isString (const SDOPackage::NVList &nv, const char *name)
 Validate whether value type specified by name is string type. More...
bool NVUtil::isStringValue (const SDOPackage::NVList &nv, const char *name, const char *value)
 Check whether the value of specified name specified matches the specified string. More...
template<class Value >
SDOPackage::NameValue NVUtil::newNV (const char *name, Value value)
 Create NameValue. More...
SDOPackage::NameValue NVUtil::newNVAny (const char *name, const CORBA::Any &value)
 Create NameValue typed CORBA::Any. More...
SDOPackage::NameValue NVUtil::newNVBool (const char *name, const CORBA::Boolean value)
 This operation creates NameValue typed CORBA::Boolean. More...
SDOPackage::NameValue NVUtil::newNVChar (const char *name, const CORBA::Char value)
 Create NameValue typed CORBA::Char. More...
SDOPackage::NameValue NVUtil::newNVOctet (const char *name, const CORBA::Octet value)
 Create NameValue typed CORBA::Octet. More...
coil::Properties NVUtil::toProperties (const SDOPackage::NVList &nv)
 Transform NVList to the properties. More...
std::string NVUtil::toString (const SDOPackage::NVList &nv, const char *name)
 Get NVList of specifid name as string. More...
std::string NVUtil::toString (const SDOPackage::NVList &nv)
 Get information configured in NVList as a string type. More...

Detailed Description

NameValue and NVList utility functions.

2007-12-31 03:08:04
Noriaki Ando

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.

NVUtil.h 2019 2011-01-06 17:02:23Z n-ando

Definition in file NVUtil.h.

Author(s): Noriaki Ando
autogenerated on Mon Jun 10 2019 14:07:57