top | up | prev | next

Text Abstract Class

Definition at line 31 of CharacterData.hpp

Constructors

Text()
Text(NodeType nodeType_, const std::u32string& name_)
Text(NodeType nodeType_, const std::u32string& name_, const std::u32string& data_)
Text(Text&&) delete
Text(const Text&) delete
Text(const std::u32string& data_)

Member Functions

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

Constructor Details

Text Constructor

sngxml::dom::Text::Text()

Definition at line 46 of CharacterData.cpp :
 46 : CharacterData(NodeType::textNodeU"text")
 47 {
 48 }


Declaration at line 34 of CharacterData.hpp


Text Constructor

sngxml::dom::Text::Text(NodeType nodeType_, const std::u32string& name_)

Definition at line 54 of CharacterData.cpp :
 54 : CharacterData(nodeType_name_)
 55 {
 56 }


Declaration at line 40 of CharacterData.hpp


Text Constructor

sngxml::dom::Text::Text(NodeType nodeType_, const std::u32string& name_, const std::u32string& data_)

Definition at line 58 of CharacterData.cpp :
 58 : CharacterData(nodeType_name_data_)
 59 {
 60 }


Declaration at line 41 of CharacterData.hpp


Text Constructor

sngxml::dom::Text::Text(Text &&) delete

Definition at line 38 of CharacterData.hpp


Text Constructor

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

Definition at line 36 of CharacterData.hpp


Text Constructor

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

Definition at line 50 of CharacterData.cpp :
 50 : CharacterData(NodeType::textNodeU"text"data_)
 51 {
 52 }


Declaration at line 35 of CharacterData.hpp


Member Function Details

Accept Member Function

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

Definition at line 67 of CharacterData.cpp :
 68 {
 69     visitor.Visit(this);
 70 }


Declaration at line 43 of CharacterData.hpp

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

Derived class overrides: sngxml::dom::CDataSection::Accept


CloneNode Member Function

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

Definition at line 62 of CharacterData.cpp :
 63 {
 64     return std::unique_ptr<Node>(new Text(Data()));
 65 }


Declaration at line 42 of CharacterData.hpp

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

Derived class overrides: sngxml::dom::CDataSection::CloneNode

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


operator= Member Function

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

Definition at line 39 of CharacterData.hpp


operator= Member Function

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

Definition at line 37 of CharacterData.hpp


top | up | prev | next