#include <dumbnode.h>
Inheritance diagram for StartDocument:
Public Member Functions | |
StartDocument () | |
StartDocument (Node *ContextNode, AttachNodeDirection Direction, BOOL Locked=0, BOOL Mangled=0, BOOL Marked=0, BOOL Selected=0, BOOL Renderable=0) | |
StartDocument 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 122 of file dumbnode.h.
|
Definition at line 125 of file dumbnode.h. 00125 : Node() {};
|
|
StartDocument constructor.
Definition at line 129 of file dumbnode.cpp. 00135 :Node(ContextNode, Direction, Locked, Mangled, 00136 Marked, Selected, Renderable) 00137 { 00138 }
|
|
For finding the size of the node.
Reimplemented from Node. Definition at line 185 of file dumbnode.cpp. 00186 { 00187 return (sizeof(StartDocument)); 00188 }
|
|
Indicate that we ARE paper! (Overrides virtual func in Node.).
Reimplemented from Node. Definition at line 202 of file dumbnode.cpp. 00203 { 00204 return TRUE; 00205 }
|
|
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 161 of file dumbnode.cpp. 00162 { 00163 StartDocument* NodeCopy; 00164 NodeCopy = new StartDocument(); 00165 ERRORIF(NodeCopy == NULL, _R(IDE_NOMORE_MEMORY), NULL); 00166 CopyNodeContents(NodeCopy); 00167 return (NodeCopy); 00168 }
|