40 debug(1,
"Fatal error at line %d column %d: %s\n",
80 return ch ? m_mainHandler->compoundById(ch->
id.
utf8()) : 0;
92 m_memberDict(12251), m_memberNameDict(12251),
93 m_compoundsLoaded(1009)
111 debug(2,
"MainHandler::~MainHandler()\n");
174 QDictIterator<MemberEntry> mdi(ce->
memberDict);
176 for (mdi.toFirst();(me=mdi.current());++mdi)
187 QFile xmlFile(xmlFileName);
197 reader.
parse( source );
243 if (!result)
debug(1,
"Failed to unload component!\n");
249 if (nameStr.
isEmpty())
return 0;
267 if (nameStr.
isEmpty())
return 0;
269 if (cel==0)
return 0;
288 for (chi.toFirst();(ch=chi.current());++chi)
CompoundEntry * m_curCompound
QDict< MemberEntry > memberDict
void memberhandler_exit()
const MainHandler * m_mainHandler
virtual ICompound * current() const
void setDebugLevel(int level)
void append(const type *d)
void memberhandler_init()
bool error(const QXmlParseException &)
bool parse(const QXmlInputSource &input)
virtual const char * latin1() const =0
The QString class provides an abstraction of Unicode text and the classic C null-terminated char arra...
void setErrorHandler(QXmlErrorHandler *handler)
The QXmlErrorHandler class provides an interface to report errors in XML data.
QString value(int index) const
bool warning(const QXmlParseException &)
bool readXMLDir(const char *dirName)
ICompound * toICompound() const
bool parseXML(const char *compId)
QDict< MemberEntry > m_memberDict
The QXmlSimpleReader class provides an implementation of a simple XML reader (i.e. parser).
const IString * name() const
const char * data() const
bool fatalError(const QXmlParseException &exception)
MemberEntry * m_curMember
void setContentHandler(QXmlContentHandler *handler)
void initialize(MainHandler *mh)
void compoundhandler_exit()
QDict< CompoundEntry > m_compoundNameDict
virtual ICompound * memberById(const char *id) const
CompoundEntryIterator(const MainHandler *m, const QList< CompoundEntry > &list)
virtual void startName(const QXmlAttributes &attrib)
ICompound * compoundById(const char *id) const
const IString * id() const
virtual ICompoundIterator * memberByName(const char *name) const
The interface to a compound in the object model.
The QFile class is an I/O device that operates on files.
void sectionhandler_init()
virtual void startMember(const QXmlAttributes &attrib)
QList< CompoundEntry > m_compounds
void compoundhandler_init()
void unloadCompound(CompoundHandler *ch)
QDict< CompoundHandler > m_compoundsLoaded
void sectionhandler_exit()
QDict< CompoundEntry > m_compoundDict
The QXmlAttributes class provides XML attributes.
void addStartHandler(const char *key)
IDoxygen * createObjectModel()
virtual ICompound * compoundByName(const char *name) const
virtual void startCompound(const QXmlAttributes &attrib)
QDict< QList< CompoundEntry > > m_memberNameDict
ICompoundIterator * compounds() const
void setAutoDelete(bool enable)
cet::coded_exception< error, detail::translate > exception
The QXmlParseException class is used to report errors with the QXmlErrorHandler interface.
void addEndHandler(const char *key)
virtual ~CompoundEntryIterator()