Module external_references_data :: Class CexternalReferences
[hide private]
[frames] | no frames]

Class CexternalReferences

source code

This class encapsulates the external references object, which is a set of external reference objects

Instance Methods [hide private]
 
__init__(self, node=None)
Constructor of the object
source code
CexternalReference
__iter__(self)
Iterator that returns all the external reference objects
source code
 
add_external_reference(self, ext_ref)
Adds an external reference to the layer
source code
xml Element
get_node(self)
Returns the node of the element
source code
Method Details [hide private]

__init__(self, node=None)
(Constructor)

source code 

Constructor of the object

Parameters:
  • node (xml Element or None (to create and empty one)) - this is the node of the element. If it is None it will create a new object

__iter__(self)

source code 

Iterator that returns all the external reference objects

Returns: CexternalReference
list of external references (iterator)

add_external_reference(self, ext_ref)

source code 

Adds an external reference to the layer

Parameters:

get_node(self)

source code 

Returns the node of the element

Returns: xml Element
the node of the element