3 #ifndef GCP_UTIL_SCHEDDOC_H
4 #define GCP_UTIL_SCHEDDOC_H
16 #include "gcp/util/common/String.h"
68 void ingestFile(std::string fileName, std::ostringstream& os, std::vector<std::string>& commands);
70 std::vector<std::string> generateFileList(std::string schDir);
71 void generateDocumentation(std::string schDir, std::string outputDir, std::string schName);
72 void createDirs(std::string& dir, std::vector<std::string>& schedules);
73 bool lineContainsCommand(std::string& s);
74 void searchForCommandDocumentation(
String& str, std::vector<std::string>& commands, std::vector<std::string>& commandDocs);
76 void createIndexFile(std::string outputDir, std::vector<std::string>& schedules);
77 void writeHtmlScheduleList(std::string dir, std::vector<std::string>& fileList);
78 void writeHtmlFooter(std::ofstream& fout);
79 void writeHtmlHeader(std::ofstream& fout, std::string path);
80 void writeHtmlStyleSheet(std::string& dir);
81 void writeHtmlScheduleSynopsisFile(std::string& dir, std::string& schedName, std::string& content, std::string& callSequence);
82 void writeHtmlScheduleDocumentationFile(std::string& dir, std::string& schedName, std::string& content);
84 void searchForCommandDocumentation(
String& str, std::vector<std::string>& commands, std::vector<std::string>& commandSums,
85 std::vector<std::string>& commandDocs);
87 void writeHtmlScheduleCommandList(std::string dir, std::string& schedName, std::vector<std::string>& commDeclList);
89 void writeHtmlScheduleCommandSynopsisFile(std::string& dir, std::string& schedName, std::string& commDecl, std::string& content);
91 void writeHtmlScheduleCommandDocumentationFile(std::string& dir, std::string& schedName, std::string& commName,
92 std::string& content);
94 std::vector<std::string> commandDeclsToSortedCommandNames(std::vector<std::string>& commandDecls);
103 #endif // End #ifndef GCP_UTIL_SCHEDDOC_H
void documentSchedules(std::string schDir, std::string outputDir)
Definition: SchedDoc.cc:75
friend std::ostream & operator<<(std::ostream &os, SchedDoc &obj)
void operator=(const SchedDoc &objToBeAssigned)
Definition: SchedDoc.cc:44
virtual ~SchedDoc()
Definition: SchedDoc.cc:69
SchedDoc()
Definition: SchedDoc.cc:23
Definition: SchedDoc.h:26