CAPD::DynSys Library  6.0.0
Homology

Files

file  argdemo.cpp
 

Classes

struct  my_type
 

Functions

std::istream & operator>> (std::istream &in, my_type &m)
 
std::ostream & operator<< (std::ostream &out, const my_type &m)
 
int main (int argc, char *argv[])
 

Variables

const char * title
 
const char * helpinfo
 

Detailed Description

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ operator<<()

std::ostream& operator<< ( std::ostream &  out,
const my_type m 
)

◆ operator>>()

std::istream& operator>> ( std::istream &  in,
my_type m 
)

Variable Documentation

◆ helpinfo

const char* helpinfo
Initial value:
= "\
Call this program with all or some of the following arguments:\n\
-h to display this help information,\n\
-x followed by a double precision real number (repeat up to 3 times),\n\
-m followed by a pair of integers in parentheses separated by a comma,\n\
-n followed by an integer number (default value is -1),\n\
-s - this is a switch that does not take any value,\n\
and at most three words not beginning with '-'.\n\
Note: Two words and one occurrence of '-n' is obligatory.\n\
For example: argdemo -x12 -x 0.3 -m (0,0) filename1 filename2\n\
For more info see documentation (if any) \
or ask at http://www.PawelPilarczyk.com/."

◆ title

const char* title
Initial value:
= "\
This is Argument Test program by Pawel Pilarczyk. Call with '-h' for help."