Package roslib :: Module manifest
[frames] | no frames]

Module manifest

source code

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

Classes
  Manifest
Object representation of a ROS manifest file
Functions
str
manifest_file(package, required=True, env=None)
Returns: path to manifest file of package
source code
Manifest
load_manifest(package)
Load manifest for specified package.
source code
Manifest
parse_file(file)
Parse manifest.xml file
source code
Manifest
parse(string, filename='string')
Parse manifest.xml string contents
source code
Variables
  MANIFEST_FILE = 'manifest.xml'
  __package__ = 'roslib'
Function Details

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

source code 
Parameters:
  • package (str), str - package name
  • env (dict) - override os.environ dictionary
  • required (bool) - require that the directory exist
Returns: str
path to manifest file of package
Raises:

load_manifest(package)

source code 

Load manifest for specified package.

Parameters:
  • pacakge - package name
  • package (str)
Returns: Manifest
Manifest instance
Raises:

parse_file(file)

source code 

Parse manifest.xml file

Parameters:
  • file (str) - manifest.xml file path
Returns: Manifest
Manifest instance

parse(string, filename='string')

source code 

Parse manifest.xml string contents

Parameters:
  • string (str) - manifest.xml contents
Returns: Manifest
Manifest instance