23 undefined, plain, pipe, gzip, bzip2
38 CFile(
string filename,
string mode)
52 void open(
string filename,
string mode);
62 operator void * ()
const {
70 return !(
operator void * ());
76 char *
gets(
char * s,
int size);
81 int puts(
const char * s);
101 size_t read(
void *ptr,
size_t size,
size_t nmemb = 1);
106 size_t write(
const void *ptr,
size_t size,
size_t nmemb = 1);
char * gets(char *s, int size)
Get characters.
FileType
Type of the file.
CFile()
The default constructor.
size_t read(void *ptr, size_t size, size_t nmemb=1)
Read.
FileType fileType
Type of the file.
This is the main namespace within which all identifiers in ThePEG are declared.
int putc(int c)
Set the current character.
bool operator!() const
Exist for file existance.
void open(string filename, string mode)
Open the file.
int getc()
Get the current character.
size_t write(const void *ptr, size_t size, size_t nmemb=1)
Write.
Here is the documentation of the CFile class.
void close()
Close the file.
int ungetc(int c)
Pushes the byte specified by c (converted to an unsigned char) back onto the stream.
CFile(string filename, string mode)
Create a CFile given a file name and a mode.
Exception is the base class for all exceptions to be used in ThePEG.
int puts(const char *s)
Set characters.
void * file
Pointer to the file.