Node* NodeMouldGroup::SimpleCopy() { NodeMouldGroup* pCopyOfNode = new NodeMouldGroup(); ERROR1IF(pCopyOfNode == NULL,NULL,_R(IDE_NOMORE_MEMORY)); CopyNodeContents(pCopyOfNode); return (pCopyOfNode); }
Node* NodeBrush::SimpleCopy() { NodeBrush* pCopyOfNode = new NodeBrush(); if (pCopyOfNode != NULL) CopyNodeContents(pCopyOfNode); return (pCopyOfNode); }
Node* AttrWebAddress::SimpleCopy() { AttrWebAddress* NodeCopy = new AttrWebAddress(); ERRORIF(NodeCopy == NULL, _R(IDE_NOMORE_MEMORY), NULL); CopyNodeContents(NodeCopy); return NodeCopy; }
/*********************************************************************************************** > Node* TemplateAttribute::SimpleCopy() Author: Colin_Barfoot (Xara Group Ltd) <*****@*****.**> Created: 27/06/97 Purpose: See base class for details. ***********************************************************************************************/ Node* TemplateAttribute::SimpleCopy() { TemplateAttribute* pNodeCopy = new TemplateAttribute(); ERRORIF(pNodeCopy == 0, _R(IDE_NOMORE_MEMORY), 0); CopyNodeContents(pNodeCopy); return pNodeCopy; }
void NodeAnimatingBitmap::PolyCopyNodeContents(NodeRenderable* pNodeCopy) { ENSURE(pNodeCopy, "Trying to copy a node's contents into a NULL node"); ENSURE(IS_A(pNodeCopy, NodeAnimatingBitmap), "PolyCopyNodeContents given wrong dest node type"); if (IS_A(pNodeCopy, NodeAnimatingBitmap)) CopyNodeContents((NodeAnimatingBitmap*)pNodeCopy); }
void Chapter::PolyCopyNodeContents(NodeRenderable* pNodeCopy) { ENSURE(pNodeCopy, "Trying to copy a node's contents into a NULL node"); ENSURE(IS_A(pNodeCopy, Chapter), "PolyCopyNodeContents given wrong dest node type"); if (IS_A(pNodeCopy, Chapter)) CopyNodeContents((Chapter*)pNodeCopy); }
Node* NodeAttribute::SimpleCopy() { NodeAttribute* NodeCopy = new NodeAttribute(); ERRORIF(NodeCopy == NULL, _R(IDE_NOMORE_MEMORY), NULL); CopyNodeContents(NodeCopy); return NodeCopy; }
void TemplateAttribute::PolyCopyNodeContents(NodeRenderable* pNodeCopy) { ENSURE(pNodeCopy, "Trying to copy a node's contents into a NULL node"); ENSURE(IS_A(pNodeCopy, TemplateAttribute), "PolyCopyNodeContents given wrong dest node type"); if (IS_A(pNodeCopy, TemplateAttribute)) CopyNodeContents((TemplateAttribute*)pNodeCopy); }
Node* NodeEffect::SimpleCopy() { NodeEffect* NodeCopy; NodeCopy = new NodeEffect(); ERRORIF(NodeCopy == NULL, _R(IDE_NOMORE_MEMORY), NULL); CopyNodeContents(NodeCopy); return (NodeCopy); }
Node* EndDocument::SimpleCopy() { EndDocument* NodeCopy; NodeCopy = new EndDocument(); ERRORIF(NodeCopy == NULL, _R(IDE_NOMORE_MEMORY), NULL); CopyNodeContents(NodeCopy); return (NodeCopy); }
Node* Chapter::SimpleCopy() { Chapter* NodeCopy; NodeCopy = new Chapter(); ERRORIF(NodeCopy == NULL, _R(IDE_NOMORE_MEMORY), NULL); CopyNodeContents(NodeCopy); return (NodeCopy); }
void NodeSimpleShape::PolyCopyNodeContents(NodeRenderable* pNodeCopy) { ENSURE(pNodeCopy, "Trying to copy a node's contents into a NULL node"); ENSURE(IS_A(pNodeCopy, NodeSimpleShape), "PolyCopyNodeContents given wrong dest node type"); if (IS_A(pNodeCopy, NodeSimpleShape)) CopyNodeContents((NodeSimpleShape*)pNodeCopy); }
void AttrWebAddress::PolyCopyNodeContents(NodeRenderable* pNodeCopy) { ENSURE(pNodeCopy, "Trying to copy a node's contents into a NULL node"); ENSURE(IS_A(pNodeCopy, AttrWebAddress), "PolyCopyNodeContents given wrong dest node type"); if (IS_A(pNodeCopy, AttrWebAddress)) CopyNodeContents((AttrWebAddress*)pNodeCopy); }
Node* NodeEllipse::SimpleCopy() { // Make a new NodeSimpleShape and then copy things into it NodeEllipse* NodeCopy = new NodeEllipse(); if (NodeCopy) CopyNodeContents(NodeCopy); return NodeCopy; }
Node* NodeSimpleShape::SimpleCopy() { // Make a new NodeSimpleShape and then copy things into it TRACE( _T("NodeSimpleShape::SimpleCopy() - Should not be called\n")); NodeSimpleShape* NodeCopy = new NodeSimpleShape(); if (NodeCopy) CopyNodeContents(NodeCopy); return NodeCopy; }
/******************************************************************************************** > Node* StyleReferenceAttribute::SimpleCopy() Author: Colin_Barfoot (Xara Group Ltd) <*****@*****.**> Created: 27/06/97 Purpose: Creates a new copy of this StyleReferenceAttribute Returns: A new Node ********************************************************************************************/ Node* StyleReferenceAttribute::SimpleCopy() { ENSURE_NOT_NULL(Value.m_pStyle); ENSURE_KIND(Value.m_pStyle, WizOpStyle); WizOpStyle& TrueStyle = (WizOpStyle&)*Value.m_pStyle; StyleReferenceAttribute* pNodeCopy = new StyleReferenceAttribute(TrueStyle); ERRORIF(pNodeCopy == NULL, _R(IDE_NOMORE_MEMORY), NULL); CopyNodeContents(pNodeCopy); return pNodeCopy; }
Node* NodeAnimatingBitmap::SimpleCopy() { NodeAnimatingBitmap* pCopy = new NodeAnimatingBitmap; if (pCopy) CopyNodeContents(pCopy); return pCopy; }