#include <settings.h>
Collaboration diagram for settings:
Public Member Functions | |
void | Show (void) |
Show the settings (DEBUG). | |
bool | GetRecursive (void) |
Get de setting recursive. | |
bool | GetDebug (void) |
Get de setting debug. | |
bool | GetShowHelp (void) |
Get de setting show help. | |
bool | GetShowVersion (void) |
Get de setting show version. | |
string | GetOriginalRoute (void) |
Get de setting original route. | |
string | GetFileRoute (void) |
Get de setting file route. | |
string | GetOutFile (void) |
Get de setting out file. | |
string | GetLogFile (void) |
Get de setting log file. | |
string | GetLabel (void) |
Get de setting label. | |
string | GetFormat (void) |
Get de setting format. | |
Static Public Member Functions | |
void | CreateInstance (int argc, char **argv) |
Create the settings singleton instance. | |
void | DeleteInstance (void) |
Deletes the settings singleton instance. | |
settings * | Instance (void) |
Get de settings singleton instance. | |
Private Member Functions | |
settings (int argc, char **argv) | |
Settings constructor. | |
settings (const settings &Obj) | |
Settings copy constructor. | |
void | SetDefaults (void) |
Set the default settings. | |
void | SetArguments (list< string > ArgumentsList) |
Set the settings from the arguments passed to the command line. | |
bool | ParseArgument (list< string >::const_iterator ArgsIterator, list< string >::const_iterator ArgsIteratorEnd) |
Parses an argument. | |
void | ParseArgument (char Argument) |
Parses an argument. | |
Private Attributes | |
bool | m_Recursive |
true: Search in specified directory and subdirectories. (--recursive) | |
bool | m_Debug |
true: Show debug messages. (--debug) | |
bool | m_ShowHelp |
true: Show help message. (--help) | |
bool | m_ShowVersion |
true: Show version message. (--version) | |
string | m_OriginalRoute |
String with the original route. | |
string | m_FileRoute |
String with the file/route. (--route). | |
string | m_OutFile |
String with the output filename. (--out). | |
string | m_LogFile |
String with the log filename. (--log). | |
string | m_Label |
String with the label name. (--label). | |
string | m_Format |
String with the file of output Format. (--format). | |
Static Private Attributes | |
settings * | m_pInstance = NULL |
Singleton instance. |
|
Settings constructor.
|
Here is the call graph for this function:
|
Settings copy constructor.
|
|
Create the settings singleton instance.
|
Here is the call graph for this function:
|
Deletes the settings singleton instance.
|
|
Get de settings singleton instance.
|
|
Show the settings (DEBUG).
|
Here is the call graph for this function:
|
Get de setting recursive.
|
|
Get de setting debug.
|
|
Get de setting show help.
|
|
Get de setting show version.
|
|
Get de setting original route.
|
|
Get de setting file route.
|
|
Get de setting out file.
|
|
Get de setting log file.
|
|
Get de setting label.
|
|
Get de setting format.
|
|
Set the default settings.
|
Here is the call graph for this function:
|
Set the settings from the arguments passed to the command line.
|
Here is the call graph for this function:
|
Parses an argument.
|
Here is the call graph for this function:
|
Parses an argument.
|
|
true: Search in specified directory and subdirectories. (--recursive)
|
|
true: Show debug messages. (--debug)
|
|
true: Show help message. (--help)
|
|
true: Show version message. (--version)
|
|
String with the original route.
|
|
String with the file/route. (--route).
|
|
String with the output filename. (--out).
|
|
String with the log filename. (--log).
|
|
String with the label name. (--label).
|
|
String with the file of output Format. (--format).
|
|
Singleton instance.
|
![]() |
![]() |
![]() |