Laxkit  0.0.7.1
Public Member Functions | Protected Attributes
Laxkit::FileOrStr Class Reference

Class that lets you output or input to a disk file or a string. More...

List of all members.

Public Member Functions

int printf (const char *fmt,...)
size_t write (const void *ptr, size_t size, size_t nmemb)
size_t fread (void *ptr, size_t size, size_t nmemb)
int getline (char **lineptr, size_t *n)
int setpos (long offset, int whence=0)
long curpos ()
void rewind ()
void clearerr ()
int feof ()
const charFilename ()
int Open (const char *filename, const char *mode)
int Close ()
int OpenTempFile ()
int OpenCString (const char *str)
int OpenInString (char *str, long nn, long nmax)
int OpenNewString (const char *str)
int SaveStrToFile (const char *filename)
int GetStrFromFile (const char *filename)

Protected Attributes

charstr
const charcstr
long n
long max
charfilename
FILE * f
int errorstate
long curpos

Detailed Description

Class that lets you output or input to a disk file or a string.


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

Mon Feb 17 2014 11:52:59, Laxkit