void NxsDiscreteDatatypeMapper::WriteStateCodeAsNexusString ( std::ostream &  out,
NxsDiscreteStateCell  scode,
bool  demandSymbols = true 
) const

Returns the NEXUS reperesenation of the state code `scode` which may be a multiple character string such as {DNY} Generates a NxsNCLAPIException if `c` is not a valid state code.

If the string cannot be expressed (insufficient symbols are defined) then `demandSymbols` controls the behavior. If `demandSymbols` is true than a NxsNCLAPIException is thrown. If `demandSymbols` is false then no output is written.

Definition at line 2797 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