GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
text_element_string Class Reference

#include "text-engine.h"

Inheritance diagram for text_element_string:
Collaboration diagram for text_element_string:

Public Member Functions

 text_element_string (const std::string &s="")
 
 ~text_element_string (void)=default
 
void accept (text_processor &p)
 
std::string string_value (void) const
 

Private Member Functions

 text_element_string (const text_element_string &)
 

Private Attributes

std::string m_str
 

Detailed Description

Definition at line 69 of file text-engine.h.

Constructor & Destructor Documentation

◆ text_element_string() [1/2]

text_element_string::text_element_string ( const std::string &  s = "")
inline

Definition at line 74 of file text-engine.h.

◆ ~text_element_string()

text_element_string::~text_element_string ( void  )
default

◆ text_element_string() [2/2]

text_element_string::text_element_string ( const text_element_string )
private

Member Function Documentation

◆ accept()

void text_element_string::accept ( text_processor p)
inlinevirtual

Implements text_element.

Definition at line 378 of file text-engine.h.

◆ string_value()

std::string text_element_string::string_value ( void  ) const
inline

Definition at line 79 of file text-engine.h.

Referenced by ft_text_renderer::visit().

Member Data Documentation

◆ m_str

std::string text_element_string::m_str
private

Definition at line 88 of file text-engine.h.


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