From 4165f65e739096f4b224daec5d74b6d5f7a62e8d Mon Sep 17 00:00:00 2001 From: Stef Date: Sat, 24 Jul 2004 19:06:51 +0000 Subject: - Post processing code cleanup. --- src/sablo.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/sablo.h') diff --git a/src/sablo.h b/src/sablo.h index aecde18..196b70b 100644 --- a/src/sablo.h +++ b/src/sablo.h @@ -777,6 +777,8 @@ namespace DOM Element(const Element& node) : Node(node) {} + Element& operator=(const Node& other) + { Node::operator=(other); return *this; } Element& operator=(const Element& other) { Node::operator=(other); return *this; } Element& operator=(const void* null) @@ -946,6 +948,8 @@ namespace DOM CharacterData(const Node& node) : Node(node) { } + CharacterData& operator=(const Node& other) + { Node::operator=(other); return *this; } CharacterData& operator=(const CharacterData& other) { Node::operator=(other); return *this; } CharacterData& operator=(const void* null) @@ -1109,6 +1113,8 @@ namespace DOM Comment(const Comment& node) : CharacterData(node) { } + Comment& operator=(const Node& other) + { Node::operator=(other); return *this; } Comment& operator=(const Comment& other) { CharacterData::operator=(other); return *this; } Comment& operator=(void* null) @@ -1133,6 +1139,8 @@ namespace DOM ProcessingInstruction(const ProcessingInstruction& node) : Node(node) { } + ProcessingInstruction& operator=(const Node& other) + { Node::operator=(other); return *this; } ProcessingInstruction& operator=(const ProcessingInstruction& other) { Node::operator=(other); return *this; } ProcessingInstruction& operator=(void* null) @@ -1182,6 +1190,8 @@ namespace DOM DocumentFragment(const DocumentFragment& node) : Node(node) { } + DocumentFragment& operator=(const Node& other) + { Node::operator=(other); return *this; } DocumentFragment& operator=(const DocumentFragment& other) { Node::operator=(other); return *this; } DocumentFragment& operator=(void* null) @@ -1200,6 +1210,8 @@ namespace DOM Entity(const Entity& node) : Node(node) { } + Entity& operator=(const Node& other) + { Node::operator=(other); return *this; } Entity& operator=(const Entity& other) { Node::operator=(other); return *this; } Entity& operator=(void* null) @@ -1245,6 +1257,8 @@ namespace DOM EntityReference(const EntityReference& node) : Node(node) { } + EntityReference& operator=(const Node& other) + { Node::operator=(other); return *this; } EntityReference& operator=(const EntityReference& other) { Node::operator=(other); return *this; } EntityReference& operator=(void* null) @@ -1263,6 +1277,8 @@ namespace DOM Notation(const Notation& node) : Node(node) { } + Notation& operator=(const Node& other) + { Node::operator=(other); return *this; } Notation& operator=(const Notation& other) { Node::operator=(other); return *this; } Notation& operator=(void* null) @@ -1299,6 +1315,8 @@ namespace DOM DocumentType(const DocumentType& node) : Node(node) { } + DocumentType& operator=(const Node& other) + { Node::operator=(other); return *this; } DocumentType& operator=(const DocumentType& other) { Node::operator=(other); return *this; } DocumentType& operator=(void* null) -- cgit v1.2.3