#include <dumbnode.h>
Inheritance diagram for EndDocument:
Public Member Functions | |
EndDocument () | |
EndDocument (Node *ContextNode, AttachNodeDirection Direction, BOOL Locked=0, BOOL Mangled=0, BOOL Marked=0, BOOL Selected=0, BOOL Renderable=0) | |
EndDocument constructor. | |
virtual UINT32 | GetNodeSize () const |
For finding the size of the node. | |
virtual BOOL | IsPaper () const |
Indicate that we ARE paper! (Overrides virtual func in Node.). | |
Protected Member Functions | |
virtual Node * | SimpleCopy () |
This method returns a shallow copy of the node with all Node pointers NULL. The function is virtual, and must be defined for all derived classes. |
Definition at line 162 of file dumbnode.h.
|
Definition at line 166 of file dumbnode.h. 00166 : Node() {};
|
|
EndDocument constructor.
Definition at line 240 of file dumbnode.cpp. 00246 :Node(ContextNode, Direction, Locked, Mangled, 00247 Marked, Selected, Renderable) 00248 { 00249 }
|
|
For finding the size of the node.
Reimplemented from Node. Definition at line 297 of file dumbnode.cpp. 00298 { 00299 return (sizeof(EndDocument)); 00300 }
|
|
Indicate that we ARE paper! (Overrides virtual func in Node.).
Reimplemented from Node. Definition at line 314 of file dumbnode.cpp. 00315 { 00316 return TRUE; 00317 }
|
|
This method returns a shallow copy of the node with all Node pointers NULL. The function is virtual, and must be defined for all derived classes.
Reimplemented from Node. Definition at line 273 of file dumbnode.cpp. 00274 { 00275 EndDocument* NodeCopy; 00276 NodeCopy = new EndDocument(); 00277 ERRORIF(NodeCopy == NULL, _R(IDE_NOMORE_MEMORY), NULL); 00278 CopyNodeContents(NodeCopy); 00279 return (NodeCopy); 00280 }
|