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

Class Depend

source code

object --+
         |
        Depend

Manifest 'depend' tag

Instance Methods
 
__init__(self, package)
Create new depend instance.
source code
 
__str__(self)
str(x)
source code
 
__repr__(self)
repr(x)
source code
 
__eq__(self, obj) source code
str
xml(self)
Returns: depend instance represented as manifest XML
source code

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

Properties
  package

Inherited from object: __class__

Method Details

__init__(self, package)
(Constructor)

source code 

Create new depend instance.

Parameters:
  • package (str) - package name. must be non-empty
Overrides: object.__init__

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

xml(self)

source code 
Returns: str
depend instance represented as manifest XML