top | up | prev | next

DocumentFragment Abstract Class

Definition at line 12 of DocumentFragment.hpp

Constructors

DocumentFragment()
DocumentFragment(DocumentFragment&&) delete
DocumentFragment(const DocumentFragment&) delete

Member Functions

std::unique_ptr<Node> CloneNode(bool deep) override
DocumentFragment& operator=(DocumentFragment&&) delete
DocumentFragment& operator=(const DocumentFragment&) delete

Constructor Details

DocumentFragment Constructor

sngxml::dom::DocumentFragment::DocumentFragment()

Definition at line 10 of DocumentFragment.cpp :
10 : ParentNode(NodeType::documentFragmentNodeU"document_fragment")
11 {
12 }


Declaration at line 15 of DocumentFragment.hpp


DocumentFragment Constructor

sngxml::dom::DocumentFragment::DocumentFragment(DocumentFragment &&) delete

Definition at line 18 of DocumentFragment.hpp


DocumentFragment Constructor

sngxml::dom::DocumentFragment::DocumentFragment(const DocumentFragment &) delete

Definition at line 16 of DocumentFragment.hpp


Member Function Details

CloneNode Member Function

std::unique_ptr<Node > sngxml::dom::DocumentFragment::CloneNode(bool deep) override

Definition at line 14 of DocumentFragment.cpp :
15 {
16     std::unique_ptr<Node> clonedDocumentFragment(new DocumentFragment());
17     if (deep)
18     {
19         ParentNode* parentNode = static_cast<ParentNode*>(clonedDocumentFragment.get());
20         CloneChildrenTo(parentNode);
21     }
22     return clonedDocumentFragment;
23 }


Declaration at line 20 of DocumentFragment.hpp

Base class overridden functions: sngxml::dom::Node::CloneNode

Calls: sngxml::dom::ParentNode::CloneChildrenTo


operator= Member Function

DocumentFragment & sngxml::dom::DocumentFragment::operator=(DocumentFragment &&) delete

Definition at line 19 of DocumentFragment.hpp


operator= Member Function

DocumentFragment & sngxml::dom::DocumentFragment::operator=(const DocumentFragment &) delete

Definition at line 17 of DocumentFragment.hpp


top | up | prev | next