void NxsReader::Reassign ( NxsBlock oldb,
NxsBlock newb 
)

Reassign should be called if a block (`oldb') is about to be deleted (perhaps to make way for new data).

Create the new block (`newb') before deleting `oldb', then call Reassign to replace `oldb' in `blockList' with `newb'. Assumes `oldb' exists and is in `blockList'.

This function is necessary in v2.0, but replacement of blocks is more easily done with block factories in NCL v2.1 and higher.

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