module documentation

Warning: do not use this library. It is unstable and most of the routines here have been superseded by other libraries (e.g. rospkg). These routines will likely be deleted in future releases.

Class Manifest Object representation of a ROS manifest file
Function load_manifest Load manifest for specified package. @param pacakge: package name @type package: str @return: Manifest instance @rtype: L{Manifest} @raise InvalidROSPkgException: if package is unknown
Function manifest_file @param package str: package name @type package: str @param env: override os.environ dictionary @type env: dict @param required: require that the directory exist @type required: bool @return: path to manifest file of package @rtype: str @raise InvalidROSPkgException: if required is True and manifest file cannot be located...
Function parse Parse manifest.xml string contents @param string: manifest.xml contents @type string: str @return: Manifest instance @rtype: L{Manifest}
Function parse_file Parse manifest.xml file @param file: manifest.xml file path @type file: str @return: Manifest instance @rtype: L{Manifest}
Constant MANIFEST_FILE Undocumented
Function _manifest_file_by_dir @param package_dir: path to package directory @type package_dir: str @param env: environment dictionary @type env: dict @param required: require that the directory exist @type required: bool @return: path to manifest file of package @rtype: str @raise InvalidROSPkgException: if required is True and manifest file cannot be located...
def load_manifest(package):

Load manifest for specified package. @param pacakge: package name @type package: str @return: Manifest instance @rtype: L{Manifest} @raise InvalidROSPkgException: if package is unknown

def manifest_file(package, required=True, env=None):

@param package str: package name @type package: str @param env: override os.environ dictionary @type env: dict @param required: require that the directory exist @type required: bool @return: path to manifest file of package @rtype: str @raise InvalidROSPkgException: if required is True and manifest file cannot be located

def parse(string, filename='string'):

Parse manifest.xml string contents @param string: manifest.xml contents @type string: str @return: Manifest instance @rtype: L{Manifest}

def parse_file(file):

Parse manifest.xml file @param file: manifest.xml file path @type file: str @return: Manifest instance @rtype: L{Manifest}

MANIFEST_FILE: str =

Undocumented

Value
'manifest.xml'
def _manifest_file_by_dir(package_dir, required=True, env=None):

@param package_dir: path to package directory @type package_dir: str @param env: environment dictionary @type env: dict @param required: require that the directory exist @type required: bool @return: path to manifest file of package @rtype: str @raise InvalidROSPkgException: if required is True and manifest file cannot be located