9 #ifndef Serialization_ReadDataStream_H 10 #define Serialization_ReadDataStream_H 21 #if !defined(WIN32) && !defined(__ANDROID__) 28 class BinaryCollection;
35 class WriteDataStream;
78 virtual void Read(
bool * iopValueArray,
unsigned Int32 iElementCount)=0;
87 virtual void Read(
unsigned char * iopValueArray,
unsigned Int32 iElementCount)=0;
112 virtual void Read(
short * iopValueArray,
unsigned Int32 iElementCount)=0;
137 virtual void Read(
Int32* iopValueArray,
unsigned Int32 iElementCount)=0;
154 virtual void Read(
Int64* iopValueArray,
unsigned Int32 iElementCount)=0;
171 virtual void Read(
float* iopValueArray,
unsigned Int32 iElementCount)=0;
188 virtual void Read(
double* iopValueArray,
unsigned Int32 iElementCount)=0;
190 #ifndef NO_WCHAR_SUPPORT 210 virtual char ReadByte()=0;
212 #ifndef NO_WCHAR_SUPPORT 219 virtual wchar_t ReadWChar()=0;
239 virtual void Read(
GUID * iopValueArray,
unsigned Int32 iElementCount )=0;
328 virtual Int32 ReadSafeInt()=0;
331 virtual void Rewind() =0 ;
339 virtual unsigned Int32 GetSize() = 0;
346 virtual Int64 Get64BitSize()
throw() = 0;
349 virtual Int64 GetNumberOfUnreadBytes()
throw() = 0;
392 virtual void Delete()
throw() =0;
395 virtual TYPE GetItemType() =0;
398 virtual bool IsEncrypted() = 0;
401 virtual bool WaitForData(
unsigned Int32 iTimeOut) = 0;
404 virtual void SetTimeout(
Int64 iTimeoutInMilliseconds) = 0;
409 virtual void Skip(
Int64 dwOffset)=0;
412 virtual void Skip(
unsigned Int32 dwOffset)=0;
462 #if !defined(WIN32) && !defined(__ANDROID__) 479 #endif // Serialization_ReadDataStream_H Definition: BaseMemoryContract.h:40
Definition: ReadByteStream.h:30
DLL_PDSERIALIZATION_EXIM ReadDataStream * CreateReadDataStreamFromSharedMemByteStream(ReadByteStream *ipSharedMemReadBStreamPtr, MBase::MemoryContract *ipMemCon)
MDataType::Binary represents binary data.
Definition: Binary.h:33
Definition: BinaryCollection.h:23
Definition: ReturnString.h:36
DLL_PDSERIALIZATION_EXIM ReadDataStream * ConvertBinary2ReadDataStream(MDataType::Binary *ipB, MBase::MemoryContract *ipMemCon=0)
Definition: PDSerialization.h:63
#define Int64
Definition: BasicTypes.h:36
DLL_PDSERIALIZATION_EXIM ReadDataStream * ConvertWriteDataStream2ReadDataStream(WriteDataStream *ipWriteStream, MBase::MemoryContract *ipMemCon=0)
TYPE
Definition: PDSerialization.h:87
Definition: ReturnString.h:85
Definition: BigDecimal.h:18
MBase::StrongPtr< ReadDataStream, MBase::DeleteOperatorGeneric< ReadDataStream > > ReadDataStreamPtr
Strong pointer to the ReadDataStream.
Definition: ReadDataStream.h:418
#define Int32
Definition: BasicTypes.h:20
Definition: ReadDataStream.h:51
Definition: StrongPtr.h:50
DLL_PDSERIALIZATION_EXIM ReadDataStream * GetReadDataStreamFromFile(MFileSystem::ReadableFile::Ptr &iFilePtr)
virtual ~ReadDataStream()
Definition: ReadDataStream.h:414
Definition: CellFmtData.h:76
#define DLL_PDSERIALIZATION_EXIM
Definition: PDSerialization.h:21
Definition: DynamicTime.h:54
Definition: SharedMemory.h:59
Definition: WriteDataStream.h:55
Definition: MultiReadStream.h:23
Definition: DateTime.h:74
DLL_PDSERIALIZATION_EXIM ReadDataStream * CreateReadDataStreamFromSharedMem(MMultiProcess::SharedMemory *ipSharedMemPtr, MBase::MemoryContract *ipMemCon)
Definition: Base/Base/GUID.h:32