Changeset 128:7cd965d2257f in lemon-main
- Timestamp:
- 04/03/08 12:10:49 (17 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 5 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
.hgignore
r111 r128 25 25 .libs/* 26 26 .deps/* 27 demo/*.eps 27 28 28 29 syntax: regexp -
demo/Makefile.am
r85 r128 5 5 6 6 noinst_PROGRAMS += \ 7 demo/arg_parser_demo 7 demo/arg_parser_demo \ 8 demo/graph_to_eps_demo 8 9 9 10 endif WANT_DEMO … … 11 12 demo_arg_parser_demo_SOURCES = demo/arg_parser_demo.cc 12 13 14 demo_graph_to_eps_demo_SOURCES = demo/graph_to_eps_demo.cc 15 -
demo/arg_parser_demo.cc
r88 r128 38 38 ap.refOption("n", "An integer input.", i, true) 39 39 .refOption("val", "A double input.", d) 40 .doubleOption("val2", "A double input.", d) 40 41 .synonym("vals","val") 41 42 .refOption("name", "A string input.", s) … … 46 47 .refOption("grc","Choice C",g3) 47 48 .optionGroup("gr","gra") 48 .optionGroup("gr","grb ")49 .optionGroup("gr","grbkk") 49 50 .optionGroup("gr","grc") 50 51 .mandatoryGroup("gr") -
lemon/Makefile.am
r109 r128 10 10 lemon/arg_parser.cc \ 11 11 lemon/base.cc \ 12 lemon/color.cc \ 12 13 lemon/random.cc 13 14 … … 21 22 lemon/bfs.h \ 22 23 lemon/bin_heap.h \ 24 lemon/color.h \ 23 25 lemon/dfs.h \ 24 26 lemon/dijkstra.h \ 25 27 lemon/dim2.h \ 26 28 lemon/error.h \ 29 lemon/graph_to_eps.h \ 27 30 lemon/graph_utils.h \ 28 31 lemon/kruskal.h \ … … 40 43 lemon/bits/array_map.h \ 41 44 lemon/bits/base_extender.h \ 45 lemon/bits/bezier.h \ 42 46 lemon/bits/default_map.h \ 43 47 lemon/bits/graph_extender.h \ -
lemon/arg_parser.cc
r88 r128 195 195 Opts::iterator i = _opts.find(opt); 196 196 LEMON_ASSERT(i!=_opts.end(), "Unknown option: '"+opt+"'"); 197 if(i==_opts.end()) std::cout << "JAJJJJJJJJ\n"; 197 198 LEMON_ASSERT(!(i->second.ingroup), 198 199 "Option already in option group: '"+opt+"'");
Note: See TracChangeset
for help on using the changeset viewer.