A description of a resource for reading from or writing to.
More...
#include <stream.hpp>
|
cmzn_streamresource_id | id |
|
A description of a resource for reading from or writing to.
A description of a resource for reading from or writing to, such as a file or memory buffer. These are created through the stream information object.
- See also
- Streaminformation
-
StreamresourceFile
-
StreamresourceMemory
-
Streaminformation::createStreamresourceFile
-
Streaminformation::createStreamresourceMemory
-
Streaminformation::createStreamresourceMemory_buffer
-
Streaminformation::createStreamresourceMemory_buffer_copy
If the stream resource is of file type, then this function returns the derived file stream resource handle.
- Returns
- Handle to derived file stream resource, or NULL/invalid handle if wrong type or failed.
If the stream resource is of memory type, then this function returns the derived memory stream resource handle.
- See also
- StreamresourceMemory::getBuffer
-
StreamresourceMemory::getBuffer_copy
- Returns
- Handle to derived memory stream resource, or NULL/invalid handle if wrong type or failed.
cmzn_streamresource_id OpenCMISS::Zinc::Streamresource::getId |
( |
| ) |
const |
|
inline |
bool OpenCMISS::Zinc::Streamresource::isValid |
( |
| ) |
const |
|
inline |
Check if this is a valid Streamresource object.
- Returns
- Status True if object is valid, false otherwise.
The documentation for this class was generated from the following file: