diff options
author | Mark Spruiell <mes@zeroc.com> | 2003-09-11 21:12:38 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2003-09-11 21:12:38 +0000 |
commit | cbd7000724b0474b622ce8c7b47819630f2ab818 (patch) | |
tree | 6b6897c8cb85ce9b6f260df4d261d1b0341fa402 /cpp/src/Ice/BasicStream.cpp | |
parent | another minor fix (diff) | |
download | ice-cbd7000724b0474b622ce8c7b47819630f2ab818.tar.bz2 ice-cbd7000724b0474b622ce8c7b47819630f2ab818.tar.xz ice-cbd7000724b0474b622ce8c7b47819630f2ab818.zip |
- Removed dependency on Xerces.
- Removed generic stream interface Ice::Stream and ice_marshal functions.
- Removed XML stream implementation and related test.
- Removed XML transformer and related test.
- Removed slice2xsd.
- Added C++ wrapper for the expat XML parser in IceXML::Parser.
- Removed XML encoding from Freeze.
Diffstat (limited to 'cpp/src/Ice/BasicStream.cpp')
-rw-r--r-- | cpp/src/Ice/BasicStream.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cpp/src/Ice/BasicStream.cpp b/cpp/src/Ice/BasicStream.cpp index ed0e50a54ff..4ce74e83f35 100644 --- a/cpp/src/Ice/BasicStream.cpp +++ b/cpp/src/Ice/BasicStream.cpp @@ -52,6 +52,7 @@ IceInternal::BasicStream::BasicStream(Instance* instance) : _currentReadEncaps(0), _currentWriteEncaps(0), _traceSlicing(-1), + _marshalFacets(true), _messageSizeMax(_instance->messageSizeMax()) // Cached for efficiency. { } @@ -1438,6 +1439,12 @@ IceInternal::BasicStream::readPendingObjects() } void +IceInternal::BasicStream::marshalFacets(bool b) +{ + _marshalFacets = b; +} + +void IceInternal::BasicStream::throwUnmarshalOutOfBoundsException(const char* file, int line) { throw UnmarshalOutOfBoundsException(file, line); @@ -1453,7 +1460,7 @@ void IceInternal::BasicStream::writeInstance(const ObjectPtr& v, Int index) { write(index); - v->__write(this); + v->__write(this, _marshalFacets); } void |