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).
Definition at line 542 of file nxsblock.cpp. |