9 #ifndef Serialization_WriteDataStream_H 10 #define Serialization_WriteDataStream_H 26 #if !defined(WIN32) && !defined(__ANDROID__) 67 virtual void SafeWrite(
Int32 iValue)=0;
75 #ifndef NO_WCHAR_SUPPORT 181 virtual void Write(
bool const *ipValues,
unsigned Int32 iElementCount)=0;
188 virtual void Write(
const unsigned char *ipValues,
unsigned Int32 iElementCount)=0;
195 virtual void Write(
short const *ipValues,
unsigned Int32 iElementCount)=0;
202 virtual void Write(
Int32 const *ipValues,
unsigned Int32 iElementCount)=0;
209 virtual void Write(
Int64 const * ipValues,
unsigned Int32 iElementCount)=0;
216 virtual void Write(
float const *ipValues,
unsigned Int32 iElementCount)=0;
223 virtual void Write(
double const *ipValues,
unsigned Int32 iElementCount)=0;
230 virtual void Write(
GUID const *ipValues,
unsigned Int32 iElementCount)=0;
264 virtual void WriteByte(
char iChar)=0;
266 #ifndef NO_WCHAR_SUPPORT 271 virtual void WriteWChar(
const wchar_t iChar)=0;
336 virtual Int64 Get64BitSize()
throw() = 0;
340 virtual unsigned Int32 GetSize() = 0;
345 virtual void Rewind() = 0;
358 virtual void Delete()
throw() =0;
361 virtual void CommitStream() = 0;
364 virtual void Abandon() = 0;
366 virtual void SetTimeout(
Int64 iTimeoutInMilliSeconds) = 0;
368 #ifndef NO_WCHAR_SUPPORT 374 virtual void WriteString(
const wchar_t * ipString)=0;
394 unsigned short header = 1);
407 unsigned short header = 1);
419 unsigned short header = 1);
436 unsigned short header = 1);
461 unsigned short header=1);
463 unsigned short header=1);
465 unsigned short header=1);
467 unsigned short header=1);
468 #if !defined(WIN32) && !defined(__ANDROID__) 482 #endif // Serialization_WriteDataStream_H Definition: BaseMemoryContract.h:40
DLL_PDSERIALIZATION_EXIM WriteDataStream * CreateSafeWriteDataStream(MBase::MemoryContract *ipMemCon=0, unsigned short header=1)
MDataType::Binary represents binary data.
Definition: Binary.h:33
Definition: BinaryCollection.h:23
const unsigned short LONG_VERSION
const value for specifying the safe version of WriteDataStream
Definition: WriteDataStream.h:41
DLL_PDSERIALIZATION_EXIM WriteDataStream * CreateSafeRawWriteDataStream(MBase::MemoryContract *ipMemCon=0, unsigned short header=1)
Definition: StreamInt64Reserve.h:37
Definition: PDSerialization.h:63
#define Int64
Definition: BasicTypes.h:36
Definition: BigDecimal.h:18
DLL_PDSERIALIZATION_EXIM WriteDataStream * CreateWriteDataStream(MBase::MemoryContract *ipMemCon=0, unsigned short header=1)
DLL_PDSERIALIZATION_EXIM WriteDataStream * CreateWriteDataStreamToSharedMem(MMultiProcess::SharedMemory *ipSharedMemPtr, unsigned Int32 iBlockSize=1024)
#define Int32
Definition: BasicTypes.h:20
Definition: ReadDataStream.h:51
DLL_PDSERIALIZATION_EXIM WriteDataStream * ConvertBinaries2WriteDataStream(MDataType::BinaryCollection *ipBins, MBase::MemoryContract *ipMemCon=0)
Definition: StreamInt64Reserve.h:21
virtual ~WriteDataStream()
Definition: WriteDataStream.h:378
Definition: StrongPtr.h:50
Definition: CellFmtData.h:76
#define DLL_PDSERIALIZATION_EXIM
Definition: PDSerialization.h:21
Definition: DynamicTime.h:54
Definition: SharedMemory.h:59
MBase::StrongPtr< WriteDataStream, MBase::DeleteOperatorGeneric< WriteDataStream > > WriteDataStreamPtr
Definition: WriteDataStream.h:383
Definition: WriteDataStream.h:55
Definition: MultiReadStream.h:23
Definition: DateTime.h:74
Definition: WriteByteStream.h:51
DLL_PDSERIALIZATION_EXIM WriteDataStream * CreateWriteDataStreamToSharedMemByteStream(MSerialization::WriteByteStream *ipSharedMemWriteByteStreamPtr)
Definition: Base/Base/GUID.h:32
DLL_PDSERIALIZATION_EXIM WriteDataStream * CreateRawWriteDataStream(MBase::MemoryContract *ipMemCon=0, unsigned short header=1)