IOStream Class |
public abstract class IOStream : IDisposable
The IOStream type exposes the following members.
| Name | Description | |
|---|---|---|
| IOStream(String, FileIOMode) | Constructs a new IOStream. | |
| IOStream(String, FileIOMode, Boolean) | Constructs a new IOStream. |
| Name | Description | |
|---|---|---|
| FileMode | Gets the original desired file access mode. | |
| IsDisposed | Gets whether or not this IOStream has been disposed. | |
| IsValid | Gets whether the stream is in fact valid - that is, the input/output has been properly located and can be read/written. | |
| PathToFile | Gets the original path to file given by Assimp. |
| Name | Description | |
|---|---|---|
| Close | Closes the stream - flushing any data not yet read/written and disposes of resources. | |
| Dispose | Disposes of resources held by the IOStream. | |
| Dispose(Boolean) | Releases unmanaged and - optionally - managed resources. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize |
Finalizes an instance of the IOStream class.
(Overrides ObjectFinalize) | |
| Flush | Flushes all data currently in the stream buffers. | |
| GetFileSize | Gets the total file size (in bytes). | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetPosition | Gets the current file position pointer (in bytes). | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| Initialize | Initializes the system by setting up native pointers for Assimp to the specified functions. A reference to each supplied callback is held on to avoid it being GC'ed. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| OnAiFileFlushProc | Callback for Assimp that handles flushes. | |
| OnAiFileReadProc | Callback for Assimp that handles reads. | |
| OnAiFileSeekProc | Callback for Assimp that handles seeks. | |
| OnAiFileSizeProc | Callback for Assimp that handles size requests. | |
| OnAiFileTellProc | Callback for Assimp that handles tell requests. | |
| OnAiFileWriteProc | Callback for Assimp that handles writes. | |
| Read | Reads data from the stream. | |
| Seek | Sets the current file position pointer. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| Write | Writes data to the stream. |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |