Class Atom

Description

class Atom

Located in /Chem/Atom.php (line 46)

PEAR
   |
   --Bio
      |
      --Atom
Method Summary
$this __construct (string $name,  $symbol, [float $avgMwt = 0], [ $atomicNo = 0], [int $monoMwt = 0])
$this->_atomicNo getAtomicNo ()
$this->_avgMwt getAvgMwt (none 0)
(int) getMonoMwt (none 0)
$this->_name getName ()
$this->_symbol getSymbol ()
void setAtomicNo (string $atomicNo)
void setAvgMwt (float $mwt)
(int) setMonoMwt (float $mwt)
void setName (string $name)
void setSymbol (string $symbol)
void showVars (none 0)
Variables

Inherited Variables

Inherited from Bio

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

function __construct (constructor)

  • access: public
$this __construct (string $name,  $symbol, [float $avgMwt = 0], [ $atomicNo = 0], [int $monoMwt = 0])
  • string $name: The name of the molecule
  • int $monoMwt: The Monoisotopic mol wt.
  • float $avgMwt: The Avg. molecular weight
  • $symbol
  • $atomicNo

Redefinition of:
Bio::__construct()
function Bio ()
getAtomicNo (line 229)

function getAtomicNo()

accessor for this->_atomicNo

  • access: public
$this->_atomicNo getAtomicNo ()
getAvgMwt (line 130)

function getAvgMwt()

  • access: public
$this->_avgMwt getAvgMwt (none 0)
  • none 0: accessor for this->_avgMwt
getMonoMwt (line 95)

function getMonoMwt()

accessor for this->_monoMwt

  • access: public
(int) getMonoMwt (none 0)
  • none 0
getName (line 162)

function getName()

  • access: public
  • uses: accessor - for this->_name
$this->_name getName ()
getSymbol (line 196)

function getSymbol()

accessor for this->_symbol

  • access: public
$this->_symbol getSymbol ()
setAtomicNo (line 246)

function setAtomicNo()

  • access: public
void setAtomicNo (string $atomicNo)
  • string $atomicNo
setAvgMwt (line 146)

function setAvgMwt()

  • access: public
void setAvgMwt (float $mwt)
  • float $mwt
setMonoMwt (line 112)

function setMonoMwt()

accessor for this->_monoMwt

  • access: public
(int) setMonoMwt (float $mwt)
  • float $mwt
setName (line 179)

function setName

  • access: public
void setName (string $name)
  • string $name: name
setSymbol (line 213)

function setSymbol()

  • access: public
void setSymbol (string $symbol)
  • string $symbol
showVars (line 262)

function showVars

  • access: public
void showVars (none 0)
  • none 0

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:09 +0200 by phpDocumentor 1.4.2