59 if (ext.
at(0)<
'0' || ext.
at(0)>
'9')
115 err(
"Could not create output directory %s\n",manOutput.
data());
130 if (name==0)
return "noname";
160 if (fileName.
right(manExtension.
length())!=manExtension)
162 fileName+=manExtension;
190 t <<
"\" \\\" -*- nroff -*-" <<
endl;
191 t <<
".ad l" <<
endl;
193 t <<
".SH NAME" <<
endl;
194 t << name <<
" \\- ";
240 const char *,
const char *)
245 const char *,
const char *
name)
251 const char *,
const char *
name,
280 t <<
"\"\n.PP " <<
endl;
309 case '-':
t <<
"\\-";
break;
310 case '.':
t <<
"\\&.";
break;
311 case '\\':
t <<
"\\\\";
col++;
break;
312 case '\n':
t <<
"\n";
col=0;
break;
314 default:
t <<
c;
col++;
break;
330 int spacesToNextTabStop;
336 case '.':
t <<
"\\&.";
break;
337 case '\t': spacesToNextTabStop =
340 col+=spacesToNextTabStop;
343 case '\\':
t <<
"\\";
col++;
break;
359 case '\\':
t <<
"\\\\";
break;
361 default:
t <<
c;
break;
430 const char *,
const char *
name,
443 if (i!=-1) baseName=baseName.
right(baseName.
length()-i-2);
450 QFile linkfile( fileName );
500 t <<
".SH SYNOPSIS\n.br\n.PP\n";
522 t <<
".in +1c" <<
endl;
534 t <<
"\" 1c" <<
endl;
558 t <<
"\n.ti -1c\n.RI \"";
585 t <<
"\n.PP\n.RI \"\\fB";
590 t <<
"\\fP\"\n.br\n";
625 default:
ASSERT(0);
break;
641 default:
ASSERT(0);
break;
654 const char *,
const char *
title)
761 t <<
"\\fP\"" <<
endl <<
".in +1c" <<
endl;
773 t <<
":\\fP" <<
endl;
774 t <<
".RS 4" <<
endl;
822 t <<
"\\fC [" << l <<
"]\\fP";
823 if (!isLast)
t <<
", ";
Traverses directory structures and contents in a platform-independent way.
void endSection(const char *, SectionInfo::SectionType)
void endMemberGroup(bool)
static QCString buildFileName(const char *name)
void writeString(const char *text)
void startAnonTypeScope(int)
void endMemberGroupDocs()
virtual void setPath(const QString &path)
void startParamList(ParamListTypes, const char *title)
void endMemberDocSimple()
void startConstraintDocs()
void setDevice(QIODevice *)
void endAnonTypeScope(int)
void startConstraintType()
void endIndexItem(const char *ref, const char *file)
void writeLabel(const char *l, bool isLast)
QCString left(uint len) const
void startInlineMemberName()
void startInlineMemberType()
void writeObjectLink(const char *ref, const char *file, const char *anchor, const char *name)
Simplified and optimized version of QTextStream.
void startGroupHeader(int)
void docify(const char *text)
int findRev(char c, int index=-1, bool cs=TRUE) const
static QCString getSubdir()
QCString getDefFileExtension() const
void codify(const char *text)
#define Config_getInt(val)
void writeStartAnnoItem(const char *type, const char *file, const char *path, const char *name)
virtual bool mkdir(const QString &dirName, bool acceptAbsPath=TRUE) const
void startInlineMemberDoc()
void startSimpleSect(SectionTypes, const char *, const char *, const char *)
void endInlineMemberDoc()
void startPlainFile(const char *name)
void startMemberHeader(const char *)
void startMemberGroupDocs()
QCString right(uint len) const
const char * writeUtf8Char(FTextStream &t, const char *s)
void startMemberDoc(const char *, const char *, const char *, const char *, bool)
void startDoxyAnchor(const char *, const char *, const char *, const char *, const char *)
void writeDoc(DocNode *, Definition *, MemberDef *)
void startMemberItem(const char *, int, const char *)
QCString & prepend(const char *s)
void startHtmlLink(const char *url)
A bunch of utility functions.
const char * data() const
void startIndexItem(const char *ref, const char *file)
QCString dateToString(bool includeTime)
#define Config_getString(val)
#define Config_getBool(val)
void startSection(const char *, const char *, SectionInfo::SectionType)
Concrete visitor implementation for LaTeX output.
void err(const char *fmt,...)
void startConstraintParam()
void startSubsubsection()
void endTitleHead(const char *, const char *)
QCString mid(uint index, uint len=0xffffffff) const
The QFile class is an I/O device that operates on files.
void endConstraintParam()
void startConstraintList(const char *)
void endInlineMemberName()
void startFile(const char *name, const char *manName, const char *title)
void startDescList(SectionTypes)
void writeCodeLink(const char *ref, const char *file, const char *anchor, const char *name, const char *tooltip)
void endInlineMemberType()
Translator * theTranslator
static QCString getExtension()
void startMemberGroupHeader(bool)
virtual QCString trCompoundMembers()=0
void createSubDirs(QDir &d)
void startMemberDocSimple()
void endMemberGroupHeader()
virtual void accept(DocVisitor *v)=0
virtual bool exists() const
QTextStream & endl(QTextStream &s)