virtual void NxsReader::AddReadBlock ( const NxsString blockID,
NxsBlock block 
) [inline, virtual]

This function is useful after ClearContext() has been called.

Instances of blocks that have been read can be registered with reader so that future NEXUS files can be parsed with the context of those blocks. For example one might want to reregister a NxsTaxaBlock before reading a trees file, then you could call: reader->AddReadBlock("TAXA", taxaB); NOTE: if you are using a PublicNexusReader, or MultiFormatReader you should almost certainly call the type-specific forms such as reader->AddReadTaxaBlock(taxaB);

Definition at line 281 of file nxsreader.h.

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