NVUtil.h File Reference

NameValue and NVList utility functions. More...

#include <string>
#include <iostream>
#include <rtm/idl/SDOPackageSkel.h>
#include <rtm/Properties.h>

Go to the source code of this file.

Namespaces

namespace  NVUtil

Functions

template<class Value>
SDOPackage::NameValue NVUtil::newNV (const char *name, Value value)
 Create NameVale.
SDOPackage::NameValue NVUtil::newNVChar (const char *name, const CORBA::Char value)
 Create CORBA::string value type NameValeCreate CORBA::Char value type NameVale.
SDOPackage::NameValue NVUtil::newNVBool (const char *name, const CORBA::Boolean value)
 Create CORBA::Boolean value type NameVale.
SDOPackage::NameValue NVUtil::newNVOctet (const char *name, const CORBA::Octet value)
 Create CORBA::Octet value type NameVale.
SDOPackage::NameValue NVUtil::newNVAny (const char *name, const CORBA::Any &value)
void NVUtil::copyFromProperties (SDOPackage::NVList &nv, const RTC::Properties &prop)
 Copy to NVList from Proeprties.
void NVUtil::copyToProperties (RTC::Properties &prop, const SDOPackage::NVList &nv)
RTC::Properties NVUtil::toProperties (const SDOPackage::NVList &nv)
const CORBA::Any & NVUtil::find (const SDOPackage::NVList &nv, const char *name)
 Get value in NVList specified by name.
const CORBA::Long NVUtil::find_index (const SDOPackage::NVList &nv, const char *name)
bool NVUtil::isString (const SDOPackage::NVList &nv, const char *name)
 Whether the name of NVList's value is CORBA::string.
bool NVUtil::isStringValue (const SDOPackage::NVList &nv, const char *name, const char *value)
std::string NVUtil::toString (const SDOPackage::NVList &nv, const char *name)
 Get string value in NVList specified by name.
bool NVUtil::appendStringValue (SDOPackage::NVList &nv, const char *name, const char *value)
void NVUtil::append (SDOPackage::NVList &dest, const SDOPackage::NVList &src)
void NVUtil::dump (SDOPackage::NVList &nv)


Detailed Description

NameValue and NVList utility functions.

Date:
Date
2007/04/23 04:54:32
Author:
Noriaki Ando <n-ando@aist.go.jp>
Copyright (C) 2006 Noriaki Ando Task-intelligence Research Group, Intelligent Systems Research Institute, National Institute of Advanced Industrial Science and Technology (AIST), Japan All rights reserved.

Id
NVUtil.h,v 1.6 2007/04/23 04:54:32 n-ando Exp

Generated on Tue Sep 25 00:47:16 2007 for OpenRTM by  doxygen 1.4.6