82 return id ? m_mainHandler->compoundById(id->
utf8()) : 0;
95 return m_parent->m_mainHandler->compoundById(m_id.utf8());
114 debug(1,
"Fatal error at line %d column %d: %s\n",
132 m_map.setAutoDelete(
TRUE);
152 int *
val = m_map.find(s.
utf8());
155 debug(1,
"Warning: `%s' is an invalid compound type\n",s.
data());
180 m_includeDependencyGraph(0),
181 m_includedByDependencyGraph(0),
182 m_templateParamList(0),
185 m_inheritanceGraph(0),
186 m_collaborationGraph(0),
192 m_memberNameDict(257),
267 debug(2,
"CompoundHandler::~CompoundHandler()\n");
333 debug(2,
"endCompound()\n");
397 if (protString==
"protected")
401 else if (protString==
"private")
411 attrib.
value(
"refid"),
415 debug(2,
"super class id=`%s' prot=`%s' virt=`%s'\n",
441 attrib.
value(
"refid"),
445 debug(2,
"sub class id=`%s' prot=`%s' virt=`%s'\n",
474 reader.
parse( source );
483 for (;(sec=msi.
current());++msi)
IGraph * collaborationGraph() const
QList< IncludeHandler > m_includedBy
TitleHandler * m_titleHandler
The interface to a class in the object model.
virtual void startInnerPage(const QXmlAttributes &attrib)
ISectionIterator * sections() const
virtual void endCompound()
IGraph * includeDependencyGraph() const
IIncludeIterator * includedBy() const
GraphHandler * m_inheritanceGraph
MainHandler * m_mainHandler
void insertMember(MemberHandler *mh)
const MainHandler * m_mainHandler
virtual void startInnerNamespace(const QXmlAttributes &attrib)
CompoundKind kind() const
virtual ~IncludeHandler()
virtual void startTemplateParamList(const QXmlAttributes &attrib)
virtual void startCollaborationGraph(const QXmlAttributes &attrib)
virtual ~CompoundHandler()
virtual const IString * id() const
virtual void startIncludeDependencyGraph(const QXmlAttributes &attrib)
void append(const type *d)
virtual void startIncludes(const QXmlAttributes &attrib)
virtual ICompound * current() const
bool parse(const QXmlInputSource &input)
virtual const char * latin1() const =0
virtual void startTemplateParamList(const QXmlAttributes &attrib)
The interface to a struct in the object model.
Interface to a directory in the object model.
virtual IMemberReferenceIterator * members() const
virtual void startIncludedByDependencyGraph(const QXmlAttributes &attrib)
QList< SectionHandler > m_sections
virtual ~CompoundTypeMap()
QList< QString > m_innerCompounds
const IString * kindString() const
void startInclude(const QXmlAttributes &attrib)
IDocRoot * detailedDescription() const
The QString class provides an abstraction of Unicode text and the classic C null-terminated char arra...
virtual void startBriefDesc(const QXmlAttributes &attrib)
void setErrorHandler(QXmlErrorHandler *handler)
The QXmlErrorHandler class provides an interface to report errors in XML data.
The interface to a namespace in the object model.
virtual void startCompound(const QXmlAttributes &attrib)
QString value(int index) const
virtual void startIncludedBy(const QXmlAttributes &attrib)
void startGraph(const QXmlAttributes &attrib)
ICompound * toICompound() const
virtual void startTitle(const QXmlAttributes &attrib)
ParamIterator * templateParams()
IRelatedCompoundIterator * baseCompounds() const
bool parseXML(const char *compId)
The interface to a file in the object model.
The QXmlSimpleReader class provides an implementation of a simple XML reader (i.e. parser).
IGraph * includedByDependencyGraph() const
IParamIterator * templateParameters() const
virtual void startTitle(const QXmlAttributes &attrib)
const IString * name() const
const char * data() const
void setContentHandler(QXmlContentHandler *handler)
void initialize(MainHandler *mh)
virtual ~CompoundErrorHandler()
virtual void startSection(const QXmlAttributes &attrib)
virtual void startDoc(const QXmlAttributes &attrib)
virtual void setDelegate(QXmlDefaultHandler *delegate)=0
virtual void startProgramListing(const QXmlAttributes &attrib)
virtual void endSuperClass()
void compoundhandler_exit()
Node representing a documentation block.
GraphHandler * m_includeDependencyGraph
const IDocTitle * title() const
ICompound::CompoundKind map(const QString &s)
QDict< QList< MemberHandler > > m_memberNameDict
IDocProgramListing * source() const
QList< IncludeHandler > m_includes
QDict< MemberHandler > m_memberDict
virtual void endCompoundName()
static CompoundTypeMap * s_typeMap
IDocRoot * briefDescription() const
const IString * id() const
GraphHandler * m_includedByDependencyGraph
virtual ~CompoundIdIterator()
The interface to a compound in the object model.
virtual void startLocation(const QXmlAttributes &attrib)
IGraph * inheritanceGraph() const
virtual void startSection(const QXmlAttributes &attrib)
friend class RelatedCompound
QString stripWhiteSpace() const
The QFile class is an I/O device that operates on files.
The interface to a page in the object model.
virtual void startDetailedDesc(const QXmlAttributes &attrib)
IMember * memberById(const char *id) const
GraphHandler * m_collaborationGraph
void compoundhandler_init()
virtual void startInnerClass(const QXmlAttributes &attrib)
The interface to a union in the object model.
The interface to a Java/IDL interface in the object model.
ICompoundIterator * nestedCompounds() const
virtual void startProgramListing(const QXmlAttributes &attrib)
virtual void startInnerFile(const QXmlAttributes &attrib)
void unloadCompound(CompoundHandler *ch)
int toInt(bool *ok=0, int base=10) const
bool error(const QXmlParseException &)
TemplateParamListHandler * m_templateParamList
QList< RelatedCompound > m_subClasses
The QXmlAttributes class provides XML attributes.
ListOfAllMembersHandler * m_members
virtual void startListOfAllMembers(const QXmlAttributes &attrib)
virtual const IString * name() const
void initialize(MainHandler *m)
IRelatedCompoundIterator * derivedCompounds() const
QList< RelatedCompound > m_superClasses
CompoundIdIterator(const MainHandler *m, const QList< QString > &list)
virtual void startSuperClass(const QXmlAttributes &attrib)
virtual void startInnerDir(const QXmlAttributes &attrib)
void addStartHandler(const char *key)
virtual void startListOfAllMembers(const QXmlAttributes &attrib)
bool fatalError(const QXmlParseException &exception)
IMemberReferenceIterator * members() const
IIncludeIterator * includes() const
The interface to a group in the object model.
virtual void endSubClass()
Node representing a program listing.
CompoundHandler(const QString &dirName)
void setAutoDelete(bool enable)
void initialize(CompoundHandler *c)
The interface to a Java/IDL exception in the object model.
def parent(G, child, parent_type)
cet::coded_exception< error, detail::translate > exception
virtual void startInnerGroup(const QXmlAttributes &attrib)
void initialize(MainHandler *mh)
The QXmlParseException class is used to report errors with the QXmlErrorHandler interface.
void addEndHandler(const char *key)
bool warning(const QXmlParseException &)
ProgramListingHandler * m_programListing
virtual void startSubClass(const QXmlAttributes &attrib)
IMemberIterator * memberByName(const char *name) const
virtual void startInheritanceGraph(const QXmlAttributes &attrib)
IncludeHandler(IBaseHandler *parent, const char *endtag)