Main Page | Directories | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

moot::cmdutil_file_churner Class Reference

Class for churning through many input files, given either directly or as a list-file.

#include <mootUtils.h>

Collaboration diagram for moot::cmdutil_file_churner:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Public Attributes

Private Member Functions


Constructor & Destructor Documentation

moot::cmdutil_file_churner::cmdutil_file_churner char *  my_progname = 0,
char **  my_inputs = 0,
int  my_ninputs = 0,
bool  my_use_list = false
[inline]
 

Constructor

moot::cmdutil_file_churner::~cmdutil_file_churner  )  [inline]
 

Destructor


Member Function Documentation

FILE* moot::cmdutil_file_churner::first_input_file  ) 
 

Step to the first input file; returns NULL if no input files were given

std::string& moot::cmdutil_file_churner::first_input_name  ) 
 

Step to the first input file, without opening it

FILE* moot::cmdutil_file_churner::next_input_file  ) 
 

Step the the next input file: returns NULL if no input files are left

std::string& moot::cmdutil_file_churner::next_input_name  ) 
 

Step the the next input file, without opening it

FILE* moot::cmdutil_file_churner::next_list_file  )  [private]
 

Step the the next input file (list-mode): returns NULL if no input files are left


Member Data Documentation

mifstream moot::cmdutil_file_churner::in
 

Current real input file, wrapped

char** moot::cmdutil_file_churner::inputs
 

Input files/file-lists to be chruned (i.e. argv)

std::string moot::cmdutil_file_churner::line
 

Input line buffer

mifstream moot::cmdutil_file_churner::list
 

Current list input file, if in list-mode

int moot::cmdutil_file_churner::ninputs
 

Number of inputs given (i.e. argc)

char* moot::cmdutil_file_churner::progname
 

Name of the running program (for error reporting)

bool moot::cmdutil_file_churner::use_list
 

Whether inputs are filenames or list-filenames


The documentation for this class was generated from the following file:
Generated on Mon Jun 27 13:05:29 2005 for libmoot by  doxygen 1.3.8-20040913