PyPedal::pyp_newclasses::SimAnimal Class Reference

The SimAnimal() class is a placeholder used for simulating animals. More...

List of all members.

Public Member Functions

def __init__
 __init__() initializes a SimAnimal() object.
def printme
 printme() prints a summary of the data stored in a SimAnimal() object.
def stringme
 stringme() returns the data stored in a SimAnimal() object as a string.

Public Attributes

 animalID
 sireID
 damID
 sex
 gen


Detailed Description

The SimAnimal() class is a placeholder used for simulating animals.

The simple class is a placeholder used for simulating animals.

Definition at line 1664 of file pyp_newclasses.py.


Member Function Documentation

def PyPedal::pyp_newclasses::SimAnimal::__init__ (   self,
  animalID,
  sireID = 0,
  damID = 0,
  sex = 'u',
  gen = 0 
)

__init__() initializes a SimAnimal() object.

Parameters:
animalID Animal's ID.
sireID Sire's ID.
damID Dam's ID.
sex Sex of animal.
Returns:
An instance of a SimAnimal() object populated with data object

Definition at line 1674 of file pyp_newclasses.py.

def PyPedal::pyp_newclasses::SimAnimal::printme (   self  ) 

printme() prints a summary of the data stored in a SimAnimal() object.

Parameters:
self Reference to the current object
Returns:
None None

Definition at line 1686 of file pyp_newclasses.py.

def PyPedal::pyp_newclasses::SimAnimal::stringme (   self  ) 

stringme() returns the data stored in a SimAnimal() object as a string.

Parameters:
self Reference to the current NewAnimal() object
Returns:
None None

Definition at line 1698 of file pyp_newclasses.py.


The documentation for this class was generated from the following file:

Generated on Thu May 1 12:33:44 2008 for PyPedal by  doxygen 1.5.5