Classes | Functions | Variables
ros_introspection.package_xml Namespace Reference

Classes

class  PackageXML
 

Functions

def count_trailing_spaces (s)
 
def get_ordering_index (name, whiny=True)
 
def get_package_tag_index (s, key='< package')
 
def replace_package_set (manifest, source_tags, new_tag)
 

Variables

dictionary BUILD_TYPES = {'catkin', 'cmake'}
 
list DEPEND_ORDERING
 
string FORMAT_3_HEADER
 
 INDENT_PATTERN = re.compile('\n *')
 
list ORDERING
 
list PEOPLE_TAGS = ['maintainer', 'author']
 

Function Documentation

◆ count_trailing_spaces()

def ros_introspection.package_xml.count_trailing_spaces (   s)

Definition at line 43 of file package_xml.py.

◆ get_ordering_index()

def ros_introspection.package_xml.get_ordering_index (   name,
  whiny = True 
)

Definition at line 25 of file package_xml.py.

◆ get_package_tag_index()

def ros_introspection.package_xml.get_package_tag_index (   s,
  key = '<package' 
)

Definition at line 37 of file package_xml.py.

◆ replace_package_set()

def ros_introspection.package_xml.replace_package_set (   manifest,
  source_tags,
  new_tag 
)
Replace all the elements with tags in source_tags with new elements with new_tag.

Definition at line 50 of file package_xml.py.

Variable Documentation

◆ BUILD_TYPES

dictionary ros_introspection.package_xml.BUILD_TYPES = {'catkin', 'cmake'}

Definition at line 16 of file package_xml.py.

◆ DEPEND_ORDERING

list ros_introspection.package_xml.DEPEND_ORDERING
Initial value:
1 = ['buildtool_depend', 'depend', 'build_depend', 'build_export_depend',
2  'run_depend', 'exec_depend', 'test_depend', 'doc_depend']

Definition at line 6 of file package_xml.py.

◆ FORMAT_3_HEADER

string ros_introspection.package_xml.FORMAT_3_HEADER
Initial value:
1 = """<?xml version="1.0"?>
2 <?xml-model
3  href="http://download.ros.org/schema/package_format3.xsd"
4  schematypens="http://www.w3.org/2001/XMLSchema"?>
5 """

Definition at line 18 of file package_xml.py.

◆ INDENT_PATTERN

ros_introspection.package_xml.INDENT_PATTERN = re.compile('\n *')

Definition at line 12 of file package_xml.py.

◆ ORDERING

list ros_introspection.package_xml.ORDERING
Initial value:
1 = ['name', 'version', 'description',
2  ['maintainer', 'license', 'author', 'url']] + DEPEND_ORDERING + ['export']

Definition at line 9 of file package_xml.py.

◆ PEOPLE_TAGS

list ros_introspection.package_xml.PEOPLE_TAGS = ['maintainer', 'author']

Definition at line 14 of file package_xml.py.



ros_introspection
Author(s):
autogenerated on Tue Jun 21 2022 03:01:38