diff options
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 32 |
1 files changed, 2 insertions, 30 deletions
@@ -50,8 +50,6 @@ class MemberDef; class ExampleSDict; class GroupDef; class NamespaceSDict; -class ClassList; -class MemberGroupSDict; struct TagInfo; class PageDef; class SectionInfo; @@ -94,32 +92,6 @@ class TextGeneratorOLImpl : public TextGeneratorIntf //-------------------------------------------------------------------- -/** @brief maps a unicode character code to a list of T::ElementType's - */ -template<class T> -class LetterToIndexMap : public SIntDict<T> -{ - public: - LetterToIndexMap() { SIntDict<T>::setAutoDelete(TRUE); } - void append(uint letter,typename T::ElementType *elem) - { - T *l = SIntDict<T>::find((int)letter); - if (l==0) - { - l = new T(letter); - SIntDict<T>::inSort((int)letter,l); - } - l->append(elem); - } - private: - int compareValues(const T *l1, const T *l2) const - { - return (int)l1->letter()-(int)l2->letter(); - } -}; - -//-------------------------------------------------------------------- - QCString langToString(SrcLangExt lang); QCString getLanguageSpecificSeparator(SrcLangExt lang,bool classScope=FALSE); @@ -233,7 +205,7 @@ QCString tempArgListToString(const ArgumentList &al,SrcLangExt lang,bool include QCString generateMarker(int id); -void writeExample(OutputList &ol,ExampleSDict *el); +void writeExamples(OutputList &ol,const ExampleList &el); QCString stripAnonymousNamespaceScope(const QCString &s); @@ -291,7 +263,7 @@ QCString convertToPSString(const char *s); QCString getOverloadDocs(); void addMembersToMemberGroup(/* in,out */ MemberList *ml, - /* in,out */ MemberGroupSDict **ppMemberGroupSDict, + /* in,out */ MemberGroupList *pMemberGroups, /* in */ const Definition *context); int extractClassNameFromType(const QCString &type,int &pos, |