Points&Forces (core)
Software tools facilitating the task of surveying architecture
Enumerations | Functions | Variables
csv2sc.cxx File Reference
#include <iostream>
#include <sstream>
#include <string>
#include "SimpleOpt.h"
#include "csv2sc.help"
+ Include dependency graph for csv2sc.cxx:

Go to the source code of this file.

Enumerations

enum  { OPT_HELP , OPT_DELIM , OPT_ROW , OPT_COL }
 

Functions

int error (int val)
 
bool isnumeric (const std::string &s)
 
int main (int argc, char **argv)
 

Variables

CSimpleOpt::SOption g_rgOptions []
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
OPT_HELP 
OPT_DELIM 
OPT_ROW 
OPT_COL 

Definition at line 21 of file csv2sc.cxx.

Function Documentation

◆ error()

int error ( int  val)

Definition at line 37 of file csv2sc.cxx.

+ Here is the caller graph for this function:

◆ isnumeric()

bool isnumeric ( const std::string &  s)

Definition at line 43 of file csv2sc.cxx.

+ Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 76 of file csv2sc.cxx.

+ Here is the call graph for this function:

Variable Documentation

◆ g_rgOptions

CSimpleOpt::SOption g_rgOptions[]
Initial value:
= {
{ OPT_DELIM, _T("-d"), SO_REQ_SEP },
{ OPT_DELIM, _T("--delimiter"), SO_REQ_SEP },
{ OPT_ROW, _T("-r"), SO_REQ_SEP },
{ OPT_ROW, _T("--row"), SO_REQ_SEP },
{ OPT_COL, _T("-c"), SO_REQ_SEP },
{ OPT_COL, _T("--column"), SO_REQ_SEP },
{ OPT_HELP, _T("-?"), SO_NONE },
{ OPT_HELP, _T("-h"), SO_NONE },
{ OPT_HELP, _T("--help"), SO_NONE },
}
#define SO_END_OF_OPTIONS
this option definition must be the last entry in the table
Definition: SimpleOpt.h:307
#define _T(s)
Definition: SimpleOpt.h:197
@ SO_REQ_SEP
Definition: SimpleOpt.h:290
@ SO_NONE
Definition: SimpleOpt.h:286
@ OPT_DELIM
Definition: csv2sc.cxx:21
@ OPT_ROW
Definition: csv2sc.cxx:21
@ OPT_COL
Definition: csv2sc.cxx:21
@ OPT_HELP
Definition: csv2sc.cxx:21

Definition at line 24 of file csv2sc.cxx.