function __construct (constructor)
$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 ()
function getAtomicNo()
accessor for this->_atomicNo
$this->_atomicNo
getAtomicNo
()
function getAvgMwt()
$this->_avgMwt
getAvgMwt
(none 0)
-
none
0: accessor for this->_avgMwt
function getMonoMwt()
accessor for this->_monoMwt
(int)
getMonoMwt
(none 0)
function getName()
$this->_name
getName
()
function getSymbol()
accessor for this->_symbol
$this->_symbol
getSymbol
()
function setAtomicNo()
void
setAtomicNo
(string $atomicNo)
function setAvgMwt()
void
setAvgMwt
(float $mwt)
function setMonoMwt()
accessor for this->_monoMwt
(int)
setMonoMwt
(float $mwt)
function setName
void
setName
(string $name)
function setSymbol()
void
setSymbol
(string $symbol)
function showVars
void
showVars
(none 0)
Inherited Methods
Inherited From Bio
Bio::__construct()
Bio::printWithNl()