ParentNode Abstract Class

Definition

Line 318 of System.Dom/Node.cm

Inheritance

Constructors & Destructor

public ParentNode(NodeType nodeType_, const String<uchar>& name_)
public suppress ParentNode(ParentNode&&)
public suppress ParentNode(const Node&)
public override ~ParentNode()

Member Functions

public override void Accept(Visitor& visitor)
public virtual Node* AppendChild(UniquePtr<Node>&& newChild)
public NodeList ChildNodes() const
public void CloneChildrenTo(ParentNode* clone) const
public Node* FirstChild() const
public override bool HasChildNodes() const
public virtual Node* InsertBefore(UniquePtr<Node>&& newChild, Node* refChild)
public Node* LastChild() const
public virtual UniquePtr<Node> RemoveChild(Node* oldChild)
public virtual UniquePtr<Node> ReplaceChild(UniquePtr<Node>&& newChild, Node* oldChild)
public override void WalkChildren(NodeOp& nodeOp)
public override void WalkDescendant(NodeOp& nodeOp)
public override void WalkDescendantOrSelf(NodeOp& nodeOp)
public override void WalkPreceding(NodeOp& nodeOp)
public override void WalkPrecedingOrSelf(NodeOp& nodeOp)
public override void Write(CodeFormatter& formatter)
public suppress ParentNode& operator=(ParentNode&&)
public suppress ParentNode& operator=(const Node&)

Member Variables

private Node* firstChild
private Node* lastChild

Constructor& Destructor Details

ParentNode Constructor

public ParentNode(NodeType nodeType_, const String<uchar>& name_)

Definition
Line 322 of System.Dom/Node.cm


ParentNode Constructor

public suppress ParentNode(ParentNode&&)

Definition
Line 321 of System.Dom/Node.cm


ParentNode Constructor

public suppress ParentNode(const Node&)

Definition
Line 320 of System.Dom/Node.cm


~ParentNode Destructor

public override ~ParentNode()

Definition
Line 326 of System.Dom/Node.cm


Member Function Details

Accept Member Function

public override void Accept(Visitor& visitor)

Definition
Line 510 of System.Dom/Node.cm


AppendChild Member Function

public virtual Node* AppendChild(UniquePtr<Node>&& newChild)

Definition
Line 471 of System.Dom/Node.cm


ChildNodes Member Function

public NodeList ChildNodes()

Definition
Line 346 of System.Dom/Node.cm


CloneChildrenTo Member Function

public void CloneChildrenTo(ParentNode* clone)

Definition
Line 357 of System.Dom/Node.cm


FirstChild Member Function

public Node* FirstChild()

Definition
Line 338 of System.Dom/Node.cm


HasChildNodes Member Function

public override bool HasChildNodes()

Definition
Line 366 of System.Dom/Node.cm


InsertBefore Member Function

public virtual Node* InsertBefore(UniquePtr<Node>&& newChild, Node* refChild)

Definition
Line 379 of System.Dom/Node.cm


LastChild Member Function

public Node* LastChild()

Definition
Line 342 of System.Dom/Node.cm


RemoveChild Member Function

public virtual UniquePtr<Node> RemoveChild(Node* oldChild)

Definition
Line 422 of System.Dom/Node.cm


ReplaceChild Member Function

public virtual UniquePtr<Node> ReplaceChild(UniquePtr<Node>&& newChild, Node* oldChild)

Definition
Line 450 of System.Dom/Node.cm


WalkChildren Member Function

public override void WalkChildren(NodeOp& nodeOp)

Definition
Line 519 of System.Dom/Node.cm


WalkDescendant Member Function

public override void WalkDescendant(NodeOp& nodeOp)

Definition
Line 528 of System.Dom/Node.cm


WalkDescendantOrSelf Member Function

public override void WalkDescendantOrSelf(NodeOp& nodeOp)

Definition
Line 537 of System.Dom/Node.cm


WalkPreceding Member Function

public override void WalkPreceding(NodeOp& nodeOp)

Definition
Line 557 of System.Dom/Node.cm


WalkPrecedingOrSelf Member Function

public override void WalkPrecedingOrSelf(NodeOp& nodeOp)

Definition
Line 547 of System.Dom/Node.cm


Write Member Function

public override void Write(CodeFormatter& formatter)

Definition
Line 370 of System.Dom/Node.cm


operator= Member Function

public suppress ParentNode& operator=(ParentNode&&)

Definition
Line 337 of System.Dom/Node.cm


operator= Member Function

public suppress ParentNode& operator=(const Node&)

Definition
Line 336 of System.Dom/Node.cm