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. |