OpenRTM-aist-Python 1.2.1
|
NameValue and NVList utility functions. More...
Classes | |
class | OpenRTM_aist.NVUtil.to_prop |
class | OpenRTM_aist.NVUtil.nv_find |
Functions | |
def | OpenRTM_aist.NVUtil.newNV (name, value) |
Create NameVale. More... | |
def | OpenRTM_aist.NVUtil.copyFromProperties (nv, prop) |
Copy to NVList from Proeprties. More... | |
def | OpenRTM_aist.NVUtil.copyToProperties (prop, nvlist) |
Copy to Proeprties from NVList. More... | |
def | OpenRTM_aist.NVUtil.toProperties (nv) |
coil::Properties toProperties(const SDOPackage::NVList& nv); | |
def | OpenRTM_aist.NVUtil.find (nv, name) |
Get value in NVList specified by name. More... | |
def | OpenRTM_aist.NVUtil.toString (nv, name=None) |
Get string value in NVList specified by name. More... | |
def | OpenRTM_aist.NVUtil.dump_to_stream (out, nv) |
Print information configured in NVList as a string type std::ostream& dump_to_stream(std::ostream& out, const SDOPackage::NVList& nv) | |
NameValue and NVList utility functions.
Copyright (C) 2006-2008 Noriaki Ando Task-intelligence Research Group, Intelligent Systems Research Institute, National Institute of Advanced Industrial Science and Technology (AIST), Japan All rights reserved.
def OpenRTM_aist.NVUtil.copyFromProperties | ( | nv, | |
prop | |||
) |
Copy to NVList from Proeprties.
This operation copies Properties to NVList. Created NVList's values are CORBA::string.
nv | NVList to store Properties values |
prop | Properties that is copies from |
void copyFromProperties(SDOPackage::NVList& nv, const coil::Properties& prop);
def OpenRTM_aist.NVUtil.copyToProperties | ( | prop, | |
nvlist | |||
) |
Copy to Proeprties from NVList.
This operation copies NVList to Properties.
prop | Properties to store NVList values |
nv | NVList that is copies from |
void copyToProperties(coil::Properties& prop, const SDOPackage::NVList& nv);
def OpenRTM_aist.NVUtil.find | ( | nv, | |
name | |||
) |
Get value in NVList specified by name.
This operation returns Any type of value specified by name. Created NVList's values are CORBA::string.
nv | NVList to be searched |
prop | name to seartch in NVList |
def OpenRTM_aist.NVUtil.newNV | ( | name, | |
value | |||
) |
Create NameVale.
This operation creates NameVale.
name | name of NameValue |
value | value of NameValue |
def OpenRTM_aist.NVUtil.toString | ( | nv, | |
name = None |
|||
) |
Get string value in NVList specified by name.
This operation returns string value in NVList specified by name. If the value in NVList specified by name is not CORBA::string type this operation returns empty string value.
nv | NVList to be searched |
name | name to to serach |