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

Public Member Functions

 TypeNameMapper ()
 
SimpleSectHandler::Types stringToType (const QString &typeStr)
 

Private Attributes

QMap< QString, SimpleSectHandler::Types > m_map
 

Detailed Description

Definition at line 25 of file dochandler.cpp.

Constructor & Destructor Documentation

TypeNameMapper::TypeNameMapper ( )
inline

Definition at line 28 of file dochandler.cpp.

29  {
30  m_map.insert("see", SimpleSectHandler::See);
31  m_map.insert("return", SimpleSectHandler::Return);
32  m_map.insert("author", SimpleSectHandler::Author);
34  m_map.insert("since", SimpleSectHandler::Since);
35  m_map.insert("date", SimpleSectHandler::Date);
36  m_map.insert("bug", SimpleSectHandler::Bug);
37  m_map.insert("note", SimpleSectHandler::Note);
38  m_map.insert("warning", SimpleSectHandler::Warning);
39  m_map.insert("par", SimpleSectHandler::Par);
40  m_map.insert("deprecated",SimpleSectHandler::Deprecated);
41  m_map.insert("pre", SimpleSectHandler::Pre);
42  m_map.insert("post", SimpleSectHandler::Post);
43  m_map.insert("invariant", SimpleSectHandler::Invar);
44  m_map.insert("remark", SimpleSectHandler::Remark);
45  m_map.insert("attention", SimpleSectHandler::Attention);
46  m_map.insert("todo", SimpleSectHandler::Todo);
47  m_map.insert("test", SimpleSectHandler::Test);
48  m_map.insert("rcs", SimpleSectHandler::RCS);
49  m_map.insert("enumvalues",SimpleSectHandler::EnumValues);
50  m_map.insert("examples", SimpleSectHandler::Examples);
51  }
Iterator insert(const Key &key, const T &value)
Definition: qmap.h:545
QMap< QString, SimpleSectHandler::Types > m_map
Definition: dochandler.cpp:57

Member Function Documentation

SimpleSectHandler::Types TypeNameMapper::stringToType ( const QString typeStr)
inline

Definition at line 52 of file dochandler.cpp.

53  {
54  return m_map[typeStr];
55  }
QMap< QString, SimpleSectHandler::Types > m_map
Definition: dochandler.cpp:57

Member Data Documentation

QMap<QString,SimpleSectHandler::Types> TypeNameMapper::m_map
private

Definition at line 57 of file dochandler.cpp.


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