![]() ![]() ![]()
|
BREW C++ Class Library & GUI Framework & XML Middleware : SophiaFramework 4.1 |
#include <SFXWideStringStreamReader.h.hpp>
class SFXWideStringStreamReader : public SFXStreamReader, public SFXStringStream;
SFMTYPEDEFCLASS(SFXWideStringStreamReader)


The SFXWideStringStreamReader class is used to read the SFXWideString object from the input stream such as file, TCP socket, and so on.
| Constructor/Destructor |
|---|
|
SFXWideStringStreamReader( Void ) Constructor of SFXWideStringStreamReader class.
|
| Public Functions | |
|---|---|
| SFCError |
ReadSFXAnsiString(
SFXAnsiStringPtr param
) Read data from the input stream as a SFXWideString string, and convert it into SFXAnsiString.
|
| SFCError |
ReadSFXWideString(
SFXWideStringPtr param
) Read data from the input stream as a SFXWideString string.
|
| SFXWideStringStreamReaderRef |
operator>>(
SFXWideStringStreamReaderRef left
, SFXWideStringRef right
) operator>>( SFXWideStringStreamReaderRef left , SFXAnsiStringRef right ) Read data from the input stream as a SFXWideString string.
|
| Void |
Attach(
SFXInputStreamPtr stream
)
(inherits from SFXStreamReader)
Delegate the control privilege of SFXInputStream object to the SFXStreamReader object.
|
| Void |
Cancel( Void )
(inherits from SFXStreamReader)
Call the Cancel function for Storage class. And also unregister the callback functions.
|
| SFXInputStreamPtr |
Detach( Void )
(inherits from SFXStreamReader)
Delegate the control privilege of SFXStreamReader object to the SFXInputStream object.
|
| Bool |
Ends( Void )
(inherits from SFXStreamReader)
Check whether the stream ends or not.
|
| SFCError |
Fetch( Void )
(inherits from SFXStreamReader)
Fetch( CallbackSPP spp , VoidPtr reference ) (inherits from SFXStreamReader) Fetch for reading data newly.
|
| SInt32 |
FirstIndexOf(
Byte byte
, SInt32 index = SINT32_MINIMUM
)
(inherits from SFXStreamReader)
FirstIndexOf( VoidConstPtr buffer , UInt32 size , SInt32 index = SINT32_MINIMUM ) (inherits from SFXStreamReader) FirstIndexOf( SFXBufferConstRef buffer , SInt32 index = SINT32_MINIMUM ) (inherits from SFXStreamReader) Get the first index of SFXStreamReader object to match with the specified data, searching from the beginning.
|
| UInt32 |
GetReadableSize( Void )
(inherits from SFXStreamReader)
Get the size of readable data.
|
| SInt32 |
LastIndexOf(
Byte byte
, SInt32 index = SINT32_MAXIMUM
)
(inherits from SFXStreamReader)
LastIndexOf( VoidConstPtr buffer , UInt32 size , SInt32 index = SINT32_MAXIMUM ) (inherits from SFXStreamReader) LastIndexOf( SFXBufferConstRef buffer , SInt32 index = SINT32_MAXIMUM ) (inherits from SFXStreamReader) Get the last index of SFXStreamReader object to match with the specified data, searching from the end.
|
| SFCError |
Read(
SFXBufferPtr buffer
)
(inherits from SFXStreamReader)
Read( VoidPtr buffer , UInt32 size ) (inherits from SFXStreamReader) Read data from the stream.
|
| Void |
Release( Void )
(inherits from SFXStreamReader)
Release the stream.
|
| SFCError |
ResetTrigger( Void )
(inherits from SFXStreamReader)
Reset the trigger when the callback function will be called.
|
| SFCError |
Seek(
UInt32 size
)
(inherits from SFXStreamReader)
Move the read pointer foraward.
|
| SFCError |
SetTrigger(
UInt32 size
)
(inherits from SFXStreamReader)
SetTrigger( VoidConstPtr buffer , UInt32 size ) (inherits from SFXStreamReader) SetTrigger( SFXBufferConstRef buffer ) (inherits from SFXStreamReader) Set the trigger when the callback function will be called.
|
| Bool |
Triggers( Void )
(inherits from SFXStreamReader)
Check whether the callback function is called by trigger or not.
|
| Types |
|---|
|
CallbackSPP
(inherits from SFXStream)
Constant that represents Callback function.
|
[ public, explicit ] SFXWideStringStreamReader(Void);
[ public ] SFCError ReadSFXAnsiString( SFXAnsiStringPtr param // pointer to the resault );
Read data as a string until the next "\0"
If no "\0" is found until the end, read data as a string until the end.
[ public ] SFCError ReadSFXWideString( SFXWideStringPtr param // pointer to the resault );
Read data as a string until the next "\0"
If no "\0" is found until the end, read data as a string until the end.
[ public, friend ] SFXWideStringStreamReaderRef operator>( SFXWideStringStreamReaderRef left // stream SFXWideStringRef right // string contains the result );
[ public, friend ] SFXWideStringStreamReaderRef operator>( SFXWideStringStreamReaderRef left // stream SFXAnsiStringRef right // string contains the result );
SFXWideStringStreamReader::operator>> is the same as SFXWideStringStreamReader::ReadSFXAnsiString function or SFXWideStringStreamReader::ReadSFXWideString function.
|
Copyright (C) 2002 - 2009 Sophia Cradle, Inc. All Rights Reserved. |
![]() ![]() ![]()
|