void NxsReader::ClearContent (  )  [virtual]

throws away references to all blocks that that have been read.

If the block was registered with the reader, then "Reset" is called on the block. If the block came from a factory then the reference to the block is removed from the reader (resulting in a memory leak if the client code does not delete the block). This can be called if the client would like to store the information from the NEXUS file, and get rid of the blocks to save memory (but still maintain things like factories that were registered with the NxsReader and tweaks to the default settings).

Reimplemented in PublicNexusReader, and ExceptionRaisingNxsReader.

Definition at line 761 of file nxsreader.cpp.

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