List of all members | Public Member Functions | Private Attributes
utl::ReaderStringInput Class Reference

This just defines a type which holds some character data to be parsed by the Reader. More...

#include <Reader.h>

Public Member Functions

const std::string & GetInputString () const
 
 ReaderStringInput ()=default
 
 ReaderStringInput (const std::string &inputString)
 
 ReaderStringInput (const std::ostringstream &inputStream)
 

Private Attributes

std::string fInputString
 

Detailed Description

This just defines a type which holds some character data to be parsed by the Reader.

This class is for use in cases where the Reader should parse a string of XML information in memory instead of information in a file. It takes care of some of the pain of using the MemBufInputSource class of Xerces.

Definition at line 88 of file Reader.h.

Constructor & Destructor Documentation

utl::ReaderStringInput::ReaderStringInput ( )
default
utl::ReaderStringInput::ReaderStringInput ( const std::string &  inputString)
inline

Definition at line 93 of file Reader.h.

References fInputString.

utl::ReaderStringInput::ReaderStringInput ( const std::ostringstream &  inputStream)
inline

Definition at line 96 of file Reader.h.

References fInputString.

Member Function Documentation

const std::string& utl::ReaderStringInput::GetInputString ( ) const
inline

Definition at line 99 of file Reader.h.

References fInputString.

Referenced by utl::Reader::Reader().

Member Data Documentation

std::string utl::ReaderStringInput::fInputString
private

Definition at line 102 of file Reader.h.

Referenced by GetInputString(), and ReaderStringInput().


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

, generated on Tue Sep 26 2023.