Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
sese::text::TextReader Class Referencefinal

Text reader class. More...

#include <TextReader.h>

Public Types

using Ptr = std::shared_ptr<TextReader>
 

Public Member Functions

 ~TextReader () noexcept
 
String readLine ()
 

Static Public Member Functions

static std::shared_ptr< sese::text::TextReadercreate (const char *u8str) noexcept
 

Private Member Functions

 TextReader ()=default
 

Private Attributes

io::FileStream::Ptr fileStream
 
io::BufferedStream::Ptr bufferedStream
 

Detailed Description

Text reader class.

Member Typedef Documentation

◆ Ptr

using sese::text::TextReader::Ptr = std::shared_ptr<TextReader>

Constructor & Destructor Documentation

◆ ~TextReader()

sese::text::TextReader::~TextReader ( )
noexcept

References fileStream.

◆ TextReader()

sese::text::TextReader::TextReader ( )
privatedefault

Member Function Documentation

◆ create()

std::shared_ptr< sese::text::TextReader > sese::text::TextReader::create ( const char * u8str)
staticnoexcept

◆ readLine()

String sese::text::TextReader::readLine ( )

Member Data Documentation

◆ bufferedStream

io::BufferedStream::Ptr sese::text::TextReader::bufferedStream
private

Referenced by readLine().

◆ fileStream

io::FileStream::Ptr sese::text::TextReader::fileStream
private

Referenced by ~TextReader().


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