Public Member Functions | Private Attributes | List of all members
EdgeRelationMapper Class Reference

Public Member Functions

 EdgeRelationMapper ()
 
IChildNode::NodeRelation stringToNodeRelation (const QString &nrStr)
 

Private Attributes

QMap< QString, IChildNode::NodeRelationm_map
 

Detailed Description

Definition at line 3 of file graphhandler.cpp.

Constructor & Destructor Documentation

EdgeRelationMapper::EdgeRelationMapper ( )
inline

Definition at line 6 of file graphhandler.cpp.

7  {
8  m_map.insert("public-inheritance", IChildNode::PublicInheritance);
9  m_map.insert("protected-inheritance", IChildNode::ProtectedInheritance);
10  m_map.insert("private-inheritance", IChildNode::PrivateInheritance);
11  m_map.insert("usage", IChildNode::Usage);
12  m_map.insert("template-instance", IChildNode::TemplateInstance);
13  }
Iterator insert(const Key &key, const T &value)
Definition: qmap.h:545
QMap< QString, IChildNode::NodeRelation > m_map

Member Function Documentation

IChildNode::NodeRelation EdgeRelationMapper::stringToNodeRelation ( const QString nrStr)
inline

Definition at line 14 of file graphhandler.cpp.

15  {
16  return m_map[nrStr];
17  }
QMap< QString, IChildNode::NodeRelation > m_map

Member Data Documentation

QMap<QString,IChildNode::NodeRelation> EdgeRelationMapper::m_map
private

Definition at line 19 of file graphhandler.cpp.


The documentation for this class was generated from the following file: