diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-04-21 17:27:45 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-04-21 17:27:45 (GMT) |
commit | ff31b2f109848ea3e08fb17d5821beb7af879193 (patch) | |
tree | 4859bfed167f695f5ce9e9c0f2f6f02313de2ed3 /addon/doxmlparser/src/graphhandler.h | |
parent | bc629c9003d59b736cc996a05b95bac8ab50123a (diff) | |
download | Doxygen-ff31b2f109848ea3e08fb17d5821beb7af879193.zip Doxygen-ff31b2f109848ea3e08fb17d5821beb7af879193.tar.gz Doxygen-ff31b2f109848ea3e08fb17d5821beb7af879193.tar.bz2 |
Release-1.2.15-20020421
Diffstat (limited to 'addon/doxmlparser/src/graphhandler.h')
-rw-r--r-- | addon/doxmlparser/src/graphhandler.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/addon/doxmlparser/src/graphhandler.h b/addon/doxmlparser/src/graphhandler.h index ebcc352..891c3db 100644 --- a/addon/doxmlparser/src/graphhandler.h +++ b/addon/doxmlparser/src/graphhandler.h @@ -16,6 +16,7 @@ #ifndef _GRAPHHANDLER_H #define _GRAPHHANDLER_H +#include "stringimpl.h" #include "doxmlintf.h" #include "basehandler.h" #include "baseiterator.h" @@ -63,16 +64,16 @@ class NodeHandler : public INode, public BaseHandler<NodeHandler> void startChildNode(const QXmlAttributes &attrib); // INode - virtual QString id() const { return m_id; } - virtual QString label() const { return m_label; } - virtual QString linkId() const { return m_link; } + virtual const IString *id() const { return &m_id; } + virtual const IString *label() const { return &m_label; } + virtual const IString *linkId() const { return &m_link; } virtual IChildNodeIterator *children() const; private: IBaseHandler *m_parent; - QString m_id; - QString m_label; - QString m_link; + StringImpl m_id; + StringImpl m_label; + StringImpl m_link; QList<ChildNodeHandler> m_children; GraphHandler *m_graph; }; @@ -100,14 +101,14 @@ class ChildNodeHandler : public IChildNode, public BaseHandler<ChildNodeHandler> // IChildNode virtual INode *node() const; virtual NodeRelation relation() const { return m_relation; } - virtual QString relationString() const { return m_relationString; } + virtual const IString * relationString() const { return &m_relationString; } virtual IEdgeLabelIterator *edgeLabels() const; private: IBaseHandler *m_parent; QString m_id; NodeRelation m_relation; - QString m_relationString; + StringImpl m_relationString; QList<EdgeLabelHandler> m_edgeLabels; GraphHandler *m_graph; }; @@ -132,11 +133,11 @@ class EdgeLabelHandler : public IEdgeLabel, public BaseHandler<EdgeLabelHandler> void endEdgeLabel(); // IEdgeLabel - virtual QString label() const { return m_label; } + virtual const IString *label() const { return &m_label; } private: IBaseHandler *m_parent; - QString m_label; + StringImpl m_label; }; class EdgeLabelIterator : public BaseIterator<IEdgeLabelIterator,IEdgeLabel,EdgeLabelHandler> |