PxDefaultFileOutputStream

Defined in include/extensions/PxDefaultStreams.h

Inheritance Relationships

Base Type

class PxDefaultFileOutputStream : public PxOutputStream

default implementation of a file write stream

See also

PxOutputStream

Public 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.

Parameters
  • src[in] the destination address from which the data will be written

  • count[in] the number of bytes to be written

Returns

the number of bytes written to the stream by this call.

virtual bool isValid()