Package roslib :: Module manifestlib :: Class Export
[frames] | no frames]

Class Export

source code

object --+
         |
        Export

Manifest 'export' tag

Instance Methods
 
__init__(self, tag, attrs, str)
Create new export instance.
source code
str
get(self, attr)
Returns: value of attribute or None if attribute not set
source code
str
xml(self)
Returns: export instance represented as manifest XML
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, tag, attrs, str)
(Constructor)

source code 

Create new export instance.

Parameters:
  • tag (str) - name of the XML tag
  • attrs (dict) - dictionary of XML attributes for this export tag
  • str (str) - string value contained by tag, if any
Overrides: object.__init__

get(self, attr)

source code 
Returns: str
value of attribute or None if attribute not set

xml(self)

source code 
Returns: str
export instance represented as manifest XML