Added interface for getting/setting text converter of wxDataInputStream and wxDataOutputStream

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2009-01-11 19:37:11 +00:00
parent daeb4e4d4c
commit 10c2f98a39
3 changed files with 49 additions and 0 deletions

View File

@@ -57,7 +57,18 @@ public:
order.
*/
void BigEndianOrdered(bool be_order);
/**
Returns the current text conversion class used for
writing strings.
*/
wxMBConv *GetConv() const;
/**
Sets the text conversion class used for writing strings.
*/
void SetConv( const wxMBConv &conv );
/**
Writes the single byte @a i8 to the stream.
*/
@@ -193,6 +204,13 @@ public:
*/
void BigEndianOrdered(bool be_order);
/**
Returns the current text conversion class used for
reading strings.
*/
wxMBConv *GetConv() const;
/**
Reads a single byte from the stream.
*/
@@ -260,5 +278,10 @@ public:
@see wxDataOutputStream::WriteString()
*/
wxString ReadString();
/**
Sets the text conversion class used for reading strings.
*/
void SetConv( const wxMBConv &conv );
};