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

salt::WFile Class Reference

WFile extends the RFile interface with methods for writing to a file and related support funtions. More...

#include <fileclasses.h>

Inheritance diagram for salt::WFile:

Inheritance graph
[legend]
Collaboration diagram for salt::WFile:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~WFile ()
virtual int Puts (const char *s)=0
 writes a string without the trailing ''
virtual int Putc (int c)=0
 writes a single character
int Iputw (int w)
 writes a 2 byte int in Intel ordering
virtual size_t Write (void *buffer, size_t size, size_t count)=0
 writes count elements of data from buffer, each size bytes long
virtual size_t Write (void *buffer, size_t count)=0
 writes count bytes of data from buffer
long Iputl (long l)
 writes a 4 byte int in Intel ordering
int Mputw (int w)
 writes a 2 byte int in Motorola ordering
long Mputl (long l)
 writes a 4 byte in in Motorola ordering

Detailed Description

WFile extends the RFile interface with methods for writing to a file and related support funtions.

Definition at line 216 of file fileclasses.h.


Constructor & Destructor Documentation

virtual salt::WFile::~WFile  )  [inline, virtual]
 

Definition at line 219 of file fileclasses.h.


Member Function Documentation

long salt::WFile::Iputl long  l  )  [inline]
 

writes a 4 byte int in Intel ordering

Definition at line 248 of file fileclasses.h.

References Putc().

Here is the call graph for this function:

int salt::WFile::Iputw int  w  )  [inline]
 

writes a 2 byte int in Intel ordering

Definition at line 228 of file fileclasses.h.

References Putc().

Here is the call graph for this function:

long salt::WFile::Mputl long  l  )  [inline]
 

writes a 4 byte in in Motorola ordering

Definition at line 280 of file fileclasses.h.

References Putc().

Here is the call graph for this function:

int salt::WFile::Mputw int  w  )  [inline]
 

writes a 2 byte int in Motorola ordering

Definition at line 266 of file fileclasses.h.

References Putc().

Here is the call graph for this function:

virtual int salt::WFile::Putc int  c  )  [pure virtual]
 

writes a single character

Implemented in salt::StdFile.

Referenced by Iputl(), Iputw(), Mputl(), and Mputw().

virtual int salt::WFile::Puts const char *  s  )  [pure virtual]
 

writes a string without the trailing ''

Implemented in salt::StdFile.

virtual size_t salt::WFile::Write void *  buffer,
size_t  count
[pure virtual]
 

writes count bytes of data from buffer

Implemented in salt::StdFile.

virtual size_t salt::WFile::Write void *  buffer,
size_t  size,
size_t  count
[pure virtual]
 

writes count elements of data from buffer, each size bytes long

Implemented in salt::StdFile.


The documentation for this class was generated from the following file:
Generated on Thu Apr 6 15:48:48 2006 for rcssserver3d by  doxygen 1.4.4