top | up | prev | next

CDataSection Abstract Class

Definition at line 60 of CharacterData.hpp

Constructors

CDataSection()
CDataSection(CDataSection&&) delete
CDataSection(const CDataSection&) delete
CDataSection(const std::u32string& data_)

Member Functions

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

Constructor Details

CDataSection Constructor

sngxml::dom::CDataSection::CDataSection()

Definition at line 97 of CharacterData.cpp :
 97 : Text(NodeType::cdataSectionNodeU"cdata_section")
 98 {
 99 }


Declaration at line 63 of CharacterData.hpp


CDataSection Constructor

sngxml::dom::CDataSection::CDataSection(CDataSection &&) delete

Definition at line 67 of CharacterData.hpp


CDataSection Constructor

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

Definition at line 65 of CharacterData.hpp


CDataSection Constructor

sngxml::dom::CDataSection::CDataSection(const std::u32string& data_)

Definition at line 101 of CharacterData.cpp :
101 : Text(NodeType::cdataSectionNodeU"cdata_section"data_)
102 {
103 }


Declaration at line 64 of CharacterData.hpp


Member Function Details

Accept Member Function

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

Definition at line 117 of CharacterData.cpp :
118 {
119     visitor.Visit(this);
120 }


Declaration at line 71 of CharacterData.hpp

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


CloneNode Member Function

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

Definition at line 112 of CharacterData.cpp :
113 {
114     return std::unique_ptr<Node>(new CDataSection(Data()));
115 }


Declaration at line 70 of CharacterData.hpp

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

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


Write Member Function

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

Definition at line 105 of CharacterData.cpp :
106 {
107     formatter.Write("<![CDATA[");
108     formatter.Write(ToUtf8(Data()));
109     formatter.Write("]]>");
110 }


Declaration at line 69 of CharacterData.hpp

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

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

Called by: sngxml::dom::CDataSection::Write


operator= Member Function

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

Definition at line 68 of CharacterData.hpp


operator= Member Function

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

Definition at line 66 of CharacterData.hpp


top | up | prev | next