summaryrefslogtreecommitdiff
path: root/ace/CDR_Stream.h
diff options
context:
space:
mode:
authorPhil Mesnier <mesnier_p@ociweb.com>2003-03-31 23:05:57 +0000
committerPhil Mesnier <mesnier_p@ociweb.com>2003-03-31 23:05:57 +0000
commitbb0634abd4c7d13179b3cf0b60d1baf3090ba6d7 (patch)
tree2e2b1b3b2d88c8fee99ffa7190eb1b4c8515e77f /ace/CDR_Stream.h
parent3e2aa1084b59fcc2e7c0f78fba7e10356b34fd4f (diff)
downloadATCD-bb0634abd4c7d13179b3cf0b60d1baf3090ba6d7.tar.gz
ChangeLog tag: Mon Mar 31 14:04:22 2003 Phil Mesnier <mesnier_p@ociweb.com>
Diffstat (limited to 'ace/CDR_Stream.h')
-rw-r--r--ace/CDR_Stream.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/ace/CDR_Stream.h b/ace/CDR_Stream.h
index 6d1884fb550..dd4983c99a6 100644
--- a/ace/CDR_Stream.h
+++ b/ace/CDR_Stream.h
@@ -323,15 +323,22 @@ public:
*/
int align_write_ptr (size_t alignment);
- /// Access the codeset translators. They can be nil!
+ /// Access the codeset translators. They can be null!
ACE_Char_Codeset_Translator *char_translator (void) const;
ACE_WChar_Codeset_Translator *wchar_translator (void) const;
- /// Set the codeset translators.
+ /// Set the char codeset translator.
void char_translator (ACE_Char_Codeset_Translator *);
+ /// Set the wchar codeset translator.
void wchar_translator (ACE_WChar_Codeset_Translator *);
+
+ /// set the global size of serialized wchars. This may be different
+ /// than the size of a wchar_t.
static void wchar_maxbytes (int );
+ /// access the serialized size of wchars.
+ static int wchar_maxbytes (void);
+
/**
* Return alignment of the wr_ptr(), with respect to the start of
* the CDR stream. This is not the same as the alignment of
@@ -401,7 +408,7 @@ private:
ACE_CDR::Boolean write_wchar_array_i (const ACE_CDR::WChar* x,
- ACE_CDR::ULong length);
+ ACE_CDR::ULong length);
/**
@@ -917,7 +924,7 @@ private:
* a default translator.
*/
ACE_CDR::Boolean read_wchar_array_i (ACE_CDR::WChar * x,
- ACE_CDR::ULong length);
+ ACE_CDR::ULong length);
/// Move the rd_ptr ahead by <offset> bytes.
void rd_ptr (size_t offset);