#include <SelfDoc.h>
|
| static bool | notInInitialize () |
| |
| static bool | notInInitialize (const char *methodFmt,...) |
| |
| static const char * | enterMethodInfo () |
| |
| static const char * | enterMethodInfo (const char *methodFmt,...) |
| |
| static std::string | kindToStr (int kind, cProperties *properties1, const char *propName1, cProperties *properties2, const char *propName2) |
| |
| static std::string | val (const char *str) |
| |
| static std::string | val (const std::string &str) |
| |
| static std::string | keyVal (const std::string &key, const std::string &value) |
| |
| static std::string | tagsToJson (const char *key, cMessage *msg) |
| |
| static std::string | gateInfo (cGate *gate) |
| |
◆ SelfDoc()
| inet::SelfDoc::SelfDoc |
( |
| ) |
|
|
inline |
◆ ~SelfDoc()
| inet::SelfDoc::~SelfDoc |
( |
| ) |
|
|
noexcept |
41 file.open(
"/tmp/SelfDoc.txt", std::ofstream::out | std::ofstream::app);
43 throw std::ios_base::failure(std::strerror(errno));
46 file.exceptions(file.exceptions() | std::ios::failbit | std::ifstream::badbit);
48 for (
const auto& elem :
textSet)
49 file << elem <<
',' << std::endl;
◆ enterMethodInfo() [1/2]
| static const char* inet::SelfDoc::enterMethodInfo |
( |
| ) |
|
|
inlinestatic |
◆ enterMethodInfo() [2/2]
| const char * inet::SelfDoc::enterMethodInfo |
( |
const char * |
methodFmt, |
|
|
|
... |
|
) |
| |
|
static |
103 if (methodFmt ==
nullptr)
105 if (0 == strcmp(
"%s", methodFmt)) {
107 va_start(args, methodFmt);
108 const char *str = va_arg(args,
const char *);
◆ gateInfo()
| std::string inet::SelfDoc::gateInfo |
( |
cGate * |
gate | ) |
|
|
static |
◆ insert()
| void inet::SelfDoc::insert |
( |
const std::string & |
text | ) |
|
|
inline |
◆ keyVal()
| static std::string inet::SelfDoc::keyVal |
( |
const std::string & |
key, |
|
|
const std::string & |
value |
|
) |
| |
|
inlinestatic |
◆ kindToStr()
| std::string inet::SelfDoc::kindToStr |
( |
int |
kind, |
|
|
cProperties * |
properties1, |
|
|
const char * |
propName1, |
|
|
cProperties * |
properties2, |
|
|
const char * |
propName2 |
|
) |
| |
|
static |
◆ notInInitialize() [1/2]
| static bool inet::SelfDoc::notInInitialize |
( |
| ) |
|
|
inlinestatic |
◆ notInInitialize() [2/2]
| static bool inet::SelfDoc::notInInitialize |
( |
const char * |
methodFmt, |
|
|
|
... |
|
) |
| |
|
inlinestatic |
27 {
return methodFmt !=
nullptr && (0 != strcmp(methodFmt,
"initialize(%d)")); }
◆ tagsToJson()
| std::string inet::SelfDoc::tagsToJson |
( |
const char * |
key, |
|
|
cMessage * |
msg |
|
) |
| |
|
static |
◆ val() [1/2]
| std::string inet::SelfDoc::val |
( |
const char * |
str | ) |
|
|
static |
◆ val() [2/2]
| static std::string inet::SelfDoc::val |
( |
const std::string & |
str | ) |
|
|
inlinestatic |
33 {
return val(str.c_str()); }
Referenced by val().
◆ generateSelfdoc
| bool inet::SelfDoc::generateSelfdoc = false |
|
static |
◆ textSet
| std::set<std::string> inet::SelfDoc::textSet |
|
protected |
The documentation for this class was generated from the following files: