NxsBlock * NxsBlock::CloneBlock ( NxsBlockMapper &  memo  )  const [virtual]

Should returns a new instance (deep copy) of the same type of block with the same state.

Note the NxsReader field should not be cloned (it should be aliased).

NxsBlock version throws NxsUnimplementedException (in future versions of NCL this will be a pure virtual.

NxsBlocks are expected to clone their linked blocks, but memo is passed in to avoid double cloning of shared references. memo is an mapper of an old block to a new instance (used when groups of blocks are being cloned).

Parameters:
memo memo is an mapper of an old block to a new instance (used when groups of blocks are being cloned)

Definition at line 542 of file nxsblock.cpp.

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