presage  0.9.2~beta
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 125 of file tokenizer.h.

Constructor & Destructor Documentation

◆ StreamGuard()

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

Definition at line 127 of file tokenizer.h.

References curroff, currstate, and guardedStream.

◆ ~StreamGuard()

Tokenizer::StreamGuard::~StreamGuard ( )
inline

Definition at line 133 of file tokenizer.h.

References curroff, currstate, and guardedStream.

Member Data Documentation

◆ curroff

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

Definition at line 141 of file tokenizer.h.

Referenced by StreamGuard(), and ~StreamGuard().

◆ currstate

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

Definition at line 140 of file tokenizer.h.

Referenced by StreamGuard(), and ~StreamGuard().

◆ guardedStream

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

Definition at line 139 of file tokenizer.h.

Referenced by StreamGuard(), and ~StreamGuard().


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