System::IO::STDIOStreamWrapperBase class

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

MethodDescription
get_CanRead() const overrideDetermines if the stream supports reading.
get_CanSeek() const overrideDetermines if the stream supports seeking.
get_CanWrite() const overrideDetermines if the stream supports writing.
get_Length() const overrideReturns length of the stream.
get_Position() const overrideReturns current position of the stream.
operator=(const STDIOStreamWrapperBase&)Copy assignment operator. Deleted.
Seek(int64_t, SeekOrigin) overrideSets the position of the stream represented by the current object.
set_Position(int64_t) overrideSets the stream’s position.
STDIOStreamWrapperBase(const STDIOStreamWrapperBase&)Copy constructor. Deleted.

Fields

FieldDescription
static NullA stream with no underlying storage.

Typedefs

TypedefDescription
ThisType
BaseType
ThisTypeBaseTypesInfo
char_typeRTTI information.
traits_type
int_type
pos_type
off_type

See Also