1 #ifndef QCEPDOCUMENTATIONDICTIONARY_H
2 #define QCEPDOCUMENTATIONDICTIONARY_H
23 QString functionProto,
25 QString functionLogDoc);
37 QString
proto(QString name);
38 QString
doc(QString name);
42 static QString
get_Doc(QString name);
45 static void set_Proto(QString name, QString proto);
46 static void set_Doc(QString name, QString doc);
47 static void set_LongDoc(QString name, QString longDoc);
49 static QHash<QString,QString>
docs();
50 static QHash<QString,QString>
protos();
51 static QHash<QString,QString>
longDocs();
61 #define _TOKENPASTE(x, y) x ## y
62 #define TOKENPASTE(x, y) _TOKENPASTE(x, y)
64 #define QCEP_DOC_OBJECT(name,doc) \
65 static QcepDocumentationForObject TOKENPASTE(a__, __LINE__) (name, doc);
67 #define QCEP_DOC_LONG(name, longDoc) \
68 static QcepLongDocumentationForObject TOKENPASTE(a__, __LINE__) (name, longDoc);
70 #define QCEP_DOC_FUNCTION(name, proto, doc, longDoc) \
71 static QcepDocumentationForFunction TOKENPASTE(a__, __LINE__) (name, proto, doc, longDoc);
73 #endif // QCEPDOCUMENTATIONDICTIONARY_H
void setDoc(QString name, QString doc)
static QHash< QString, QString > longDocs()
static QString get_Doc(QString name)
QString proto(QString name)
QHash< QString, QString > m_Protos
QcepDocumentationForFunction(QString functionName, QString functionProto, QString functionDoc, QString functionLogDoc)
void setLongDoc(QString name, QString doc)
QcepLongDocumentationForObject(QString objectName, QString longDoc)
QHash< QString, QString > m_LongDocs
QcepDocumentationDictionary()
static QString get_LongDoc(QString name)
static void set_LongDoc(QString name, QString longDoc)
static QString get_Proto(QString name)
void setProto(QString name, QString proto)
QHash< QString, QString > m_Docs
QString doc(QString name)
QcepDocumentationDictionary * gDocumentationDirectory
static QHash< QString, QString > protos()
QcepDocumentationForObject(QString objectName, QString objectDoc)
static QHash< QString, QString > docs()
static void set_Doc(QString name, QString doc)
static void set_Proto(QString name, QString proto)
QString longDoc(QString name)