#include <cmdline.h>
Inheritance diagram for mysqlpp::ssqlsxlat::CommandLine:


Public Types | |
| ss_unknown | |
| no known input type given yet | |
| ss_ssqls1 | |
| a C++ file containing an SSQLS v1 declaration | |
| ss_ssqls2 | |
| an SSQLS v2 file | |
| ss_table | |
| an existing DB table schema | |
| enum | SourceSink { ss_unknown, ss_ssqls1, ss_ssqls2, ss_table } |
| Types of inputs that ssqlsxlat will accept. More... | |
Public Member Functions | |
| CommandLine (int argc, char *const argv[]) | |
| Constructor. | |
| void | print_usage () const |
| Show a message explaining the program's proper usage. | |
| const char * | input () const |
| Return the name of the input source. | |
| SourceSink | input_source () const |
| The input source type. | |
| SourceSink | output_sink () const |
| The output sink (destination) type. | |
| const char * | output () const |
| The base name of the output file. | |
| const char * | pass () const |
| DB password, when input type is is_table. | |
| const char * | server () const |
| DB server name, when input type is is_table. | |
| const char * | user () const |
| DB user name, when input type is is_table. | |
| mysqlpp::ssqlsxlat::CommandLine::CommandLine | ( | int | argc, | |
| char *const | argv[] | |||
| ) |
Constructor.
Public interface
| const char* mysqlpp::ssqlsxlat::CommandLine::input | ( | ) | const [inline] |
Return the name of the input source.
This can be a file name, a table name, etc. Call input_source() to determine the proper interpretation.
1.4.7