#include <cctype>
#include <exception>
#include <fstream>
#include <iostream>
#include <stdint.h>
#include <stdlib.h>
#include <sstream>
#include <string>
#include <vector>
#include <boost/algorithm/string/case_conv.hpp>
Go to the source code of this file.
Functions | |
static const uint32_t | gNumberEntries (6) |
static const std::string | gDefaultLevel ("Info") |
static const std::vector< std::string > | gLogLevels (gLogLevelsChar, gLogLevelsChar+gNumberEntries) |
std::string | gDivider ("// "+std::string(150,'=')+"\n"+"// WARNING! This file is automatically generated! Do not modify it! Any changes will be overwritten!\n"+"// "+std::string(150,'=')+"\n") |
void | fileHeaders (std::ofstream &aHppFile, std::ofstream &aHxxFile, std::ofstream &aCppFile) |
void | log_configuration_functions (std::ofstream &aHppFile, std::ofstream &aHxxFile, std::ofstream &aCppFile) |
std::string | suffix (uint32_t i) |
void | log_functions (std::ofstream &aHppFile, std::ofstream &aHxxFile, std::ofstream &aCppFile) |
void | fileFooters (std::ofstream &aHppFile, std::ofstream &aHxxFile, std::ofstream &aCppFile) |
int | main (int argc, char *argv[]) |
Variables | |
static const std::string | gLogLevelsChar [] = { "Fatal" , "Error" , "Warning" , "Notice" , "Info" , "Debug" } |
void fileFooters | ( | std::ofstream & | aHppFile, |
std::ofstream & | aHxxFile, | ||
std::ofstream & | aCppFile | ||
) |
Definition at line 414 of file generator.cxx.
Referenced by main().
void fileHeaders | ( | std::ofstream & | aHppFile, |
std::ofstream & | aHxxFile, | ||
std::ofstream & | aCppFile | ||
) |
|
static |
Referenced by log_configuration_functions().
std::string gDivider | ( | "// "+std::string(150,'=')+"\n"+"// WARNING! This file is automatically generated! Do not modify it! Any changes will be overwritten!\n"+"// "+std::string(150,'=')+"\n" | ) |
Referenced by fileHeaders(), log_configuration_functions(), and log_functions().
|
static |
Referenced by log_configuration_functions(), and log_functions().
|
static |
void log_configuration_functions | ( | std::ofstream & | aHppFile, |
std::ofstream & | aHxxFile, | ||
std::ofstream & | aCppFile | ||
) |
Definition at line 119 of file generator.cxx.
References gDefaultLevel(), gDivider(), and gLogLevels().
Referenced by main().
void log_functions | ( | std::ofstream & | aHppFile, |
std::ofstream & | aHxxFile, | ||
std::ofstream & | aCppFile | ||
) |
Definition at line 313 of file generator.cxx.
References gDivider(), gLogLevels(), and suffix().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 427 of file generator.cxx.
References fileFooters(), fileHeaders(), log_configuration_functions(), and log_functions().
std::string suffix | ( | uint32_t | i | ) |
Definition at line 299 of file generator.cxx.
Referenced by log_functions().
|
static |
Definition at line 47 of file generator.cxx.