bool NxsCharactersBlock::HandleNextTokenState ( NxsToken token,
unsigned  taxNum,
unsigned  charNum,
NxsDiscreteStateRow &  row,
NxsDiscreteDatatypeMapper mapper,
const NxsDiscreteStateRow *  firstTaxonRow,
const NxsString nameStr 
) [protected]

Called from HandleNextState to read in the next state when TOKENS was specified.

Looks up state in character states listed for the character to make sure it is a valid state, and returns state's value (0, 1, 2, ...). Note: does NOT handle adding the state's value to matrix. Save the return value (call it k) and use the following command to add it to matrix: matrix->AddState(i, j, k);

Definition at line 3194 of file nxscharactersblock.cpp.

 All Classes Functions Variables Enumerations Enumerator Friends
Generated on Mon Mar 29 16:37:12 2010 for NCL by  doxygen 1.6.3