void NxsReader::Add ( NxsBlock newBlock  )  [virtual]

Adds `newBlock' to the end of the list of NxsBlock objects growing from `blockList'.

If `blockList' points to NULL, this function sets `blockList' to point to `newBlock'. Calls SetNexus method of `newBlock' to inform `newBlock' of the NxsReader object that now owns it. This is useful when the `newBlock' object needs to communicate with the outside world through the NxsReader object, such as when it issues progress reports as it is reading the contents of its block.

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