nomlib
Loading...
Searching...
No Matches
nom::HTMLTextNode Class Reference

A plain text node (cannot have children, text only). More...

#include <MiniHTML.hpp>

Inheritance diagram for nom::HTMLTextNode:
[legend]

Public Member Functions

 HTMLTextNode (const std::string &text)
virtual std::string print (const std::string &indent="")

Private Attributes

std::string contents_

Detailed Description

A plain text node (cannot have children, text only).

Definition at line 56 of file MiniHTML.hpp.

Member Function Documentation

◆ print()

virtual std::string nom::HTMLTextNode::print ( const std::string & indent = "")
virtual

Implements nom::HTMLNode.

Member Data Documentation

◆ contents_

std::string nom::HTMLTextNode::contents_
private

Definition at line 66 of file MiniHTML.hpp.


The documentation for this class was generated from the following file: