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

Module stack_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
  StackManifest
Object representation of a ROS manifest file
Functions
str
stack_file(stack, required=True)
Returns: path to manifest file of stack
source code
StackManifest
parse_file(file)
Parse stack.xml file
source code
StackManifest
parse(string, filename='string')
Parse stack.xml string contents
source code
Variables
  STACK_FILE = 'stack.xml'
  __package__ = 'roslib'
Function Details

stack_file(stack, required=True)

source code 
Parameters:
  • stack (str) - stack name
  • required (bool) - require that the directory exist
Returns: str
path to manifest file of stack
Raises:

parse_file(file)

source code 

Parse stack.xml file

Parameters:
  • file - stack.xml file path
  • file - str
Returns: StackManifest
StackManifest instance

parse(string, filename='string')

source code 

Parse stack.xml string contents

Parameters:
  • string (str) - stack.xml contents
Returns: StackManifest
StackManifest instance