Logo Search packages:      
Sourcecode: octave-io version File versions  Download package

Public Member Functions | Public Attributes | Private Attributes

TextFile Class Reference

List of all members.

Public Member Functions

void close ()
void ignore_whitespace ()
bool is_valid ()
long unsigned int lines (int headerlines)
bool open ()
void readline ()
template<typename container_type , typename column_type >
void set_container_data (std::vector< container_type > &v, const unsigned int &field, const long unsigned int &record)
void set_format (const std::string &fmt)
void skip_column ()
 TextFile (std::string filename)

Public Attributes

std::vector< std::string > columns
 Column format descriptor.

Private Attributes

unsigned long int _lines
char buffer [BUFFER_SIZE]
std::ifstream data
std::string filename
std::istringstream line

Detailed Description

Definition at line 42 of file textread.cc.


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

Generated by  Doxygen 1.6.0   Back to index