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

list DEPEND_ORDERING
 
string FORMAT_3_HEADER
 
 INDENT_PATTERN = re.compile('\n *')
 
list ORDERING
 
list PEOPLE_TAGS = ['maintainer', 'author']
 

Function Documentation

def ros_introspection.package_xml.count_trailing_spaces (   s)

Definition at line 41 of file package_xml.py.

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

Definition at line 23 of file package_xml.py.

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

Definition at line 35 of file package_xml.py.

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 48 of file package_xml.py.

Variable Documentation

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.

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 16 of file package_xml.py.

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

Definition at line 12 of file package_xml.py.

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.

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

Definition at line 14 of file package_xml.py.



ros_introspection
Author(s):
autogenerated on Wed Mar 3 2021 03:56:00