physx::PxDefaultFileOutputStream Class Reference
default implementation of a file write stream More...
#include <PxDefaultStreams.h>
Inheritance diagram for physx::PxDefaultFileOutputStream:
![Inheritance graph](classphysx_1_1PxDefaultFileOutputStream__inherit__graph.png)
Collaboration diagram for physx::PxDefaultFileOutputStream:
![Collaboration graph](classphysx_1_1PxDefaultFileOutputStream__coll__graph.png)
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. | |
virtual bool | isValid () |
Private Attributes | |
FILE * | mFile |
Detailed Description
default implementation of a file write stream
- See also:
- PxOutputStream
Constructor & Destructor Documentation
physx::PxDefaultFileOutputStream::PxDefaultFileOutputStream | ( | const char * | name | ) |
virtual physx::PxDefaultFileOutputStream::~PxDefaultFileOutputStream | ( | ) | [virtual] |
Member Function Documentation
virtual bool physx::PxDefaultFileOutputStream::isValid | ( | ) | [virtual] |
write to the stream. The number of bytes written may be less than the number sent.
- Parameters:
-
[in] src the destination address from which the data will be written [in] count the number of bytes to be written
- Returns:
- the number of bytes written to the stream by this call.
Implements PxOutputStream.
Member Data Documentation
FILE* physx::PxDefaultFileOutputStream::mFile [private] |
The documentation for this class was generated from the following file:
Copyright © 2008-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com