Changes in / [127:1c9a9e2f7d4d:135:6e7aee618f03] in lemon-1.2
- 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
r127 r135 5 5 6 6 noinst_PROGRAMS += \ 7 demo/arg_parser_demo \ 7 demo/arg_parser_demo \ 8 demo/graph_to_eps_demo \ 8 9 demo/lgf_demo 9 10 … … 11 12 12 13 demo_arg_parser_demo_SOURCES = demo/arg_parser_demo.cc 14 demo_graph_to_eps_demo_SOURCES = demo/graph_to_eps_demo.cc 13 15 demo_lgf_demo_SOURCES = demo/lgf_demo.cc 14 16 -
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
r127 r135 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/counter.h \ 24 26 lemon/dfs.h \ … … 26 28 lemon/dim2.h \ 27 29 lemon/error.h \ 30 lemon/graph_to_eps.h \ 28 31 lemon/graph_utils.h \ 29 32 lemon/kruskal.h \ … … 43 46 lemon/bits/array_map.h \ 44 47 lemon/bits/base_extender.h \ 48 lemon/bits/bezier.h \ 45 49 lemon/bits/default_map.h \ 46 50 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.