summaryrefslogtreecommitdiffstats
path: root/src/arguments.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-02-11 18:36:01 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-02-17 11:39:58 (GMT)
commitaf363c50c64268f473aa5b595a0379f8590c4759 (patch)
tree8008a6e8bc0779ed346153149d47cdcf24f8c09d /src/arguments.cpp
parent9a05fda1c0aef229252d133987f866e0f6718eb0 (diff)
downloadDoxygen-af363c50c64268f473aa5b595a0379f8590c4759.zip
Doxygen-af363c50c64268f473aa5b595a0379f8590c4759.tar.gz
Doxygen-af363c50c64268f473aa5b595a0379f8590c4759.tar.bz2
Remove persistent storage of Entry objects
Diffstat (limited to 'src/arguments.cpp')
-rw-r--r--src/arguments.cpp65
1 files changed, 0 insertions, 65 deletions
diff --git a/src/arguments.cpp b/src/arguments.cpp
index a828dab..6d3e13b 100644
--- a/src/arguments.cpp
+++ b/src/arguments.cpp
@@ -1,5 +1,4 @@
#include "arguments.h"
-#include "marshal.h"
#include <assert.h>
/*! the argument list is documented if one of its
@@ -38,67 +37,3 @@ ArgumentList *ArgumentList::deepCopy() const
return argList;
}
-ArgumentList *ArgumentList::unmarshal(StorageIntf *s)
-{
- uint i;
- uint count = unmarshalUInt(s);
- if (count==NULL_LIST) return 0; // null list
- ArgumentList *result = new ArgumentList;
- assert(count<1000000);
- //printf("unmarshalArgumentList: %d\n",count);
- for (i=0;i<count;i++)
- {
- Argument *a = new Argument;
- a->attrib = unmarshalQCString(s);
- a->type = unmarshalQCString(s);
- a->canType = unmarshalQCString(s);
- a->name = unmarshalQCString(s);
- a->array = unmarshalQCString(s);
- a->defval = unmarshalQCString(s);
- a->docs = unmarshalQCString(s);
- a->typeConstraint = unmarshalQCString(s);
- result->append(a);
- }
- result->constSpecifier = unmarshalBool(s);
- result->volatileSpecifier = unmarshalBool(s);
- result->pureSpecifier = unmarshalBool(s);
- result->trailingReturnType = unmarshalQCString(s);
- result->isDeleted = unmarshalBool(s);
- result->refQualifier = (RefQualifierType)unmarshalInt(s);
- return result;
-}
-
-void ArgumentList::marshal(StorageIntf *s,ArgumentList *argList)
-{
- if (argList==0)
- {
- marshalUInt(s,NULL_LIST); // null pointer representation
- }
- else
- {
- marshalUInt(s,argList->count());
- if (argList->count()>0)
- {
- ArgumentListIterator ali(*argList);
- Argument *a;
- for (ali.toFirst();(a=ali.current());++ali)
- {
- marshalQCString(s,a->attrib);
- marshalQCString(s,a->type);
- marshalQCString(s,a->canType);
- marshalQCString(s,a->name);
- marshalQCString(s,a->array);
- marshalQCString(s,a->defval);
- marshalQCString(s,a->docs);
- marshalQCString(s,a->typeConstraint);
- }
- }
- marshalBool(s,argList->constSpecifier);
- marshalBool(s,argList->volatileSpecifier);
- marshalBool(s,argList->pureSpecifier);
- marshalQCString(s,argList->trailingReturnType);
- marshalBool(s,argList->isDeleted);
- marshalInt(s,(int)argList->refQualifier);
- }
-}
-