526{
528 Dir defDir(outputDirectory.
str());
529 if (!defDir.exists() && !defDir.mkdir(outputDirectory.
str()))
530 {
531 err(
"Could not create def directory in %s\n",
qPrint(outputDirectory));
532 return;
533 }
534
535 QCString fileName=outputDirectory+
"/doxygen.def";
537 if (!f.is_open())
538 {
539 err(
"Cannot open file %s for writing!\n",
qPrint(fileName));
540 return;
541 }
543 t << "AutoGen Definitions dummy;\n";
544
548 {
550 {
552 }
554 {
555 for (const auto &fd : *fn)
556 {
558 }
559 }
561 {
563 }
564 }
565 else
566 {
567 t << "dummy_value = true;\n";
568 }
569}
Class representing a directory in the file system.
static NamespaceLinkedMap * namespaceLinkedMap
static FileNameLinkedMap * inputNameLinkedMap
static ClassLinkedMap * classLinkedMap
This is an alternative implementation of QCString.
const std::string & str() const
Text streaming class that buffers data.
#define Config_getString(name)
static void generateDEFForClass(const ClassDef *cd, TextStream &t)
static void generateDEFForFile(const FileDef *fd, TextStream &t)
static void generateDEFForNamespace(const NamespaceDef *nd, TextStream &t)
std::ofstream openOutputStream(const QCString &name, bool append=false)
const char * qPrint(const char *s)