add ldsordbase to api doc

svn: r12753
This commit is contained in:
Benny Malengier 2009-07-02 08:28:29 +00:00
parent b12dd97e71
commit 2b2f132d8c
2 changed files with 17 additions and 11 deletions

View File

@ -103,8 +103,6 @@ DateBase
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
UrlBase UrlBase
==================================== ====================================
.. automodule:: gen.lib.urlbase .. automodule:: gen.lib.urlbase
@ -113,6 +111,14 @@ UrlBase
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
LdsOrdBase
====================================
.. automodule:: gen.lib.ldsordbase
.. autoclass:: LdsOrdBase
:members:
:undoc-members:
:show-inheritance:
***************************** *****************************
Primary objects Primary objects
***************************** *****************************

View File

@ -72,21 +72,21 @@ class LdsOrdBase(object):
def add_lds_ord(self, lds_ord): def add_lds_ord(self, lds_ord):
""" """
Add the L{LdsOrd} instance to the object's list of lds_ordes. Add the :class:`~gen.lib.ldsord.LdsOrd` instance to the object's list of lds_ordes.
:param lds_ord: L{LdsOrd} instance to add to the object's lds_ord list :param lds_ord: :class:`~gen.lib.ldsord.LdsOrd` instance to add to the object's lds_ord list
:type lds_ord: list :type lds_ord: list
""" """
self.lds_ord_list.append(lds_ord) self.lds_ord_list.append(lds_ord)
def remove_lds_ord(self, lds_ord): def remove_lds_ord(self, lds_ord):
""" """
Remove the specified L{LdsOrd} instance from the lds_ord list. Remove the specified :class:`~gen.lib.ldsord.LdsOrd` instance from the lds_ord list.
If the instance does not exist in the list, the operation has no effect. If the instance does not exist in the list, the operation has no effect.
:param lds_ord: L{LdsOrd} instance to remove from the list :param lds_ord: :class:`~gen.lib.ldsord.LdsOrd` instance to remove from the list
:type lds_ord: L{LdsOrd} :type lds_ord: :class:`~gen.lib.ldsord.LdsOrd`
:returns: True if the lds_ord was removed, False if it was not in the list. :returns: True if the lds_ord was removed, False if it was not in the list.
:rtype: bool :rtype: bool
@ -99,18 +99,18 @@ class LdsOrdBase(object):
def get_lds_ord_list(self): def get_lds_ord_list(self):
""" """
Return the list of L{LdsOrd} instances associated with the object. Return the list of :class:`~gen.lib.ldsord.LdsOrd` instances associated with the object.
:returns: Returns the list of L{LdsOrd} instances :returns: Returns the list of :class:`~gen.lib.ldsord.LdsOrd` instances
:rtype: list :rtype: list
""" """
return self.lds_ord_list return self.lds_ord_list
def set_lds_ord_list(self, lds_ord_list): def set_lds_ord_list(self, lds_ord_list):
""" """
Assign the passed list to the object's list of L{LdsOrd} instances. Assign the passed list to the object's list of :class:`~gen.lib.ldsord.LdsOrd` instances.
:param lds_ord_list: List of L{LdsOrd} instances to be associated :param lds_ord_list: List of :class:`~gen.lib.ldsord.LdsOrd` instances to be associated
with the object with the object
:type lds_ord_list: list :type lds_ord_list: list
""" """