TECA
The Toolkit for Extreme Climate Analysis
teca_file_util::line_buffer Struct Reference

#include <teca_file_util.h>

Collaboration diagram for teca_file_util::line_buffer:

Public Member Functions

int initialize (const char *file_name)
 
 operator bool ()
 
char * current ()
 
void pop ()
 
size_t line_number ()
 

Public Attributes

char * m_buffer
 
std::deque< char * > m_lines
 
size_t m_line_number
 

Detailed Description

a stack of lines. lines can be popped as they are processed and the current line number is recorded.


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