System::IO::STDIOStreamWrapperBase class
Contents
[
Hide
]STDIOStreamWrapperBase class
Represents a base class for System.IO.Stream-like wrappers. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
template<typename T,typename>class STDIOStreamWrapperBase : public System::IO::Stream
Methods
| Method | Description |
|---|---|
| get_CanRead() const override | Determines if the stream supports reading. |
| get_CanSeek() const override | Determines if the stream supports seeking. |
| get_CanWrite() const override | Determines if the stream supports writing. |
| get_Length() const override | Returns length of the stream. |
| get_Position() const override | Returns current position of the stream. |
| operator=(const STDIOStreamWrapperBase&) | Copy assignment operator. Deleted. |
| Seek(int64_t, SeekOrigin) override | Sets the position of the stream represented by the current object. |
| set_Position(int64_t) override | Sets the stream’s position. |
| STDIOStreamWrapperBase(const STDIOStreamWrapperBase&) | Copy constructor. Deleted. |
Fields
| Field | Description |
|---|---|
| static Null | A stream with no underlying storage. |
Typedefs
| Typedef | Description |
|---|---|
| ThisType | |
| BaseType | |
| ThisTypeBaseTypesInfo | |
| char_type | RTTI information. |
| traits_type | |
| int_type | |
| pos_type | |
| off_type |
See Also
- Class Stream
- Namespace System::IO
- Library Aspose.PUB for C++