Class Molecule

Description

Molecule

Not currently functional!

Located in /Chem/Molecule.php (line 45)

PEAR
   |
   --Bio
      |
      --Molecule
Variable Summary
mixed $_avgMwt
mixed $_formula
mixed $_monoMwt
mixed $_name
Method Summary
$this __construct ([string $sName = ""], [float $fAvgMwt = 0], [integer $fMonoMwt = 0])
$this->_avgMwt getAvgMwt ()
(int) getMonoMwt ()
$this->_name getName ()
void setAvgMwt ( $fMwt, float $mwt)
void setMonoMwt ( $fMwt, (int) $monoMwt)
void setName ( $sName, (string) $name)
void showVars ()
Variables
mixed $_avgMwt (line 52)
mixed $_formula (line 50)
mixed $_formulaArray = array () (line 51)
mixed $_monoMwt (line 53)
mixed $_name (line 49)

Inherited Variables

Inherited from Bio

Bio::$bWarnings
Methods
Constructor __construct (line 68)

function __construct

  • return: object
  • access: public
$this __construct ([string $sName = ""], [float $fAvgMwt = 0], [integer $fMonoMwt = 0])
  • string $sName: The name of the molecule
  • float $fAvgMwt: The Avg. molecular weight
  • integer $fMonoMwt: The Monoisotopic mol wt.

Redefinition of:
Bio::__construct()
function Bio ()
getAvgMwt (line 124)

function getAvgMwt()

accessor for this->_avgMwt

$this->_avgMwt getAvgMwt ()
getMonoMwt (line 90)

function getMwt

accessor for this->_monoMwt

  • access: public
(int) getMonoMwt ()
getName (line 157)

function getName

accessor for this->_name

$this->_name getName ()
setAvgMwt (line 140)

function setAvgMwt

  • access: public
void setAvgMwt ( $fMwt, float $mwt)
  • float $mwt
  • $fMwt
setMonoMwt (line 107)

function setMwt

  • access: public
void setMonoMwt ( $fMwt, (int) $monoMwt)
  • (int) $monoMwt
  • $fMwt
setName (line 171)

function setName

  • access: public
void setName ( $sName, (string) $name)
  • (string) $name
  • $sName
showVars (line 186)

function showVars

void showVars ()

Inherited Methods

Inherited From Bio

Bio::__construct()
Bio::printWithNl()
Class Constants

Inherited Constants

Inherited from Bio

Bio::NEWLINE

Documentation generated on Sun, 28 Sep 2008 11:09:26 +0200 by phpDocumentor 1.4.2