summaryrefslogtreecommitdiffstats
path: root/src/marshal.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2007-01-07 21:17:16 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2007-01-07 21:17:16 (GMT)
commit66401e657546264df0ffa49765f68dc651b7be48 (patch)
treee21d038e7bc244d411ee71ee440f3b527bb9402f /src/marshal.cpp
parentcb16d91fd453486b9e42a2e12295b96ad183dd92 (diff)
downloadDoxygen-66401e657546264df0ffa49765f68dc651b7be48.zip
Doxygen-66401e657546264df0ffa49765f68dc651b7be48.tar.gz
Doxygen-66401e657546264df0ffa49765f68dc651b7be48.tar.bz2
Release-1.5.1-20070107
Diffstat (limited to 'src/marshal.cpp')
-rw-r--r--src/marshal.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/marshal.cpp b/src/marshal.cpp
index a625369..de659b1 100644
--- a/src/marshal.cpp
+++ b/src/marshal.cpp
@@ -243,6 +243,22 @@ void marshalDocInfo(StorageIntf *s,DocInfo *docInfo)
}
}
+void marshalBriefInfo(StorageIntf *s,BriefInfo *briefInfo)
+{
+ if (briefInfo==0)
+ {
+ marshalUInt(s,NULL_LIST); // null pointer representation
+ }
+ else
+ {
+ marshalUInt(s,1);
+ marshalQCString(s,briefInfo->doc);
+ marshalQCString(s,briefInfo->tooltip);
+ marshalInt(s,briefInfo->line);
+ marshalQCString(s,briefInfo->file);
+ }
+}
+
void marshalBodyInfo(StorageIntf *s,BodyInfo *bodyInfo)
{
if (bodyInfo==0)
@@ -566,6 +582,18 @@ DocInfo *unmarshalDocInfo(StorageIntf *s)
return result;
}
+BriefInfo *unmarshalBriefInfo(StorageIntf *s)
+{
+ uint count = unmarshalUInt(s);
+ if (count==NULL_LIST) return 0;
+ BriefInfo *result = new BriefInfo;
+ result->doc = unmarshalQCString(s);
+ result->tooltip = unmarshalQCString(s);
+ result->line = unmarshalInt(s);
+ result->file = unmarshalQCString(s);
+ return result;
+}
+
BodyInfo *unmarshalBodyInfo(StorageIntf *s)
{
uint count = unmarshalUInt(s);