presage  0.9.1
Public Member Functions | Private Attributes | List of all members
Tokenizer::StreamGuard Class Reference

#include <tokenizer.h>

Collaboration diagram for Tokenizer::StreamGuard:
Collaboration graph

Public Member Functions

 StreamGuard (std::istream &so, std::streamoff &of)
 
 ~StreamGuard ()
 

Private Attributes

std::istream & guardedStream
 
std::ios::iostate currstate
 
std::streamoff curroff
 

Detailed Description

Definition at line 143 of file tokenizer.h.

Constructor & Destructor Documentation

◆ StreamGuard()

Tokenizer::StreamGuard::StreamGuard ( std::istream &  so,
std::streamoff &  of 
)
inline

Definition at line 145 of file tokenizer.h.

◆ ~StreamGuard()

Tokenizer::StreamGuard::~StreamGuard ( )
inline

Definition at line 151 of file tokenizer.h.

Member Data Documentation

◆ curroff

std::streamoff Tokenizer::StreamGuard::curroff
private

Definition at line 159 of file tokenizer.h.

Referenced by Tokenizer::streamToString().

◆ currstate

std::ios::iostate Tokenizer::StreamGuard::currstate
private

Definition at line 158 of file tokenizer.h.

Referenced by Tokenizer::streamToString().

◆ guardedStream

std::istream& Tokenizer::StreamGuard::guardedStream
private

Definition at line 157 of file tokenizer.h.

Referenced by Tokenizer::streamToString().


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