PxDefaultFileOutputStream Class Reference

default implementation of a file write stream More...

#include <PxDefaultStreams.h>

Inheritance diagram for PxDefaultFileOutputStream:
Collaboration diagram for PxDefaultFileOutputStream:

Public Member Functions

 PxDefaultFileOutputStream (const char *name)
 
virtual ~PxDefaultFileOutputStream ()
 
virtual PxU32 write (const void *src, PxU32 count)
 write to the stream. The number of bytes written may be less than the number sent. More...
 
virtual bool isValid ()
 
- Public Member Functions inherited from PxOutputStream
virtual ~PxOutputStream ()
 

Private Attributes

PxFileHandle mFile
 

Detailed Description

default implementation of a file write stream

See also
PxOutputStream

Constructor & Destructor Documentation

◆ PxDefaultFileOutputStream()

PxDefaultFileOutputStream::PxDefaultFileOutputStream ( const char *  name)

◆ ~PxDefaultFileOutputStream()

virtual PxDefaultFileOutputStream::~PxDefaultFileOutputStream ( )
virtual

Member Function Documentation

◆ isValid()

virtual bool PxDefaultFileOutputStream::isValid ( )
virtual

◆ write()

virtual PxU32 PxDefaultFileOutputStream::write ( const void *  src,
PxU32  count 
)
virtual

write to the stream. The number of bytes written may be less than the number sent.

Parameters
[in]srcthe destination address from which the data will be written
[in]countthe number of bytes to be written
Returns
the number of bytes written to the stream by this call.

Implements PxOutputStream.

Member Data Documentation

◆ mFile

PxFileHandle PxDefaultFileOutputStream::mFile
private

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