My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
tagreader.cpp File Reference
#include "tagreader.h"
#include <stdio.h>
#include <stdarg.h>
#include <qxml.h>
#include <qstack.h>
#include <qdict.h>
#include <qfileinfo.h>
#include <qlist.h>
#include <qstring.h>
#include <qstringlist.h>
#include "entry.h"
#include "classdef.h"
#include "doxygen.h"
#include "util.h"
#include "message.h"
#include "defargs.h"
#include "arguments.h"
#include "filedef.h"
#include "filename.h"
#include "section.h"

Go to the source code of this file.

Classes

class  TagAnchorInfo
 
class  TagAnchorInfoList
 
class  TagEnumValueInfo
 
class  TagMemberInfo
 
class  TagClassInfo
 
class  TagNamespaceInfo
 
class  TagPackageInfo
 
class  TagIncludeInfo
 
class  TagFileInfo
 
class  TagGroupInfo
 
class  TagPageInfo
 
class  TagDirInfo
 
class  TagFileParser
 
class  TagFileParser::StartElementHandler
 
class  TagFileParser::EndElementHandler
 
class  TagFileErrorHandler
 

Functions

static QCString stripPath (const QCString &s)
 
void parseTagFile (Entry *root, const char *fullName)
 

Function Documentation

void parseTagFile ( Entry root,
const char *  fullName 
)

Definition at line 1527 of file tagreader.cpp.

References TagFileParser::addIncludes(), TagFileParser::buildLists(), and TagFileParser::setFileName().

Referenced by readTagFile().

{
QFileInfo fi(fullName);
if (!fi.exists()) return;
TagFileParser handler( fullName ); // tagName
handler.setFileName(fullName);
TagFileErrorHandler errorHandler;
QFile xmlFile( fullName );
QXmlInputSource source( xmlFile );
QXmlSimpleReader reader;
reader.setContentHandler( &handler );
reader.setErrorHandler( &errorHandler );
reader.parse( source );
handler.buildLists(root);
handler.addIncludes();
//handler.dump();
}
static QCString stripPath ( const QCString &  s)
static