summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/BasicStream.h
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2003-05-20 21:04:23 +0000
committerBernard Normier <bernard@zeroc.com>2003-05-20 21:04:23 +0000
commitb508b2561c3ccfa766dd5bd260ce1e130994791e (patch)
treeb9cee941d4d35bd1951f47958105c40db9e4a400 /cpp/include/Ice/BasicStream.h
parentSmall fix to release builds (diff)
downloadice-b508b2561c3ccfa766dd5bd260ce1e130994791e.tar.bz2
ice-b508b2561c3ccfa766dd5bd260ce1e130994791e.tar.xz
ice-b508b2561c3ccfa766dd5bd260ce1e130994791e.zip
Sun port
Diffstat (limited to 'cpp/include/Ice/BasicStream.h')
-rw-r--r--cpp/include/Ice/BasicStream.h27
1 files changed, 15 insertions, 12 deletions
diff --git a/cpp/include/Ice/BasicStream.h b/cpp/include/Ice/BasicStream.h
index 1fc8586fad8..ce075f27b72 100644
--- a/cpp/include/Ice/BasicStream.h
+++ b/cpp/include/Ice/BasicStream.h
@@ -139,23 +139,29 @@ public:
void writePendingObjects();
void readPendingObjects();
-private:
-
- //
- // Optimization. The instance may not be deleted while a
- // stack-allocated BasicStream still holds it.
- //
- Instance* _instance;
- struct PatchEntry {
+ struct PatchEntry
+ {
PatchFunc patchFunc;
void* patchAddr;
};
+
typedef std::vector<PatchEntry> PatchList;
typedef std::map<Ice::Int, PatchList> PatchMap;
typedef std::map<Ice::Int, Ice::ObjectPtr> IndexToPtrMap;
typedef std::map<Ice::Int, std::string> TypeIdReadMap;
-
+
+ typedef std::map<Ice::ObjectPtr, Ice::Int> PtrToIndexMap;
+ typedef std::map<std::string, Ice::Int> TypeIdWriteMap;
+
+private:
+
+ //
+ // Optimization. The instance may not be deleted while a
+ // stack-allocated BasicStream still holds it.
+ //
+ Instance* _instance;
+
class ICE_API ReadEncaps
{
public:
@@ -172,9 +178,6 @@ private:
TypeIdReadMap* typeIdMap;
};
- typedef std::map<Ice::ObjectPtr, Ice::Int> PtrToIndexMap;
- typedef std::map<std::string, Ice::Int> TypeIdWriteMap;
-
class ICE_API WriteEncaps
{
public: