Functions
rqt_py_common.ini_helper Namespace Reference

Functions

def is_string (s)
 
def pack (data)
 
def unpack (data)
 

Function Documentation

◆ is_string()

def rqt_py_common.ini_helper.is_string (   s)
Check if the argument is a string which works for both Python 2 and 3.

Definition at line 68 of file ini_helper.py.

◆ pack()

def rqt_py_common.ini_helper.pack (   data)
Packs 'data' into a form that can be easily and readably written to an ini file
:param data: A list of strings or a list of items with a 'text' method to be flattened into a string ''list''
:return: A string suitable for output to ini files ''str''

Definition at line 34 of file ini_helper.py.

◆ unpack()

def rqt_py_common.ini_helper.unpack (   data)
Unpacks the values read from an ini file
:param data: An entry taken from an ini file ''list or string''
:return: A list of strings ''list''

Definition at line 55 of file ini_helper.py.



rqt_py_common
Author(s): Dorian Scholz , Isaac Saito, Dirk Thomas
autogenerated on Mon May 16 2022 02:49:40