top | up | prev | next

EntityReference Abstract Class

Definition at line 46 of CharacterData.hpp

Constructors

EntityReference()
EntityReference(EntityReference&&) delete
EntityReference(const EntityReference&) delete
EntityReference(const std::u32string& entityRef_)

Member Functions

void Accept(Visitor& visitor) override
std::unique_ptr<Node> CloneNode(bool deep) override
void Write(CodeFormatter& formatter) override
EntityReference& operator=(EntityReference&&) delete
EntityReference& operator=(const EntityReference&) delete

Constructor Details

EntityReference Constructor

sngxml::dom::EntityReference::EntityReference()

Definition at line 72 of CharacterData.cpp :
 72 : CharacterData(NodeType::entityReferenceNodeU"entity_refefrence")
 73 {
 74 }


Declaration at line 49 of CharacterData.hpp


EntityReference Constructor

sngxml::dom::EntityReference::EntityReference(EntityReference &&) delete

Definition at line 53 of CharacterData.hpp


EntityReference Constructor

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

Definition at line 51 of CharacterData.hpp


EntityReference Constructor

sngxml::dom::EntityReference::EntityReference(const std::u32string& entityRef_)

Definition at line 76 of CharacterData.cpp :
 76 : CharacterData(NodeType::entityReferenceNodeU"entity_refefrence"entityRef_)
 77 {
 78 }


Declaration at line 50 of CharacterData.hpp


Member Function Details

Accept Member Function

void sngxml::dom::EntityReference::Accept(Visitor & visitor) override

Definition at line 92 of CharacterData.cpp :
 93 {
 94     visitor.Visit(this);
 95 }


Declaration at line 57 of CharacterData.hpp

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


CloneNode Member Function

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

Definition at line 87 of CharacterData.cpp :
 88 {
 89     return std::unique_ptr<Node>(new EntityReference(Data()));
 90 }


Declaration at line 56 of CharacterData.hpp

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

Calls: sngxml::dom::CharacterData::Data


Write Member Function

void sngxml::dom::EntityReference::Write(CodeFormatter& formatter) override

Definition at line 80 of CharacterData.cpp :
 81 {
 82     formatter.Write("&");
 83     formatter.Write(ToUtf8(Data()));
 84     formatter.Write(";");
 85 }


Declaration at line 55 of CharacterData.hpp

Base class overridden functions: sngxml::dom::CharacterData::Write

Calls: sngxml::dom::CharacterData::Data , sngxml::dom::EntityReference::Write

Called by: sngxml::dom::EntityReference::Write


operator= Member Function

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

Definition at line 54 of CharacterData.hpp


operator= Member Function

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

Definition at line 52 of CharacterData.hpp


top | up | prev | next