From 04cdcb0feb369ac4c60e10ccdc139c57e8b52e62 Mon Sep 17 00:00:00 2001 From: Zearin Date: Fri, 7 Oct 2011 10:34:23 -0400 Subject: Removed leftovers from installing with pip. Oops! I noticed there was a bunch of extra crap left over from when I installed this module onto my own system. I thought it wouldn't have modified itself at the time (just the Python module library on my system), but I was wrong. Begone, useless cruft! --- build/lib/cmd2.py | 1593 --- cmd2.egg-info/PKG-INFO | 43 - cmd2.egg-info/SOURCES.txt | 8 - cmd2.egg-info/dependency_links.txt | 1 - cmd2.egg-info/requires.txt | 1 - cmd2.egg-info/top_level.txt | 1 - cmd2.pyc | Bin 65154 -> 0 bytes dist/cmd2-0.6.4-py2.7.egg | Bin 42017 -> 0 bytes doxygen/def/doxygen.def | 10097 ------------------- doxygen/html/annotated.html | 155 - doxygen/html/bc_s.png | Bin 677 -> 0 bytes doxygen/html/classcmd2_1_1Borg-members.html | 133 - doxygen/html/classcmd2_1_1Borg.html | 218 - doxygen/html/classcmd2_1_1Borg.png | Bin 457 -> 0 bytes doxygen/html/classcmd2_1_1Borg__inherit__graph.dot | 9 - doxygen/html/classcmd2_1_1Borg__inherit__graph.md5 | 1 - doxygen/html/classcmd2_1_1Cmd-members.html | 242 - doxygen/html/classcmd2_1_1Cmd.html | 3767 ------- doxygen/html/classcmd2_1_1Cmd.png | Bin 892 -> 0 bytes .../html/classcmd2_1_1Cmd2TestCase-members.html | 144 - doxygen/html/classcmd2_1_1Cmd2TestCase.html | 506 - doxygen/html/classcmd2_1_1Cmd__inherit__graph.dot | 15 - doxygen/html/classcmd2_1_1Cmd__inherit__graph.md5 | 1 - doxygen/html/classcmd2_1_1EmbeddedConsoleExit.html | 138 - doxygen/html/classcmd2_1_1EmptyStatement.html | 138 - doxygen/html/classcmd2_1_1History-members.html | 140 - doxygen/html/classcmd2_1_1History.html | 519 - doxygen/html/classcmd2_1_1HistoryItem-members.html | 136 - doxygen/html/classcmd2_1_1HistoryItem.html | 268 - doxygen/html/classcmd2_1_1NotSettableError.html | 138 - .../html/classcmd2_1_1OptionParser-members.html | 134 - doxygen/html/classcmd2_1_1OptionParser.html | 278 - doxygen/html/classcmd2_1_1OutputTrap-members.html | 138 - doxygen/html/classcmd2_1_1OutputTrap.html | 312 - doxygen/html/classcmd2_1_1OutputTrap.png | Bin 456 -> 0 bytes .../html/classcmd2_1_1OutputTrap__coll__graph.dot | 9 - .../html/classcmd2_1_1OutputTrap__coll__graph.md5 | 1 - .../classcmd2_1_1OutputTrap__inherit__graph.dot | 9 - .../classcmd2_1_1OutputTrap__inherit__graph.md5 | 1 - .../html/classcmd2_1_1ParsedString-members.html | 133 - doxygen/html/classcmd2_1_1ParsedString.html | 216 - .../classcmd2_1_1PasteBufferError-members.html | 133 - doxygen/html/classcmd2_1_1PasteBufferError.html | 198 - doxygen/html/classcmd2_1_1Statekeeper-members.html | 136 - doxygen/html/classcmd2_1_1Statekeeper.html | 284 - .../html/classcmd2_1_1StubbornDict-members.html | 137 - doxygen/html/classcmd2_1_1StubbornDict.html | 378 - doxygen/html/classcmd2_1_1_borg-members.html | 131 - doxygen/html/classcmd2_1_1_borg.html | 192 - doxygen/html/classcmd2_1_1_borg.png | Bin 457 -> 0 bytes doxygen/html/classcmd2_1_1_cmd-members.html | 236 - doxygen/html/classcmd2_1_1_cmd.html | 2587 ----- doxygen/html/classcmd2_1_1_cmd.png | Bin 892 -> 0 bytes .../html/classcmd2_1_1_cmd2_test_case-members.html | 142 - doxygen/html/classcmd2_1_1_cmd2_test_case.html | 363 - .../html/classcmd2_1_1_embedded_console_exit.html | 137 - doxygen/html/classcmd2_1_1_empty_statement.html | 137 - doxygen/html/classcmd2_1_1_history-members.html | 139 - doxygen/html/classcmd2_1_1_history.html | 418 - .../html/classcmd2_1_1_history_item-members.html | 135 - doxygen/html/classcmd2_1_1_history_item.html | 252 - doxygen/html/classcmd2_1_1_not_settable_error.html | 137 - .../html/classcmd2_1_1_option_parser-members.html | 133 - doxygen/html/classcmd2_1_1_option_parser.html | 253 - .../html/classcmd2_1_1_output_trap-members.html | 137 - doxygen/html/classcmd2_1_1_output_trap.html | 283 - doxygen/html/classcmd2_1_1_output_trap.png | Bin 456 -> 0 bytes .../html/classcmd2_1_1_parsed_string-members.html | 132 - doxygen/html/classcmd2_1_1_parsed_string.html | 196 - .../classcmd2_1_1_paste_buffer_error-members.html | 132 - doxygen/html/classcmd2_1_1_paste_buffer_error.html | 189 - .../html/classcmd2_1_1_statekeeper-members.html | 135 - doxygen/html/classcmd2_1_1_statekeeper.html | 259 - .../html/classcmd2_1_1_stubborn_dict-members.html | 136 - doxygen/html/classcmd2_1_1_stubborn_dict.html | 328 - doxygen/html/classes.html | 153 - .../html/classexample_1_1CmdLineApp-members.html | 241 - doxygen/html/classexample_1_1CmdLineApp.html | 299 - doxygen/html/classexample_1_1CmdLineApp.png | Bin 485 -> 0 bytes .../classexample_1_1CmdLineApp__coll__graph.dot | 9 - .../classexample_1_1CmdLineApp__coll__graph.md5 | 1 - .../classexample_1_1CmdLineApp__inherit__graph.dot | 9 - .../classexample_1_1CmdLineApp__inherit__graph.md5 | 1 - .../classexample_1_1_cmd_line_app-members.html | 240 - doxygen/html/classexample_1_1_cmd_line_app.html | 279 - doxygen/html/classexample_1_1_cmd_line_app.png | Bin 485 -> 0 bytes doxygen/html/classpirate2_1_1Pirate-members.html | 134 - doxygen/html/classpirate2_1_1Pirate.html | 248 - .../html/classpirate2_1_1Pirate__coll__graph.dot | 9 - .../html/classpirate2_1_1Pirate__coll__graph.md5 | 1 - .../classpirate2_1_1Pirate__inherit__graph.dot | 9 - .../classpirate2_1_1Pirate__inherit__graph.md5 | 1 - doxygen/html/classpirate2_1_1_pirate-members.html | 133 - doxygen/html/classpirate2_1_1_pirate.html | 228 - doxygen/html/classpirate3_1_1Pirate-members.html | 137 - doxygen/html/classpirate3_1_1Pirate.html | 348 - .../html/classpirate3_1_1Pirate__coll__graph.dot | 9 - .../html/classpirate3_1_1Pirate__coll__graph.md5 | 1 - .../classpirate3_1_1Pirate__inherit__graph.dot | 9 - .../classpirate3_1_1Pirate__inherit__graph.md5 | 1 - doxygen/html/classpirate3_1_1_pirate-members.html | 136 - doxygen/html/classpirate3_1_1_pirate.html | 313 - doxygen/html/classpirate4_1_1Pirate-members.html | 137 - doxygen/html/classpirate4_1_1Pirate.html | 356 - .../html/classpirate4_1_1Pirate__coll__graph.dot | 9 - .../html/classpirate4_1_1Pirate__coll__graph.md5 | 1 - .../classpirate4_1_1Pirate__inherit__graph.dot | 9 - .../classpirate4_1_1Pirate__inherit__graph.md5 | 1 - doxygen/html/classpirate4_1_1_pirate-members.html | 136 - doxygen/html/classpirate4_1_1_pirate.html | 315 - doxygen/html/classpirate5_1_1Pirate-members.html | 138 - doxygen/html/classpirate5_1_1Pirate.html | 395 - .../html/classpirate5_1_1Pirate__coll__graph.dot | 9 - .../html/classpirate5_1_1Pirate__coll__graph.md5 | 1 - .../classpirate5_1_1Pirate__inherit__graph.dot | 9 - .../classpirate5_1_1Pirate__inherit__graph.md5 | 1 - doxygen/html/classpirate5_1_1_pirate-members.html | 137 - doxygen/html/classpirate5_1_1_pirate.html | 345 - doxygen/html/classpirate6_1_1Pirate-members.html | 244 - doxygen/html/classpirate6_1_1Pirate.html | 458 - doxygen/html/classpirate6_1_1Pirate.png | Bin 397 -> 0 bytes .../html/classpirate6_1_1Pirate__coll__graph.dot | 9 - .../html/classpirate6_1_1Pirate__coll__graph.md5 | 1 - .../classpirate6_1_1Pirate__inherit__graph.dot | 9 - .../classpirate6_1_1Pirate__inherit__graph.md5 | 1 - doxygen/html/classpirate6_1_1_pirate-members.html | 243 - doxygen/html/classpirate6_1_1_pirate.html | 402 - doxygen/html/classpirate6_1_1_pirate.png | Bin 397 -> 0 bytes doxygen/html/classpirate7_1_1Pirate-members.html | 246 - doxygen/html/classpirate7_1_1Pirate.html | 582 -- doxygen/html/classpirate7_1_1Pirate.png | Bin 398 -> 0 bytes .../html/classpirate7_1_1Pirate__coll__graph.dot | 9 - .../html/classpirate7_1_1Pirate__coll__graph.md5 | 1 - .../classpirate7_1_1Pirate__inherit__graph.dot | 9 - .../classpirate7_1_1Pirate__inherit__graph.md5 | 1 - doxygen/html/classpirate7_1_1_pirate-members.html | 245 - doxygen/html/classpirate7_1_1_pirate.html | 520 - doxygen/html/classpirate7_1_1_pirate.png | Bin 398 -> 0 bytes doxygen/html/classpirate8_1_1Pirate-members.html | 248 - doxygen/html/classpirate8_1_1Pirate.html | 659 -- doxygen/html/classpirate8_1_1Pirate.png | Bin 395 -> 0 bytes .../html/classpirate8_1_1Pirate__coll__graph.dot | 9 - .../html/classpirate8_1_1Pirate__coll__graph.md5 | 1 - .../classpirate8_1_1Pirate__inherit__graph.dot | 9 - .../classpirate8_1_1Pirate__inherit__graph.md5 | 1 - doxygen/html/classpirate8_1_1_pirate-members.html | 247 - doxygen/html/classpirate8_1_1_pirate.html | 590 -- doxygen/html/classpirate8_1_1_pirate.png | Bin 395 -> 0 bytes doxygen/html/classpirate_1_1Pirate.html | 140 - .../html/classpirate_1_1Pirate__coll__graph.dot | 9 - .../html/classpirate_1_1Pirate__coll__graph.md5 | 1 - .../html/classpirate_1_1Pirate__inherit__graph.dot | 9 - .../html/classpirate_1_1Pirate__inherit__graph.md5 | 1 - doxygen/html/classpirate_1_1_pirate.html | 139 - doxygen/html/closed.png | Bin 126 -> 0 bytes doxygen/html/cmd2_8py.html | 177 - doxygen/html/cmd2_8py_source.html | 1721 ---- doxygen/html/conf_8py.html | 155 - doxygen/html/conf_8py_source.html | 326 - .../html/dir_5185d8a4f3d34c6a54b85ae5904b80ec.html | 133 - .../dir_5185d8a4f3d34c6a54b85ae5904b80ec_dep.dot | 13 - .../dir_5185d8a4f3d34c6a54b85ae5904b80ec_dep.md5 | 1 - .../html/dir_9c53eb36d53ed9f246f40760bdb65b6a.html | 130 - .../dir_9c53eb36d53ed9f246f40760bdb65b6a_dep.dot | 9 - .../dir_9c53eb36d53ed9f246f40760bdb65b6a_dep.md5 | 1 - .../html/dir_a94d11e7025bc9c49b19e92232c5c310.html | 141 - .../dir_a94d11e7025bc9c49b19e92232c5c310_dep.dot | 9 - .../dir_a94d11e7025bc9c49b19e92232c5c310_dep.md5 | 1 - .../html/dir_bfedb8cf204bc52dab598c696b63c3d6.html | 135 - .../dir_bfedb8cf204bc52dab598c696b63c3d6_dep.dot | 14 - .../dir_bfedb8cf204bc52dab598c696b63c3d6_dep.md5 | 1 - .../html/dir_e01452e30018b7d8a87d21a8fdf5052c.html | 128 - .../dir_e01452e30018b7d8a87d21a8fdf5052c_dep.dot | 10 - .../dir_e01452e30018b7d8a87d21a8fdf5052c_dep.md5 | 1 - doxygen/html/dirs.html | 135 - doxygen/html/doxygen.css | 946 -- doxygen/html/doxygen.png | Bin 3942 -> 0 bytes doxygen/html/example_8py.html | 145 - doxygen/html/example_8py_source.html | 163 - doxygen/html/files.html | 145 - doxygen/html/fileutil_8py.html | 141 - doxygen/html/fileutil_8py_source.html | 140 - doxygen/html/ftv2blank.png | Bin 82 -> 0 bytes doxygen/html/ftv2doc.png | Bin 762 -> 0 bytes doxygen/html/ftv2folderclosed.png | Bin 598 -> 0 bytes doxygen/html/ftv2folderopen.png | Bin 590 -> 0 bytes doxygen/html/ftv2lastnode.png | Bin 82 -> 0 bytes doxygen/html/ftv2link.png | Bin 762 -> 0 bytes doxygen/html/ftv2mlastnode.png | Bin 221 -> 0 bytes doxygen/html/ftv2mnode.png | Bin 221 -> 0 bytes doxygen/html/ftv2node.png | Bin 82 -> 0 bytes doxygen/html/ftv2plastnode.png | Bin 215 -> 0 bytes doxygen/html/ftv2pnode.png | Bin 215 -> 0 bytes doxygen/html/ftv2splitbar.png | Bin 249 -> 0 bytes doxygen/html/ftv2vertline.png | Bin 82 -> 0 bytes doxygen/html/functions.html | 204 - doxygen/html/functions_0x61.html | 180 - doxygen/html/functions_0x62.html | 173 - doxygen/html/functions_0x63.html | 203 - doxygen/html/functions_0x64.html | 299 - doxygen/html/functions_0x65.html | 188 - doxygen/html/functions_0x66.html | 179 - doxygen/html/functions_0x67.html | 176 - doxygen/html/functions_0x68.html | 171 - doxygen/html/functions_0x69.html | 184 - doxygen/html/functions_0x6b.html | 173 - doxygen/html/functions_0x6c.html | 182 - doxygen/html/functions_0x6d.html | 179 - doxygen/html/functions_0x6e.html | 170 - doxygen/html/functions_0x6f.html | 182 - doxygen/html/functions_0x70.html | 228 - doxygen/html/functions_0x71.html | 167 - doxygen/html/functions_0x72.html | 204 - doxygen/html/functions_0x73.html | 206 - doxygen/html/functions_0x74.html | 185 - doxygen/html/functions_0x75.html | 173 - doxygen/html/functions_0x77.html | 170 - doxygen/html/functions_0x7a.html | 167 - doxygen/html/functions_func.html | 491 - doxygen/html/functions_vars.html | 541 - doxygen/html/graph_8py.html | 143 - doxygen/html/graph_8py_source.html | 169 - doxygen/html/graph_legend.dot | 23 - doxygen/html/graph_legend.html | 183 - doxygen/html/graph_legend.md5 | 1 - doxygen/html/hierarchy.html | 159 - doxygen/html/ignoreBug_8py.html | 142 - doxygen/html/ignoreBug_8py_source.html | 139 - doxygen/html/ignore_bug_8py.html | 141 - doxygen/html/ignore_bug_8py_source.html | 138 - doxygen/html/index.html | 122 - doxygen/html/inherit_graph_0.dot | 10 - doxygen/html/inherit_graph_0.md5 | 1 - doxygen/html/inherit_graph_1.dot | 16 - doxygen/html/inherit_graph_1.md5 | 1 - doxygen/html/inherit_graph_10.dot | 8 - doxygen/html/inherit_graph_10.md5 | 1 - doxygen/html/inherit_graph_11.dot | 8 - doxygen/html/inherit_graph_11.md5 | 1 - doxygen/html/inherit_graph_12.dot | 8 - doxygen/html/inherit_graph_12.md5 | 1 - doxygen/html/inherit_graph_13.dot | 8 - doxygen/html/inherit_graph_13.md5 | 1 - doxygen/html/inherit_graph_14.dot | 8 - doxygen/html/inherit_graph_14.md5 | 1 - doxygen/html/inherit_graph_15.dot | 8 - doxygen/html/inherit_graph_15.md5 | 1 - doxygen/html/inherit_graph_16.dot | 8 - doxygen/html/inherit_graph_16.md5 | 1 - doxygen/html/inherit_graph_17.dot | 8 - doxygen/html/inherit_graph_17.md5 | 1 - doxygen/html/inherit_graph_2.dot | 8 - doxygen/html/inherit_graph_2.md5 | 1 - doxygen/html/inherit_graph_3.dot | 8 - doxygen/html/inherit_graph_3.md5 | 1 - doxygen/html/inherit_graph_4.dot | 8 - doxygen/html/inherit_graph_4.md5 | 1 - doxygen/html/inherit_graph_5.dot | 8 - doxygen/html/inherit_graph_5.md5 | 1 - doxygen/html/inherit_graph_6.dot | 8 - doxygen/html/inherit_graph_6.md5 | 1 - doxygen/html/inherit_graph_7.dot | 8 - doxygen/html/inherit_graph_7.md5 | 1 - doxygen/html/inherit_graph_8.dot | 8 - doxygen/html/inherit_graph_8.md5 | 1 - doxygen/html/inherit_graph_9.dot | 8 - doxygen/html/inherit_graph_9.md5 | 1 - doxygen/html/inherits.html | 170 - doxygen/html/installdox | 112 - doxygen/html/jquery.js | 54 - doxygen/html/namespacecmd2.html | 771 -- doxygen/html/namespaceconf.html | 380 - doxygen/html/namespaceexample.html | 157 - doxygen/html/namespacefileutil.html | 152 - doxygen/html/namespacegraph.html | 268 - doxygen/html/namespaceignoreBug.html | 168 - doxygen/html/namespaceignore_bug.html | 167 - doxygen/html/namespacemembers.html | 412 - doxygen/html/namespacemembers_func.html | 175 - doxygen/html/namespacemembers_vars.html | 363 - doxygen/html/namespacepirate.html | 156 - doxygen/html/namespacepirate2.html | 156 - doxygen/html/namespacepirate3.html | 156 - doxygen/html/namespacepirate4.html | 156 - doxygen/html/namespacepirate5.html | 156 - doxygen/html/namespacepirate6.html | 156 - doxygen/html/namespacepirate7.html | 156 - doxygen/html/namespacepirate8.html | 156 - doxygen/html/namespaces.html | 146 - doxygen/html/namespaceschematic.html | 216 - doxygen/html/namespacesetup.html | 405 - doxygen/html/nav_f.png | Bin 159 -> 0 bytes doxygen/html/nav_h.png | Bin 97 -> 0 bytes doxygen/html/navtree.css | 123 - doxygen/html/navtree.js | 352 - doxygen/html/open.png | Bin 118 -> 0 bytes doxygen/html/pirate2_8py.html | 145 - doxygen/html/pirate2_8py_source.html | 146 - doxygen/html/pirate3_8py.html | 145 - doxygen/html/pirate3_8py_source.html | 149 - doxygen/html/pirate4_8py.html | 145 - doxygen/html/pirate4_8py_source.html | 155 - doxygen/html/pirate5_8py.html | 145 - doxygen/html/pirate5_8py_source.html | 163 - doxygen/html/pirate6_8py.html | 145 - doxygen/html/pirate6_8py_source.html | 167 - doxygen/html/pirate7_8py.html | 145 - doxygen/html/pirate7_8py_source.html | 174 - doxygen/html/pirate8_8py.html | 145 - doxygen/html/pirate8_8py_source.html | 185 - doxygen/html/pirate_8py.html | 145 - doxygen/html/pirate_8py_source.html | 135 - doxygen/html/resize.js | 81 - doxygen/html/schematic_8py.html | 145 - doxygen/html/schematic_8py_source.html | 160 - doxygen/html/search/all_5f.html | 110 - doxygen/html/search/all_61.html | 65 - doxygen/html/search/all_62.html | 44 - doxygen/html/search/all_63.html | 166 - doxygen/html/search/all_64.html | 284 - doxygen/html/search/all_65.html | 105 - doxygen/html/search/all_66.html | 66 - doxygen/html/search/all_67.html | 59 - doxygen/html/search/all_68.html | 65 - doxygen/html/search/all_69.html | 79 - doxygen/html/search/all_6b.html | 41 - doxygen/html/search/all_6c.html | 92 - doxygen/html/search/all_6d.html | 55 - doxygen/html/search/all_6e.html | 44 - doxygen/html/search/all_6f.html | 80 - doxygen/html/search/all_70.html | 325 - doxygen/html/search/all_71.html | 26 - doxygen/html/search/all_72.html | 125 - doxygen/html/search/all_73.html | 156 - doxygen/html/search/all_74.html | 87 - doxygen/html/search/all_75.html | 50 - doxygen/html/search/all_76.html | 29 - doxygen/html/search/all_77.html | 41 - doxygen/html/search/all_78.html | 26 - doxygen/html/search/all_7a.html | 26 - doxygen/html/search/classes_62.html | 26 - doxygen/html/search/classes_63.html | 38 - doxygen/html/search/classes_65.html | 32 - doxygen/html/search/classes_68.html | 32 - doxygen/html/search/classes_6e.html | 26 - doxygen/html/search/classes_6f.html | 32 - doxygen/html/search/classes_70.html | 80 - doxygen/html/search/classes_73.html | 32 - doxygen/html/search/close.png | Bin 273 -> 0 bytes doxygen/html/search/files_63.html | 30 - doxygen/html/search/files_65.html | 25 - doxygen/html/search/files_66.html | 25 - doxygen/html/search/files_67.html | 25 - doxygen/html/search/files_69.html | 25 - doxygen/html/search/files_70.html | 60 - doxygen/html/search/files_73.html | 30 - doxygen/html/search/functions_5f.html | 86 - doxygen/html/search/functions_61.html | 26 - doxygen/html/search/functions_63.html | 44 - doxygen/html/search/functions_64.html | 187 - doxygen/html/search/functions_65.html | 38 - doxygen/html/search/functions_66.html | 50 - doxygen/html/search/functions_67.html | 35 - doxygen/html/search/functions_6c.html | 44 - doxygen/html/search/functions_6f.html | 38 - doxygen/html/search/functions_70.html | 112 - doxygen/html/search/functions_72.html | 86 - doxygen/html/search/functions_73.html | 56 - doxygen/html/search/functions_74.html | 47 - doxygen/html/search/functions_75.html | 26 - doxygen/html/search/functions_77.html | 38 - doxygen/html/search/functions_7a.html | 26 - doxygen/html/search/mag_sel.png | Bin 563 -> 0 bytes doxygen/html/search/namespaces_63.html | 30 - doxygen/html/search/namespaces_65.html | 25 - doxygen/html/search/namespaces_66.html | 25 - doxygen/html/search/namespaces_67.html | 25 - doxygen/html/search/namespaces_69.html | 25 - doxygen/html/search/namespaces_70.html | 60 - doxygen/html/search/namespaces_73.html | 30 - doxygen/html/search/nomatches.html | 12 - doxygen/html/search/search.css | 233 - doxygen/html/search/search.js | 736 -- doxygen/html/search/search_l.png | Bin 604 -> 0 bytes doxygen/html/search/search_m.png | Bin 158 -> 0 bytes doxygen/html/search/search_r.png | Bin 612 -> 0 bytes doxygen/html/search/variables_5f.html | 44 - doxygen/html/search/variables_61.html | 62 - doxygen/html/search/variables_62.html | 38 - doxygen/html/search/variables_63.html | 104 - doxygen/html/search/variables_64.html | 120 - doxygen/html/search/variables_65.html | 65 - doxygen/html/search/variables_66.html | 26 - doxygen/html/search/variables_67.html | 34 - doxygen/html/search/variables_68.html | 53 - doxygen/html/search/variables_69.html | 69 - doxygen/html/search/variables_6b.html | 41 - doxygen/html/search/variables_6c.html | 68 - doxygen/html/search/variables_6d.html | 55 - doxygen/html/search/variables_6e.html | 38 - doxygen/html/search/variables_6f.html | 50 - doxygen/html/search/variables_70.html | 97 - doxygen/html/search/variables_71.html | 26 - doxygen/html/search/variables_72.html | 59 - doxygen/html/search/variables_73.html | 90 - doxygen/html/search/variables_74.html | 60 - doxygen/html/search/variables_75.html | 44 - doxygen/html/search/variables_76.html | 29 - doxygen/html/search/variables_77.html | 26 - doxygen/html/search/variables_78.html | 26 - doxygen/html/setup_8py.html | 157 - doxygen/html/setup_8py_source.html | 190 - doxygen/html/svgpan.js | 295 - doxygen/html/tab_a.png | Bin 140 -> 0 bytes doxygen/html/tab_b.png | Bin 178 -> 0 bytes doxygen/html/tab_h.png | Bin 192 -> 0 bytes doxygen/html/tab_s.png | Bin 189 -> 0 bytes doxygen/html/tabs.css | 59 - .../man/man3/_Users_amrogers_Developer_Projects_.3 | 15 - .../_Users_amrogers_Developer_Projects_cmd2_.3 | 31 - ..._Users_amrogers_Developer_Projects_cmd2_docs_.3 | 22 - ...ogers_Developer_Projects_cmd2_docs_pycon2010_.3 | 45 - ...ers_amrogers_Developer_Projects_cmd2_example_.3 | 15 - doxygen/man/man3/cmd2.3 | 467 - doxygen/man/man3/cmd2.py.3 | 123 - doxygen/man/man3/cmd2_Borg.3 | 56 - doxygen/man/man3/cmd2_Cmd.3 | 2098 ---- doxygen/man/man3/cmd2_Cmd2TestCase.3 | 239 - doxygen/man/man3/cmd2_EmbeddedConsoleExit.3 | 15 - doxygen/man/man3/cmd2_EmptyStatement.3 | 15 - doxygen/man/man3/cmd2_History.3 | 228 - doxygen/man/man3/cmd2_HistoryItem.3 | 84 - doxygen/man/man3/cmd2_NotSettableError.3 | 15 - doxygen/man/man3/cmd2_OptionParser.3 | 82 - doxygen/man/man3/cmd2_OutputTrap.3 | 114 - doxygen/man/man3/cmd2_ParsedString.3 | 59 - doxygen/man/man3/cmd2_PasteBufferError.3 | 56 - doxygen/man/man3/cmd2_Statekeeper.3 | 92 - doxygen/man/man3/cmd2_StubbornDict.3 | 145 - doxygen/man/man3/conf.3 | 114 - doxygen/man/man3/conf.py.3 | 67 - doxygen/man/man3/example.3 | 37 - doxygen/man/man3/example.py.3 | 32 - doxygen/man/man3/example_CmdLineApp.3 | 95 - doxygen/man/man3/fileutil.3 | 23 - doxygen/man/man3/fileutil.py.3 | 25 - doxygen/man/man3/graph.3 | 90 - doxygen/man/man3/graph.py.3 | 31 - doxygen/man/man3/ignoreBug.3 | 29 - doxygen/man/man3/ignoreBug.py.3 | 28 - doxygen/man/man3/pirate.3 | 30 - doxygen/man/man3/pirate.py.3 | 32 - doxygen/man/man3/pirate2.3 | 30 - doxygen/man/man3/pirate2.py.3 | 32 - doxygen/man/man3/pirate2_Pirate.3 | 72 - doxygen/man/man3/pirate3.3 | 30 - doxygen/man/man3/pirate3.py.3 | 32 - doxygen/man/man3/pirate3_Pirate.3 | 115 - doxygen/man/man3/pirate4.3 | 30 - doxygen/man/man3/pirate4.py.3 | 32 - doxygen/man/man3/pirate4_Pirate.3 | 127 - doxygen/man/man3/pirate5.3 | 30 - doxygen/man/man3/pirate5.py.3 | 32 - doxygen/man/man3/pirate5_Pirate.3 | 145 - doxygen/man/man3/pirate6.3 | 30 - doxygen/man/man3/pirate6.py.3 | 32 - doxygen/man/man3/pirate6_Pirate.3 | 170 - doxygen/man/man3/pirate7.3 | 30 - doxygen/man/man3/pirate7.py.3 | 32 - doxygen/man/man3/pirate7_Pirate.3 | 223 - doxygen/man/man3/pirate8.3 | 30 - doxygen/man/man3/pirate8.py.3 | 32 - doxygen/man/man3/pirate8_Pirate.3 | 253 - doxygen/man/man3/pirate_Pirate.3 | 17 - doxygen/man/man3/schematic.3 | 62 - doxygen/man/man3/schematic.py.3 | 32 - doxygen/man/man3/setup.3 | 154 - doxygen/man/man3/setup.py.3 | 68 - doxygen/xml/classcmd2_1_1Borg.xml | 60 - doxygen/xml/classcmd2_1_1Cmd.xml | 1947 ---- doxygen/xml/classcmd2_1_1Cmd2TestCase.xml | 226 - doxygen/xml/classcmd2_1_1EmbeddedConsoleExit.xml | 13 - doxygen/xml/classcmd2_1_1EmptyStatement.xml | 13 - doxygen/xml/classcmd2_1_1History.xml | 172 - doxygen/xml/classcmd2_1_1HistoryItem.xml | 94 - doxygen/xml/classcmd2_1_1NotSettableError.xml | 13 - doxygen/xml/classcmd2_1_1OptionParser.xml | 62 - doxygen/xml/classcmd2_1_1OutputTrap.xml | 136 - doxygen/xml/classcmd2_1_1ParsedString.xml | 47 - doxygen/xml/classcmd2_1_1PasteBufferError.xml | 50 - doxygen/xml/classcmd2_1_1Statekeeper.xml | 95 - doxygen/xml/classcmd2_1_1StubbornDict.xml | 119 - doxygen/xml/classcmd2_1_1_borg.xml | 60 - doxygen/xml/classcmd2_1_1_cmd.xml | 1764 ---- doxygen/xml/classcmd2_1_1_cmd2_test_case.xml | 210 - .../xml/classcmd2_1_1_embedded_console_exit.xml | 13 - doxygen/xml/classcmd2_1_1_empty_statement.xml | 13 - doxygen/xml/classcmd2_1_1_history.xml | 165 - doxygen/xml/classcmd2_1_1_history_item.xml | 90 - doxygen/xml/classcmd2_1_1_not_settable_error.xml | 13 - doxygen/xml/classcmd2_1_1_option_parser.xml | 62 - doxygen/xml/classcmd2_1_1_output_trap.xml | 128 - doxygen/xml/classcmd2_1_1_parsed_string.xml | 43 - doxygen/xml/classcmd2_1_1_paste_buffer_error.xml | 48 - doxygen/xml/classcmd2_1_1_statekeeper.xml | 87 - doxygen/xml/classcmd2_1_1_stubborn_dict.xml | 114 - doxygen/xml/classexample_1_1CmdLineApp.xml | 239 - doxygen/xml/classexample_1_1_cmd_line_app.xml | 237 - doxygen/xml/classpirate2_1_1Pirate.xml | 111 - doxygen/xml/classpirate2_1_1_pirate.xml | 83 - doxygen/xml/classpirate3_1_1Pirate.xml | 175 - doxygen/xml/classpirate3_1_1_pirate.xml | 127 - doxygen/xml/classpirate4_1_1Pirate.xml | 177 - doxygen/xml/classpirate4_1_1_pirate.xml | 129 - doxygen/xml/classpirate5_1_1Pirate.xml | 191 - doxygen/xml/classpirate5_1_1_pirate.xml | 143 - doxygen/xml/classpirate6_1_1Pirate.xml | 329 - doxygen/xml/classpirate6_1_1_pirate.xml | 280 - doxygen/xml/classpirate7_1_1Pirate.xml | 422 - doxygen/xml/classpirate7_1_1_pirate.xml | 369 - doxygen/xml/classpirate8_1_1Pirate.xml | 467 - doxygen/xml/classpirate8_1_1_pirate.xml | 413 - doxygen/xml/classpirate_1_1Pirate.xml | 36 - doxygen/xml/classpirate_1_1_pirate.xml | 36 - doxygen/xml/cmd2_8py.xml | 1621 --- doxygen/xml/combine.xslt | 15 - doxygen/xml/compound.xsd | 822 -- doxygen/xml/conf_8py.xml | 212 - .../xml/dir_5185d8a4f3d34c6a54b85ae5904b80ec.xml | 13 - .../xml/dir_9c53eb36d53ed9f246f40760bdb65b6a.xml | 12 - .../xml/dir_a94d11e7025bc9c49b19e92232c5c310.xml | 22 - .../xml/dir_bfedb8cf204bc52dab598c696b63c3d6.xml | 16 - .../xml/dir_e01452e30018b7d8a87d21a8fdf5052c.xml | 12 - doxygen/xml/example_8py.xml | 50 - doxygen/xml/fileutil_8py.xml | 26 - doxygen/xml/graph_8py.xml | 56 - doxygen/xml/ignoreBug_8py.xml | 26 - doxygen/xml/ignore_bug_8py.xml | 26 - doxygen/xml/index.xml | 424 - doxygen/xml/index.xsd | 66 - doxygen/xml/namespacecmd2.xml | 330 - doxygen/xml/namespaceconf.xml | 226 - doxygen/xml/namespaceexample.xml | 28 - doxygen/xml/namespacefileutil.xml | 27 - doxygen/xml/namespacegraph.xml | 56 - doxygen/xml/namespaceignoreBug.xml | 41 - doxygen/xml/namespaceignore_bug.xml | 41 - doxygen/xml/namespacepirate.xml | 28 - doxygen/xml/namespacepirate2.xml | 28 - doxygen/xml/namespacepirate3.xml | 28 - doxygen/xml/namespacepirate4.xml | 28 - doxygen/xml/namespacepirate5.xml | 28 - doxygen/xml/namespacepirate6.xml | 28 - doxygen/xml/namespacepirate7.xml | 28 - doxygen/xml/namespacepirate8.xml | 28 - doxygen/xml/namespacepyparsing.xml | 11 - doxygen/xml/namespaceschematic.xml | 42 - doxygen/xml/namespacesetup.xml | 243 - doxygen/xml/namespaceturtle.xml | 11 - doxygen/xml/pirate2_8py.xml | 33 - doxygen/xml/pirate3_8py.xml | 36 - doxygen/xml/pirate4_8py.xml | 42 - doxygen/xml/pirate5_8py.xml | 50 - doxygen/xml/pirate6_8py.xml | 54 - doxygen/xml/pirate7_8py.xml | 61 - doxygen/xml/pirate8_8py.xml | 72 - doxygen/xml/pirate_8py.xml | 22 - doxygen/xml/schematic_8py.xml | 46 - doxygen/xml/setup_8py.xml | 76 - 569 files changed, 87168 deletions(-) delete mode 100644 build/lib/cmd2.py delete mode 100644 cmd2.egg-info/PKG-INFO delete mode 100644 cmd2.egg-info/SOURCES.txt delete mode 100644 cmd2.egg-info/dependency_links.txt delete mode 100644 cmd2.egg-info/requires.txt delete mode 100644 cmd2.egg-info/top_level.txt delete mode 100644 cmd2.pyc delete mode 100644 dist/cmd2-0.6.4-py2.7.egg delete mode 100644 doxygen/def/doxygen.def delete mode 100644 doxygen/html/annotated.html delete mode 100644 doxygen/html/bc_s.png delete mode 100644 doxygen/html/classcmd2_1_1Borg-members.html delete mode 100644 doxygen/html/classcmd2_1_1Borg.html delete mode 100644 doxygen/html/classcmd2_1_1Borg.png delete mode 100644 doxygen/html/classcmd2_1_1Borg__inherit__graph.dot delete mode 100644 doxygen/html/classcmd2_1_1Borg__inherit__graph.md5 delete mode 100644 doxygen/html/classcmd2_1_1Cmd-members.html delete mode 100644 doxygen/html/classcmd2_1_1Cmd.html delete mode 100644 doxygen/html/classcmd2_1_1Cmd.png delete mode 100644 doxygen/html/classcmd2_1_1Cmd2TestCase-members.html delete mode 100644 doxygen/html/classcmd2_1_1Cmd2TestCase.html delete mode 100644 doxygen/html/classcmd2_1_1Cmd__inherit__graph.dot delete mode 100644 doxygen/html/classcmd2_1_1Cmd__inherit__graph.md5 delete mode 100644 doxygen/html/classcmd2_1_1EmbeddedConsoleExit.html delete mode 100644 doxygen/html/classcmd2_1_1EmptyStatement.html delete mode 100644 doxygen/html/classcmd2_1_1History-members.html delete mode 100644 doxygen/html/classcmd2_1_1History.html delete mode 100644 doxygen/html/classcmd2_1_1HistoryItem-members.html delete mode 100644 doxygen/html/classcmd2_1_1HistoryItem.html delete mode 100644 doxygen/html/classcmd2_1_1NotSettableError.html delete mode 100644 doxygen/html/classcmd2_1_1OptionParser-members.html delete mode 100644 doxygen/html/classcmd2_1_1OptionParser.html delete mode 100644 doxygen/html/classcmd2_1_1OutputTrap-members.html delete mode 100644 doxygen/html/classcmd2_1_1OutputTrap.html delete mode 100644 doxygen/html/classcmd2_1_1OutputTrap.png delete mode 100644 doxygen/html/classcmd2_1_1OutputTrap__coll__graph.dot delete mode 100644 doxygen/html/classcmd2_1_1OutputTrap__coll__graph.md5 delete mode 100644 doxygen/html/classcmd2_1_1OutputTrap__inherit__graph.dot delete mode 100644 doxygen/html/classcmd2_1_1OutputTrap__inherit__graph.md5 delete mode 100644 doxygen/html/classcmd2_1_1ParsedString-members.html delete mode 100644 doxygen/html/classcmd2_1_1ParsedString.html delete mode 100644 doxygen/html/classcmd2_1_1PasteBufferError-members.html delete mode 100644 doxygen/html/classcmd2_1_1PasteBufferError.html delete mode 100644 doxygen/html/classcmd2_1_1Statekeeper-members.html delete mode 100644 doxygen/html/classcmd2_1_1Statekeeper.html delete mode 100644 doxygen/html/classcmd2_1_1StubbornDict-members.html delete mode 100644 doxygen/html/classcmd2_1_1StubbornDict.html delete mode 100644 doxygen/html/classcmd2_1_1_borg-members.html delete mode 100644 doxygen/html/classcmd2_1_1_borg.html delete mode 100644 doxygen/html/classcmd2_1_1_borg.png delete mode 100644 doxygen/html/classcmd2_1_1_cmd-members.html delete mode 100644 doxygen/html/classcmd2_1_1_cmd.html delete mode 100644 doxygen/html/classcmd2_1_1_cmd.png delete mode 100644 doxygen/html/classcmd2_1_1_cmd2_test_case-members.html delete mode 100644 doxygen/html/classcmd2_1_1_cmd2_test_case.html delete mode 100644 doxygen/html/classcmd2_1_1_embedded_console_exit.html delete mode 100644 doxygen/html/classcmd2_1_1_empty_statement.html delete mode 100644 doxygen/html/classcmd2_1_1_history-members.html delete mode 100644 doxygen/html/classcmd2_1_1_history.html delete mode 100644 doxygen/html/classcmd2_1_1_history_item-members.html delete mode 100644 doxygen/html/classcmd2_1_1_history_item.html delete mode 100644 doxygen/html/classcmd2_1_1_not_settable_error.html delete mode 100644 doxygen/html/classcmd2_1_1_option_parser-members.html delete mode 100644 doxygen/html/classcmd2_1_1_option_parser.html delete mode 100644 doxygen/html/classcmd2_1_1_output_trap-members.html delete mode 100644 doxygen/html/classcmd2_1_1_output_trap.html delete mode 100644 doxygen/html/classcmd2_1_1_output_trap.png delete mode 100644 doxygen/html/classcmd2_1_1_parsed_string-members.html delete mode 100644 doxygen/html/classcmd2_1_1_parsed_string.html delete mode 100644 doxygen/html/classcmd2_1_1_paste_buffer_error-members.html delete mode 100644 doxygen/html/classcmd2_1_1_paste_buffer_error.html delete mode 100644 doxygen/html/classcmd2_1_1_statekeeper-members.html delete mode 100644 doxygen/html/classcmd2_1_1_statekeeper.html delete mode 100644 doxygen/html/classcmd2_1_1_stubborn_dict-members.html delete mode 100644 doxygen/html/classcmd2_1_1_stubborn_dict.html delete mode 100644 doxygen/html/classes.html delete mode 100644 doxygen/html/classexample_1_1CmdLineApp-members.html delete mode 100644 doxygen/html/classexample_1_1CmdLineApp.html delete mode 100644 doxygen/html/classexample_1_1CmdLineApp.png delete mode 100644 doxygen/html/classexample_1_1CmdLineApp__coll__graph.dot delete mode 100644 doxygen/html/classexample_1_1CmdLineApp__coll__graph.md5 delete mode 100644 doxygen/html/classexample_1_1CmdLineApp__inherit__graph.dot delete mode 100644 doxygen/html/classexample_1_1CmdLineApp__inherit__graph.md5 delete mode 100644 doxygen/html/classexample_1_1_cmd_line_app-members.html delete mode 100644 doxygen/html/classexample_1_1_cmd_line_app.html delete mode 100644 doxygen/html/classexample_1_1_cmd_line_app.png delete mode 100644 doxygen/html/classpirate2_1_1Pirate-members.html delete mode 100644 doxygen/html/classpirate2_1_1Pirate.html delete mode 100644 doxygen/html/classpirate2_1_1Pirate__coll__graph.dot delete mode 100644 doxygen/html/classpirate2_1_1Pirate__coll__graph.md5 delete mode 100644 doxygen/html/classpirate2_1_1Pirate__inherit__graph.dot delete mode 100644 doxygen/html/classpirate2_1_1Pirate__inherit__graph.md5 delete mode 100644 doxygen/html/classpirate2_1_1_pirate-members.html delete mode 100644 doxygen/html/classpirate2_1_1_pirate.html delete mode 100644 doxygen/html/classpirate3_1_1Pirate-members.html delete mode 100644 doxygen/html/classpirate3_1_1Pirate.html delete mode 100644 doxygen/html/classpirate3_1_1Pirate__coll__graph.dot delete mode 100644 doxygen/html/classpirate3_1_1Pirate__coll__graph.md5 delete mode 100644 doxygen/html/classpirate3_1_1Pirate__inherit__graph.dot delete mode 100644 doxygen/html/classpirate3_1_1Pirate__inherit__graph.md5 delete mode 100644 doxygen/html/classpirate3_1_1_pirate-members.html delete mode 100644 doxygen/html/classpirate3_1_1_pirate.html delete mode 100644 doxygen/html/classpirate4_1_1Pirate-members.html delete mode 100644 doxygen/html/classpirate4_1_1Pirate.html delete mode 100644 doxygen/html/classpirate4_1_1Pirate__coll__graph.dot delete mode 100644 doxygen/html/classpirate4_1_1Pirate__coll__graph.md5 delete mode 100644 doxygen/html/classpirate4_1_1Pirate__inherit__graph.dot delete mode 100644 doxygen/html/classpirate4_1_1Pirate__inherit__graph.md5 delete mode 100644 doxygen/html/classpirate4_1_1_pirate-members.html delete mode 100644 doxygen/html/classpirate4_1_1_pirate.html delete mode 100644 doxygen/html/classpirate5_1_1Pirate-members.html delete mode 100644 doxygen/html/classpirate5_1_1Pirate.html delete mode 100644 doxygen/html/classpirate5_1_1Pirate__coll__graph.dot delete mode 100644 doxygen/html/classpirate5_1_1Pirate__coll__graph.md5 delete mode 100644 doxygen/html/classpirate5_1_1Pirate__inherit__graph.dot delete mode 100644 doxygen/html/classpirate5_1_1Pirate__inherit__graph.md5 delete mode 100644 doxygen/html/classpirate5_1_1_pirate-members.html delete mode 100644 doxygen/html/classpirate5_1_1_pirate.html delete mode 100644 doxygen/html/classpirate6_1_1Pirate-members.html delete mode 100644 doxygen/html/classpirate6_1_1Pirate.html delete mode 100644 doxygen/html/classpirate6_1_1Pirate.png delete mode 100644 doxygen/html/classpirate6_1_1Pirate__coll__graph.dot delete mode 100644 doxygen/html/classpirate6_1_1Pirate__coll__graph.md5 delete mode 100644 doxygen/html/classpirate6_1_1Pirate__inherit__graph.dot delete mode 100644 doxygen/html/classpirate6_1_1Pirate__inherit__graph.md5 delete mode 100644 doxygen/html/classpirate6_1_1_pirate-members.html delete mode 100644 doxygen/html/classpirate6_1_1_pirate.html delete mode 100644 doxygen/html/classpirate6_1_1_pirate.png delete mode 100644 doxygen/html/classpirate7_1_1Pirate-members.html delete mode 100644 doxygen/html/classpirate7_1_1Pirate.html delete mode 100644 doxygen/html/classpirate7_1_1Pirate.png delete mode 100644 doxygen/html/classpirate7_1_1Pirate__coll__graph.dot delete mode 100644 doxygen/html/classpirate7_1_1Pirate__coll__graph.md5 delete mode 100644 doxygen/html/classpirate7_1_1Pirate__inherit__graph.dot delete mode 100644 doxygen/html/classpirate7_1_1Pirate__inherit__graph.md5 delete mode 100644 doxygen/html/classpirate7_1_1_pirate-members.html delete mode 100644 doxygen/html/classpirate7_1_1_pirate.html delete mode 100644 doxygen/html/classpirate7_1_1_pirate.png delete mode 100644 doxygen/html/classpirate8_1_1Pirate-members.html delete mode 100644 doxygen/html/classpirate8_1_1Pirate.html delete mode 100644 doxygen/html/classpirate8_1_1Pirate.png delete mode 100644 doxygen/html/classpirate8_1_1Pirate__coll__graph.dot delete mode 100644 doxygen/html/classpirate8_1_1Pirate__coll__graph.md5 delete mode 100644 doxygen/html/classpirate8_1_1Pirate__inherit__graph.dot delete mode 100644 doxygen/html/classpirate8_1_1Pirate__inherit__graph.md5 delete mode 100644 doxygen/html/classpirate8_1_1_pirate-members.html delete mode 100644 doxygen/html/classpirate8_1_1_pirate.html delete mode 100644 doxygen/html/classpirate8_1_1_pirate.png delete mode 100644 doxygen/html/classpirate_1_1Pirate.html delete mode 100644 doxygen/html/classpirate_1_1Pirate__coll__graph.dot delete mode 100644 doxygen/html/classpirate_1_1Pirate__coll__graph.md5 delete mode 100644 doxygen/html/classpirate_1_1Pirate__inherit__graph.dot delete mode 100644 doxygen/html/classpirate_1_1Pirate__inherit__graph.md5 delete mode 100644 doxygen/html/classpirate_1_1_pirate.html delete mode 100644 doxygen/html/closed.png delete mode 100644 doxygen/html/cmd2_8py.html delete mode 100644 doxygen/html/cmd2_8py_source.html delete mode 100644 doxygen/html/conf_8py.html delete mode 100644 doxygen/html/conf_8py_source.html delete mode 100644 doxygen/html/dir_5185d8a4f3d34c6a54b85ae5904b80ec.html delete mode 100644 doxygen/html/dir_5185d8a4f3d34c6a54b85ae5904b80ec_dep.dot delete mode 100644 doxygen/html/dir_5185d8a4f3d34c6a54b85ae5904b80ec_dep.md5 delete mode 100644 doxygen/html/dir_9c53eb36d53ed9f246f40760bdb65b6a.html delete mode 100644 doxygen/html/dir_9c53eb36d53ed9f246f40760bdb65b6a_dep.dot delete mode 100644 doxygen/html/dir_9c53eb36d53ed9f246f40760bdb65b6a_dep.md5 delete mode 100644 doxygen/html/dir_a94d11e7025bc9c49b19e92232c5c310.html delete mode 100644 doxygen/html/dir_a94d11e7025bc9c49b19e92232c5c310_dep.dot delete mode 100644 doxygen/html/dir_a94d11e7025bc9c49b19e92232c5c310_dep.md5 delete mode 100644 doxygen/html/dir_bfedb8cf204bc52dab598c696b63c3d6.html delete mode 100644 doxygen/html/dir_bfedb8cf204bc52dab598c696b63c3d6_dep.dot delete mode 100644 doxygen/html/dir_bfedb8cf204bc52dab598c696b63c3d6_dep.md5 delete mode 100644 doxygen/html/dir_e01452e30018b7d8a87d21a8fdf5052c.html delete mode 100644 doxygen/html/dir_e01452e30018b7d8a87d21a8fdf5052c_dep.dot delete mode 100644 doxygen/html/dir_e01452e30018b7d8a87d21a8fdf5052c_dep.md5 delete mode 100644 doxygen/html/dirs.html delete mode 100644 doxygen/html/doxygen.css delete mode 100644 doxygen/html/doxygen.png delete mode 100644 doxygen/html/example_8py.html delete mode 100644 doxygen/html/example_8py_source.html delete mode 100644 doxygen/html/files.html delete mode 100644 doxygen/html/fileutil_8py.html delete mode 100644 doxygen/html/fileutil_8py_source.html delete mode 100644 doxygen/html/ftv2blank.png delete mode 100644 doxygen/html/ftv2doc.png delete mode 100644 doxygen/html/ftv2folderclosed.png delete mode 100644 doxygen/html/ftv2folderopen.png delete mode 100644 doxygen/html/ftv2lastnode.png delete mode 100644 doxygen/html/ftv2link.png delete mode 100644 doxygen/html/ftv2mlastnode.png delete mode 100644 doxygen/html/ftv2mnode.png delete mode 100644 doxygen/html/ftv2node.png delete mode 100644 doxygen/html/ftv2plastnode.png delete mode 100644 doxygen/html/ftv2pnode.png delete mode 100644 doxygen/html/ftv2splitbar.png delete mode 100644 doxygen/html/ftv2vertline.png delete mode 100644 doxygen/html/functions.html delete mode 100644 doxygen/html/functions_0x61.html delete mode 100644 doxygen/html/functions_0x62.html delete mode 100644 doxygen/html/functions_0x63.html delete mode 100644 doxygen/html/functions_0x64.html delete mode 100644 doxygen/html/functions_0x65.html delete mode 100644 doxygen/html/functions_0x66.html delete mode 100644 doxygen/html/functions_0x67.html delete mode 100644 doxygen/html/functions_0x68.html delete mode 100644 doxygen/html/functions_0x69.html delete mode 100644 doxygen/html/functions_0x6b.html delete mode 100644 doxygen/html/functions_0x6c.html delete mode 100644 doxygen/html/functions_0x6d.html delete mode 100644 doxygen/html/functions_0x6e.html delete mode 100644 doxygen/html/functions_0x6f.html delete mode 100644 doxygen/html/functions_0x70.html delete mode 100644 doxygen/html/functions_0x71.html delete mode 100644 doxygen/html/functions_0x72.html delete mode 100644 doxygen/html/functions_0x73.html delete mode 100644 doxygen/html/functions_0x74.html delete mode 100644 doxygen/html/functions_0x75.html delete mode 100644 doxygen/html/functions_0x77.html delete mode 100644 doxygen/html/functions_0x7a.html delete mode 100644 doxygen/html/functions_func.html delete mode 100644 doxygen/html/functions_vars.html delete mode 100644 doxygen/html/graph_8py.html delete mode 100644 doxygen/html/graph_8py_source.html delete mode 100644 doxygen/html/graph_legend.dot delete mode 100644 doxygen/html/graph_legend.html delete mode 100644 doxygen/html/graph_legend.md5 delete mode 100644 doxygen/html/hierarchy.html delete mode 100644 doxygen/html/ignoreBug_8py.html delete mode 100644 doxygen/html/ignoreBug_8py_source.html delete mode 100644 doxygen/html/ignore_bug_8py.html delete mode 100644 doxygen/html/ignore_bug_8py_source.html delete mode 100644 doxygen/html/index.html delete mode 100644 doxygen/html/inherit_graph_0.dot delete mode 100644 doxygen/html/inherit_graph_0.md5 delete mode 100644 doxygen/html/inherit_graph_1.dot delete mode 100644 doxygen/html/inherit_graph_1.md5 delete mode 100644 doxygen/html/inherit_graph_10.dot delete mode 100644 doxygen/html/inherit_graph_10.md5 delete mode 100644 doxygen/html/inherit_graph_11.dot delete mode 100644 doxygen/html/inherit_graph_11.md5 delete mode 100644 doxygen/html/inherit_graph_12.dot delete mode 100644 doxygen/html/inherit_graph_12.md5 delete mode 100644 doxygen/html/inherit_graph_13.dot delete mode 100644 doxygen/html/inherit_graph_13.md5 delete mode 100644 doxygen/html/inherit_graph_14.dot delete mode 100644 doxygen/html/inherit_graph_14.md5 delete mode 100644 doxygen/html/inherit_graph_15.dot delete mode 100644 doxygen/html/inherit_graph_15.md5 delete mode 100644 doxygen/html/inherit_graph_16.dot delete mode 100644 doxygen/html/inherit_graph_16.md5 delete mode 100644 doxygen/html/inherit_graph_17.dot delete mode 100644 doxygen/html/inherit_graph_17.md5 delete mode 100644 doxygen/html/inherit_graph_2.dot delete mode 100644 doxygen/html/inherit_graph_2.md5 delete mode 100644 doxygen/html/inherit_graph_3.dot delete mode 100644 doxygen/html/inherit_graph_3.md5 delete mode 100644 doxygen/html/inherit_graph_4.dot delete mode 100644 doxygen/html/inherit_graph_4.md5 delete mode 100644 doxygen/html/inherit_graph_5.dot delete mode 100644 doxygen/html/inherit_graph_5.md5 delete mode 100644 doxygen/html/inherit_graph_6.dot delete mode 100644 doxygen/html/inherit_graph_6.md5 delete mode 100644 doxygen/html/inherit_graph_7.dot delete mode 100644 doxygen/html/inherit_graph_7.md5 delete mode 100644 doxygen/html/inherit_graph_8.dot delete mode 100644 doxygen/html/inherit_graph_8.md5 delete mode 100644 doxygen/html/inherit_graph_9.dot delete mode 100644 doxygen/html/inherit_graph_9.md5 delete mode 100644 doxygen/html/inherits.html delete mode 100755 doxygen/html/installdox delete mode 100644 doxygen/html/jquery.js delete mode 100644 doxygen/html/namespacecmd2.html delete mode 100644 doxygen/html/namespaceconf.html delete mode 100644 doxygen/html/namespaceexample.html delete mode 100644 doxygen/html/namespacefileutil.html delete mode 100644 doxygen/html/namespacegraph.html delete mode 100644 doxygen/html/namespaceignoreBug.html delete mode 100644 doxygen/html/namespaceignore_bug.html delete mode 100644 doxygen/html/namespacemembers.html delete mode 100644 doxygen/html/namespacemembers_func.html delete mode 100644 doxygen/html/namespacemembers_vars.html delete mode 100644 doxygen/html/namespacepirate.html delete mode 100644 doxygen/html/namespacepirate2.html delete mode 100644 doxygen/html/namespacepirate3.html delete mode 100644 doxygen/html/namespacepirate4.html delete mode 100644 doxygen/html/namespacepirate5.html delete mode 100644 doxygen/html/namespacepirate6.html delete mode 100644 doxygen/html/namespacepirate7.html delete mode 100644 doxygen/html/namespacepirate8.html delete mode 100644 doxygen/html/namespaces.html delete mode 100644 doxygen/html/namespaceschematic.html delete mode 100644 doxygen/html/namespacesetup.html delete mode 100644 doxygen/html/nav_f.png delete mode 100644 doxygen/html/nav_h.png delete mode 100644 doxygen/html/navtree.css delete mode 100644 doxygen/html/navtree.js delete mode 100644 doxygen/html/open.png delete mode 100644 doxygen/html/pirate2_8py.html delete mode 100644 doxygen/html/pirate2_8py_source.html delete mode 100644 doxygen/html/pirate3_8py.html delete mode 100644 doxygen/html/pirate3_8py_source.html delete mode 100644 doxygen/html/pirate4_8py.html delete mode 100644 doxygen/html/pirate4_8py_source.html delete mode 100644 doxygen/html/pirate5_8py.html delete mode 100644 doxygen/html/pirate5_8py_source.html delete mode 100644 doxygen/html/pirate6_8py.html delete mode 100644 doxygen/html/pirate6_8py_source.html delete mode 100644 doxygen/html/pirate7_8py.html delete mode 100644 doxygen/html/pirate7_8py_source.html delete mode 100644 doxygen/html/pirate8_8py.html delete mode 100644 doxygen/html/pirate8_8py_source.html delete mode 100644 doxygen/html/pirate_8py.html delete mode 100644 doxygen/html/pirate_8py_source.html delete mode 100644 doxygen/html/resize.js delete mode 100644 doxygen/html/schematic_8py.html delete mode 100644 doxygen/html/schematic_8py_source.html delete mode 100644 doxygen/html/search/all_5f.html delete mode 100644 doxygen/html/search/all_61.html delete mode 100644 doxygen/html/search/all_62.html delete mode 100644 doxygen/html/search/all_63.html delete mode 100644 doxygen/html/search/all_64.html delete mode 100644 doxygen/html/search/all_65.html delete mode 100644 doxygen/html/search/all_66.html delete mode 100644 doxygen/html/search/all_67.html delete mode 100644 doxygen/html/search/all_68.html delete mode 100644 doxygen/html/search/all_69.html delete mode 100644 doxygen/html/search/all_6b.html delete mode 100644 doxygen/html/search/all_6c.html delete mode 100644 doxygen/html/search/all_6d.html delete mode 100644 doxygen/html/search/all_6e.html delete mode 100644 doxygen/html/search/all_6f.html delete mode 100644 doxygen/html/search/all_70.html delete mode 100644 doxygen/html/search/all_71.html delete mode 100644 doxygen/html/search/all_72.html delete mode 100644 doxygen/html/search/all_73.html delete mode 100644 doxygen/html/search/all_74.html delete mode 100644 doxygen/html/search/all_75.html delete mode 100644 doxygen/html/search/all_76.html delete mode 100644 doxygen/html/search/all_77.html delete mode 100644 doxygen/html/search/all_78.html delete mode 100644 doxygen/html/search/all_7a.html delete mode 100644 doxygen/html/search/classes_62.html delete mode 100644 doxygen/html/search/classes_63.html delete mode 100644 doxygen/html/search/classes_65.html delete mode 100644 doxygen/html/search/classes_68.html delete mode 100644 doxygen/html/search/classes_6e.html delete mode 100644 doxygen/html/search/classes_6f.html delete mode 100644 doxygen/html/search/classes_70.html delete mode 100644 doxygen/html/search/classes_73.html delete mode 100644 doxygen/html/search/close.png delete mode 100644 doxygen/html/search/files_63.html delete mode 100644 doxygen/html/search/files_65.html delete mode 100644 doxygen/html/search/files_66.html delete mode 100644 doxygen/html/search/files_67.html delete mode 100644 doxygen/html/search/files_69.html delete mode 100644 doxygen/html/search/files_70.html delete mode 100644 doxygen/html/search/files_73.html delete mode 100644 doxygen/html/search/functions_5f.html delete mode 100644 doxygen/html/search/functions_61.html delete mode 100644 doxygen/html/search/functions_63.html delete mode 100644 doxygen/html/search/functions_64.html delete mode 100644 doxygen/html/search/functions_65.html delete mode 100644 doxygen/html/search/functions_66.html delete mode 100644 doxygen/html/search/functions_67.html delete mode 100644 doxygen/html/search/functions_6c.html delete mode 100644 doxygen/html/search/functions_6f.html delete mode 100644 doxygen/html/search/functions_70.html delete mode 100644 doxygen/html/search/functions_72.html delete mode 100644 doxygen/html/search/functions_73.html delete mode 100644 doxygen/html/search/functions_74.html delete mode 100644 doxygen/html/search/functions_75.html delete mode 100644 doxygen/html/search/functions_77.html delete mode 100644 doxygen/html/search/functions_7a.html delete mode 100644 doxygen/html/search/mag_sel.png delete mode 100644 doxygen/html/search/namespaces_63.html delete mode 100644 doxygen/html/search/namespaces_65.html delete mode 100644 doxygen/html/search/namespaces_66.html delete mode 100644 doxygen/html/search/namespaces_67.html delete mode 100644 doxygen/html/search/namespaces_69.html delete mode 100644 doxygen/html/search/namespaces_70.html delete mode 100644 doxygen/html/search/namespaces_73.html delete mode 100644 doxygen/html/search/nomatches.html delete mode 100644 doxygen/html/search/search.css delete mode 100644 doxygen/html/search/search.js delete mode 100644 doxygen/html/search/search_l.png delete mode 100644 doxygen/html/search/search_m.png delete mode 100644 doxygen/html/search/search_r.png delete mode 100644 doxygen/html/search/variables_5f.html delete mode 100644 doxygen/html/search/variables_61.html delete mode 100644 doxygen/html/search/variables_62.html delete mode 100644 doxygen/html/search/variables_63.html delete mode 100644 doxygen/html/search/variables_64.html delete mode 100644 doxygen/html/search/variables_65.html delete mode 100644 doxygen/html/search/variables_66.html delete mode 100644 doxygen/html/search/variables_67.html delete mode 100644 doxygen/html/search/variables_68.html delete mode 100644 doxygen/html/search/variables_69.html delete mode 100644 doxygen/html/search/variables_6b.html delete mode 100644 doxygen/html/search/variables_6c.html delete mode 100644 doxygen/html/search/variables_6d.html delete mode 100644 doxygen/html/search/variables_6e.html delete mode 100644 doxygen/html/search/variables_6f.html delete mode 100644 doxygen/html/search/variables_70.html delete mode 100644 doxygen/html/search/variables_71.html delete mode 100644 doxygen/html/search/variables_72.html delete mode 100644 doxygen/html/search/variables_73.html delete mode 100644 doxygen/html/search/variables_74.html delete mode 100644 doxygen/html/search/variables_75.html delete mode 100644 doxygen/html/search/variables_76.html delete mode 100644 doxygen/html/search/variables_77.html delete mode 100644 doxygen/html/search/variables_78.html delete mode 100644 doxygen/html/setup_8py.html delete mode 100644 doxygen/html/setup_8py_source.html delete mode 100644 doxygen/html/svgpan.js delete mode 100644 doxygen/html/tab_a.png delete mode 100644 doxygen/html/tab_b.png delete mode 100644 doxygen/html/tab_h.png delete mode 100644 doxygen/html/tab_s.png delete mode 100644 doxygen/html/tabs.css delete mode 100644 doxygen/man/man3/_Users_amrogers_Developer_Projects_.3 delete mode 100644 doxygen/man/man3/_Users_amrogers_Developer_Projects_cmd2_.3 delete mode 100644 doxygen/man/man3/_Users_amrogers_Developer_Projects_cmd2_docs_.3 delete mode 100644 doxygen/man/man3/_Users_amrogers_Developer_Projects_cmd2_docs_pycon2010_.3 delete mode 100644 doxygen/man/man3/_Users_amrogers_Developer_Projects_cmd2_example_.3 delete mode 100644 doxygen/man/man3/cmd2.3 delete mode 100644 doxygen/man/man3/cmd2.py.3 delete mode 100644 doxygen/man/man3/cmd2_Borg.3 delete mode 100644 doxygen/man/man3/cmd2_Cmd.3 delete mode 100644 doxygen/man/man3/cmd2_Cmd2TestCase.3 delete mode 100644 doxygen/man/man3/cmd2_EmbeddedConsoleExit.3 delete mode 100644 doxygen/man/man3/cmd2_EmptyStatement.3 delete mode 100644 doxygen/man/man3/cmd2_History.3 delete mode 100644 doxygen/man/man3/cmd2_HistoryItem.3 delete mode 100644 doxygen/man/man3/cmd2_NotSettableError.3 delete mode 100644 doxygen/man/man3/cmd2_OptionParser.3 delete mode 100644 doxygen/man/man3/cmd2_OutputTrap.3 delete mode 100644 doxygen/man/man3/cmd2_ParsedString.3 delete mode 100644 doxygen/man/man3/cmd2_PasteBufferError.3 delete mode 100644 doxygen/man/man3/cmd2_Statekeeper.3 delete mode 100644 doxygen/man/man3/cmd2_StubbornDict.3 delete mode 100644 doxygen/man/man3/conf.3 delete mode 100644 doxygen/man/man3/conf.py.3 delete mode 100644 doxygen/man/man3/example.3 delete mode 100644 doxygen/man/man3/example.py.3 delete mode 100644 doxygen/man/man3/example_CmdLineApp.3 delete mode 100644 doxygen/man/man3/fileutil.3 delete mode 100644 doxygen/man/man3/fileutil.py.3 delete mode 100644 doxygen/man/man3/graph.3 delete mode 100644 doxygen/man/man3/graph.py.3 delete mode 100644 doxygen/man/man3/ignoreBug.3 delete mode 100644 doxygen/man/man3/ignoreBug.py.3 delete mode 100644 doxygen/man/man3/pirate.3 delete mode 100644 doxygen/man/man3/pirate.py.3 delete mode 100644 doxygen/man/man3/pirate2.3 delete mode 100644 doxygen/man/man3/pirate2.py.3 delete mode 100644 doxygen/man/man3/pirate2_Pirate.3 delete mode 100644 doxygen/man/man3/pirate3.3 delete mode 100644 doxygen/man/man3/pirate3.py.3 delete mode 100644 doxygen/man/man3/pirate3_Pirate.3 delete mode 100644 doxygen/man/man3/pirate4.3 delete mode 100644 doxygen/man/man3/pirate4.py.3 delete mode 100644 doxygen/man/man3/pirate4_Pirate.3 delete mode 100644 doxygen/man/man3/pirate5.3 delete mode 100644 doxygen/man/man3/pirate5.py.3 delete mode 100644 doxygen/man/man3/pirate5_Pirate.3 delete mode 100644 doxygen/man/man3/pirate6.3 delete mode 100644 doxygen/man/man3/pirate6.py.3 delete mode 100644 doxygen/man/man3/pirate6_Pirate.3 delete mode 100644 doxygen/man/man3/pirate7.3 delete mode 100644 doxygen/man/man3/pirate7.py.3 delete mode 100644 doxygen/man/man3/pirate7_Pirate.3 delete mode 100644 doxygen/man/man3/pirate8.3 delete mode 100644 doxygen/man/man3/pirate8.py.3 delete mode 100644 doxygen/man/man3/pirate8_Pirate.3 delete mode 100644 doxygen/man/man3/pirate_Pirate.3 delete mode 100644 doxygen/man/man3/schematic.3 delete mode 100644 doxygen/man/man3/schematic.py.3 delete mode 100644 doxygen/man/man3/setup.3 delete mode 100644 doxygen/man/man3/setup.py.3 delete mode 100644 doxygen/xml/classcmd2_1_1Borg.xml delete mode 100644 doxygen/xml/classcmd2_1_1Cmd.xml delete mode 100644 doxygen/xml/classcmd2_1_1Cmd2TestCase.xml delete mode 100644 doxygen/xml/classcmd2_1_1EmbeddedConsoleExit.xml delete mode 100644 doxygen/xml/classcmd2_1_1EmptyStatement.xml delete mode 100644 doxygen/xml/classcmd2_1_1History.xml delete mode 100644 doxygen/xml/classcmd2_1_1HistoryItem.xml delete mode 100644 doxygen/xml/classcmd2_1_1NotSettableError.xml delete mode 100644 doxygen/xml/classcmd2_1_1OptionParser.xml delete mode 100644 doxygen/xml/classcmd2_1_1OutputTrap.xml delete mode 100644 doxygen/xml/classcmd2_1_1ParsedString.xml delete mode 100644 doxygen/xml/classcmd2_1_1PasteBufferError.xml delete mode 100644 doxygen/xml/classcmd2_1_1Statekeeper.xml delete mode 100644 doxygen/xml/classcmd2_1_1StubbornDict.xml delete mode 100644 doxygen/xml/classcmd2_1_1_borg.xml delete mode 100644 doxygen/xml/classcmd2_1_1_cmd.xml delete mode 100644 doxygen/xml/classcmd2_1_1_cmd2_test_case.xml delete mode 100644 doxygen/xml/classcmd2_1_1_embedded_console_exit.xml delete mode 100644 doxygen/xml/classcmd2_1_1_empty_statement.xml delete mode 100644 doxygen/xml/classcmd2_1_1_history.xml delete mode 100644 doxygen/xml/classcmd2_1_1_history_item.xml delete mode 100644 doxygen/xml/classcmd2_1_1_not_settable_error.xml delete mode 100644 doxygen/xml/classcmd2_1_1_option_parser.xml delete mode 100644 doxygen/xml/classcmd2_1_1_output_trap.xml delete mode 100644 doxygen/xml/classcmd2_1_1_parsed_string.xml delete mode 100644 doxygen/xml/classcmd2_1_1_paste_buffer_error.xml delete mode 100644 doxygen/xml/classcmd2_1_1_statekeeper.xml delete mode 100644 doxygen/xml/classcmd2_1_1_stubborn_dict.xml delete mode 100644 doxygen/xml/classexample_1_1CmdLineApp.xml delete mode 100644 doxygen/xml/classexample_1_1_cmd_line_app.xml delete mode 100644 doxygen/xml/classpirate2_1_1Pirate.xml delete mode 100644 doxygen/xml/classpirate2_1_1_pirate.xml delete mode 100644 doxygen/xml/classpirate3_1_1Pirate.xml delete mode 100644 doxygen/xml/classpirate3_1_1_pirate.xml delete mode 100644 doxygen/xml/classpirate4_1_1Pirate.xml delete mode 100644 doxygen/xml/classpirate4_1_1_pirate.xml delete mode 100644 doxygen/xml/classpirate5_1_1Pirate.xml delete mode 100644 doxygen/xml/classpirate5_1_1_pirate.xml delete mode 100644 doxygen/xml/classpirate6_1_1Pirate.xml delete mode 100644 doxygen/xml/classpirate6_1_1_pirate.xml delete mode 100644 doxygen/xml/classpirate7_1_1Pirate.xml delete mode 100644 doxygen/xml/classpirate7_1_1_pirate.xml delete mode 100644 doxygen/xml/classpirate8_1_1Pirate.xml delete mode 100644 doxygen/xml/classpirate8_1_1_pirate.xml delete mode 100644 doxygen/xml/classpirate_1_1Pirate.xml delete mode 100644 doxygen/xml/classpirate_1_1_pirate.xml delete mode 100644 doxygen/xml/cmd2_8py.xml delete mode 100644 doxygen/xml/combine.xslt delete mode 100644 doxygen/xml/compound.xsd delete mode 100644 doxygen/xml/conf_8py.xml delete mode 100644 doxygen/xml/dir_5185d8a4f3d34c6a54b85ae5904b80ec.xml delete mode 100644 doxygen/xml/dir_9c53eb36d53ed9f246f40760bdb65b6a.xml delete mode 100644 doxygen/xml/dir_a94d11e7025bc9c49b19e92232c5c310.xml delete mode 100644 doxygen/xml/dir_bfedb8cf204bc52dab598c696b63c3d6.xml delete mode 100644 doxygen/xml/dir_e01452e30018b7d8a87d21a8fdf5052c.xml delete mode 100644 doxygen/xml/example_8py.xml delete mode 100644 doxygen/xml/fileutil_8py.xml delete mode 100644 doxygen/xml/graph_8py.xml delete mode 100644 doxygen/xml/ignoreBug_8py.xml delete mode 100644 doxygen/xml/ignore_bug_8py.xml delete mode 100644 doxygen/xml/index.xml delete mode 100644 doxygen/xml/index.xsd delete mode 100644 doxygen/xml/namespacecmd2.xml delete mode 100644 doxygen/xml/namespaceconf.xml delete mode 100644 doxygen/xml/namespaceexample.xml delete mode 100644 doxygen/xml/namespacefileutil.xml delete mode 100644 doxygen/xml/namespacegraph.xml delete mode 100644 doxygen/xml/namespaceignoreBug.xml delete mode 100644 doxygen/xml/namespaceignore_bug.xml delete mode 100644 doxygen/xml/namespacepirate.xml delete mode 100644 doxygen/xml/namespacepirate2.xml delete mode 100644 doxygen/xml/namespacepirate3.xml delete mode 100644 doxygen/xml/namespacepirate4.xml delete mode 100644 doxygen/xml/namespacepirate5.xml delete mode 100644 doxygen/xml/namespacepirate6.xml delete mode 100644 doxygen/xml/namespacepirate7.xml delete mode 100644 doxygen/xml/namespacepirate8.xml delete mode 100644 doxygen/xml/namespacepyparsing.xml delete mode 100644 doxygen/xml/namespaceschematic.xml delete mode 100644 doxygen/xml/namespacesetup.xml delete mode 100644 doxygen/xml/namespaceturtle.xml delete mode 100644 doxygen/xml/pirate2_8py.xml delete mode 100644 doxygen/xml/pirate3_8py.xml delete mode 100644 doxygen/xml/pirate4_8py.xml delete mode 100644 doxygen/xml/pirate5_8py.xml delete mode 100644 doxygen/xml/pirate6_8py.xml delete mode 100644 doxygen/xml/pirate7_8py.xml delete mode 100644 doxygen/xml/pirate8_8py.xml delete mode 100644 doxygen/xml/pirate_8py.xml delete mode 100644 doxygen/xml/schematic_8py.xml delete mode 100644 doxygen/xml/setup_8py.xml diff --git a/build/lib/cmd2.py b/build/lib/cmd2.py deleted file mode 100644 index ba7fab8..0000000 --- a/build/lib/cmd2.py +++ /dev/null @@ -1,1593 +0,0 @@ -"""Variant on standard library's cmd with extra features. - -To use, simply import cmd2.Cmd instead of cmd.Cmd; use precisely as though you -were using the standard library's cmd, while enjoying the extra features. - -Searchable command history (commands: "hi", "li", "run") -Load commands from file, save to file, edit commands in file -Multi-line commands -Case-insensitive commands -Special-character shortcut commands (beyond cmd's "@" and "!") -Settable environment parameters -Optional _onchange_{paramname} called when environment parameter changes -Parsing commands with `optparse` options (flags) -Redirection to file with >, >>; input from file with < -Easy transcript-based testing of applications (see example/example.py) -Bash-style ``select`` available - -Note that redirection with > and | will only work if `self.stdout.write()` -is used in place of `print`. The standard library's `cmd` module is -written to use `self.stdout.write()`, - -- Catherine Devlin, Jan 03 2008 - catherinedevlin.blogspot.com - -mercurial repository at http://www.assembla.com/wiki/show/python-cmd2 -""" -import cmd -import re -import os -import sys -import optparse -import subprocess -import tempfile -import doctest -import unittest -import datetime -import urllib -import glob -import traceback -import platform -import copy -from code import InteractiveConsole, InteractiveInterpreter -from optparse import make_option -import pyparsing - -__version__ = '0.6.4' - -if sys.version_info[0] == 2: - pyparsing.ParserElement.enablePackrat() - -""" -Packrat is causing Python3 errors that I don't understand. - -> /usr/local/Cellar/python3/3.2/lib/python3.2/site-packages/pyparsing-1.5.6-py3.2.egg/pyparsing.py(999)scanString() --> nextLoc,tokens = parseFn( instring, preloc, callPreParse=False ) -(Pdb) n -NameError: global name 'exc' is not defined - -(Pdb) parseFn - - -Bug report filed: https://sourceforge.net/tracker/?func=detail&atid=617311&aid=3381439&group_id=97203 -""" - -class OptionParser(optparse.OptionParser): - def exit(self, status=0, msg=None): - self.values._exit = True - if msg: - print (msg) - - def print_help(self, *args, **kwargs): - try: - print (self._func.__doc__) - except AttributeError: - pass - optparse.OptionParser.print_help(self, *args, **kwargs) - - def error(self, msg): - """error(msg : string) - - Print a usage message incorporating 'msg' to stderr and exit. - If you override this in a subclass, it should not return -- it - should either exit or raise an exception. - """ - raise optparse.OptParseError(msg) - -def remaining_args(oldArgs, newArgList): - ''' - Preserves the spacing originally in the argument after - the removal of options. - - >>> remaining_args('-f bar bar cow', ['bar', 'cow']) - 'bar cow' - ''' - pattern = '\s+'.join(re.escape(a) for a in newArgList) + '\s*$' - matchObj = re.search(pattern, oldArgs) - return oldArgs[matchObj.start():] - -def _attr_get_(obj, attr): - '''Returns an attribute's value, or None (no error) if undefined. - Analagous to .get() for dictionaries. Useful when checking for - value of options that may not have been defined on a given - method.''' - try: - return getattr(obj, attr) - except AttributeError: - return None - -optparse.Values.get = _attr_get_ - -options_defined = [] # used to distinguish --options from SQL-style --comments - -def options(option_list, arg_desc="arg"): - '''Used as a decorator and passed a list of optparse-style options, - alters a cmd2 method to populate its ``opts`` argument from its - raw text argument. - - Example: transform - def do_something(self, arg): - - into - @options([make_option('-q', '--quick', action="store_true", - help="Makes things fast")], - "source dest") - def do_something(self, arg, opts): - if opts.quick: - self.fast_button = True - ''' - if not isinstance(option_list, list): - option_list = [option_list] - for opt in option_list: - options_defined.append(pyparsing.Literal(opt.get_opt_string())) - def option_setup(func): - optionParser = OptionParser() - for opt in option_list: - optionParser.add_option(opt) - optionParser.set_usage("%s [options] %s" % (func.__name__[3:], arg_desc)) - optionParser._func = func - def new_func(instance, arg): - try: - opts, newArgList = optionParser.parse_args(arg.split()) - # Must find the remaining args in the original argument list, but - # mustn't include the command itself - #if hasattr(arg, 'parsed') and newArgList[0] == arg.parsed.command: - # newArgList = newArgList[1:] - newArgs = remaining_args(arg, newArgList) - if isinstance(arg, ParsedString): - arg = arg.with_args_replaced(newArgs) - else: - arg = newArgs - except optparse.OptParseError, e: - print (e) - optionParser.print_help() - return - if hasattr(opts, '_exit'): - return None - result = func(instance, arg, opts) - return result - new_func.__doc__ = '%s\n%s' % (func.__doc__, optionParser.format_help()) - return new_func - return option_setup - -class PasteBufferError(EnvironmentError): - if sys.platform[:3] == 'win': - errmsg = """Redirecting to or from paste buffer requires pywin32 -to be installed on operating system. -Download from http://sourceforge.net/projects/pywin32/""" - elif sys.platform[:3] == 'dar': - # Use built in pbcopy on Mac OSX - pass - else: - errmsg = """Redirecting to or from paste buffer requires xclip -to be installed on operating system. -On Debian/Ubuntu, 'sudo apt-get install xclip' will install it.""" - def __init__(self): - Exception.__init__(self, self.errmsg) - -pastebufferr = """Redirecting to or from paste buffer requires %s -to be installed on operating system. -%s""" - -if subprocess.mswindows: - try: - import win32clipboard - def get_paste_buffer(): - win32clipboard.OpenClipboard(0) - try: - result = win32clipboard.GetClipboardData() - except TypeError: - result = '' #non-text - win32clipboard.CloseClipboard() - return result - def write_to_paste_buffer(txt): - win32clipboard.OpenClipboard(0) - win32clipboard.EmptyClipboard() - win32clipboard.SetClipboardText(txt) - win32clipboard.CloseClipboard() - except ImportError: - def get_paste_buffer(*args): - raise OSError, pastebufferr % ('pywin32', 'Download from http://sourceforge.net/projects/pywin32/') - write_to_paste_buffer = get_paste_buffer -elif sys.platform == 'darwin': - can_clip = False - try: - # test for pbcopy - AFAIK, should always be installed on MacOS - subprocess.check_call('pbcopy -help', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.PIPE) - can_clip = True - except (subprocess.CalledProcessError, OSError, IOError): - pass - if can_clip: - def get_paste_buffer(): - pbcopyproc = subprocess.Popen('pbcopy -help', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.PIPE) - return pbcopyproc.stdout.read() - def write_to_paste_buffer(txt): - pbcopyproc = subprocess.Popen('pbcopy', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.PIPE) - pbcopyproc.communicate(txt.encode()) - else: - def get_paste_buffer(*args): - raise OSError, pastebufferr % ('pbcopy', 'On MacOS X - error should not occur - part of the default installation') - write_to_paste_buffer = get_paste_buffer -else: - can_clip = False - try: - subprocess.check_call('xclip -o -sel clip', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.PIPE) - can_clip = True - except AttributeError: # check_call not defined, Python < 2.5 - try: - teststring = 'Testing for presence of xclip.' - xclipproc = subprocess.Popen('xclip -sel clip', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE) - xclipproc.stdin.write(teststring) - xclipproc.stdin.close() - xclipproc = subprocess.Popen('xclip -o -sel clip', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE) - if xclipproc.stdout.read() == teststring: - can_clip = True - except Exception: # hate a bare Exception call, but exception classes vary too much b/t stdlib versions - pass - except Exception: - pass # something went wrong with xclip and we cannot use it - if can_clip: - def get_paste_buffer(): - xclipproc = subprocess.Popen('xclip -o -sel clip', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE) - return xclipproc.stdout.read() - def write_to_paste_buffer(txt): - xclipproc = subprocess.Popen('xclip -sel clip', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE) - xclipproc.stdin.write(txt.encode()) - xclipproc.stdin.close() - # but we want it in both the "primary" and "mouse" clipboards - xclipproc = subprocess.Popen('xclip', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE) - xclipproc.stdin.write(txt.encode()) - xclipproc.stdin.close() - else: - def get_paste_buffer(*args): - raise OSError, pastebufferr % ('xclip', 'On Debian/Ubuntu, install with "sudo apt-get install xclip"') - write_to_paste_buffer = get_paste_buffer - -pyparsing.ParserElement.setDefaultWhitespaceChars(' \t') - -class ParsedString(str): - def full_parsed_statement(self): - new = ParsedString('%s %s' % (self.parsed.command, self.parsed.args)) - new.parsed = self.parsed - new.parser = self.parser - return new - def with_args_replaced(self, newargs): - new = ParsedString(newargs) - new.parsed = self.parsed - new.parser = self.parser - new.parsed['args'] = newargs - new.parsed.statement['args'] = newargs - return new - -class StubbornDict(dict): - '''Dictionary that tolerates many input formats. - Create it with stubbornDict(arg) factory function. - - >>> d = StubbornDict(large='gross', small='klein') - >>> sorted(d.items()) - [('large', 'gross'), ('small', 'klein')] - >>> d.append(['plain', ' plaid']) - >>> sorted(d.items()) - [('large', 'gross'), ('plaid', ''), ('plain', ''), ('small', 'klein')] - >>> d += ' girl Frauelein, Maedchen\\n\\n shoe schuh' - >>> sorted(d.items()) - [('girl', 'Frauelein, Maedchen'), ('large', 'gross'), ('plaid', ''), ('plain', ''), ('shoe', 'schuh'), ('small', 'klein')] - ''' - def update(self, arg): - dict.update(self, StubbornDict.to_dict(arg)) - append = update - def __iadd__(self, arg): - self.update(arg) - return self - def __add__(self, arg): - selfcopy = copy.copy(self) - selfcopy.update(stubbornDict(arg)) - return selfcopy - def __radd__(self, arg): - selfcopy = copy.copy(self) - selfcopy.update(stubbornDict(arg)) - return selfcopy - - @classmethod - def to_dict(cls, arg): - 'Generates dictionary from string or list of strings' - if hasattr(arg, 'splitlines'): - arg = arg.splitlines() - if hasattr(arg, '__reversed__'): - result = {} - for a in arg: - a = a.strip() - if a: - key_val = a.split(None, 1) - key = key_val[0] - if len(key_val) > 1: - val = key_val[1] - else: - val = '' - result[key] = val - else: - result = arg - return result - -def stubbornDict(*arg, **kwarg): - ''' - >>> sorted(stubbornDict('cow a bovine\\nhorse an equine').items()) - [('cow', 'a bovine'), ('horse', 'an equine')] - >>> sorted(stubbornDict(['badger', 'porcupine a poky creature']).items()) - [('badger', ''), ('porcupine', 'a poky creature')] - >>> sorted(stubbornDict(turtle='has shell', frog='jumpy').items()) - [('frog', 'jumpy'), ('turtle', 'has shell')] - ''' - result = {} - for a in arg: - result.update(StubbornDict.to_dict(a)) - result.update(kwarg) - return StubbornDict(result) - -def replace_with_file_contents(fname): - if fname: - try: - result = open(os.path.expanduser(fname[0])).read() - except IOError: - result = '< %s' % fname[0] # wasn't a file after all - else: - result = get_paste_buffer() - return result - -class EmbeddedConsoleExit(SystemExit): - pass - -class EmptyStatement(Exception): - pass - -def ljust(x, width, fillchar=' '): - 'analogous to str.ljust, but works for lists' - if hasattr(x, 'ljust'): - return x.ljust(width, fillchar) - else: - if len(x) < width: - x = (x + [fillchar] * width)[:width] - return x - -class Cmd(cmd.Cmd): - echo = False - case_insensitive = True # Commands recognized regardless of case - continuation_prompt = '> ' - timing = False # Prints elapsed time for each command - # make sure your terminators are not in legalChars! - legalChars = u'!#$%.:?@_' + pyparsing.alphanums + pyparsing.alphas8bit - shortcuts = {'?': 'help', '!': 'shell', '@': 'load', '@@': '_relative_load'} - excludeFromHistory = '''run r list l history hi ed edit li eof'''.split() - default_to_shell = False - noSpecialParse = 'set ed edit exit'.split() - defaultExtension = 'txt' # For ``save``, ``load``, etc. - default_file_name = 'command.txt' # For ``save``, ``load``, etc. - abbrev = True # Abbreviated commands recognized - current_script_dir = None - reserved_words = [] - feedback_to_output = False # Do include nonessentials in >, | output - quiet = False # Do not suppress nonessential output - debug = False - locals_in_py = True - kept_state = None - redirector = '>' # for sending output to file - settable = stubbornDict(''' - prompt - colors Colorized output (*nix only) - continuation_prompt On 2nd+ line of input - debug Show full error stack on error - default_file_name for ``save``, ``load``, etc. - editor Program used by ``edit`` - case_insensitive upper- and lower-case both OK - feedback_to_output include nonessentials in `|`, `>` results - quiet Don't print nonessential feedback - echo Echo command issued into output - timing Report execution times - abbrev Accept abbreviated commands - ''') - - def poutput(self, msg): - '''Convenient shortcut for self.stdout.write(); adds newline if necessary.''' - if msg: - self.stdout.write(msg) - if msg[-1] != '\n': - self.stdout.write('\n') - def perror(self, errmsg, statement=None): - if self.debug: - traceback.print_exc() - print (str(errmsg)) - def pfeedback(self, msg): - """For printing nonessential feedback. Can be silenced with `quiet`. - Inclusion in redirected output is controlled by `feedback_to_output`.""" - if not self.quiet: - if self.feedback_to_output: - self.poutput(msg) - else: - print (msg) - _STOP_AND_EXIT = True # distinguish end of script file from actual exit - _STOP_SCRIPT_NO_EXIT = -999 - editor = os.environ.get('EDITOR') - if not editor: - if sys.platform[:3] == 'win': - editor = 'notepad' - else: - for editor in ['gedit', 'kate', 'vim', 'emacs', 'nano', 'pico']: - if subprocess.Popen(['which', editor], stdout=subprocess.PIPE).communicate()[0]: - break - - colorcodes = {'bold':{True:'\x1b[1m',False:'\x1b[22m'}, - 'cyan':{True:'\x1b[36m',False:'\x1b[39m'}, - 'blue':{True:'\x1b[34m',False:'\x1b[39m'}, - 'red':{True:'\x1b[31m',False:'\x1b[39m'}, - 'magenta':{True:'\x1b[35m',False:'\x1b[39m'}, - 'green':{True:'\x1b[32m',False:'\x1b[39m'}, - 'underline':{True:'\x1b[4m',False:'\x1b[24m'}} - colors = (platform.system() != 'Windows') - def colorize(self, val, color): - '''Given a string (``val``), returns that string wrapped in UNIX-style - special characters that turn on (and then off) text color and style. - If the ``colors`` environment paramter is ``False``, or the application - is running on Windows, will return ``val`` unchanged. - ``color`` should be one of the supported strings (or styles): - red/blue/green/cyan/magenta, bold, underline''' - if self.colors and (self.stdout == self.initial_stdout): - return self.colorcodes[color][True] + val + self.colorcodes[color][False] - return val - - def do_cmdenvironment(self, args): - '''Summary report of interactive parameters.''' - self.stdout.write(""" - Commands are %(casesensitive)scase-sensitive. - Commands may be terminated with: %(terminators)s - Settable parameters: %(settable)s\n""" % \ - { 'casesensitive': (self.case_insensitive and 'not ') or '', - 'terminators': str(self.terminators), - 'settable': ' '.join(self.settable) - }) - - def do_help(self, arg): - if arg: - funcname = self.func_named(arg) - if funcname: - fn = getattr(self, funcname) - try: - fn.optionParser.print_help(file=self.stdout) - except AttributeError: - cmd.Cmd.do_help(self, funcname[3:]) - else: - cmd.Cmd.do_help(self, arg) - - def __init__(self, *args, **kwargs): - cmd.Cmd.__init__(self, *args, **kwargs) - self.initial_stdout = sys.stdout - self.history = History() - self.pystate = {} - self.shortcuts = sorted(self.shortcuts.items(), reverse=True) - self.keywords = self.reserved_words + [fname[3:] for fname in dir(self) - if fname.startswith('do_')] - self._init_parser() - - def do_shortcuts(self, args): - """Lists single-key shortcuts available.""" - result = "\n".join('%s: %s' % (sc[0], sc[1]) for sc in sorted(self.shortcuts)) - self.stdout.write("Single-key shortcuts for other commands:\n%s\n" % (result)) - - prefixParser = pyparsing.Empty() - commentGrammars = pyparsing.Or([pyparsing.pythonStyleComment, pyparsing.cStyleComment]) - commentGrammars.addParseAction(lambda x: '') - commentInProgress = pyparsing.Literal('/*') + pyparsing.SkipTo( - pyparsing.stringEnd ^ '*/') - terminators = [';'] - blankLinesAllowed = False - multilineCommands = [] - - def _init_parser(self): - r''' - >>> c = Cmd() - >>> c.multilineCommands = ['multiline'] - >>> c.case_insensitive = True - >>> c._init_parser() - >>> print (c.parser.parseString('').dump()) - [] - >>> print (c.parser.parseString('').dump()) - [] - >>> print (c.parser.parseString('/* empty command */').dump()) - [] - >>> print (c.parser.parseString('plainword').dump()) - ['plainword', ''] - - command: plainword - - statement: ['plainword', ''] - - command: plainword - >>> print (c.parser.parseString('termbare;').dump()) - ['termbare', '', ';', ''] - - command: termbare - - statement: ['termbare', '', ';'] - - command: termbare - - terminator: ; - - terminator: ; - >>> print (c.parser.parseString('termbare; suffx').dump()) - ['termbare', '', ';', 'suffx'] - - command: termbare - - statement: ['termbare', '', ';'] - - command: termbare - - terminator: ; - - suffix: suffx - - terminator: ; - >>> print (c.parser.parseString('barecommand').dump()) - ['barecommand', ''] - - command: barecommand - - statement: ['barecommand', ''] - - command: barecommand - >>> print (c.parser.parseString('COMmand with args').dump()) - ['command', 'with args'] - - args: with args - - command: command - - statement: ['command', 'with args'] - - args: with args - - command: command - >>> print (c.parser.parseString('command with args and terminator; and suffix').dump()) - ['command', 'with args and terminator', ';', 'and suffix'] - - args: with args and terminator - - command: command - - statement: ['command', 'with args and terminator', ';'] - - args: with args and terminator - - command: command - - terminator: ; - - suffix: and suffix - - terminator: ; - >>> print (c.parser.parseString('simple | piped').dump()) - ['simple', '', '|', ' piped'] - - command: simple - - pipeTo: piped - - statement: ['simple', ''] - - command: simple - >>> print (c.parser.parseString('double-pipe || is not a pipe').dump()) - ['double', '-pipe || is not a pipe'] - - args: -pipe || is not a pipe - - command: double - - statement: ['double', '-pipe || is not a pipe'] - - args: -pipe || is not a pipe - - command: double - >>> print (c.parser.parseString('command with args, terminator;sufx | piped').dump()) - ['command', 'with args, terminator', ';', 'sufx', '|', ' piped'] - - args: with args, terminator - - command: command - - pipeTo: piped - - statement: ['command', 'with args, terminator', ';'] - - args: with args, terminator - - command: command - - terminator: ; - - suffix: sufx - - terminator: ; - >>> print (c.parser.parseString('output into > afile.txt').dump()) - ['output', 'into', '>', 'afile.txt'] - - args: into - - command: output - - output: > - - outputTo: afile.txt - - statement: ['output', 'into'] - - args: into - - command: output - >>> print (c.parser.parseString('output into;sufx | pipethrume plz > afile.txt').dump()) - ['output', 'into', ';', 'sufx', '|', ' pipethrume plz', '>', 'afile.txt'] - - args: into - - command: output - - output: > - - outputTo: afile.txt - - pipeTo: pipethrume plz - - statement: ['output', 'into', ';'] - - args: into - - command: output - - terminator: ; - - suffix: sufx - - terminator: ; - >>> print (c.parser.parseString('output to paste buffer >> ').dump()) - ['output', 'to paste buffer', '>>', ''] - - args: to paste buffer - - command: output - - output: >> - - statement: ['output', 'to paste buffer'] - - args: to paste buffer - - command: output - >>> print (c.parser.parseString('ignore the /* commented | > */ stuff;').dump()) - ['ignore', 'the /* commented | > */ stuff', ';', ''] - - args: the /* commented | > */ stuff - - command: ignore - - statement: ['ignore', 'the /* commented | > */ stuff', ';'] - - args: the /* commented | > */ stuff - - command: ignore - - terminator: ; - - terminator: ; - >>> print (c.parser.parseString('has > inside;').dump()) - ['has', '> inside', ';', ''] - - args: > inside - - command: has - - statement: ['has', '> inside', ';'] - - args: > inside - - command: has - - terminator: ; - - terminator: ; - >>> print (c.parser.parseString('multiline has > inside an unfinished command').dump()) - ['multiline', ' has > inside an unfinished command'] - - multilineCommand: multiline - >>> print (c.parser.parseString('multiline has > inside;').dump()) - ['multiline', 'has > inside', ';', ''] - - args: has > inside - - multilineCommand: multiline - - statement: ['multiline', 'has > inside', ';'] - - args: has > inside - - multilineCommand: multiline - - terminator: ; - - terminator: ; - >>> print (c.parser.parseString('multiline command /* with comment in progress;').dump()) - ['multiline', ' command /* with comment in progress;'] - - multilineCommand: multiline - >>> print (c.parser.parseString('multiline command /* with comment complete */ is done;').dump()) - ['multiline', 'command /* with comment complete */ is done', ';', ''] - - args: command /* with comment complete */ is done - - multilineCommand: multiline - - statement: ['multiline', 'command /* with comment complete */ is done', ';'] - - args: command /* with comment complete */ is done - - multilineCommand: multiline - - terminator: ; - - terminator: ; - >>> print (c.parser.parseString('multiline command ends\n\n').dump()) - ['multiline', 'command ends', '\n', '\n'] - - args: command ends - - multilineCommand: multiline - - statement: ['multiline', 'command ends', '\n', '\n'] - - args: command ends - - multilineCommand: multiline - - terminator: ['\n', '\n'] - - terminator: ['\n', '\n'] - >>> print (c.parser.parseString('multiline command "with term; ends" now\n\n').dump()) - ['multiline', 'command "with term; ends" now', '\n', '\n'] - - args: command "with term; ends" now - - multilineCommand: multiline - - statement: ['multiline', 'command "with term; ends" now', '\n', '\n'] - - args: command "with term; ends" now - - multilineCommand: multiline - - terminator: ['\n', '\n'] - - terminator: ['\n', '\n'] - >>> print (c.parser.parseString('what if "quoted strings /* seem to " start comments?').dump()) - ['what', 'if "quoted strings /* seem to " start comments?'] - - args: if "quoted strings /* seem to " start comments? - - command: what - - statement: ['what', 'if "quoted strings /* seem to " start comments?'] - - args: if "quoted strings /* seem to " start comments? - - command: what - ''' - #outputParser = (pyparsing.Literal('>>') | (pyparsing.WordStart() + '>') | pyparsing.Regex('[^=]>'))('output') - outputParser = (pyparsing.Literal(self.redirector *2) | \ - (pyparsing.WordStart() + self.redirector) | \ - pyparsing.Regex('[^=]' + self.redirector))('output') - - terminatorParser = pyparsing.Or([(hasattr(t, 'parseString') and t) or pyparsing.Literal(t) for t in self.terminators])('terminator') - stringEnd = pyparsing.stringEnd ^ '\nEOF' - self.multilineCommand = pyparsing.Or([pyparsing.Keyword(c, caseless=self.case_insensitive) for c in self.multilineCommands])('multilineCommand') - oneLineCommand = (~self.multilineCommand + pyparsing.Word(self.legalChars))('command') - pipe = pyparsing.Keyword('|', identChars='|') - self.commentGrammars.ignore(pyparsing.quotedString).setParseAction(lambda x: '') - doNotParse = self.commentGrammars | self.commentInProgress | pyparsing.quotedString - afterElements = \ - pyparsing.Optional(pipe + pyparsing.SkipTo(outputParser ^ stringEnd, ignore=doNotParse)('pipeTo')) + \ - pyparsing.Optional(outputParser + pyparsing.SkipTo(stringEnd, ignore=doNotParse).setParseAction(lambda x: x[0].strip())('outputTo')) - if self.case_insensitive: - self.multilineCommand.setParseAction(lambda x: x[0].lower()) - oneLineCommand.setParseAction(lambda x: x[0].lower()) - if self.blankLinesAllowed: - self.blankLineTerminationParser = pyparsing.NoMatch - else: - self.blankLineTerminator = (pyparsing.lineEnd + pyparsing.lineEnd)('terminator') - self.blankLineTerminator.setResultsName('terminator') - self.blankLineTerminationParser = ((self.multilineCommand ^ oneLineCommand) + pyparsing.SkipTo(self.blankLineTerminator, ignore=doNotParse).setParseAction(lambda x: x[0].strip())('args') + self.blankLineTerminator)('statement') - self.multilineParser = (((self.multilineCommand ^ oneLineCommand) + pyparsing.SkipTo(terminatorParser, ignore=doNotParse).setParseAction(lambda x: x[0].strip())('args') + terminatorParser)('statement') + - pyparsing.SkipTo(outputParser ^ pipe ^ stringEnd, ignore=doNotParse).setParseAction(lambda x: x[0].strip())('suffix') + afterElements) - self.multilineParser.ignore(self.commentInProgress) - self.singleLineParser = ((oneLineCommand + pyparsing.SkipTo(terminatorParser ^ stringEnd ^ pipe ^ outputParser, ignore=doNotParse).setParseAction(lambda x:x[0].strip())('args'))('statement') + - pyparsing.Optional(terminatorParser) + afterElements) - #self.multilineParser = self.multilineParser.setResultsName('multilineParser') - #self.singleLineParser = self.singleLineParser.setResultsName('singleLineParser') - self.blankLineTerminationParser = self.blankLineTerminationParser.setResultsName('statement') - self.parser = self.prefixParser + ( - stringEnd | - self.multilineParser | - self.singleLineParser | - self.blankLineTerminationParser | - self.multilineCommand + pyparsing.SkipTo(stringEnd, ignore=doNotParse) - ) - self.parser.ignore(self.commentGrammars) - - inputMark = pyparsing.Literal('<') - inputMark.setParseAction(lambda x: '') - fileName = pyparsing.Word(self.legalChars + '/\\') - inputFrom = fileName('inputFrom') - inputFrom.setParseAction(replace_with_file_contents) - # a not-entirely-satisfactory way of distinguishing < as in "import from" from < - # as in "lesser than" - self.inputParser = inputMark + pyparsing.Optional(inputFrom) + pyparsing.Optional('>') + \ - pyparsing.Optional(fileName) + (pyparsing.stringEnd | '|') - self.inputParser.ignore(self.commentInProgress) - - def preparse(self, raw, **kwargs): - return raw - def postparse(self, parseResult): - return parseResult - - def parsed(self, raw, **kwargs): - if isinstance(raw, ParsedString): - p = raw - else: - # preparse is an overridable hook; default makes no changes - s = self.preparse(raw, **kwargs) - s = self.inputParser.transformString(s.lstrip()) - s = self.commentGrammars.transformString(s) - for (shortcut, expansion) in self.shortcuts: - if s.lower().startswith(shortcut): - s = s.replace(shortcut, expansion + ' ', 1) - break - result = self.parser.parseString(s) - result['raw'] = raw - result['command'] = result.multilineCommand or result.command - result = self.postparse(result) - p = ParsedString(result.args) - p.parsed = result - p.parser = self.parsed - for (key, val) in kwargs.items(): - p.parsed[key] = val - return p - - def postparsing_precmd(self, statement): - stop = 0 - return stop, statement - def postparsing_postcmd(self, stop): - return stop - - def func_named(self, arg): - result = None - target = 'do_' + arg - if target in dir(self): - result = target - else: - if self.abbrev: # accept shortened versions of commands - funcs = [fname for fname in self.keywords if fname.startswith(arg)] - if len(funcs) == 1: - result = 'do_' + funcs[0] - return result - def onecmd_plus_hooks(self, line): - # The outermost level of try/finally nesting can be condensed once - # Python 2.4 support can be dropped. - stop = 0 - try: - try: - statement = self.complete_statement(line) - (stop, statement) = self.postparsing_precmd(statement) - if stop: - return self.postparsing_postcmd(stop) - if statement.parsed.command not in self.excludeFromHistory: - self.history.append(statement.parsed.raw) - try: - self.redirect_output(statement) - timestart = datetime.datetime.now() - statement = self.precmd(statement) - stop = self.onecmd(statement) - stop = self.postcmd(stop, statement) - if self.timing: - self.pfeedback('Elapsed: %s' % str(datetime.datetime.now() - timestart)) - finally: - self.restore_output(statement) - except EmptyStatement: - return 0 - except Exception, e: - self.perror(str(e), statement) - finally: - return self.postparsing_postcmd(stop) - def complete_statement(self, line): - """Keep accepting lines of input until the command is complete.""" - if (not line) or ( - not pyparsing.Or(self.commentGrammars). - setParseAction(lambda x: '').transformString(line)): - raise EmptyStatement - statement = self.parsed(line) - while statement.parsed.multilineCommand and (statement.parsed.terminator == ''): - statement = '%s\n%s' % (statement.parsed.raw, - self.pseudo_raw_input(self.continuation_prompt)) - statement = self.parsed(statement) - if not statement.parsed.command: - raise EmptyStatement - return statement - - def redirect_output(self, statement): - if statement.parsed.pipeTo: - self.kept_state = Statekeeper(self, ('stdout',)) - self.kept_sys = Statekeeper(sys, ('stdout',)) - self.redirect = subprocess.Popen(statement.parsed.pipeTo, shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE) - sys.stdout = self.stdout = self.redirect.stdin - elif statement.parsed.output: - if (not statement.parsed.outputTo) and (not can_clip): - raise EnvironmentError('Cannot redirect to paste buffer; install ``xclip`` and re-run to enable') - self.kept_state = Statekeeper(self, ('stdout',)) - self.kept_sys = Statekeeper(sys, ('stdout',)) - if statement.parsed.outputTo: - mode = 'w' - if statement.parsed.output == 2 * self.redirector: - mode = 'a' - sys.stdout = self.stdout = open(os.path.expanduser(statement.parsed.outputTo), mode) - else: - sys.stdout = self.stdout = tempfile.TemporaryFile(mode="w+") - if statement.parsed.output == '>>': - self.stdout.write(get_paste_buffer()) - - def restore_output(self, statement): - if self.kept_state: - if statement.parsed.output: - if not statement.parsed.outputTo: - self.stdout.seek(0) - write_to_paste_buffer(self.stdout.read()) - elif statement.parsed.pipeTo: - for result in self.redirect.communicate(): - self.kept_state.stdout.write(result or '') - self.stdout.close() - self.kept_state.restore() - self.kept_sys.restore() - self.kept_state = None - - def onecmd(self, line): - """Interpret the argument as though it had been typed in response - to the prompt. - - This may be overridden, but should not normally need to be; - see the precmd() and postcmd() methods for useful execution hooks. - The return value is a flag indicating whether interpretation of - commands by the interpreter should stop. - - This (`cmd2`) version of `onecmd` already override's `cmd`'s `onecmd`. - - """ - statement = self.parsed(line) - self.lastcmd = statement.parsed.raw - funcname = self.func_named(statement.parsed.command) - if not funcname: - return self._default(statement) - try: - func = getattr(self, funcname) - except AttributeError: - return self._default(statement) - stop = func(statement) - return stop - - def _default(self, statement): - arg = statement.full_parsed_statement() - if self.default_to_shell: - result = os.system(arg) - if not result: - return self.postparsing_postcmd(None) - return self.postparsing_postcmd(self.default(arg)) - - def pseudo_raw_input(self, prompt): - """copied from cmd's cmdloop; like raw_input, but accounts for changed stdin, stdout""" - - if self.use_rawinput: - try: - line = raw_input(prompt) - except EOFError: - line = 'EOF' - else: - self.stdout.write(prompt) - self.stdout.flush() - line = self.stdin.readline() - if not len(line): - line = 'EOF' - else: - if line[-1] == '\n': # this was always true in Cmd - line = line[:-1] - return line - - def _cmdloop(self, intro=None): - """Repeatedly issue a prompt, accept input, parse an initial prefix - off the received input, and dispatch to action methods, passing them - the remainder of the line as argument. - """ - - # An almost perfect copy from Cmd; however, the pseudo_raw_input portion - # has been split out so that it can be called separately - - self.preloop() - if self.use_rawinput and self.completekey: - try: - import readline - self.old_completer = readline.get_completer() - readline.set_completer(self.complete) - readline.parse_and_bind(self.completekey+": complete") - except ImportError: - pass - try: - if intro is not None: - self.intro = intro - if self.intro: - self.stdout.write(str(self.intro)+"\n") - stop = None - while not stop: - if self.cmdqueue: - line = self.cmdqueue.pop(0) - else: - line = self.pseudo_raw_input(self.prompt) - if (self.echo) and (isinstance(self.stdin, file)): - self.stdout.write(line + '\n') - stop = self.onecmd_plus_hooks(line) - self.postloop() - finally: - if self.use_rawinput and self.completekey: - try: - import readline - readline.set_completer(self.old_completer) - except ImportError: - pass - return stop - - def do_EOF(self, arg): - return self._STOP_SCRIPT_NO_EXIT # End of script; should not exit app - do_eof = do_EOF - - def do_quit(self, arg): - return self._STOP_AND_EXIT - do_exit = do_quit - do_q = do_quit - - def select(self, options, prompt='Your choice? '): - '''Presents a numbered menu to the user. Modelled after - the bash shell's SELECT. Returns the item chosen. - - Argument ``options`` can be: - - | a single string -> will be split into one-word options - | a list of strings -> will be offered as options - | a list of tuples -> interpreted as (value, text), so - that the return value can differ from - the text advertised to the user ''' - if isinstance(options, basestring): - options = zip(options.split(), options.split()) - fulloptions = [] - for opt in options: - if isinstance(opt, basestring): - fulloptions.append((opt, opt)) - else: - try: - fulloptions.append((opt[0], opt[1])) - except IndexError: - fulloptions.append((opt[0], opt[0])) - for (idx, (value, text)) in enumerate(fulloptions): - self.poutput(' %2d. %s\n' % (idx+1, text)) - while True: - response = raw_input(prompt) - try: - response = int(response) - result = fulloptions[response - 1][0] - break - except ValueError: - pass # loop and ask again - return result - - @options([make_option('-l', '--long', action="store_true", - help="describe function of parameter")]) - def do_show(self, arg, opts): - '''Shows value of a parameter.''' - param = arg.strip().lower() - result = {} - maxlen = 0 - for p in self.settable: - if (not param) or p.startswith(param): - result[p] = '%s: %s' % (p, str(getattr(self, p))) - maxlen = max(maxlen, len(result[p])) - if result: - for p in sorted(result): - if opts.long: - self.poutput('%s # %s' % (result[p].ljust(maxlen), self.settable[p])) - else: - self.poutput(result[p]) - else: - raise NotImplementedError("Parameter '%s' not supported (type 'show' for list of parameters)." % param) - - def do_set(self, arg): - ''' - Sets a cmd2 parameter. Accepts abbreviated parameter names so long - as there is no ambiguity. Call without arguments for a list of - settable parameters with their values.''' - try: - statement, paramName, val = arg.parsed.raw.split(None, 2) - val = val.strip() - paramName = paramName.strip().lower() - if paramName not in self.settable: - hits = [p for p in self.settable if p.startswith(paramName)] - if len(hits) == 1: - paramName = hits[0] - else: - return self.do_show(paramName) - currentVal = getattr(self, paramName) - if (val[0] == val[-1]) and val[0] in ("'", '"'): - val = val[1:-1] - else: - val = cast(currentVal, val) - setattr(self, paramName, val) - self.stdout.write('%s - was: %s\nnow: %s\n' % (paramName, currentVal, val)) - if currentVal != val: - try: - onchange_hook = getattr(self, '_onchange_%s' % paramName) - onchange_hook(old=currentVal, new=val) - except AttributeError: - pass - except (ValueError, AttributeError, NotSettableError), e: - self.do_show(arg) - - def do_pause(self, arg): - 'Displays the specified text then waits for the user to press RETURN.' - raw_input(arg + '\n') - - def do_shell(self, arg): - 'execute a command as if at the OS prompt.' - os.system(arg) - - def do_py(self, arg): - ''' - py : Executes a Python command. - py: Enters interactive Python mode. - End with ``Ctrl-D`` (Unix) / ``Ctrl-Z`` (Windows), ``quit()``, '`exit()``. - Non-python commands can be issued with ``cmd("your command")``. - Run python code from external files with ``run("filename.py")`` - ''' - self.pystate['self'] = self - arg = arg.parsed.raw[2:].strip() - localvars = (self.locals_in_py and self.pystate) or {} - interp = InteractiveConsole(locals=localvars) - interp.runcode('import sys, os;sys.path.insert(0, os.getcwd())') - if arg.strip(): - interp.runcode(arg) - else: - def quit(): - raise EmbeddedConsoleExit - def onecmd_plus_hooks(arg): - return self.onecmd_plus_hooks(arg + '\n') - def run(arg): - try: - file = open(arg) - interp.runcode(file.read()) - file.close() - except IOError, e: - self.perror(e) - self.pystate['quit'] = quit - self.pystate['exit'] = quit - self.pystate['cmd'] = onecmd_plus_hooks - self.pystate['run'] = run - try: - cprt = 'Type "help", "copyright", "credits" or "license" for more information.' - keepstate = Statekeeper(sys, ('stdin','stdout')) - sys.stdout = self.stdout - sys.stdin = self.stdin - interp.interact(banner= "Python %s on %s\n%s\n(%s)\n%s" % - (sys.version, sys.platform, cprt, self.__class__.__name__, self.do_py.__doc__)) - except EmbeddedConsoleExit: - pass - keepstate.restore() - - @options([make_option('-s', '--script', action="store_true", help="Script format; no separation lines"), - ], arg_desc = '(limit on which commands to include)') - def do_history(self, arg, opts): - """history [arg]: lists past commands issued - - | no arg: list all - | arg is integer: list one history item, by index - | arg is string: string search - | arg is /enclosed in forward-slashes/: regular expression search - """ - if arg: - history = self.history.get(arg) - else: - history = self.history - for hi in history: - if opts.script: - self.poutput(hi) - else: - self.stdout.write(hi.pr()) - def last_matching(self, arg): - try: - if arg: - return self.history.get(arg)[-1] - else: - return self.history[-1] - except IndexError: - return None - def do_list(self, arg): - """list [arg]: lists last command issued - - no arg -> list most recent command - arg is integer -> list one history item, by index - a..b, a:b, a:, ..b -> list spans from a (or start) to b (or end) - arg is string -> list all commands matching string search - arg is /enclosed in forward-slashes/ -> regular expression search - """ - try: - history = self.history.span(arg or '-1') - except IndexError: - history = self.history.search(arg) - for hi in history: - self.poutput(hi.pr()) - - do_hi = do_history - do_l = do_list - do_li = do_list - - def do_ed(self, arg): - """ed: edit most recent command in text editor - ed [N]: edit numbered command from history - ed [filename]: edit specified file name - - commands are run after editor is closed. - "set edit (program-name)" or set EDITOR environment variable - to control which editing program is used.""" - if not self.editor: - raise EnvironmentError("Please use 'set editor' to specify your text editing program of choice.") - filename = self.default_file_name - if arg: - try: - buffer = self.last_matching(int(arg)) - except ValueError: - filename = arg - buffer = '' - else: - buffer = self.history[-1] - - if buffer: - f = open(os.path.expanduser(filename), 'w') - f.write(buffer or '') - f.close() - - os.system('%s %s' % (self.editor, filename)) - self.do__load(filename) - do_edit = do_ed - - saveparser = (pyparsing.Optional(pyparsing.Word(pyparsing.nums)^'*')("idx") + - pyparsing.Optional(pyparsing.Word(legalChars + '/\\'))("fname") + - pyparsing.stringEnd) - def do_save(self, arg): - """`save [N] [filename.ext]` - - Saves command from history to file. - - | N => Number of command (from history), or `*`; - | most recent command if omitted""" - - try: - args = self.saveparser.parseString(arg) - except pyparsing.ParseException: - self.perror('Could not understand save target %s' % arg) - raise SyntaxError(self.do_save.__doc__) - fname = args.fname or self.default_file_name - if args.idx == '*': - saveme = '\n\n'.join(self.history[:]) - elif args.idx: - saveme = self.history[int(args.idx)-1] - else: - saveme = self.history[-1] - try: - f = open(os.path.expanduser(fname), 'w') - f.write(saveme) - f.close() - self.pfeedback('Saved to %s' % (fname)) - except Exception, e: - self.perror('Error saving %s' % (fname)) - raise - - def read_file_or_url(self, fname): - # TODO: not working on localhost - if isinstance(fname, file): - result = open(fname, 'r') - else: - match = self.urlre.match(fname) - if match: - result = urllib.urlopen(match.group(1)) - else: - fname = os.path.expanduser(fname) - try: - result = open(os.path.expanduser(fname), 'r') - except IOError: - result = open('%s.%s' % (os.path.expanduser(fname), - self.defaultExtension), 'r') - return result - - def do__relative_load(self, arg=None): - ''' - Runs commands in script at file or URL; if this is called from within an - already-running script, the filename will be interpreted relative to the - already-running script's directory.''' - if arg: - arg = arg.split(None, 1) - targetname, args = arg[0], (arg[1:] or [''])[0] - targetname = os.path.join(self.current_script_dir or '', targetname) - self.do__load('%s %s' % (targetname, args)) - - urlre = re.compile('(https?://[-\\w\\./]+)') - def do_load(self, arg=None): - """Runs script of command(s) from a file or URL.""" - if arg is None: - targetname = self.default_file_name - else: - arg = arg.split(None, 1) - targetname, args = arg[0], (arg[1:] or [''])[0].strip() - try: - target = self.read_file_or_url(targetname) - except IOError, e: - self.perror('Problem accessing script from %s: \n%s' % (targetname, e)) - return - keepstate = Statekeeper(self, ('stdin','use_rawinput','prompt', - 'continuation_prompt','current_script_dir')) - self.stdin = target - self.use_rawinput = False - self.prompt = self.continuation_prompt = '' - self.current_script_dir = os.path.split(targetname)[0] - stop = self._cmdloop() - self.stdin.close() - keepstate.restore() - self.lastcmd = '' - return stop and (stop != self._STOP_SCRIPT_NO_EXIT) - do__load = do_load # avoid an unfortunate legacy use of do_load from sqlpython - - def do_run(self, arg): - """run [arg]: re-runs an earlier command - - no arg -> run most recent command - arg is integer -> run one history item, by index - arg is string -> run most recent command by string search - arg is /enclosed in forward-slashes/ -> run most recent by regex - """ - 'run [N]: runs the SQL that was run N commands ago' - runme = self.last_matching(arg) - self.pfeedback(runme) - if runme: - stop = self.onecmd_plus_hooks(runme) - do_r = do_run - - def fileimport(self, statement, source): - try: - f = open(os.path.expanduser(source)) - except IOError: - self.stdout.write("Couldn't read from file %s\n" % source) - return '' - data = f.read() - f.close() - return data - - def runTranscriptTests(self, callargs): - class TestMyAppCase(Cmd2TestCase): - CmdApp = self.__class__ - self.__class__.testfiles = callargs - sys.argv = [sys.argv[0]] # the --test argument upsets unittest.main() - testcase = TestMyAppCase() - runner = unittest.TextTestRunner() - result = runner.run(testcase) - result.printErrors() - - def run_commands_at_invocation(self, callargs): - for initial_command in callargs: - if self.onecmd_plus_hooks(initial_command + '\n'): - return self._STOP_AND_EXIT - - def cmdloop(self): - parser = optparse.OptionParser() - parser.add_option('-t', '--test', dest='test', - action="store_true", - help='Test against transcript(s) in FILE (wildcards OK)') - (callopts, callargs) = parser.parse_args() - if callopts.test: - self.runTranscriptTests(callargs) - else: - if not self.run_commands_at_invocation(callargs): - self._cmdloop() - -class HistoryItem(str): - listformat = '-------------------------[%d]\n%s\n' - def __init__(self, instr): - str.__init__(self) - self.lowercase = self.lower() - self.idx = None - def pr(self): - return self.listformat % (self.idx, str(self)) - -class History(list): - '''A list of HistoryItems that knows how to respond to user requests. - >>> h = History([HistoryItem('first'), HistoryItem('second'), HistoryItem('third'), HistoryItem('fourth')]) - >>> h.span('-2..') - ['third', 'fourth'] - >>> h.span('2..3') - ['second', 'third'] - >>> h.span('3') - ['third'] - >>> h.span(':') - ['first', 'second', 'third', 'fourth'] - >>> h.span('2..') - ['second', 'third', 'fourth'] - >>> h.span('-1') - ['fourth'] - >>> h.span('-2..-3') - ['third', 'second'] - >>> h.search('o') - ['second', 'fourth'] - >>> h.search('/IR/') - ['first', 'third'] - ''' - def zero_based_index(self, onebased): - result = onebased - if result > 0: - result -= 1 - return result - def to_index(self, raw): - if raw: - result = self.zero_based_index(int(raw)) - else: - result = None - return result - def search(self, target): - target = target.strip() - if target[0] == target[-1] == '/' and len(target) > 1: - target = target[1:-1] - else: - target = re.escape(target) - pattern = re.compile(target, re.IGNORECASE) - return [s for s in self if pattern.search(s)] - spanpattern = re.compile(r'^\s*(?P\-?\d+)?\s*(?P:|(\.{2,}))?\s*(?P\-?\d+)?\s*$') - def span(self, raw): - if raw.lower() in ('*', '-', 'all'): - raw = ':' - results = self.spanpattern.search(raw) - if not results: - raise IndexError - if not results.group('separator'): - return [self[self.to_index(results.group('start'))]] - start = self.to_index(results.group('start')) - end = self.to_index(results.group('end')) - reverse = False - if end is not None: - if end < start: - (start, end) = (end, start) - reverse = True - end += 1 - result = self[start:end] - if reverse: - result.reverse() - return result - - rangePattern = re.compile(r'^\s*(?P[\d]+)?\s*\-\s*(?P[\d]+)?\s*$') - def append(self, new): - new = HistoryItem(new) - list.append(self, new) - new.idx = len(self) - def extend(self, new): - for n in new: - self.append(n) - - def get(self, getme=None, fromEnd=False): - if not getme: - return self - try: - getme = int(getme) - if getme < 0: - return self[:(-1 * getme)] - else: - return [self[getme-1]] - except IndexError: - return [] - except ValueError: - rangeResult = self.rangePattern.search(getme) - if rangeResult: - start = rangeResult.group('start') or None - end = rangeResult.group('start') or None - if start: - start = int(start) - 1 - if end: - end = int(end) - return self[start:end] - - getme = getme.strip() - - if getme.startswith(r'/') and getme.endswith(r'/'): - finder = re.compile(getme[1:-1], re.DOTALL | re.MULTILINE | re.IGNORECASE) - def isin(hi): - return finder.search(hi) - else: - def isin(hi): - return (getme.lower() in hi.lowercase) - return [itm for itm in self if isin(itm)] - -class NotSettableError(Exception): - pass - -def cast(current, new): - """Tries to force a new value into the same type as the current.""" - typ = type(current) - if typ == bool: - try: - return bool(int(new)) - except (ValueError, TypeError): - pass - try: - new = new.lower() - except: - pass - if (new=='on') or (new[0] in ('y','t')): - return True - if (new=='off') or (new[0] in ('n','f')): - return False - else: - try: - return typ(new) - except: - pass - print ("Problem setting parameter (now %s) to %s; incorrect type?" % (current, new)) - return current - -class Statekeeper(object): - def __init__(self, obj, attribs): - self.obj = obj - self.attribs = attribs - if self.obj: - self.save() - def save(self): - for attrib in self.attribs: - setattr(self, attrib, getattr(self.obj, attrib)) - def restore(self): - if self.obj: - for attrib in self.attribs: - setattr(self.obj, attrib, getattr(self, attrib)) - -class Borg(object): - '''All instances of any Borg subclass will share state. - from Python Cookbook, 2nd Ed., recipe 6.16''' - _shared_state = {} - def __new__(cls, *a, **k): - obj = object.__new__(cls, *a, **k) - obj.__dict__ = cls._shared_state - return obj - -class OutputTrap(Borg): - '''Instantiate an OutputTrap to divert/capture ALL stdout output. For use in unit testing. - Call `tearDown()` to return to normal output.''' - def __init__(self): - self.contents = '' - self.old_stdout = sys.stdout - sys.stdout = self - def write(self, txt): - self.contents += txt - def read(self): - result = self.contents - self.contents = '' - return result - def tearDown(self): - sys.stdout = self.old_stdout - self.contents = '' - -class Cmd2TestCase(unittest.TestCase): - '''Subclass this, setting CmdApp, to make a unittest.TestCase class - that will execute the commands in a transcript file and expect the results shown. - See example.py''' - CmdApp = None - def fetchTranscripts(self): - self.transcripts = {} - for fileset in self.CmdApp.testfiles: - for fname in glob.glob(fileset): - tfile = open(fname) - self.transcripts[fname] = iter(tfile.readlines()) - tfile.close() - if not len(self.transcripts): - raise (StandardError,), "No test files found - nothing to test." - def setUp(self): - if self.CmdApp: - self.outputTrap = OutputTrap() - self.cmdapp = self.CmdApp() - self.fetchTranscripts() - def runTest(self): # was testall - if self.CmdApp: - its = sorted(self.transcripts.items()) - for (fname, transcript) in its: - self._test_transcript(fname, transcript) - regexPattern = pyparsing.QuotedString(quoteChar=r'/', escChar='\\', multiline=True, unquoteResults=True) - regexPattern.ignore(pyparsing.cStyleComment) - notRegexPattern = pyparsing.Word(pyparsing.printables) - notRegexPattern.setParseAction(lambda t: re.escape(t[0])) - expectationParser = regexPattern | notRegexPattern - anyWhitespace = re.compile(r'\s', re.DOTALL | re.MULTILINE) - def _test_transcript(self, fname, transcript): - lineNum = 0 - finished = False - line = transcript.next() - lineNum += 1 - tests_run = 0 - while not finished: - # Scroll forward to where actual commands begin - while not line.startswith(self.cmdapp.prompt): - try: - line = transcript.next() - except StopIteration: - finished = True - break - lineNum += 1 - command = [line[len(self.cmdapp.prompt):]] - line = transcript.next() - # Read the entirety of a multi-line command - while line.startswith(self.cmdapp.continuation_prompt): - command.append(line[len(self.cmdapp.continuation_prompt):]) - try: - line = transcript.next() - except StopIteration: - raise (StopIteration, - 'Transcript broke off while reading command beginning at line %d with\n%s' - % (command[0])) - lineNum += 1 - command = ''.join(command) - # Send the command into the application and capture the resulting output - stop = self.cmdapp.onecmd_plus_hooks(command) - #TODO: should act on ``stop`` - result = self.outputTrap.read() - # Read the expected result from transcript - if line.startswith(self.cmdapp.prompt): - message = '\nFile %s, line %d\nCommand was:\n%s\nExpected: (nothing)\nGot:\n%s\n'%\ - (fname, lineNum, command, result) - self.assert_(not(result.strip()), message) - continue - expected = [] - while not line.startswith(self.cmdapp.prompt): - expected.append(line) - try: - line = transcript.next() - except StopIteration: - finished = True - break - lineNum += 1 - expected = ''.join(expected) - # Compare actual result to expected - message = '\nFile %s, line %d\nCommand was:\n%s\nExpected:\n%s\nGot:\n%s\n'%\ - (fname, lineNum, command, expected, result) - expected = self.expectationParser.transformString(expected) - # checking whitespace is a pain - let's skip it - expected = self.anyWhitespace.sub('', expected) - result = self.anyWhitespace.sub('', result) - self.assert_(re.match(expected, result, re.MULTILINE | re.DOTALL), message) - - def tearDown(self): - if self.CmdApp: - self.outputTrap.tearDown() - -if __name__ == '__main__': - doctest.testmod(optionflags = doctest.NORMALIZE_WHITESPACE) - -''' -To make your application transcript-testable, replace - -:: - - app = MyApp() - app.cmdloop() - -with - -:: - - app = MyApp() - cmd2.run(app) - -Then run a session of your application and paste the entire screen contents -into a file, ``transcript.test``, and invoke the test like:: - - python myapp.py --test transcript.test - -Wildcards can be used to test against multiple transcript files. -''' - - diff --git a/cmd2.egg-info/PKG-INFO b/cmd2.egg-info/PKG-INFO deleted file mode 100644 index 27ba92c..0000000 --- a/cmd2.egg-info/PKG-INFO +++ /dev/null @@ -1,43 +0,0 @@ -Metadata-Version: 1.0 -Name: cmd2 -Version: 0.6.4 -Summary: Extra features for standard library's cmd module -Home-page: http://packages.python.org/cmd2/ -Author: Catherine Devlin -Author-email: catherine.devlin@gmail.com -License: MIT -Description: Enhancements for standard library's cmd module. - - Drop-in replacement adds several features for command-prompt tools: - - * Searchable command history (commands: "hi", "li", "run") - * Load commands from file, save to file, edit commands in file - * Multi-line commands - * Case-insensitive commands - * Special-character shortcut commands (beyond cmd's "@" and "!") - * Settable environment parameters - * Parsing commands with flags - * > (filename), >> (filename) redirect output to file - * < (filename) gets input from file - * bare >, >>, < redirect to/from paste buffer - * accepts abbreviated commands when unambiguous - * `py` enters interactive Python console - * test apps against sample session transcript (see example/example.py) - - Useable without modification anywhere cmd is used; simply import cmd2.Cmd in place of cmd.Cmd. - - Running `2to3 ` against ``cmd2.py`` - generates working, Python3-based code. - - See docs at http://packages.python.org/cmd2/ - -Keywords: command prompt console cmd -Platform: UNKNOWN -Classifier: Development Status :: 4 - Beta -Classifier: Environment :: Console -Classifier: Operating System :: OS Independent -Classifier: Intended Audience :: Developers -Classifier: Intended Audience :: System Administrators -Classifier: Programming Language :: Python -Classifier: License :: OSI Approved :: MIT License -Classifier: Topic :: Software Development :: Libraries :: Python Modules diff --git a/cmd2.egg-info/SOURCES.txt b/cmd2.egg-info/SOURCES.txt deleted file mode 100644 index 7f21d58..0000000 --- a/cmd2.egg-info/SOURCES.txt +++ /dev/null @@ -1,8 +0,0 @@ -README.txt -cmd2.py -setup.py -cmd2.egg-info/PKG-INFO -cmd2.egg-info/SOURCES.txt -cmd2.egg-info/dependency_links.txt -cmd2.egg-info/requires.txt -cmd2.egg-info/top_level.txt \ No newline at end of file diff --git a/cmd2.egg-info/dependency_links.txt b/cmd2.egg-info/dependency_links.txt deleted file mode 100644 index 8b13789..0000000 --- a/cmd2.egg-info/dependency_links.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/cmd2.egg-info/requires.txt b/cmd2.egg-info/requires.txt deleted file mode 100644 index 160ac01..0000000 --- a/cmd2.egg-info/requires.txt +++ /dev/null @@ -1 +0,0 @@ -pyparsing>=1.5.6 \ No newline at end of file diff --git a/cmd2.egg-info/top_level.txt b/cmd2.egg-info/top_level.txt deleted file mode 100644 index b842ee4..0000000 --- a/cmd2.egg-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -cmd2 diff --git a/cmd2.pyc b/cmd2.pyc deleted file mode 100644 index 664fda1..0000000 Binary files a/cmd2.pyc and /dev/null differ diff --git a/dist/cmd2-0.6.4-py2.7.egg b/dist/cmd2-0.6.4-py2.7.egg deleted file mode 100644 index c74fac3..0000000 Binary files a/dist/cmd2-0.6.4-py2.7.egg and /dev/null differ diff --git a/doxygen/def/doxygen.def b/doxygen/def/doxygen.def deleted file mode 100644 index 6c46bc8..0000000 --- a/doxygen/def/doxygen.def +++ /dev/null @@ -1,10097 +0,0 @@ -AutoGen Definitions dummy; -class = { - cp-id = 'classcmd2_1_1Borg'; - cp-name = 'cmd2::Borg'; - cp-ref = { - ref-type = derived; - ref-id = 'classcmd2_1_1OutputTrap'; - ref-prot = public; - ref-virt = non-virtual; - }; - cp-section = { - sec-kind = 'public-func'; - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Borg_1addff1031aaf78f5e1dc5ff0c6dba5137'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = '__new__'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1454'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'private-static-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Borg_1a3af75c745a5c124376fa050b4d1c3912'; - sec-mem-virt = normal; - sec-mem-prot = private; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -dictionary -_EnD_oF_dEf_TeXt_; - sec-mem-name = '_shared_state'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -{} -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1453'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - }; /* cp-section */ - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - cp-fileline = '1452'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim All instances of any Borg subclass will share state. -from Python Cookbook, 2nd Ed., recipe 6.16\endverbatim -_EnD_oF_dEf_TeXt_; - cp-inheritancegraph = <<_EnD_oF_dEf_TeXt_ - node = { - node-id = 71; - node-label = 'cmd2::Borg'; - node-link = { - node-link-id = 'classcmd2_1_1Borg'; - }; - }; /* node */ - node = { - node-id = 72; - node-label = 'cmd2::OutputTrap'; - node-link = { - node-link-id = 'classcmd2_1_1OutputTrap'; - }; - node-child = { - child-id = '71'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - -_EnD_oF_dEf_TeXt_; -}; /* class */ -class = { - cp-id = 'classcmd2_1_1Cmd'; - cp-name = 'cmd2::Cmd'; - cp-ref = { - ref-type = derived; - ref-id = 'classexample_1_1CmdLineApp'; - ref-prot = public; - ref-virt = non-virtual; - }; - cp-ref = { - ref-type = derived; - ref-id = 'classpirate6_1_1Pirate'; - ref-prot = public; - ref-virt = non-virtual; - }; - cp-ref = { - ref-type = derived; - ref-id = 'classpirate7_1_1Pirate'; - ref-prot = public; - ref-virt = non-virtual; - }; - cp-ref = { - ref-type = derived; - ref-id = 'classpirate8_1_1Pirate'; - ref-prot = public; - ref-virt = non-virtual; - }; - cp-section = { - sec-kind = 'public-func'; - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1afef8fbba2cb5adea45e3a22a506c8665'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = '__init__'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '469'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a0e5f32e5ab972e32273ef5d69de81afc'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'cmdloop'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1283'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a392c5cd062c20d916c0cacc9cc36c022'; - sec-mem-ref-line = '895'; - sec-mem-ref-name = '_cmdloop'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a19b932e21ac917375f16457c986ad4f6'; - sec-mem-ref-line = '1278'; - sec-mem-ref-name = 'run_commands_at_invocation'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a160c7a080d222defe32c781138901d4e'; - sec-mem-ref-line = '1268'; - sec-mem-ref-name = 'runTranscriptTests'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a9c7f8fd1e7909d18a0f1d8cebf6c1966'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'colorize'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '435'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim Given a string (``val``), returns that string wrapped in UNIX-style - special characters that turn on (and then off) text color and style. - If the ``colors`` environment paramter is ``False``, or the application - is running on Windows, will return ``val`` unchanged. - ``color`` should be one of the supported strings (or styles): - red/blue/green/cyan/magenta, bold, underline\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1a48b1905aeb2a7161ccfc99e5d80c50ca'; - sec-mem-ref-line = '42'; - sec-mem-ref-name = 'pirate7::Pirate::do_sing'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a50a1a2e07f16110d9b6808881774878e'; - sec-mem-ref-line = '42'; - sec-mem-ref-name = 'pirate8::Pirate::do_sing'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a9f07c787a0f421ce9186b404fed63c54'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'complete_statement'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '794'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim Keep accepting lines of input until the command is complete.\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ae6adde6cd440331e4add0bdf8c2c61d0'; - sec-mem-ref-line = '485'; - sec-mem-ref-name = 'commentGrammars'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a186ca22e76dc63ad9d8a95cfaeb4f7fd'; - sec-mem-ref-line = '364'; - sec-mem-ref-name = 'continuation_prompt'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a1d2749139a96bd29ddabc6cb0dfd4c00'; - sec-mem-ref-line = '726'; - sec-mem-ref-name = 'parsed'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ab2b46bf4fdbb22536322417117eebf16'; - sec-mem-ref-line = '876'; - sec-mem-ref-name = 'pseudo_raw_input'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'onecmd_plus_hooks'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1aa084d0f962d9ea060c935ff6a9cf74a8'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do__relative_load'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1206'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim -Runs commands in script at file or URL; if this is called from within an -already-running script, the filename will be interpreted relative to the -already-running script's directory.\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a549399bed9574c87901100530343ac68'; - sec-mem-ref-line = '375'; - sec-mem-ref-name = 'current_script_dir'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a3a237dae48a4dba0daa7e114ff098e90'; - sec-mem-ref-line = '1241'; - sec-mem-ref-name = 'do__load'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a79949284f70e1fdb7e33117cc4195f80'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_cmdenvironment'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '446'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim Summary report of interactive parameters.\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a10de661ca23b94cd93972c260523c8a0'; - sec-mem-ref-line = '363'; - sec-mem-ref-name = 'case_insensitive'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a6cec2f634666d15d032d4c113e654c3c'; - sec-mem-ref-line = '383'; - sec-mem-ref-name = 'settable'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a6bd95a7f702f668696ab6e88555da23d'; - sec-mem-ref-line = '489'; - sec-mem-ref-name = 'terminators'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1aebdc7ebb6dc83e9dadb8827cdab1952a'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_ed'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1128'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim ed: edit most recent command in text editor -ed [N]: edit numbered command from history -ed [filename]: edit specified file name - -commands are run after editor is closed. -"set edit (program-name)" or set EDITOR environment variable -to control which editing program is used.\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a3af82e64cdabf19b462cd0ddf686823d'; - sec-mem-ref-line = '373'; - sec-mem-ref-name = 'default_file_name'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a3a237dae48a4dba0daa7e114ff098e90'; - sec-mem-ref-line = '1241'; - sec-mem-ref-name = 'do__load'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a25fe904aca52573c6f10e798dd561588'; - sec-mem-ref-line = '418'; - sec-mem-ref-name = 'editor'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a666a090bc7298aae6ca55840e9418f96'; - sec-mem-ref-line = '469'; - sec-mem-ref-name = 'history'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1aea5c4d49c7b6f552b6123e5a981a6f49'; - sec-mem-ref-line = '1100'; - sec-mem-ref-name = 'last_matching'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1ab2783ec53899e2b4c0abda7007471e64'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_EOF'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '937'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1abe14bda0dc50326876c6a761cefba702'; - sec-mem-ref-line = '417'; - sec-mem-ref-name = '_STOP_SCRIPT_NO_EXIT'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1af112b7b704dcd8d34c389fcaa150e3d0'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_help'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '457'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a7fbb17b136654f705387ede1fb685a3e'; - sec-mem-ref-line = '755'; - sec-mem-ref-name = 'func_named'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a2a71ccfd9f189e17db765b603f2c9a78'; - sec-mem-ref-line = '440'; - sec-mem-ref-name = 'stdout'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a46d9a5551bb0456721a0bf7dc07b0d0b'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_history'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1083'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim history [arg]: lists past commands issued - -| no arg: list all -| arg is integer: list one history item, by index -| arg is string: string search -| arg is /enclosed in forward-slashes/: regular expression search -\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a666a090bc7298aae6ca55840e9418f96'; - sec-mem-ref-line = '469'; - sec-mem-ref-name = 'history'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ad8b5d33873f9b515e33f83a616d0828f'; - sec-mem-ref-line = '398'; - sec-mem-ref-name = 'poutput'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1af278702e71cf57de45012216904d1bb5'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_list'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1108'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim list [arg]: lists last command issued - -no arg -> list most recent command -arg is integer -> list one history item, by index -a..b, a:b, a:, ..b -> list spans from a (or start) to b (or end) -arg is string -> list all commands matching string search -arg is /enclosed in forward-slashes/ -> regular expression search -\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ad8b5d33873f9b515e33f83a616d0828f'; - sec-mem-ref-line = '398'; - sec-mem-ref-name = 'poutput'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a8b8c98ab5e1b98e618a5a9122c50fc74'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_load'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1218'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim Runs script of command(s) from a file or URL.\endverbatim -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a468717f63c360b46dd5f5bcbae4b0c9c'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_pause'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1031'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a5ccce52c26063115070d56b6f099223b'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_py'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1039'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim -py : Executes a Python command. -py: Enters interactive Python mode. -End with ``Ctrl-D`` (Unix) / ``Ctrl-Z`` (Windows), ``quit()``, '`exit()``. -Non-python commands can be issued with ``cmd("your command")``. -Run python code from external files with ``run("filename.py")`` -\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a5ccce52c26063115070d56b6f099223b'; - sec-mem-ref-line = '1039'; - sec-mem-ref-name = 'do_py'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a55e7978c792429a0a2e3321abdbd23fe'; - sec-mem-ref-line = '380'; - sec-mem-ref-name = 'locals_in_py'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'onecmd_plus_hooks'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a863be2c5e3b9fdec03710fd550801c22'; - sec-mem-ref-line = '112'; - sec-mem-ref-name = 'cmd2::options'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a118c16455f28dbd3918b565bca086db4'; - sec-mem-ref-line = '404'; - sec-mem-ref-name = 'perror'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a30058e5e628d60dedf7c500e270b3e5d'; - sec-mem-ref-line = '469'; - sec-mem-ref-name = 'pystate'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a6f0eed071b4e9197cc4fa46a2c8f1457'; - sec-mem-ref-line = '1218'; - sec-mem-ref-name = 'stdin'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a2a71ccfd9f189e17db765b603f2c9a78'; - sec-mem-ref-line = '440'; - sec-mem-ref-name = 'stdout'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a5ccce52c26063115070d56b6f099223b'; - sec-mem-ref-line = '1039'; - sec-mem-ref-name = 'do_py'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a27f6387585848a575e95c936ce97c4cf'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_quit'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '941'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a7a8e8257d7d35c7813355cdefb62b85b'; - sec-mem-ref-line = '416'; - sec-mem-ref-name = '_STOP_AND_EXIT'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1aafd86f263566aa4f2b5bd3c3ea64c678'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_run'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1243'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim run [arg]: re-runs an earlier command - -no arg -> run most recent command -arg is integer -> run one history item, by index -arg is string -> run most recent command by string search -arg is /enclosed in forward-slashes/ -> run most recent by regex -\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1aea5c4d49c7b6f552b6123e5a981a6f49'; - sec-mem-ref-line = '1100'; - sec-mem-ref-name = 'last_matching'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'onecmd_plus_hooks'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a122b67681a0db23863f5ddaa7a687975'; - sec-mem-ref-line = '408'; - sec-mem-ref-name = 'pfeedback'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a12d5262e31e148dafea6017a356ed9cd'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_save'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1160'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim `save [N] [filename.ext]` - -Saves command from history to file. - -| N => Number of command (from history), or `*`; -| most recent command if omitted\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a3af82e64cdabf19b462cd0ddf686823d'; - sec-mem-ref-line = '373'; - sec-mem-ref-name = 'default_file_name'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a12d5262e31e148dafea6017a356ed9cd'; - sec-mem-ref-line = '1160'; - sec-mem-ref-name = 'do_save'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a666a090bc7298aae6ca55840e9418f96'; - sec-mem-ref-line = '469'; - sec-mem-ref-name = 'history'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a118c16455f28dbd3918b565bca086db4'; - sec-mem-ref-line = '404'; - sec-mem-ref-name = 'perror'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a122b67681a0db23863f5ddaa7a687975'; - sec-mem-ref-line = '408'; - sec-mem-ref-name = 'pfeedback'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a12d5262e31e148dafea6017a356ed9cd'; - sec-mem-ref-line = '1160'; - sec-mem-ref-name = 'do_save'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a1587bec304ebe93070072d273da9bb31'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_set'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1000'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim -Sets a cmd2 parameter. Accepts abbreviated parameter names so long -as there is no ambiguity. Call without arguments for a list of -settable parameters with their values.\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a0880940558f324b3958aedfc430f592d'; - sec-mem-ref-line = '1412'; - sec-mem-ref-name = 'cmd2::cast'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a4816ba13212f079e4b1e865d20041983'; - sec-mem-ref-line = '982'; - sec-mem-ref-name = 'do_show'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a6cec2f634666d15d032d4c113e654c3c'; - sec-mem-ref-line = '383'; - sec-mem-ref-name = 'settable'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a734c394c38de8828960370d6d8e68004'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_shell'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1035'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1aea47330c6e0f4e5f14e2cdff41679597'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_shortcuts'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '479'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim Lists single-key shortcuts available.\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ad8ccfbcd2a4eb800f040fcdbd26089df'; - sec-mem-ref-line = '368'; - sec-mem-ref-name = 'shortcuts'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a4816ba13212f079e4b1e865d20041983'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_show'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '982'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim Shows value of a parameter.\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ad4ac87ba068f9549b5a7735054df8065'; - sec-mem-ref-line = '352'; - sec-mem-ref-name = 'cmd2::ljust'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ad8b5d33873f9b515e33f83a616d0828f'; - sec-mem-ref-line = '398'; - sec-mem-ref-name = 'poutput'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a6cec2f634666d15d032d4c113e654c3c'; - sec-mem-ref-line = '383'; - sec-mem-ref-name = 'settable'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a1587bec304ebe93070072d273da9bb31'; - sec-mem-ref-line = '1000'; - sec-mem-ref-name = 'do_set'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a66160524beda7b75d70070bebce69e42'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'fileimport'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1258'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a7fbb17b136654f705387ede1fb685a3e'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'func_named'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '755'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a810ba12198cbbc4e38643c83278956f6'; - sec-mem-ref-line = '374'; - sec-mem-ref-name = 'abbrev'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a8ccd464e255a798b587637f9b812dbcd'; - sec-mem-ref-line = '469'; - sec-mem-ref-name = 'keywords'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1af112b7b704dcd8d34c389fcaa150e3d0'; - sec-mem-ref-line = '457'; - sec-mem-ref-name = 'do_help'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1aea5c4d49c7b6f552b6123e5a981a6f49'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'last_matching'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1100'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a666a090bc7298aae6ca55840e9418f96'; - sec-mem-ref-line = '469'; - sec-mem-ref-name = 'history'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1aebdc7ebb6dc83e9dadb8827cdab1952a'; - sec-mem-ref-line = '1128'; - sec-mem-ref-name = 'do_ed'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1aafd86f263566aa4f2b5bd3c3ea64c678'; - sec-mem-ref-line = '1243'; - sec-mem-ref-name = 'do_run'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a7b46b9fabe42bf5ec481ab5ea68effcd'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'onecmd'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '844'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim Interpret the argument as though it had been typed in response -to the prompt. - -This may be overridden, but should not normally need to be; -see the precmd() and postcmd() methods for useful execution hooks. -The return value is a flag indicating whether interpretation of -commands by the interpreter should stop. - -This (`cmd2`) version of `onecmd` already override's `cmd`'s `onecmd`. - -\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'onecmd_plus_hooks'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'onecmd_plus_hooks'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '766'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a9f07c787a0f421ce9186b404fed63c54'; - sec-mem-ref-line = '794'; - sec-mem-ref-name = 'complete_statement'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a35586c262b272917f6ecae8e76fca6b9'; - sec-mem-ref-line = '369'; - sec-mem-ref-name = 'excludeFromHistory'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a7b46b9fabe42bf5ec481ab5ea68effcd'; - sec-mem-ref-line = '844'; - sec-mem-ref-name = 'onecmd'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a118c16455f28dbd3918b565bca086db4'; - sec-mem-ref-line = '404'; - sec-mem-ref-name = 'perror'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a122b67681a0db23863f5ddaa7a687975'; - sec-mem-ref-line = '408'; - sec-mem-ref-name = 'pfeedback'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1ae8f5db310998d98093ac0471dd2dae81'; - sec-mem-ref-line = '15'; - sec-mem-ref-name = 'pirate3::Pirate::postcmd'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1a6c1e779a0993b5ef25826a3e7b1d7a96'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate4::Pirate::postcmd'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1afed83336542dce1eeb068e3c3fbcd9c5'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate5::Pirate::postcmd'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate7_8py_1aec2c703d2a5e1919fe1fe1f6b42fba06'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'pirate7::Pirate::postcmd'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate8_8py_1a4ee785f29217bca99bb0720108a5a441'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'pirate8::Pirate::postcmd'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate6_8py_1aadf25da472167f54c57c3bad3bc901ad'; - sec-mem-ref-line = '26'; - sec-mem-ref-name = 'pirate6::Pirate::postcmd'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ae64756253f4ef8494ad3cd920f749eb6'; - sec-mem-ref-line = '752'; - sec-mem-ref-name = 'postparsing_postcmd'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ab021b9befbc198bc266b1a439cdc44e6'; - sec-mem-ref-line = '749'; - sec-mem-ref-name = 'postparsing_precmd'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1add2ad52765a4d67af64e8ce160c656a3'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate3::Pirate::precmd'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1aeaa9c3406fdc05aa8d09b164469c3a83'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate4::Pirate::precmd'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1ab658200d2acce30ef62b7f232b46c7f2'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate5::Pirate::precmd'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate7_8py_1a6d97780d041206aa9e5ab2d34224db1a'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate7::Pirate::precmd'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate8_8py_1a9a7a8de91465be0e46e782bf6713f282'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate8::Pirate::precmd'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate6_8py_1a081dfdcb12b7ff8e26547c680ecb8e66'; - sec-mem-ref-line = '23'; - sec-mem-ref-name = 'pirate6::Pirate::precmd'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a46d1bc05e01f5eced432f00c9934db88'; - sec-mem-ref-line = '809'; - sec-mem-ref-name = 'redirect_output'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a8b44f9a5a3197613178b4a8fb1804ef7'; - sec-mem-ref-line = '830'; - sec-mem-ref-name = 'restore_output'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a2d83899c5edb8c1296cb90b0fb282de7'; - sec-mem-ref-line = '365'; - sec-mem-ref-name = 'timing'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a5ccce52c26063115070d56b6f099223b'; - sec-mem-ref-line = '1039'; - sec-mem-ref-name = 'do_py'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1aafd86f263566aa4f2b5bd3c3ea64c678'; - sec-mem-ref-line = '1243'; - sec-mem-ref-name = 'do_run'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a19b932e21ac917375f16457c986ad4f6'; - sec-mem-ref-line = '1278'; - sec-mem-ref-name = 'run_commands_at_invocation'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a1d2749139a96bd29ddabc6cb0dfd4c00'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'parsed'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '726'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a1d2749139a96bd29ddabc6cb0dfd4c00'; - sec-mem-ref-line = '726'; - sec-mem-ref-name = 'parsed'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1aeda7fe76e7ecbc032386722e8f5cae3a'; - sec-mem-ref-line = '723'; - sec-mem-ref-name = 'postparse'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a794ada2c7a6027d079d6a5bae38fea2b'; - sec-mem-ref-line = '721'; - sec-mem-ref-name = 'preparse'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ad8ccfbcd2a4eb800f040fcdbd26089df'; - sec-mem-ref-line = '368'; - sec-mem-ref-name = 'shortcuts'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a9f07c787a0f421ce9186b404fed63c54'; - sec-mem-ref-line = '794'; - sec-mem-ref-name = 'complete_statement'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a6ac3a7f2f37126a25774517b3eb7cace'; - sec-mem-ref-line = '258'; - sec-mem-ref-name = 'cmd2::ParsedString::full_parsed_statement'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a1d2749139a96bd29ddabc6cb0dfd4c00'; - sec-mem-ref-line = '726'; - sec-mem-ref-name = 'parsed'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1afe56ec060a51b268e266f7c0d1fb7328'; - sec-mem-ref-line = '263'; - sec-mem-ref-name = 'cmd2::ParsedString::with_args_replaced'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a118c16455f28dbd3918b565bca086db4'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'perror'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '404'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a7b07b64964162c07f50675b2b40160b2'; - sec-mem-ref-line = '379'; - sec-mem-ref-name = 'debug'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a5ccce52c26063115070d56b6f099223b'; - sec-mem-ref-line = '1039'; - sec-mem-ref-name = 'do_py'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a12d5262e31e148dafea6017a356ed9cd'; - sec-mem-ref-line = '1160'; - sec-mem-ref-name = 'do_save'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'onecmd_plus_hooks'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a122b67681a0db23863f5ddaa7a687975'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'pfeedback'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '408'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim For printing nonessential feedback. Can be silenced with `quiet`. - Inclusion in redirected output is controlled by `feedback_to_output`.\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ad571e5687af698c33a547062762a26bc'; - sec-mem-ref-line = '377'; - sec-mem-ref-name = 'feedback_to_output'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ad8b5d33873f9b515e33f83a616d0828f'; - sec-mem-ref-line = '398'; - sec-mem-ref-name = 'poutput'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a50495cbf3a3ea3467c86233ebbea4572'; - sec-mem-ref-line = '378'; - sec-mem-ref-name = 'quiet'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1aafd86f263566aa4f2b5bd3c3ea64c678'; - sec-mem-ref-line = '1243'; - sec-mem-ref-name = 'do_run'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a12d5262e31e148dafea6017a356ed9cd'; - sec-mem-ref-line = '1160'; - sec-mem-ref-name = 'do_save'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'onecmd_plus_hooks'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1aeda7fe76e7ecbc032386722e8f5cae3a'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'postparse'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '723'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a1d2749139a96bd29ddabc6cb0dfd4c00'; - sec-mem-ref-line = '726'; - sec-mem-ref-name = 'parsed'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1ae64756253f4ef8494ad3cd920f749eb6'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'postparsing_postcmd'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '752'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1aea64b66ff75b5daaeef61a3dd583df99'; - sec-mem-ref-line = '868'; - sec-mem-ref-name = '_default'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'onecmd_plus_hooks'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1ab021b9befbc198bc266b1a439cdc44e6'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'postparsing_precmd'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '749'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'onecmd_plus_hooks'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1ad8b5d33873f9b515e33f83a616d0828f'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'poutput'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '398'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim Convenient shortcut for self.stdout.write(); adds newline if necessary.\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a46d9a5551bb0456721a0bf7dc07b0d0b'; - sec-mem-ref-line = '1083'; - sec-mem-ref-name = 'do_history'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1af278702e71cf57de45012216904d1bb5'; - sec-mem-ref-line = '1108'; - sec-mem-ref-name = 'do_list'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a4816ba13212f079e4b1e865d20041983'; - sec-mem-ref-line = '982'; - sec-mem-ref-name = 'do_show'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a122b67681a0db23863f5ddaa7a687975'; - sec-mem-ref-line = '408'; - sec-mem-ref-name = 'pfeedback'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a28cd403d962038aca658344673a5ab38'; - sec-mem-ref-line = '946'; - sec-mem-ref-name = 'select'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a794ada2c7a6027d079d6a5bae38fea2b'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'preparse'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '721'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a1d2749139a96bd29ddabc6cb0dfd4c00'; - sec-mem-ref-line = '726'; - sec-mem-ref-name = 'parsed'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1ab2b46bf4fdbb22536322417117eebf16'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'pseudo_raw_input'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '876'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim copied from cmd's cmdloop; like raw_input, but accounts for changed stdin, stdout\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1add0217858bbc4c268a5f2f27330ad1f8'; - sec-mem-ref-line = '1218'; - sec-mem-ref-name = 'use_rawinput'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a9f07c787a0f421ce9186b404fed63c54'; - sec-mem-ref-line = '794'; - sec-mem-ref-name = 'complete_statement'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a2eba6d3d12d65789880959d788be2d86'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'read_file_or_url'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1189'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ab14061f1d84f49fb8fefcce285e7aec7'; - sec-mem-ref-line = '372'; - sec-mem-ref-name = 'defaultExtension'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a46d1bc05e01f5eced432f00c9934db88'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'redirect_output'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '809'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a9f1495f6c72f7d8c0dbb0f9f22029763'; - sec-mem-ref-line = '184'; - sec-mem-ref-name = 'cmd2::get_paste_buffer'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ad480d9102b3a5e4c8c5541d2c205a1ad'; - sec-mem-ref-line = '381'; - sec-mem-ref-name = 'kept_state'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a86a3b99c482252a9c9e7fc283c7eae5d'; - sec-mem-ref-line = '809'; - sec-mem-ref-name = 'kept_sys'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ac1dac1bcd74f78671161775a95d74c0a'; - sec-mem-ref-line = '809'; - sec-mem-ref-name = 'redirect'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a64b810574dab9ec12100c5344dc66735'; - sec-mem-ref-line = '382'; - sec-mem-ref-name = 'redirector'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a2a71ccfd9f189e17db765b603f2c9a78'; - sec-mem-ref-line = '440'; - sec-mem-ref-name = 'stdout'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'onecmd_plus_hooks'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a8b44f9a5a3197613178b4a8fb1804ef7'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'restore_output'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '830'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ad480d9102b3a5e4c8c5541d2c205a1ad'; - sec-mem-ref-line = '381'; - sec-mem-ref-name = 'kept_state'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a514a20ceb8ab40dd89d2df2dd5ff87a0'; - sec-mem-ref-line = '200'; - sec-mem-ref-name = 'cmd2::write_to_paste_buffer'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'onecmd_plus_hooks'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a19b932e21ac917375f16457c986ad4f6'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'run_commands_at_invocation'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1278'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a7a8e8257d7d35c7813355cdefb62b85b'; - sec-mem-ref-line = '416'; - sec-mem-ref-name = '_STOP_AND_EXIT'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'onecmd_plus_hooks'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a0e5f32e5ab972e32273ef5d69de81afc'; - sec-mem-ref-line = '1283'; - sec-mem-ref-name = 'cmdloop'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a160c7a080d222defe32c781138901d4e'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'runTranscriptTests'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1268'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a0e5f32e5ab972e32273ef5d69de81afc'; - sec-mem-ref-line = '1283'; - sec-mem-ref-name = 'cmdloop'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a28cd403d962038aca658344673a5ab38'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'select'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '946'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim Presents a numbered menu to the user. Modelled after - the bash shell's SELECT. Returns the item chosen. - - Argument ``options`` can be: - - | a single string -> will be split into one-word options - | a list of strings -> will be offered as options - | a list of tuples -> interpreted as (value, text), so - that the return value can differ from - the text advertised to the user \endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a863be2c5e3b9fdec03710fd550801c22'; - sec-mem-ref-line = '112'; - sec-mem-ref-name = 'cmd2::options'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ad8b5d33873f9b515e33f83a616d0828f'; - sec-mem-ref-line = '398'; - sec-mem-ref-name = 'poutput'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1ab45987033aafd0458078de49d4cf1fb5'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'blankLineTerminationParser'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '667'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a826ac7c82dd02c99be27940c179c9af3'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'blankLineTerminator'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '667'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a227bb0748c5c461090c98eadc35ea5e4'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'continuation_prompt'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1218'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a666a090bc7298aae6ca55840e9418f96'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'history'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '469'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1aebdc7ebb6dc83e9dadb8827cdab1952a'; - sec-mem-ref-line = '1128'; - sec-mem-ref-name = 'do_ed'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a46d9a5551bb0456721a0bf7dc07b0d0b'; - sec-mem-ref-line = '1083'; - sec-mem-ref-name = 'do_history'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a12d5262e31e148dafea6017a356ed9cd'; - sec-mem-ref-line = '1160'; - sec-mem-ref-name = 'do_save'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1aea5c4d49c7b6f552b6123e5a981a6f49'; - sec-mem-ref-line = '1100'; - sec-mem-ref-name = 'last_matching'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1af7cb41e066bc55be38b97ea82269e5e8'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'initial_stdout'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '469'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a984d7a052143f938fa7894fbd44632d2'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'inputParser'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '667'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a3f1d7fcb42b72f182eed91009e0708c3'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'intro'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '898'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a86a3b99c482252a9c9e7fc283c7eae5d'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'kept_sys'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '809'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a46d1bc05e01f5eced432f00c9934db88'; - sec-mem-ref-line = '809'; - sec-mem-ref-name = 'redirect_output'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a8ccd464e255a798b587637f9b812dbcd'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'keywords'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '469'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a7fbb17b136654f705387ede1fb685a3e'; - sec-mem-ref-line = '755'; - sec-mem-ref-name = 'func_named'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1adaaec8df571e88463c3b8b02fefea8b2'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'lastcmd'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '854'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a295de6e6060359049be89b5cdb6c09b1'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'multilineCommand'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '667'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a501ba802672b553037e265760319cfe1'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'multilineParser'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '667'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a4540b84ee5f75aa1f915042ac4f327dc'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'old_completer'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '898'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a60c8c9f51ca086f83a2563b7c5e93421'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'parser'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '667'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a6ac3a7f2f37126a25774517b3eb7cace'; - sec-mem-ref-line = '258'; - sec-mem-ref-name = 'cmd2::ParsedString::full_parsed_statement'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1afe56ec060a51b268e266f7c0d1fb7328'; - sec-mem-ref-line = '263'; - sec-mem-ref-name = 'cmd2::ParsedString::with_args_replaced'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1ae9a33dc613b00f4d5b849c0d3521f2c3'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'prompt'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1218'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a30058e5e628d60dedf7c500e270b3e5d'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'pystate'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '469'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a5ccce52c26063115070d56b6f099223b'; - sec-mem-ref-line = '1039'; - sec-mem-ref-name = 'do_py'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1ac1dac1bcd74f78671161775a95d74c0a'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'redirect'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '809'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a46d1bc05e01f5eced432f00c9934db88'; - sec-mem-ref-line = '809'; - sec-mem-ref-name = 'redirect_output'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a728675cc7b48ac258c5026929df0dfe4'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'shortcuts'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '469'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a58e84cc1e072fda53b98ba9ed4376540'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'singleLineParser'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '667'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a6f0eed071b4e9197cc4fa46a2c8f1457'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'stdin'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1218'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a5ccce52c26063115070d56b6f099223b'; - sec-mem-ref-line = '1039'; - sec-mem-ref-name = 'do_py'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a2a71ccfd9f189e17db765b603f2c9a78'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'stdout'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '440'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1af112b7b704dcd8d34c389fcaa150e3d0'; - sec-mem-ref-line = '457'; - sec-mem-ref-name = 'do_help'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a5ccce52c26063115070d56b6f099223b'; - sec-mem-ref-line = '1039'; - sec-mem-ref-name = 'do_py'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a46d1bc05e01f5eced432f00c9934db88'; - sec-mem-ref-line = '809'; - sec-mem-ref-name = 'redirect_output'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1add0217858bbc4c268a5f2f27330ad1f8'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'use_rawinput'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1218'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ab2b46bf4fdbb22536322417117eebf16'; - sec-mem-ref-line = '876'; - sec-mem-ref-name = 'pseudo_raw_input'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-static-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a810ba12198cbbc4e38643c83278956f6'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'abbrev'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -True -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '374'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a7fbb17b136654f705387ede1fb685a3e'; - sec-mem-ref-line = '755'; - sec-mem-ref-name = 'func_named'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a395ee1f733c5faeb66e74b308cbc5e63'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'blankLinesAllowed'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -False -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '490'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a10de661ca23b94cd93972c260523c8a0'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'case_insensitive'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -True -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '363'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a79949284f70e1fdb7e33117cc4195f80'; - sec-mem-ref-line = '446'; - sec-mem-ref-name = 'do_cmdenvironment'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a91dd3e77a8d1f247dcfdddbfc0288b3b'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -dictionary -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'colorcodes'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -{'bold':{True:'\x1b[1m',False:'\x1b[22m'}, - 'cyan':{True:'\x1b[36m',False:'\x1b[39m'}, - 'blue':{True:'\x1b[34m',False:'\x1b[39m'}, - 'red':{True:'\x1b[31m',False:'\x1b[39m'}, - 'magenta':{True:'\x1b[35m',False:'\x1b[39m'}, - 'green':{True:'\x1b[32m',False:'\x1b[39m'}, - 'underline':{True:'\x1b[4m',False:'\x1b[24m'}} -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '427'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a2ec43e734ae5b2a581216dc7914b231a'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'colors'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -(platform.system() != 'Windows') -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '434'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1ae6adde6cd440331e4add0bdf8c2c61d0'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'commentGrammars'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -pyparsing.Or([pyparsing.pythonStyleComment, pyparsing.cStyleComment]) -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '485'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a9f07c787a0f421ce9186b404fed63c54'; - sec-mem-ref-line = '794'; - sec-mem-ref-name = 'complete_statement'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a0333f71a3291354d3238a4853ec5e762'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'commentInProgress'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -pyparsing.Literal('/*') -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '487'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a186ca22e76dc63ad9d8a95cfaeb4f7fd'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'continuation_prompt'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'> ' -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '364'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a9f07c787a0f421ce9186b404fed63c54'; - sec-mem-ref-line = '794'; - sec-mem-ref-name = 'complete_statement'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a549399bed9574c87901100530343ac68'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'current_script_dir'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -None -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '375'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1aa084d0f962d9ea060c935ff6a9cf74a8'; - sec-mem-ref-line = '1206'; - sec-mem-ref-name = 'do__relative_load'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a7b07b64964162c07f50675b2b40160b2'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'debug'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -False -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '379'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a118c16455f28dbd3918b565bca086db4'; - sec-mem-ref-line = '404'; - sec-mem-ref-name = 'perror'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a3af82e64cdabf19b462cd0ddf686823d'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'default_file_name'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'command.txt' -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '373'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1aebdc7ebb6dc83e9dadb8827cdab1952a'; - sec-mem-ref-line = '1128'; - sec-mem-ref-name = 'do_ed'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a12d5262e31e148dafea6017a356ed9cd'; - sec-mem-ref-line = '1160'; - sec-mem-ref-name = 'do_save'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a7da859e33eae87d5069b96d366cf04b4'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'default_to_shell'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -False -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '370'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1aea64b66ff75b5daaeef61a3dd583df99'; - sec-mem-ref-line = '868'; - sec-mem-ref-name = '_default'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1ab14061f1d84f49fb8fefcce285e7aec7'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'defaultExtension'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'txt' -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '372'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a2eba6d3d12d65789880959d788be2d86'; - sec-mem-ref-line = '1189'; - sec-mem-ref-name = 'read_file_or_url'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a3a237dae48a4dba0daa7e114ff098e90'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do__load'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -do_load -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1241'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1aa084d0f962d9ea060c935ff6a9cf74a8'; - sec-mem-ref-line = '1206'; - sec-mem-ref-name = 'do__relative_load'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1aebdc7ebb6dc83e9dadb8827cdab1952a'; - sec-mem-ref-line = '1128'; - sec-mem-ref-name = 'do_ed'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a900317e58aad07d0d1fb48080dc63d5c'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_edit'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -do_ed -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1155'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a489ae23e2c2dc31c04eab9287c9339fa'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_eof'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -do_EOF -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '939'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a7407cf3f70091dc1ade5acb856585850'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_exit'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -do_quit -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '943'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a71e16c0eab993aa6f22272e04615fa4e'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_hi'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -do_history -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1124'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a978b02763d086aa3f4a278c370b6798f'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_l'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -do_list -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1125'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a0be8d5c8676c2da5eacb8dbaf2e10e29'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_li'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -do_list -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1126'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1ad938266e8224edd7a6e681b9f4416cb5'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_q'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -do_quit -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '944'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a0a9b6e01b7ac4efb65f2957c28949e87'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_r'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -do_run -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1256'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a417779ccb5de864826f97a959bd196d3'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'echo'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -False -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '362'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a25fe904aca52573c6f10e798dd561588'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'editor'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -os.environ.get('EDITOR') -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '418'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1aebdc7ebb6dc83e9dadb8827cdab1952a'; - sec-mem-ref-line = '1128'; - sec-mem-ref-name = 'do_ed'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a3a1abb5d4a8d42dcce7d61b04bdf9e97'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'editor'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'notepad' -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '421'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a35586c262b272917f6ecae8e76fca6b9'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'excludeFromHistory'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'''run r list l history hi ed edit li eof''' -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '369'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'onecmd_plus_hooks'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1ad571e5687af698c33a547062762a26bc'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'feedback_to_output'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -False -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '377'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a122b67681a0db23863f5ddaa7a687975'; - sec-mem-ref-line = '408'; - sec-mem-ref-name = 'pfeedback'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a9db85d1db5ea30170d540102f1206b1f'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'help'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -"describe function of parameter" -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '981'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1ad480d9102b3a5e4c8c5541d2c205a1ad'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'kept_state'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -None -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '381'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a46d1bc05e01f5eced432f00c9934db88'; - sec-mem-ref-line = '809'; - sec-mem-ref-name = 'redirect_output'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a8b44f9a5a3197613178b4a8fb1804ef7'; - sec-mem-ref-line = '830'; - sec-mem-ref-name = 'restore_output'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a866c4b8895784a477d36bebfecfa397e'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'legalChars'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -u'!#$%.:?@_' -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '367'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a55e7978c792429a0a2e3321abdbd23fe'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'locals_in_py'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -True -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '380'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a5ccce52c26063115070d56b6f099223b'; - sec-mem-ref-line = '1039'; - sec-mem-ref-name = 'do_py'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a05fbd7501cbc1f911e9a4925e5f0804a'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -list -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'multilineCommands'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -[] -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '491'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a4e4d47a554f0725c2562c2bc19af1a3e'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'noSpecialParse'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'set ed edit exit' -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '371'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a794ce4cfd06ddd8df24df33d9f116a65'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'prefixParser'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -pyparsing.Empty() -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '484'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a50495cbf3a3ea3467c86233ebbea4572'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'quiet'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -False -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '378'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a122b67681a0db23863f5ddaa7a687975'; - sec-mem-ref-line = '408'; - sec-mem-ref-name = 'pfeedback'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a64b810574dab9ec12100c5344dc66735'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'redirector'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'>' -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '382'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a46d1bc05e01f5eced432f00c9934db88'; - sec-mem-ref-line = '809'; - sec-mem-ref-name = 'redirect_output'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a01befaea1ef9fa2c8b26521f7b2dfb9c'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -list -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'reserved_words'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -[] -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '376'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1aafc3b1cd861e711c3f5e10cd00a41221'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'saveparser'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -(pyparsing.Optional(pyparsing.Word(pyparsing.nums)^'*')("idx") + - pyparsing.Optional(pyparsing.Word(legalChars + '/\\'))("fname") + - pyparsing.stringEnd) -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1157'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a6cec2f634666d15d032d4c113e654c3c'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'settable'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -stubbornDict(''' - prompt - colors Colorized output (*nix only) - continuation_prompt On 2nd+ line of input - debug Show full error stack on error - default_file_name for ``save``, ``load``, etc. - editor Program used by ``edit`` - case_insensitive upper- and lower-case both OK - feedback_to_output include nonessentials in `|`, `>` results - quiet Don't print nonessential feedback - echo Echo command issued into output - timing Report execution times - abbrev Accept abbreviated commands - ''') -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '383'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a79949284f70e1fdb7e33117cc4195f80'; - sec-mem-ref-line = '446'; - sec-mem-ref-name = 'do_cmdenvironment'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a1587bec304ebe93070072d273da9bb31'; - sec-mem-ref-line = '1000'; - sec-mem-ref-name = 'do_set'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a4816ba13212f079e4b1e865d20041983'; - sec-mem-ref-line = '982'; - sec-mem-ref-name = 'do_show'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1ad8ccfbcd2a4eb800f040fcdbd26089df'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -dictionary -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'shortcuts'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -{'?': 'help', '!': 'shell', '@': 'load', '@@': '_relative_load'} -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '368'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1aea47330c6e0f4e5f14e2cdff41679597'; - sec-mem-ref-line = '479'; - sec-mem-ref-name = 'do_shortcuts'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a1d2749139a96bd29ddabc6cb0dfd4c00'; - sec-mem-ref-line = '726'; - sec-mem-ref-name = 'parsed'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a6bd95a7f702f668696ab6e88555da23d'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -list -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'terminators'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -[';'] -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '489'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a79949284f70e1fdb7e33117cc4195f80'; - sec-mem-ref-line = '446'; - sec-mem-ref-name = 'do_cmdenvironment'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a2d83899c5edb8c1296cb90b0fb282de7'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'timing'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -False -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '365'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'onecmd_plus_hooks'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1ad8c02476fc0918fde1093ce103be09de'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'urlre'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -re.compile('(https?://[-\\w\\./]+)') -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1217'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'private-func'; - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a392c5cd062c20d916c0cacc9cc36c022'; - sec-mem-virt = normal; - sec-mem-prot = private; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = '_cmdloop'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '895'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim Repeatedly issue a prompt, accept input, parse an initial prefix -off the received input, and dispatch to action methods, passing them -the remainder of the line as argument. -\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a0e5f32e5ab972e32273ef5d69de81afc'; - sec-mem-ref-line = '1283'; - sec-mem-ref-name = 'cmdloop'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1aea64b66ff75b5daaeef61a3dd583df99'; - sec-mem-virt = normal; - sec-mem-prot = private; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = '_default'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '868'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate6_8py_1a69d2df71d8316d75a9903d6c85f2bc15'; - sec-mem-ref-line = '7'; - sec-mem-ref-name = 'pirate6::Pirate::default'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate8_8py_1a591ac95f64f46374f6c08101ea7fb3c3'; - sec-mem-ref-line = '7'; - sec-mem-ref-name = 'pirate8::Pirate::default'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate7_8py_1a79cfac8de04cdc850bc2105ba4673b37'; - sec-mem-ref-line = '7'; - sec-mem-ref-name = 'pirate7::Pirate::default'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a7da859e33eae87d5069b96d366cf04b4'; - sec-mem-ref-line = '370'; - sec-mem-ref-name = 'default_to_shell'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ae64756253f4ef8494ad3cd920f749eb6'; - sec-mem-ref-line = '752'; - sec-mem-ref-name = 'postparsing_postcmd'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd_1a819bd7bd930dab0e39e59af3397c2eac'; - sec-mem-virt = normal; - sec-mem-prot = private; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = '_init_parser'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '493'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'private-static-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1a7a8e8257d7d35c7813355cdefb62b85b'; - sec-mem-virt = normal; - sec-mem-prot = private; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = '_STOP_AND_EXIT'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -True -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '416'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a27f6387585848a575e95c936ce97c4cf'; - sec-mem-ref-line = '941'; - sec-mem-ref-name = 'do_quit'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a19b932e21ac917375f16457c986ad4f6'; - sec-mem-ref-line = '1278'; - sec-mem-ref-name = 'run_commands_at_invocation'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd_1abe14bda0dc50326876c6a761cefba702'; - sec-mem-virt = normal; - sec-mem-prot = private; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -int -_EnD_oF_dEf_TeXt_; - sec-mem-name = '_STOP_SCRIPT_NO_EXIT'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -999 -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '417'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ab2783ec53899e2b4c0abda7007471e64'; - sec-mem-ref-line = '937'; - sec-mem-ref-name = 'do_EOF'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - cp-fileline = '362'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-inheritancegraph = <<_EnD_oF_dEf_TeXt_ - node = { - node-id = 78; - node-label = 'pirate8::Pirate'; - node-link = { - node-link-id = 'classpirate8_1_1Pirate'; - }; - node-child = { - child-id = '74'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - node = { - node-id = 77; - node-label = 'pirate7::Pirate'; - node-link = { - node-link-id = 'classpirate7_1_1Pirate'; - }; - node-child = { - child-id = '74'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - node = { - node-id = 75; - node-label = 'example::CmdLineApp'; - node-link = { - node-link-id = 'classexample_1_1CmdLineApp'; - }; - node-child = { - child-id = '74'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - node = { - node-id = 76; - node-label = 'pirate6::Pirate'; - node-link = { - node-link-id = 'classpirate6_1_1Pirate'; - }; - node-child = { - child-id = '74'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - node = { - node-id = 74; - node-label = 'cmd2::Cmd'; - node-link = { - node-link-id = 'classcmd2_1_1Cmd'; - }; - }; /* node */ - -_EnD_oF_dEf_TeXt_; -}; /* class */ -class = { - cp-id = 'classcmd2_1_1Cmd2TestCase'; - cp-name = 'cmd2::Cmd2TestCase'; - cp-section = { - sec-kind = 'public-func'; - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd2TestCase_1ad82fc3489ffaf8ae227e7b122df389e0'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'fetchTranscripts'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1481'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a5892c02ac5ee5a25c47bbfa1c648647b'; - sec-mem-ref-line = '1490'; - sec-mem-ref-name = 'setUp'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd2TestCase_1acc8585a2192f48e04a8eafd63348c590'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'runTest'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1495'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1aaad687718f366338a76f83cb6547a258'; - sec-mem-ref-line = '1506'; - sec-mem-ref-name = '_test_transcript'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ae3ce50557636abee00a3941461dd450c'; - sec-mem-ref-line = '1480'; - sec-mem-ref-name = 'CmdApp'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd2TestCase_1a5892c02ac5ee5a25c47bbfa1c648647b'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'setUp'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1490'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ae3ce50557636abee00a3941461dd450c'; - sec-mem-ref-line = '1480'; - sec-mem-ref-name = 'CmdApp'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1acc7fc3df4fb04682fd1e4b2c4cc4cd3c'; - sec-mem-ref-line = '1490'; - sec-mem-ref-name = 'cmdapp'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ad82fc3489ffaf8ae227e7b122df389e0'; - sec-mem-ref-line = '1481'; - sec-mem-ref-name = 'fetchTranscripts'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1adeb5a7b735ad3b7f23a3c44d15ad283e'; - sec-mem-ref-line = '1490'; - sec-mem-ref-name = 'outputTrap'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd2TestCase_1a12a9839011a264bf817e646114523052'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'tearDown'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1563'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ae3ce50557636abee00a3941461dd450c'; - sec-mem-ref-line = '1480'; - sec-mem-ref-name = 'CmdApp'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd2TestCase_1acc7fc3df4fb04682fd1e4b2c4cc4cd3c'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'cmdapp'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1490'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1aaad687718f366338a76f83cb6547a258'; - sec-mem-ref-line = '1506'; - sec-mem-ref-name = '_test_transcript'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a5892c02ac5ee5a25c47bbfa1c648647b'; - sec-mem-ref-line = '1490'; - sec-mem-ref-name = 'setUp'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd2TestCase_1adeb5a7b735ad3b7f23a3c44d15ad283e'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'outputTrap'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1490'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a5892c02ac5ee5a25c47bbfa1c648647b'; - sec-mem-ref-line = '1490'; - sec-mem-ref-name = 'setUp'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd2TestCase_1ad319aa2e1874f60202610e5b8de33dbb'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'transcripts'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1481'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-static-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd2TestCase_1a946827bef7050042cee99d3749c976d0'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'anyWhitespace'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -re.compile(r'\s', re.DOTALL | re.MULTILINE) -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1505'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd2TestCase_1ae3ce50557636abee00a3941461dd450c'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'CmdApp'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -None -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1480'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1acc8585a2192f48e04a8eafd63348c590'; - sec-mem-ref-line = '1495'; - sec-mem-ref-name = 'runTest'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a5892c02ac5ee5a25c47bbfa1c648647b'; - sec-mem-ref-line = '1490'; - sec-mem-ref-name = 'setUp'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a12a9839011a264bf817e646114523052'; - sec-mem-ref-line = '1563'; - sec-mem-ref-name = 'tearDown'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd2TestCase_1af9574fde56ba05bc1532a6a028fb566d'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'expectationParser'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -regexPattern|notRegexPattern -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1504'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd2TestCase_1a29b62f02c603b82014102babccd0c40e'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'notRegexPattern'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -pyparsing.Word(pyparsing.printables) -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1502'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Cmd2TestCase_1aa85409ff40b934d96ca1b3d3ff9e897d'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'regexPattern'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -pyparsing.QuotedString(quoteChar=r'/', escChar='\\', multiline=True, unquoteResults=True) -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1500'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'private-func'; - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Cmd2TestCase_1aaad687718f366338a76f83cb6547a258'; - sec-mem-virt = normal; - sec-mem-prot = private; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = '_test_transcript'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1506'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1acc7fc3df4fb04682fd1e4b2c4cc4cd3c'; - sec-mem-ref-line = '1490'; - sec-mem-ref-name = 'cmdapp'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1acc8585a2192f48e04a8eafd63348c590'; - sec-mem-ref-line = '1495'; - sec-mem-ref-name = 'runTest'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - cp-fileline = '1479'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim Subclass this, setting CmdApp, to make a unittest.TestCase class - that will execute the commands in a transcript file and expect the results shown. - See example.py\endverbatim -_EnD_oF_dEf_TeXt_; -}; /* class */ -class = { - cp-id = 'classcmd2_1_1EmbeddedConsoleExit'; - cp-name = 'cmd2::EmbeddedConsoleExit'; - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - cp-fileline = '347'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* class */ -class = { - cp-id = 'classcmd2_1_1EmptyStatement'; - cp-name = 'cmd2::EmptyStatement'; - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - cp-fileline = '350'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* class */ -class = { - cp-id = 'classcmd2_1_1History'; - cp-name = 'cmd2::History'; - cp-section = { - sec-kind = 'public-func'; - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1History_1aef5a4f297a77df78cd0e6bb17b67fb16'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'append'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1368'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a1c036910ea442db79fe012715b29c9db'; - sec-mem-ref-line = '1372'; - sec-mem-ref-name = 'extend'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1History_1a1c036910ea442db79fe012715b29c9db'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'extend'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1372'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a66dc32a221c00611f1c131382703c333'; - sec-mem-ref-line = '287'; - sec-mem-ref-name = 'cmd2::StubbornDict::append'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1aef5a4f297a77df78cd0e6bb17b67fb16'; - sec-mem-ref-line = '1368'; - sec-mem-ref-name = 'append'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1History_1a030faac02c0b814fc676d21d8c5e049c'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'get'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1376'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1History_1ae1db5657367e6aa9b0e43811d5b8893f'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'search'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1337'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1History_1a8c0837240ac7747aa804ba9eebddab60'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'span'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1346'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a28fe5dc698da4c7bf82fdcdfb2e70506'; - sec-mem-ref-line = '1331'; - sec-mem-ref-name = 'to_index'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1History_1a28fe5dc698da4c7bf82fdcdfb2e70506'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'to_index'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1331'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1accd354b7c81e1cd538438b834630f3ac'; - sec-mem-ref-line = '1326'; - sec-mem-ref-name = 'zero_based_index'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a8c0837240ac7747aa804ba9eebddab60'; - sec-mem-ref-line = '1346'; - sec-mem-ref-name = 'span'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1History_1accd354b7c81e1cd538438b834630f3ac'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'zero_based_index'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1326'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a28fe5dc698da4c7bf82fdcdfb2e70506'; - sec-mem-ref-line = '1331'; - sec-mem-ref-name = 'to_index'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-static-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1History_1a47db7cadf89510850e60e3c908a376f1'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'rangePattern'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -re.compile(r'^\s*(?P[\d]+)?\s*\-\s*(?P[\d]+)?\s*$') -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1367'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1History_1aa5204f159577beb16f07a8a9ada184ec'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'spanpattern'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -re.compile(r'^\s*(?P\-?\d+)?\s*(?P:|(\.{2,}))?\s*(?P\-?\d+)?\s*$') -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1345'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - }; /* cp-section */ - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - cp-fileline = '1325'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim A list of HistoryItems that knows how to respond to user requests. ->>> h = History([HistoryItem('first'), HistoryItem('second'), HistoryItem('third'), HistoryItem('fourth')]) ->>> h.span('-2..') -['third', 'fourth'] ->>> h.span('2..3') -['second', 'third'] ->>> h.span('3') -['third'] ->>> h.span(':') -['first', 'second', 'third', 'fourth'] ->>> h.span('2..') -['second', 'third', 'fourth'] ->>> h.span('-1') -['fourth'] ->>> h.span('-2..-3') -['third', 'second'] ->>> h.search('o') -['second', 'fourth'] ->>> h.search('/IR/') -['first', 'third'] -\endverbatim -_EnD_oF_dEf_TeXt_; -}; /* class */ -class = { - cp-id = 'classcmd2_1_1HistoryItem'; - cp-name = 'cmd2::HistoryItem'; - cp-section = { - sec-kind = 'public-func'; - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1HistoryItem_1ab873a526e5978d15a16fddae74005471'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = '__init__'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1297'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1HistoryItem_1af49dd31da48eafd74653503a69eae230'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'pr'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1301'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a83243fbd9faac88d0fb2c13473029d12'; - sec-mem-ref-line = '1297'; - sec-mem-ref-name = 'idx'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ac496a3283d2754e61e156ddbf2370259'; - sec-mem-ref-line = '1296'; - sec-mem-ref-name = 'listformat'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1HistoryItem_1a83243fbd9faac88d0fb2c13473029d12'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'idx'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1297'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1af49dd31da48eafd74653503a69eae230'; - sec-mem-ref-line = '1301'; - sec-mem-ref-name = 'pr'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1HistoryItem_1a74c5f486309e86773802f72335ff4252'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'lowercase'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1297'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-static-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1HistoryItem_1ac496a3283d2754e61e156ddbf2370259'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'listformat'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'-------------------------[%d]\n%s\n' -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1296'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1af49dd31da48eafd74653503a69eae230'; - sec-mem-ref-line = '1301'; - sec-mem-ref-name = 'pr'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - cp-fileline = '1296'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* class */ -class = { - cp-id = 'classcmd2_1_1NotSettableError'; - cp-name = 'cmd2::NotSettableError'; - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - cp-fileline = '1410'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* class */ -class = { - cp-id = 'classcmd2_1_1OptionParser'; - cp-name = 'cmd2::OptionParser'; - cp-section = { - sec-kind = 'public-func'; - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1OptionParser_1ada4f39b453e033ae4356709f8ee9f340'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'error'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '77'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim error(msg : string) - -Print a usage message incorporating 'msg' to stderr and exit. -If you override this in a subclass, it should not return -- it -should either exit or raise an exception. -\endverbatim -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1OptionParser_1ad82c8fb7559af2e4b1663e0762a80c89'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'exit'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '65'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1OptionParser_1a6f2d24051471268be245221149bc9c6a'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'print_help'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '70'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - }; /* cp-section */ - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - cp-fileline = '65'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* class */ -class = { - cp-id = 'classcmd2_1_1OutputTrap'; - cp-name = 'cmd2::OutputTrap'; - cp-ref = { - ref-type = base; - ref-id = 'classcmd2_1_1Borg'; - ref-prot = public; - ref-virt = non-virtual; - }; - cp-section = { - sec-kind = 'public-func'; - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1OutputTrap_1a0dc45d536432b07d7ec32da5755b5c85'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = '__init__'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1462'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1OutputTrap_1a492ceb8dfb3f6e90bf095a710ab56ad1'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'read'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1468'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a9117a6d5bfa07f1eeade54f24eeba0ed'; - sec-mem-ref-line = '1462'; - sec-mem-ref-name = 'contents'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1OutputTrap_1a06961b49c3e19e9984f077a08b3a75f2'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'tearDown'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1472'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a9117a6d5bfa07f1eeade54f24eeba0ed'; - sec-mem-ref-line = '1462'; - sec-mem-ref-name = 'contents'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1ac7a0b848dc18c74b089bc0d4044996de'; - sec-mem-ref-line = '1462'; - sec-mem-ref-name = 'old_stdout'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1OutputTrap_1aa3bec468fdc0d248cd43cb8e8e0d96cd'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'write'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1466'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a9117a6d5bfa07f1eeade54f24eeba0ed'; - sec-mem-ref-line = '1462'; - sec-mem-ref-name = 'contents'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1OutputTrap_1a9117a6d5bfa07f1eeade54f24eeba0ed'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'contents'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1462'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a492ceb8dfb3f6e90bf095a710ab56ad1'; - sec-mem-ref-line = '1468'; - sec-mem-ref-name = 'read'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a06961b49c3e19e9984f077a08b3a75f2'; - sec-mem-ref-line = '1472'; - sec-mem-ref-name = 'tearDown'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1aa3bec468fdc0d248cd43cb8e8e0d96cd'; - sec-mem-ref-line = '1466'; - sec-mem-ref-name = 'write'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1OutputTrap_1ac7a0b848dc18c74b089bc0d4044996de'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'old_stdout'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1462'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a06961b49c3e19e9984f077a08b3a75f2'; - sec-mem-ref-line = '1472'; - sec-mem-ref-name = 'tearDown'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - cp-fileline = '1461'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim Instantiate an OutputTrap to divert/capture ALL stdout output. For use in unit testing. -Call `tearDown()` to return to normal output.\endverbatim -_EnD_oF_dEf_TeXt_; - cp-inheritancegraph = <<_EnD_oF_dEf_TeXt_ - node = { - node-id = 95; - node-label = 'cmd2::Borg'; - node-link = { - node-link-id = 'classcmd2_1_1Borg'; - }; - }; /* node */ - node = { - node-id = 94; - node-label = 'cmd2::OutputTrap'; - node-link = { - node-link-id = 'classcmd2_1_1OutputTrap'; - }; - node-child = { - child-id = '95'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - -_EnD_oF_dEf_TeXt_; - cp-collaborationgraph = <<_EnD_oF_dEf_TeXt_ - node = { - node-id = 97; - node-label = 'cmd2::Borg'; - node-link = { - node-link-id = 'classcmd2_1_1Borg'; - }; - }; /* node */ - node = { - node-id = 96; - node-label = 'cmd2::OutputTrap'; - node-link = { - node-link-id = 'classcmd2_1_1OutputTrap'; - }; - node-child = { - child-id = '97'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - -_EnD_oF_dEf_TeXt_; -}; /* class */ -class = { - cp-id = 'classcmd2_1_1ParsedString'; - cp-name = 'cmd2::ParsedString'; - cp-section = { - sec-kind = 'public-func'; - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1ParsedString_1a6ac3a7f2f37126a25774517b3eb7cace'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'full_parsed_statement'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '258'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a1d2749139a96bd29ddabc6cb0dfd4c00'; - sec-mem-ref-line = '726'; - sec-mem-ref-name = 'cmd2::Cmd::parsed'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a60c8c9f51ca086f83a2563b7c5e93421'; - sec-mem-ref-line = '667'; - sec-mem-ref-name = 'cmd2::Cmd::parser'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1ParsedString_1afe56ec060a51b268e266f7c0d1fb7328'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'with_args_replaced'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '263'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a1d2749139a96bd29ddabc6cb0dfd4c00'; - sec-mem-ref-line = '726'; - sec-mem-ref-name = 'cmd2::Cmd::parsed'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a60c8c9f51ca086f83a2563b7c5e93421'; - sec-mem-ref-line = '667'; - sec-mem-ref-name = 'cmd2::Cmd::parser'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - cp-fileline = '258'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* class */ -class = { - cp-id = 'classcmd2_1_1PasteBufferError'; - cp-name = 'cmd2::PasteBufferError'; - cp-section = { - sec-kind = 'public-func'; - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1PasteBufferError_1ae1cd41756d1ae940201fe2cb0d0f821e'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = '__init__'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '174'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1adaa363483c6d5a54f13713233ba398b2'; - sec-mem-ref-line = '164'; - sec-mem-ref-name = 'errmsg'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-static-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1PasteBufferError_1adaa363483c6d5a54f13713233ba398b2'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'errmsg'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -"""Redirecting to or from paste buffer requires pywin32 -to be installed on operating system. -Download from http://sourceforge.net/projects/pywin32/""" -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '164'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ae1cd41756d1ae940201fe2cb0d0f821e'; - sec-mem-ref-line = '174'; - sec-mem-ref-name = '__init__'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - cp-fileline = '163'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* class */ -class = { - cp-id = 'classcmd2_1_1Statekeeper'; - cp-name = 'cmd2::Statekeeper'; - cp-section = { - sec-kind = 'public-func'; - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Statekeeper_1a3550a0316a7f911d7b13da87844ee882'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = '__init__'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1437'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Statekeeper_1a00e6cfdbe169bcb76db888b9d0beff03'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'restore'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1445'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a18466d6cef3f084e92f086a86d4a7244'; - sec-mem-ref-line = '1437'; - sec-mem-ref-name = 'attribs'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a84a5071e786e0dff91a413e3fd0470c1'; - sec-mem-ref-line = '1437'; - sec-mem-ref-name = 'obj'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1Statekeeper_1a848245f65d18fddf4bb768bd3f911b30'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'save'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1442'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a18466d6cef3f084e92f086a86d4a7244'; - sec-mem-ref-line = '1437'; - sec-mem-ref-name = 'attribs'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a84a5071e786e0dff91a413e3fd0470c1'; - sec-mem-ref-line = '1437'; - sec-mem-ref-name = 'obj'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Statekeeper_1a18466d6cef3f084e92f086a86d4a7244'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'attribs'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1437'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a00e6cfdbe169bcb76db888b9d0beff03'; - sec-mem-ref-line = '1445'; - sec-mem-ref-name = 'restore'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a848245f65d18fddf4bb768bd3f911b30'; - sec-mem-ref-line = '1442'; - sec-mem-ref-name = 'save'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1Statekeeper_1a84a5071e786e0dff91a413e3fd0470c1'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'obj'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '1437'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a00e6cfdbe169bcb76db888b9d0beff03'; - sec-mem-ref-line = '1445'; - sec-mem-ref-name = 'restore'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a848245f65d18fddf4bb768bd3f911b30'; - sec-mem-ref-line = '1442'; - sec-mem-ref-name = 'save'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - cp-fileline = '1437'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* class */ -class = { - cp-id = 'classcmd2_1_1StubbornDict'; - cp-name = 'cmd2::StubbornDict'; - cp-section = { - sec-kind = 'public-func'; - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1StubbornDict_1a219b3f21c078f3b8158de67beae62da2'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = '__add__'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '291'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1aae88fcdb31e45b322ecdaf7df9922823'; - sec-mem-ref-line = '321'; - sec-mem-ref-name = 'cmd2::stubbornDict'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1StubbornDict_1ad7c49b2ca37c0c88b198853706ae7e99'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = '__iadd__'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '288'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a669dd7f5373f3726d8c8fb52a1e85bbd'; - sec-mem-ref-line = '285'; - sec-mem-ref-name = 'update'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1StubbornDict_1a190b1b2bd8a914bafaab137c5b1276ea'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = '__radd__'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '295'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1aae88fcdb31e45b322ecdaf7df9922823'; - sec-mem-ref-line = '321'; - sec-mem-ref-name = 'cmd2::stubbornDict'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1StubbornDict_1ad46f55b61faae98d241e30d52cd04eee'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'to_dict'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '301'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classcmd2_1_1StubbornDict_1a669dd7f5373f3726d8c8fb52a1e85bbd'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'update'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '285'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ad7c49b2ca37c0c88b198853706ae7e99'; - sec-mem-ref-line = '288'; - sec-mem-ref-name = '__iadd__'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-static-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classcmd2_1_1StubbornDict_1a66dc32a221c00611f1c131382703c333'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'append'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -update -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - sec-mem-desc-line = '287'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1a1c036910ea442db79fe012715b29c9db'; - sec-mem-ref-line = '1372'; - sec-mem-ref-name = 'cmd2::History::extend'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - cp-fileline = '284'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim Dictionary that tolerates many input formats. -Create it with stubbornDict(arg) factory function. - ->>> d = StubbornDict(large='gross', small='klein') ->>> sorted(d.items()) -[('large', 'gross'), ('small', 'klein')] ->>> d.append(['plain', ' plaid']) ->>> sorted(d.items()) -[('large', 'gross'), ('plaid', ''), ('plain', ''), ('small', 'klein')] ->>> d += ' girl Frauelein, Maedchen\\n\\n shoe schuh' ->>> sorted(d.items()) -[('girl', 'Frauelein, Maedchen'), ('large', 'gross'), ('plaid', ''), ('plain', ''), ('shoe', 'schuh'), ('small', 'klein')] -\endverbatim -_EnD_oF_dEf_TeXt_; -}; /* class */ -class = { - cp-id = 'classexample_1_1CmdLineApp'; - cp-name = 'example::CmdLineApp'; - cp-ref = { - ref-type = base; - ref-id = 'classcmd2_1_1Cmd'; - ref-prot = public; - ref-virt = non-virtual; - }; - cp-section = { - sec-kind = 'public-func'; - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classexample_1_1CmdLineApp_1afdc6e3337a734471574398731d582ec9'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_speak'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/example/example.py'; - sec-mem-desc-line = '17'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim Repeats what you tell me to.\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'example_8py_1a81a94979fcdd998c72d530e47bab88e0'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'maxrepeats'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-static-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classexample_1_1CmdLineApp_1ac9058ddc022235f3876c6b410ddeb688'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_orate'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -do_speak -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/example/example.py'; - sec-mem-desc-line = '32'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classexample_1_1CmdLineApp_1a5acab19a8c4c609e944ea1cb345a5ec3'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_say'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -do_speak -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/example/example.py'; - sec-mem-desc-line = '31'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classexample_1_1CmdLineApp_1a81a94979fcdd998c72d530e47bab88e0'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -int -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'maxrepeats'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -3 -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/example/example.py'; - sec-mem-desc-line = '9'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'example_8py_1afdc6e3337a734471574398731d582ec9'; - sec-mem-ref-line = '17'; - sec-mem-ref-name = 'do_speak'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classexample_1_1CmdLineApp_1a7720e4d8dd45f289c3962be91c05ac33'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -list -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'multilineCommands'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -['orate'] -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/example/example.py'; - sec-mem-desc-line = '7'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classexample_1_1CmdLineApp_1adb66a4ed5e10aa018c7e3a4da6779c76'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'redirector'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'->' -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/example/example.py'; - sec-mem-desc-line = '10'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - }; /* cp-section */ - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/example/example.py'; - cp-fileline = '7'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-inheritancegraph = <<_EnD_oF_dEf_TeXt_ - node = { - node-id = 106; - node-label = 'example::CmdLineApp'; - node-link = { - node-link-id = 'classexample_1_1CmdLineApp'; - }; - node-child = { - child-id = '107'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - node = { - node-id = 107; - node-label = 'cmd2::Cmd'; - node-link = { - node-link-id = 'classcmd2_1_1Cmd'; - }; - }; /* node */ - -_EnD_oF_dEf_TeXt_; - cp-collaborationgraph = <<_EnD_oF_dEf_TeXt_ - node = { - node-id = 108; - node-label = 'example::CmdLineApp'; - node-link = { - node-link-id = 'classexample_1_1CmdLineApp'; - }; - node-child = { - child-id = '109'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - node = { - node-id = 109; - node-label = 'cmd2::Cmd'; - node-link = { - node-link-id = 'classcmd2_1_1Cmd'; - }; - }; /* node */ - -_EnD_oF_dEf_TeXt_; -}; /* class */ -class = { - cp-id = 'classpirate2_1_1Pirate'; - cp-name = 'pirate2::Pirate'; - cp-ref = { - ref-type = base; - ref-id = 'classcmd_1_1Cmd'; - ref-prot = public; - ref-virt = non-virtual; - }; - cp-section = { - sec-kind = 'public-func'; - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate2_1_1Pirate_1a3a3285e575d7f08f59dad02f2dbd247d'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_drink'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate2.py'; - sec-mem-desc-line = '11'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate2_1_1Pirate_1a660169e0b360275309a4c4afb95e5d48'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_loot'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate2.py'; - sec-mem-desc-line = '6'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-static-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate2_1_1Pirate_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -int -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'gold'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -3 -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate2.py'; - sec-mem-desc-line = '5'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate3_8py_1ae62063bde0baa286f8b765b010368269'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'pirate3::Pirate::do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate4_8py_1a571b4d6d457399767bec29c492772fca'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'pirate4::Pirate::do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate5_8py_1a9b50e09ce86f4893c29b90a62fceed60'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'pirate5::Pirate::do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate2_8py_1a3a3285e575d7f08f59dad02f2dbd247d'; - sec-mem-ref-line = '11'; - sec-mem-ref-name = 'do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1ad07df28cca38a7a3eff760d3aa5a60da'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate7::Pirate::do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1ac695c73a0ec7548823c18434e71fa930'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate8::Pirate::do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1a53f3760dae30fc09265437594b251b56'; - sec-mem-ref-line = '13'; - sec-mem-ref-name = 'pirate6::Pirate::do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate2_8py_1a660169e0b360275309a4c4afb95e5d48'; - sec-mem-ref-line = '6'; - sec-mem-ref-name = 'do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate5_8py_1ac1af3f414fec3fc70196c198effa3536'; - sec-mem-ref-line = '6'; - sec-mem-ref-name = 'pirate5::Pirate::do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate3_8py_1a3b73e9898e220e5d1cff5c042a515359'; - sec-mem-ref-line = '6'; - sec-mem-ref-name = 'pirate3::Pirate::do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate4_8py_1a9e0724a9ba5f572e754281b2b4522b32'; - sec-mem-ref-line = '6'; - sec-mem-ref-name = 'pirate4::Pirate::do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1af8aee724dc8f385567ea17612d038ec0'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'pirate7::Pirate::do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a66a92ca585ec86714f98099fa25b1dbc'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'pirate8::Pirate::do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1a2567b41cc9c463642aecf897ec66c3a3'; - sec-mem-ref-line = '10'; - sec-mem-ref-name = 'pirate6::Pirate::do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate3_8py_1ae8f5db310998d98093ac0471dd2dae81'; - sec-mem-ref-line = '15'; - sec-mem-ref-name = 'pirate3::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate4_8py_1a6c1e779a0993b5ef25826a3e7b1d7a96'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate4::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate5_8py_1afed83336542dce1eeb068e3c3fbcd9c5'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate5::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1aec2c703d2a5e1919fe1fe1f6b42fba06'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'pirate7::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a4ee785f29217bca99bb0720108a5a441'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'pirate8::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1aadf25da472167f54c57c3bad3bc901ad'; - sec-mem-ref-line = '26'; - sec-mem-ref-name = 'pirate6::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate3_8py_1add2ad52765a4d67af64e8ce160c656a3'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate3::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate5_8py_1ab658200d2acce30ef62b7f232b46c7f2'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate5::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate4_8py_1aeaa9c3406fdc05aa8d09b164469c3a83'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate4::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1a6d97780d041206aa9e5ab2d34224db1a'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate7::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a9a7a8de91465be0e46e782bf6713f282'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate8::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1a081dfdcb12b7ff8e26547c680ecb8e66'; - sec-mem-ref-line = '23'; - sec-mem-ref-name = 'pirate6::Pirate::precmd'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate2.py'; - cp-fileline = '5'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-inheritancegraph = <<_EnD_oF_dEf_TeXt_ - node = { - node-id = 111; - node-label = 'Cmd'; - }; /* node */ - node = { - node-id = 110; - node-label = 'pirate2::Pirate'; - node-link = { - node-link-id = 'classpirate2_1_1Pirate'; - }; - node-child = { - child-id = '111'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - -_EnD_oF_dEf_TeXt_; - cp-collaborationgraph = <<_EnD_oF_dEf_TeXt_ - node = { - node-id = 113; - node-label = 'Cmd'; - }; /* node */ - node = { - node-id = 112; - node-label = 'pirate2::Pirate'; - node-link = { - node-link-id = 'classpirate2_1_1Pirate'; - }; - node-child = { - child-id = '113'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - -_EnD_oF_dEf_TeXt_; -}; /* class */ -class = { - cp-id = 'classpirate3_1_1Pirate'; - cp-name = 'pirate3::Pirate'; - cp-ref = { - ref-type = base; - ref-id = 'classcmd_1_1Cmd'; - ref-prot = public; - ref-virt = non-virtual; - }; - cp-section = { - sec-kind = 'public-func'; - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate3_1_1Pirate_1ae62063bde0baa286f8b765b010368269'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_drink'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate3.py'; - sec-mem-desc-line = '9'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate3_1_1Pirate_1a3b73e9898e220e5d1cff5c042a515359'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_loot'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate3.py'; - sec-mem-desc-line = '6'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate3_1_1Pirate_1ae8f5db310998d98093ac0471dd2dae81'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'postcmd'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate3.py'; - sec-mem-desc-line = '15'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1a9fbdf2c85171048564a53b367bbf3fcd'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'initial_gold'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'cmd2::Cmd::onecmd_plus_hooks'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate3_1_1Pirate_1add2ad52765a4d67af64e8ce160c656a3'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'precmd'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate3.py'; - sec-mem-desc-line = '12'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1a9fbdf2c85171048564a53b367bbf3fcd'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'initial_gold'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'cmd2::Cmd::onecmd_plus_hooks'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate3_1_1Pirate_1a9fbdf2c85171048564a53b367bbf3fcd'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'initial_gold'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate3.py'; - sec-mem-desc-line = '12'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate3_8py_1ae8f5db310998d98093ac0471dd2dae81'; - sec-mem-ref-line = '15'; - sec-mem-ref-name = 'postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate4_8py_1a6c1e779a0993b5ef25826a3e7b1d7a96'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate4::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate5_8py_1afed83336542dce1eeb068e3c3fbcd9c5'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate5::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1aec2c703d2a5e1919fe1fe1f6b42fba06'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'pirate7::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a4ee785f29217bca99bb0720108a5a441'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'pirate8::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1aadf25da472167f54c57c3bad3bc901ad'; - sec-mem-ref-line = '26'; - sec-mem-ref-name = 'pirate6::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate3_8py_1add2ad52765a4d67af64e8ce160c656a3'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate5_8py_1ab658200d2acce30ef62b7f232b46c7f2'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate5::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate4_8py_1aeaa9c3406fdc05aa8d09b164469c3a83'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate4::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a9a7a8de91465be0e46e782bf6713f282'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate8::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1a6d97780d041206aa9e5ab2d34224db1a'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate7::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1a081dfdcb12b7ff8e26547c680ecb8e66'; - sec-mem-ref-line = '23'; - sec-mem-ref-name = 'pirate6::Pirate::precmd'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-static-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate3_1_1Pirate_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -int -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'gold'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -3 -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate3.py'; - sec-mem-desc-line = '5'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate3_8py_1ae62063bde0baa286f8b765b010368269'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate5_8py_1a9b50e09ce86f4893c29b90a62fceed60'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'pirate5::Pirate::do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate4_8py_1a571b4d6d457399767bec29c492772fca'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'pirate4::Pirate::do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1ad07df28cca38a7a3eff760d3aa5a60da'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate7::Pirate::do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1ac695c73a0ec7548823c18434e71fa930'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate8::Pirate::do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1a53f3760dae30fc09265437594b251b56'; - sec-mem-ref-line = '13'; - sec-mem-ref-name = 'pirate6::Pirate::do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate5_8py_1ac1af3f414fec3fc70196c198effa3536'; - sec-mem-ref-line = '6'; - sec-mem-ref-name = 'pirate5::Pirate::do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate4_8py_1a9e0724a9ba5f572e754281b2b4522b32'; - sec-mem-ref-line = '6'; - sec-mem-ref-name = 'pirate4::Pirate::do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate3_8py_1a3b73e9898e220e5d1cff5c042a515359'; - sec-mem-ref-line = '6'; - sec-mem-ref-name = 'do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1af8aee724dc8f385567ea17612d038ec0'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'pirate7::Pirate::do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a66a92ca585ec86714f98099fa25b1dbc'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'pirate8::Pirate::do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1a2567b41cc9c463642aecf897ec66c3a3'; - sec-mem-ref-line = '10'; - sec-mem-ref-name = 'pirate6::Pirate::do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate3_8py_1ae8f5db310998d98093ac0471dd2dae81'; - sec-mem-ref-line = '15'; - sec-mem-ref-name = 'postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate4_8py_1a6c1e779a0993b5ef25826a3e7b1d7a96'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate4::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate5_8py_1afed83336542dce1eeb068e3c3fbcd9c5'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate5::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1aec2c703d2a5e1919fe1fe1f6b42fba06'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'pirate7::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a4ee785f29217bca99bb0720108a5a441'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'pirate8::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1aadf25da472167f54c57c3bad3bc901ad'; - sec-mem-ref-line = '26'; - sec-mem-ref-name = 'pirate6::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate3_8py_1add2ad52765a4d67af64e8ce160c656a3'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate5_8py_1ab658200d2acce30ef62b7f232b46c7f2'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate5::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate4_8py_1aeaa9c3406fdc05aa8d09b164469c3a83'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate4::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a9a7a8de91465be0e46e782bf6713f282'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate8::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1a6d97780d041206aa9e5ab2d34224db1a'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate7::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1a081dfdcb12b7ff8e26547c680ecb8e66'; - sec-mem-ref-line = '23'; - sec-mem-ref-name = 'pirate6::Pirate::precmd'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate3.py'; - cp-fileline = '5'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-inheritancegraph = <<_EnD_oF_dEf_TeXt_ - node = { - node-id = 114; - node-label = 'pirate3::Pirate'; - node-link = { - node-link-id = 'classpirate3_1_1Pirate'; - }; - node-child = { - child-id = '115'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - node = { - node-id = 115; - node-label = 'Cmd'; - }; /* node */ - -_EnD_oF_dEf_TeXt_; - cp-collaborationgraph = <<_EnD_oF_dEf_TeXt_ - node = { - node-id = 116; - node-label = 'pirate3::Pirate'; - node-link = { - node-link-id = 'classpirate3_1_1Pirate'; - }; - node-child = { - child-id = '117'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - node = { - node-id = 117; - node-label = 'Cmd'; - }; /* node */ - -_EnD_oF_dEf_TeXt_; -}; /* class */ -class = { - cp-id = 'classpirate4_1_1Pirate'; - cp-name = 'pirate4::Pirate'; - cp-ref = { - ref-type = base; - ref-id = 'classcmd_1_1Cmd'; - ref-prot = public; - ref-virt = non-virtual; - }; - cp-section = { - sec-kind = 'public-func'; - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate4_1_1Pirate_1a571b4d6d457399767bec29c492772fca'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_drink'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate4.py'; - sec-mem-desc-line = '9'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim Drown your sorrrows in rrrum. - -drink [n] - drink [n] barrel[s] o' rum.\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ab593f89182e85630e8b982bb4378f514'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate3::Pirate::gold'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate4_1_1Pirate_1a9e0724a9ba5f572e754281b2b4522b32'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_loot'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate4.py'; - sec-mem-desc-line = '6'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ab593f89182e85630e8b982bb4378f514'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate3::Pirate::gold'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate4_1_1Pirate_1a6c1e779a0993b5ef25826a3e7b1d7a96'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'postcmd'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate4.py'; - sec-mem-desc-line = '22'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate3::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ab593f89182e85630e8b982bb4378f514'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1a9fbdf2c85171048564a53b367bbf3fcd'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate3::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ac2d53ce13cc6eea50970138b28ea008e'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'initial_gold'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'cmd2::Cmd::onecmd_plus_hooks'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate4_1_1Pirate_1aeaa9c3406fdc05aa8d09b164469c3a83'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'precmd'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate4.py'; - sec-mem-desc-line = '19'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ab593f89182e85630e8b982bb4378f514'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate3::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1a9fbdf2c85171048564a53b367bbf3fcd'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate3::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ac2d53ce13cc6eea50970138b28ea008e'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'initial_gold'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'cmd2::Cmd::onecmd_plus_hooks'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate4_1_1Pirate_1ac2d53ce13cc6eea50970138b28ea008e'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'initial_gold'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate4.py'; - sec-mem-desc-line = '19'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate4_8py_1a6c1e779a0993b5ef25826a3e7b1d7a96'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate5_8py_1afed83336542dce1eeb068e3c3fbcd9c5'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate5::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1aec2c703d2a5e1919fe1fe1f6b42fba06'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'pirate7::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a4ee785f29217bca99bb0720108a5a441'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'pirate8::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1aadf25da472167f54c57c3bad3bc901ad'; - sec-mem-ref-line = '26'; - sec-mem-ref-name = 'pirate6::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate4_8py_1aeaa9c3406fdc05aa8d09b164469c3a83'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate5_8py_1ab658200d2acce30ef62b7f232b46c7f2'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate5::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1a6d97780d041206aa9e5ab2d34224db1a'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate7::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a9a7a8de91465be0e46e782bf6713f282'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate8::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1a081dfdcb12b7ff8e26547c680ecb8e66'; - sec-mem-ref-line = '23'; - sec-mem-ref-name = 'pirate6::Pirate::precmd'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-static-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate4_1_1Pirate_1ab593f89182e85630e8b982bb4378f514'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -int -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'gold'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -3 -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate4.py'; - sec-mem-desc-line = '5'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate4_8py_1a571b4d6d457399767bec29c492772fca'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate5_8py_1a9b50e09ce86f4893c29b90a62fceed60'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'pirate5::Pirate::do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1ac695c73a0ec7548823c18434e71fa930'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate8::Pirate::do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1ad07df28cca38a7a3eff760d3aa5a60da'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate7::Pirate::do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1a53f3760dae30fc09265437594b251b56'; - sec-mem-ref-line = '13'; - sec-mem-ref-name = 'pirate6::Pirate::do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate4_8py_1a9e0724a9ba5f572e754281b2b4522b32'; - sec-mem-ref-line = '6'; - sec-mem-ref-name = 'do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate5_8py_1ac1af3f414fec3fc70196c198effa3536'; - sec-mem-ref-line = '6'; - sec-mem-ref-name = 'pirate5::Pirate::do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a66a92ca585ec86714f98099fa25b1dbc'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'pirate8::Pirate::do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1af8aee724dc8f385567ea17612d038ec0'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'pirate7::Pirate::do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1a2567b41cc9c463642aecf897ec66c3a3'; - sec-mem-ref-line = '10'; - sec-mem-ref-name = 'pirate6::Pirate::do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate4_8py_1a6c1e779a0993b5ef25826a3e7b1d7a96'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate5_8py_1afed83336542dce1eeb068e3c3fbcd9c5'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate5::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1aec2c703d2a5e1919fe1fe1f6b42fba06'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'pirate7::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a4ee785f29217bca99bb0720108a5a441'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'pirate8::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1aadf25da472167f54c57c3bad3bc901ad'; - sec-mem-ref-line = '26'; - sec-mem-ref-name = 'pirate6::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate5_8py_1ab658200d2acce30ef62b7f232b46c7f2'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate5::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate4_8py_1aeaa9c3406fdc05aa8d09b164469c3a83'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1a6d97780d041206aa9e5ab2d34224db1a'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate7::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a9a7a8de91465be0e46e782bf6713f282'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate8::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1a081dfdcb12b7ff8e26547c680ecb8e66'; - sec-mem-ref-line = '23'; - sec-mem-ref-name = 'pirate6::Pirate::precmd'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate4.py'; - cp-fileline = '5'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-inheritancegraph = <<_EnD_oF_dEf_TeXt_ - node = { - node-id = 118; - node-label = 'pirate4::Pirate'; - node-link = { - node-link-id = 'classpirate4_1_1Pirate'; - }; - node-child = { - child-id = '119'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - node = { - node-id = 119; - node-label = 'Cmd'; - }; /* node */ - -_EnD_oF_dEf_TeXt_; - cp-collaborationgraph = <<_EnD_oF_dEf_TeXt_ - node = { - node-id = 120; - node-label = 'pirate4::Pirate'; - node-link = { - node-link-id = 'classpirate4_1_1Pirate'; - }; - node-child = { - child-id = '121'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - node = { - node-id = 121; - node-label = 'Cmd'; - }; /* node */ - -_EnD_oF_dEf_TeXt_; -}; /* class */ -class = { - cp-id = 'classpirate5_1_1Pirate'; - cp-name = 'pirate5::Pirate'; - cp-ref = { - ref-type = base; - ref-id = 'classcmd_1_1Cmd'; - ref-prot = public; - ref-virt = non-virtual; - }; - cp-section = { - sec-kind = 'public-func'; - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate5_1_1Pirate_1a9b50e09ce86f4893c29b90a62fceed60'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_drink'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate5.py'; - sec-mem-desc-line = '9'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim Drown your sorrrows in rrrum. - -drink [n] - drink [n] barrel[s] o' rum.\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1aafe1692ad983467cd710537574b7a1e4'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ab593f89182e85630e8b982bb4378f514'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate4::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate3::Pirate::gold'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate5_1_1Pirate_1ac1af3f414fec3fc70196c198effa3536'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_loot'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate5.py'; - sec-mem-desc-line = '6'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1aafe1692ad983467cd710537574b7a1e4'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ab593f89182e85630e8b982bb4378f514'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate4::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate3::Pirate::gold'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate5_1_1Pirate_1a793c0b22262bf11027ce319084e28bed'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_quit'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate5.py'; - sec-mem-desc-line = '30'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate5_1_1Pirate_1afed83336542dce1eeb068e3c3fbcd9c5'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'postcmd'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate5.py'; - sec-mem-desc-line = '22'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate3::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1aafe1692ad983467cd710537574b7a1e4'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ab593f89182e85630e8b982bb4378f514'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate4::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1a9fbdf2c85171048564a53b367bbf3fcd'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate3::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ac2d53ce13cc6eea50970138b28ea008e'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate4::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1a00dfc293b3c3d61b209143738fabb805'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'initial_gold'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'cmd2::Cmd::onecmd_plus_hooks'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate5_1_1Pirate_1ab658200d2acce30ef62b7f232b46c7f2'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'precmd'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate5.py'; - sec-mem-desc-line = '19'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1aafe1692ad983467cd710537574b7a1e4'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate3::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ab593f89182e85630e8b982bb4378f514'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate4::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1a9fbdf2c85171048564a53b367bbf3fcd'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate3::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1a00dfc293b3c3d61b209143738fabb805'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ac2d53ce13cc6eea50970138b28ea008e'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate4::Pirate::initial_gold'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'cmd2::Cmd::onecmd_plus_hooks'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate5_1_1Pirate_1a00dfc293b3c3d61b209143738fabb805'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'initial_gold'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate5.py'; - sec-mem-desc-line = '19'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate5_8py_1afed83336542dce1eeb068e3c3fbcd9c5'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a4ee785f29217bca99bb0720108a5a441'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'pirate8::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1aec2c703d2a5e1919fe1fe1f6b42fba06'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'pirate7::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1aadf25da472167f54c57c3bad3bc901ad'; - sec-mem-ref-line = '26'; - sec-mem-ref-name = 'pirate6::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate5_8py_1ab658200d2acce30ef62b7f232b46c7f2'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1a6d97780d041206aa9e5ab2d34224db1a'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate7::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a9a7a8de91465be0e46e782bf6713f282'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate8::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1a081dfdcb12b7ff8e26547c680ecb8e66'; - sec-mem-ref-line = '23'; - sec-mem-ref-name = 'pirate6::Pirate::precmd'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-static-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate5_1_1Pirate_1aafe1692ad983467cd710537574b7a1e4'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -int -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'gold'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -3 -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate5.py'; - sec-mem-desc-line = '5'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate5_8py_1a9b50e09ce86f4893c29b90a62fceed60'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1ad07df28cca38a7a3eff760d3aa5a60da'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate7::Pirate::do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1ac695c73a0ec7548823c18434e71fa930'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate8::Pirate::do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1a53f3760dae30fc09265437594b251b56'; - sec-mem-ref-line = '13'; - sec-mem-ref-name = 'pirate6::Pirate::do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate5_8py_1ac1af3f414fec3fc70196c198effa3536'; - sec-mem-ref-line = '6'; - sec-mem-ref-name = 'do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1af8aee724dc8f385567ea17612d038ec0'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'pirate7::Pirate::do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a66a92ca585ec86714f98099fa25b1dbc'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'pirate8::Pirate::do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1a2567b41cc9c463642aecf897ec66c3a3'; - sec-mem-ref-line = '10'; - sec-mem-ref-name = 'pirate6::Pirate::do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate5_8py_1afed83336542dce1eeb068e3c3fbcd9c5'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a4ee785f29217bca99bb0720108a5a441'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'pirate8::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1aec2c703d2a5e1919fe1fe1f6b42fba06'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'pirate7::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1aadf25da472167f54c57c3bad3bc901ad'; - sec-mem-ref-line = '26'; - sec-mem-ref-name = 'pirate6::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate5_8py_1ab658200d2acce30ef62b7f232b46c7f2'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1a6d97780d041206aa9e5ab2d34224db1a'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate7::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a9a7a8de91465be0e46e782bf6713f282'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate8::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1a081dfdcb12b7ff8e26547c680ecb8e66'; - sec-mem-ref-line = '23'; - sec-mem-ref-name = 'pirate6::Pirate::precmd'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate5.py'; - cp-fileline = '5'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-inheritancegraph = <<_EnD_oF_dEf_TeXt_ - node = { - node-id = 122; - node-label = 'pirate5::Pirate'; - node-link = { - node-link-id = 'classpirate5_1_1Pirate'; - }; - node-child = { - child-id = '123'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - node = { - node-id = 123; - node-label = 'Cmd'; - }; /* node */ - -_EnD_oF_dEf_TeXt_; - cp-collaborationgraph = <<_EnD_oF_dEf_TeXt_ - node = { - node-id = 124; - node-label = 'pirate5::Pirate'; - node-link = { - node-link-id = 'classpirate5_1_1Pirate'; - }; - node-child = { - child-id = '125'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - node = { - node-id = 125; - node-label = 'Cmd'; - }; /* node */ - -_EnD_oF_dEf_TeXt_; -}; /* class */ -class = { - cp-id = 'classpirate6_1_1Pirate'; - cp-name = 'pirate6::Pirate'; - cp-ref = { - ref-type = base; - ref-id = 'classcmd2_1_1Cmd'; - ref-prot = public; - ref-virt = non-virtual; - }; - cp-section = { - sec-kind = 'public-func'; - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate6_1_1Pirate_1a69d2df71d8316d75a9903d6c85f2bc15'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'default'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate6.py'; - sec-mem-desc-line = '7'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1aea64b66ff75b5daaeef61a3dd583df99'; - sec-mem-ref-line = '868'; - sec-mem-ref-name = 'cmd2::Cmd::_default'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate6_1_1Pirate_1a53f3760dae30fc09265437594b251b56'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_drink'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate6.py'; - sec-mem-desc-line = '13'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim Drown your sorrrows in rrrum. - -drink [n] - drink [n] barrel[s] o' rum.\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate6_8py_1a5a889a6a62da9c45d3ff03c426cd6c9f'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1aafe1692ad983467cd710537574b7a1e4'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate5::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ab593f89182e85630e8b982bb4378f514'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate4::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate3::Pirate::gold'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate6_1_1Pirate_1a2567b41cc9c463642aecf897ec66c3a3'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_loot'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate6.py'; - sec-mem-desc-line = '10'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate6_8py_1a5a889a6a62da9c45d3ff03c426cd6c9f'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1aafe1692ad983467cd710537574b7a1e4'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate5::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ab593f89182e85630e8b982bb4378f514'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate4::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate3::Pirate::gold'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate6_1_1Pirate_1abed4fab75233972eb289ac6a84345098'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_quit'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate6.py'; - sec-mem-desc-line = '34'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate6_1_1Pirate_1aadf25da472167f54c57c3bad3bc901ad'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'postcmd'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate6.py'; - sec-mem-desc-line = '26'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate3::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1aafe1692ad983467cd710537574b7a1e4'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate5::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate6_8py_1a5a889a6a62da9c45d3ff03c426cd6c9f'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ab593f89182e85630e8b982bb4378f514'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate4::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1a9fbdf2c85171048564a53b367bbf3fcd'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate3::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1a00dfc293b3c3d61b209143738fabb805'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate5::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ac2d53ce13cc6eea50970138b28ea008e'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate4::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate6_8py_1a20cd2f57129f1d841223123e279b451c'; - sec-mem-ref-line = '23'; - sec-mem-ref-name = 'initial_gold'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'cmd2::Cmd::onecmd_plus_hooks'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate6_1_1Pirate_1a081dfdcb12b7ff8e26547c680ecb8e66'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'precmd'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate6.py'; - sec-mem-desc-line = '23'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1aafe1692ad983467cd710537574b7a1e4'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate5::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate6_8py_1a5a889a6a62da9c45d3ff03c426cd6c9f'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ab593f89182e85630e8b982bb4378f514'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate4::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate3::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1a9fbdf2c85171048564a53b367bbf3fcd'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate3::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ac2d53ce13cc6eea50970138b28ea008e'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate4::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1a00dfc293b3c3d61b209143738fabb805'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate5::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate6_8py_1a20cd2f57129f1d841223123e279b451c'; - sec-mem-ref-line = '23'; - sec-mem-ref-name = 'initial_gold'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'cmd2::Cmd::onecmd_plus_hooks'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate6_1_1Pirate_1a20cd2f57129f1d841223123e279b451c'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'initial_gold'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate6.py'; - sec-mem-desc-line = '23'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1aec2c703d2a5e1919fe1fe1f6b42fba06'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'pirate7::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a4ee785f29217bca99bb0720108a5a441'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'pirate8::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1aadf25da472167f54c57c3bad3bc901ad'; - sec-mem-ref-line = '26'; - sec-mem-ref-name = 'postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a9a7a8de91465be0e46e782bf6713f282'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate8::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1a6d97780d041206aa9e5ab2d34224db1a'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate7::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1a081dfdcb12b7ff8e26547c680ecb8e66'; - sec-mem-ref-line = '23'; - sec-mem-ref-name = 'precmd'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-static-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate6_1_1Pirate_1a5a889a6a62da9c45d3ff03c426cd6c9f'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -int -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'gold'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -3 -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate6.py'; - sec-mem-desc-line = '5'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1ad07df28cca38a7a3eff760d3aa5a60da'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate7::Pirate::do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1ac695c73a0ec7548823c18434e71fa930'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate8::Pirate::do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1a53f3760dae30fc09265437594b251b56'; - sec-mem-ref-line = '13'; - sec-mem-ref-name = 'do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a66a92ca585ec86714f98099fa25b1dbc'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'pirate8::Pirate::do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1af8aee724dc8f385567ea17612d038ec0'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'pirate7::Pirate::do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1a2567b41cc9c463642aecf897ec66c3a3'; - sec-mem-ref-line = '10'; - sec-mem-ref-name = 'do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1aec2c703d2a5e1919fe1fe1f6b42fba06'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'pirate7::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a4ee785f29217bca99bb0720108a5a441'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'pirate8::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1aadf25da472167f54c57c3bad3bc901ad'; - sec-mem-ref-line = '26'; - sec-mem-ref-name = 'postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1a6d97780d041206aa9e5ab2d34224db1a'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate7::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a9a7a8de91465be0e46e782bf6713f282'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate8::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate6_8py_1a081dfdcb12b7ff8e26547c680ecb8e66'; - sec-mem-ref-line = '23'; - sec-mem-ref-name = 'precmd'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate6_1_1Pirate_1a69ebfbd71217d6d903a02f3f207cd8ec'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'prompt'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'arrr> ' -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate6.py'; - sec-mem-desc-line = '6'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - }; /* cp-section */ - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate6.py'; - cp-fileline = '5'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-inheritancegraph = <<_EnD_oF_dEf_TeXt_ - node = { - node-id = 126; - node-label = 'pirate6::Pirate'; - node-link = { - node-link-id = 'classpirate6_1_1Pirate'; - }; - node-child = { - child-id = '127'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - node = { - node-id = 127; - node-label = 'cmd2::Cmd'; - node-link = { - node-link-id = 'classcmd2_1_1Cmd'; - }; - }; /* node */ - -_EnD_oF_dEf_TeXt_; - cp-collaborationgraph = <<_EnD_oF_dEf_TeXt_ - node = { - node-id = 128; - node-label = 'pirate6::Pirate'; - node-link = { - node-link-id = 'classpirate6_1_1Pirate'; - }; - node-child = { - child-id = '129'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - node = { - node-id = 129; - node-label = 'cmd2::Cmd'; - node-link = { - node-link-id = 'classcmd2_1_1Cmd'; - }; - }; /* node */ - -_EnD_oF_dEf_TeXt_; -}; /* class */ -class = { - cp-id = 'classpirate7_1_1Pirate'; - cp-name = 'pirate7::Pirate'; - cp-ref = { - ref-type = base; - ref-id = 'classcmd2_1_1Cmd'; - ref-prot = public; - ref-virt = non-virtual; - }; - cp-section = { - sec-kind = 'public-func'; - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate7_1_1Pirate_1a79cfac8de04cdc850bc2105ba4673b37'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'default'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py'; - sec-mem-desc-line = '7'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1aea64b66ff75b5daaeef61a3dd583df99'; - sec-mem-ref-line = '868'; - sec-mem-ref-name = 'cmd2::Cmd::_default'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate7_1_1Pirate_1ad07df28cca38a7a3eff760d3aa5a60da'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_drink'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py'; - sec-mem-desc-line = '12'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim Drown your sorrrows in rrrum. - -drink [n] - drink [n] barrel[s] o' rum.\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate7_8py_1a36c15ca3fd5f8d87411159745b39cfe2'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate6_8py_1a5a889a6a62da9c45d3ff03c426cd6c9f'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate6::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1aafe1692ad983467cd710537574b7a1e4'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate5::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ab593f89182e85630e8b982bb4378f514'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate4::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate3::Pirate::gold'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate7_1_1Pirate_1af8aee724dc8f385567ea17612d038ec0'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_loot'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py'; - sec-mem-desc-line = '9'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate7_8py_1a36c15ca3fd5f8d87411159745b39cfe2'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate6_8py_1a5a889a6a62da9c45d3ff03c426cd6c9f'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate6::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1aafe1692ad983467cd710537574b7a1e4'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate5::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ab593f89182e85630e8b982bb4378f514'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate4::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate3::Pirate::gold'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate7_1_1Pirate_1a0a5b47995cb6dcd9f58a8a6f24f1a95c'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_quit'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py'; - sec-mem-desc-line = '33'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate7_1_1Pirate_1a48b1905aeb2a7161ccfc99e5d80c50ca'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_sing'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py'; - sec-mem-desc-line = '42'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a9c7f8fd1e7909d18a0f1d8cebf6c1966'; - sec-mem-ref-line = '435'; - sec-mem-ref-name = 'cmd2::Cmd::colorize'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate7_8py_1a58890119cccb37dceb5ac6b0576a40ba'; - sec-mem-ref-line = '39'; - sec-mem-ref-name = 'songcolor'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate7_1_1Pirate_1aec2c703d2a5e1919fe1fe1f6b42fba06'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'postcmd'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py'; - sec-mem-desc-line = '25'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate3::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1aafe1692ad983467cd710537574b7a1e4'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate5::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate6_8py_1a5a889a6a62da9c45d3ff03c426cd6c9f'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate6::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ab593f89182e85630e8b982bb4378f514'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate4::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate7_8py_1a36c15ca3fd5f8d87411159745b39cfe2'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1a9fbdf2c85171048564a53b367bbf3fcd'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate3::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1a00dfc293b3c3d61b209143738fabb805'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate5::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ac2d53ce13cc6eea50970138b28ea008e'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate4::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate7_8py_1a27c913369358b5566f4ef81c6a2aaae8'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate6_8py_1a20cd2f57129f1d841223123e279b451c'; - sec-mem-ref-line = '23'; - sec-mem-ref-name = 'pirate6::Pirate::initial_gold'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'cmd2::Cmd::onecmd_plus_hooks'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate7_1_1Pirate_1a6d97780d041206aa9e5ab2d34224db1a'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'precmd'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py'; - sec-mem-desc-line = '22'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate7_8py_1a36c15ca3fd5f8d87411159745b39cfe2'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ab593f89182e85630e8b982bb4378f514'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate4::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1aafe1692ad983467cd710537574b7a1e4'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate5::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate6_8py_1a5a889a6a62da9c45d3ff03c426cd6c9f'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate6::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate3::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1a9fbdf2c85171048564a53b367bbf3fcd'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate3::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ac2d53ce13cc6eea50970138b28ea008e'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate4::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1a00dfc293b3c3d61b209143738fabb805'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate5::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate7_8py_1a27c913369358b5566f4ef81c6a2aaae8'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate6_8py_1a20cd2f57129f1d841223123e279b451c'; - sec-mem-ref-line = '23'; - sec-mem-ref-name = 'pirate6::Pirate::initial_gold'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'cmd2::Cmd::onecmd_plus_hooks'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate7_1_1Pirate_1a27c913369358b5566f4ef81c6a2aaae8'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'initial_gold'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py'; - sec-mem-desc-line = '22'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1aec2c703d2a5e1919fe1fe1f6b42fba06'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a4ee785f29217bca99bb0720108a5a441'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'pirate8::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a9a7a8de91465be0e46e782bf6713f282'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate8::Pirate::precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1a6d97780d041206aa9e5ab2d34224db1a'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'precmd'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-static-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate7_1_1Pirate_1a629913affb56931c737d31b3dea1448a'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'default_to_shell'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -True -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py'; - sec-mem-desc-line = '36'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate7_1_1Pirate_1a36c15ca3fd5f8d87411159745b39cfe2'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -int -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'gold'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -3 -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py'; - sec-mem-desc-line = '5'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1ad07df28cca38a7a3eff760d3aa5a60da'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1ac695c73a0ec7548823c18434e71fa930'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate8::Pirate::do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1af8aee724dc8f385567ea17612d038ec0'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a66a92ca585ec86714f98099fa25b1dbc'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'pirate8::Pirate::do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1aec2c703d2a5e1919fe1fe1f6b42fba06'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a4ee785f29217bca99bb0720108a5a441'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'pirate8::Pirate::postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1a6d97780d041206aa9e5ab2d34224db1a'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'precmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a9a7a8de91465be0e46e782bf6713f282'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate8::Pirate::precmd'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate7_1_1Pirate_1a46b726f347667822a67991b15333d1fa'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -list -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'multilineCommands'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -['sing'] -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py'; - sec-mem-desc-line = '37'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate7_1_1Pirate_1a6ffeb9d6e8a929f7d7cff0c1df922e7e'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'prompt'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'arrr> ' -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py'; - sec-mem-desc-line = '6'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate7_1_1Pirate_1ab1f2d5977969536c2c0c38258f05709c'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'settable'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'songcolor Color to ``sing`` in (red/blue/green/cyan/magenta, bold, underline)' -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py'; - sec-mem-desc-line = '40'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate7_1_1Pirate_1a58890119cccb37dceb5ac6b0576a40ba'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'songcolor'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'blue' -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py'; - sec-mem-desc-line = '39'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate7_8py_1a48b1905aeb2a7161ccfc99e5d80c50ca'; - sec-mem-ref-line = '42'; - sec-mem-ref-name = 'do_sing'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a50a1a2e07f16110d9b6808881774878e'; - sec-mem-ref-line = '42'; - sec-mem-ref-name = 'pirate8::Pirate::do_sing'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate7_1_1Pirate_1a29e9570c84681906e6242560f43407e1'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -list -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'terminators'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -Cmd.terminators+['...'] -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py'; - sec-mem-desc-line = '38'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - }; /* cp-section */ - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py'; - cp-fileline = '5'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-inheritancegraph = <<_EnD_oF_dEf_TeXt_ - node = { - node-id = 130; - node-label = 'pirate7::Pirate'; - node-link = { - node-link-id = 'classpirate7_1_1Pirate'; - }; - node-child = { - child-id = '131'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - node = { - node-id = 131; - node-label = 'cmd2::Cmd'; - node-link = { - node-link-id = 'classcmd2_1_1Cmd'; - }; - }; /* node */ - -_EnD_oF_dEf_TeXt_; - cp-collaborationgraph = <<_EnD_oF_dEf_TeXt_ - node = { - node-id = 132; - node-label = 'pirate7::Pirate'; - node-link = { - node-link-id = 'classpirate7_1_1Pirate'; - }; - node-child = { - child-id = '133'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - node = { - node-id = 133; - node-label = 'cmd2::Cmd'; - node-link = { - node-link-id = 'classcmd2_1_1Cmd'; - }; - }; /* node */ - -_EnD_oF_dEf_TeXt_; -}; /* class */ -class = { - cp-id = 'classpirate8_1_1Pirate'; - cp-name = 'pirate8::Pirate'; - cp-ref = { - ref-type = base; - ref-id = 'classcmd2_1_1Cmd'; - ref-prot = public; - ref-virt = non-virtual; - }; - cp-section = { - sec-kind = 'public-func'; - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate8_1_1Pirate_1a591ac95f64f46374f6c08101ea7fb3c3'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'default'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py'; - sec-mem-desc-line = '7'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1aea64b66ff75b5daaeef61a3dd583df99'; - sec-mem-ref-line = '868'; - sec-mem-ref-name = 'cmd2::Cmd::_default'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate8_1_1Pirate_1ac695c73a0ec7548823c18434e71fa930'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_drink'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py'; - sec-mem-desc-line = '12'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim Drown your sorrrows in rrrum. - -drink [n] - drink [n] barrel[s] o' rum.\endverbatim -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate8_8py_1ac873d3cc1b7bbafae76e2fd11bbcd609'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate7_8py_1a36c15ca3fd5f8d87411159745b39cfe2'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate7::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate6_8py_1a5a889a6a62da9c45d3ff03c426cd6c9f'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate6::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1aafe1692ad983467cd710537574b7a1e4'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate5::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ab593f89182e85630e8b982bb4378f514'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate4::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate3::Pirate::gold'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate8_1_1Pirate_1a66a92ca585ec86714f98099fa25b1dbc'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_loot'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py'; - sec-mem-desc-line = '9'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate8_8py_1ac873d3cc1b7bbafae76e2fd11bbcd609'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate7_8py_1a36c15ca3fd5f8d87411159745b39cfe2'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate7::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate6_8py_1a5a889a6a62da9c45d3ff03c426cd6c9f'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate6::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1aafe1692ad983467cd710537574b7a1e4'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate5::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ab593f89182e85630e8b982bb4378f514'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate4::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate3::Pirate::gold'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate8_1_1Pirate_1a833084dcd0c123717419882ec40d8d7f'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_quit'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py'; - sec-mem-desc-line = '33'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate8_1_1Pirate_1a50a1a2e07f16110d9b6808881774878e'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_sing'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py'; - sec-mem-desc-line = '42'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a9c7f8fd1e7909d18a0f1d8cebf6c1966'; - sec-mem-ref-line = '435'; - sec-mem-ref-name = 'cmd2::Cmd::colorize'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'cmd2_8py_1a863be2c5e3b9fdec03710fd550801c22'; - sec-mem-ref-line = '112'; - sec-mem-ref-name = 'cmd2::options'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate8_8py_1a008436a054ea9278453140b44059e91a'; - sec-mem-ref-line = '39'; - sec-mem-ref-name = 'songcolor'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate7_8py_1a58890119cccb37dceb5ac6b0576a40ba'; - sec-mem-ref-line = '39'; - sec-mem-ref-name = 'pirate7::Pirate::songcolor'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate8_1_1Pirate_1a12b9e8c2370171060fbc39780f6ab65e'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'do_yo'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py'; - sec-mem-desc-line = '49'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate8_1_1Pirate_1a4ee785f29217bca99bb0720108a5a441'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'postcmd'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py'; - sec-mem-desc-line = '25'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate3::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1aafe1692ad983467cd710537574b7a1e4'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate5::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate6_8py_1a5a889a6a62da9c45d3ff03c426cd6c9f'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate6::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ab593f89182e85630e8b982bb4378f514'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate4::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate7_8py_1a36c15ca3fd5f8d87411159745b39cfe2'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate7::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate8_8py_1ac873d3cc1b7bbafae76e2fd11bbcd609'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1a9fbdf2c85171048564a53b367bbf3fcd'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate3::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ac2d53ce13cc6eea50970138b28ea008e'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate4::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1a00dfc293b3c3d61b209143738fabb805'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate5::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate7_8py_1a27c913369358b5566f4ef81c6a2aaae8'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate7::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate8_8py_1a1e1d7e93f333c15b3245fabcfe939fc9'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate6_8py_1a20cd2f57129f1d841223123e279b451c'; - sec-mem-ref-line = '23'; - sec-mem-ref-name = 'pirate6::Pirate::initial_gold'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'cmd2::Cmd::onecmd_plus_hooks'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'function'; - sec-mem-id = 'classpirate8_1_1Pirate_1a9a7a8de91465be0e46e782bf6713f282'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'precmd'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py'; - sec-mem-desc-line = '22'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate2_8py_1aed1ea3a043e553b0cd6d1b9053e303eb'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate2::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1aa49bab8d18e2f2995e0da7c10c0258da'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate3::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ab593f89182e85630e8b982bb4378f514'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate4::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1aafe1692ad983467cd710537574b7a1e4'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate5::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate6_8py_1a5a889a6a62da9c45d3ff03c426cd6c9f'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate6::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate7_8py_1a36c15ca3fd5f8d87411159745b39cfe2'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'pirate7::Pirate::gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate8_8py_1ac873d3cc1b7bbafae76e2fd11bbcd609'; - sec-mem-ref-line = '5'; - sec-mem-ref-name = 'gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate3_8py_1a9fbdf2c85171048564a53b367bbf3fcd'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'pirate3::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate4_8py_1ac2d53ce13cc6eea50970138b28ea008e'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate4::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate5_8py_1a00dfc293b3c3d61b209143738fabb805'; - sec-mem-ref-line = '19'; - sec-mem-ref-name = 'pirate5::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate7_8py_1a27c913369358b5566f4ef81c6a2aaae8'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'pirate7::Pirate::initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate8_8py_1a1e1d7e93f333c15b3245fabcfe939fc9'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'initial_gold'; - }; - sec-mem-referenceto = { - sec-mem-ref-id = 'pirate6_8py_1a20cd2f57129f1d841223123e279b451c'; - sec-mem-ref-line = '23'; - sec-mem-ref-name = 'pirate6::Pirate::initial_gold'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'cmd2_8py_1ac188a434c9c7d5c939e971a3d42c1c63'; - sec-mem-ref-line = '766'; - sec-mem-ref-name = 'cmd2::Cmd::onecmd_plus_hooks'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate8_1_1Pirate_1a1e1d7e93f333c15b3245fabcfe939fc9'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'initial_gold'; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py'; - sec-mem-desc-line = '22'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a4ee785f29217bca99bb0720108a5a441'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a9a7a8de91465be0e46e782bf6713f282'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'precmd'; - }; - }; /* sec-member */ - }; /* cp-section */ - cp-section = { - sec-kind = 'public-static-attrib'; - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate8_1_1Pirate_1a0fa2b16f420ebf78ab78a44754a654d6'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'action'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -"store_true" -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py'; - sec-mem-desc-line = '47'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate8_1_1Pirate_1ae74a9f023b21dc42364e53c563bc29b3'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'default_to_shell'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -True -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py'; - sec-mem-desc-line = '36'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate8_1_1Pirate_1ac873d3cc1b7bbafae76e2fd11bbcd609'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -int -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'gold'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -3 -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py'; - sec-mem-desc-line = '5'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1ac695c73a0ec7548823c18434e71fa930'; - sec-mem-ref-line = '12'; - sec-mem-ref-name = 'do_drink'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a66a92ca585ec86714f98099fa25b1dbc'; - sec-mem-ref-line = '9'; - sec-mem-ref-name = 'do_loot'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a4ee785f29217bca99bb0720108a5a441'; - sec-mem-ref-line = '25'; - sec-mem-ref-name = 'postcmd'; - }; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a9a7a8de91465be0e46e782bf6713f282'; - sec-mem-ref-line = '22'; - sec-mem-ref-name = 'precmd'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate8_1_1Pirate_1aa31243fbf624c32a23346aefadeb2864'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'help'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -"How often to chant 'ho'" -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py'; - sec-mem-desc-line = '45'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate8_1_1Pirate_1a0e6a47a7565fdd6731f3861053e4061d'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -list -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'multilineCommands'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -['sing'] -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py'; - sec-mem-desc-line = '37'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate8_1_1Pirate_1a48024c70b707acf24f14bf3462c15961'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'prompt'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'arrr> ' -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py'; - sec-mem-desc-line = '6'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate8_1_1Pirate_1a0506e364ac02acd83bb1e655fb0fc0bc'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'settable'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'songcolor Color to ``sing`` in (red/blue/green/cyan/magenta, bold, underline)' -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py'; - sec-mem-desc-line = '40'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate8_1_1Pirate_1a008436a054ea9278453140b44059e91a'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'songcolor'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'blue' -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py'; - sec-mem-desc-line = '39'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-referenceby = { - sec-mem-ref-id = 'pirate8_8py_1a50a1a2e07f16110d9b6808881774878e'; - sec-mem-ref-line = '42'; - sec-mem-ref-name = 'do_sing'; - }; - }; /* sec-member */ - sec-member = { - sec-mem-kind = 'variable'; - sec-mem-id = 'classpirate8_1_1Pirate_1a0b757721c8cfc03458c8e5f252629582'; - sec-mem-virt = normal; - sec-mem-prot = public; - sec-mem-type = <<_EnD_oF_dEf_TeXt_ -list -_EnD_oF_dEf_TeXt_; - sec-mem-name = 'terminators'; - sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ -Cmd.terminators+['...'] -_EnD_oF_dEf_TeXt_; - sec-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py'; - sec-mem-desc-line = '38'; - sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* sec-member */ - }; /* cp-section */ - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py'; - cp-fileline = '5'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-inheritancegraph = <<_EnD_oF_dEf_TeXt_ - node = { - node-id = 134; - node-label = 'pirate8::Pirate'; - node-link = { - node-link-id = 'classpirate8_1_1Pirate'; - }; - node-child = { - child-id = '135'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - node = { - node-id = 135; - node-label = 'cmd2::Cmd'; - node-link = { - node-link-id = 'classcmd2_1_1Cmd'; - }; - }; /* node */ - -_EnD_oF_dEf_TeXt_; - cp-collaborationgraph = <<_EnD_oF_dEf_TeXt_ - node = { - node-id = 136; - node-label = 'pirate8::Pirate'; - node-link = { - node-link-id = 'classpirate8_1_1Pirate'; - }; - node-child = { - child-id = '137'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - node = { - node-id = 137; - node-label = 'cmd2::Cmd'; - node-link = { - node-link-id = 'classcmd2_1_1Cmd'; - }; - }; /* node */ - -_EnD_oF_dEf_TeXt_; -}; /* class */ -class = { - cp-id = 'classpirate_1_1Pirate'; - cp-name = 'pirate::Pirate'; - cp-ref = { - ref-type = base; - ref-id = 'classcmd_1_1Cmd'; - ref-prot = public; - ref-virt = non-virtual; - }; - cp-filename = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate.py'; - cp-fileline = '4'; - cp-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - cp-inheritancegraph = <<_EnD_oF_dEf_TeXt_ - node = { - node-id = 138; - node-label = 'pirate::Pirate'; - node-link = { - node-link-id = 'classpirate_1_1Pirate'; - }; - node-child = { - child-id = '139'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - node = { - node-id = 139; - node-label = 'Cmd'; - }; /* node */ - -_EnD_oF_dEf_TeXt_; - cp-collaborationgraph = <<_EnD_oF_dEf_TeXt_ - node = { - node-id = 140; - node-label = 'pirate::Pirate'; - node-link = { - node-link-id = 'classpirate_1_1Pirate'; - }; - node-child = { - child-id = '141'; - relation = public-inheritance; - }; /* node-child */ - }; /* node */ - node = { - node-id = 141; - node-label = 'Cmd'; - }; /* node */ - -_EnD_oF_dEf_TeXt_; -}; /* class */ -file = { - file-id = 'cmd2_8py'; - file-name = 'cmd2.py'; - func = { - func-member = { - func-mem-kind = 'function'; - func-mem-id = 'namespacecmd2_1a93001003cf51a72d1d6adaf5e3e22366'; - func-mem-virt = normal; - func-mem-prot = private; - func-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - func-mem-name = '_attr_get_'; - func-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - func-mem-desc-line = '98'; - func-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim Returns an attribute's value, or None (no error) if undefined. - Analagous to .get() for dictionaries. Useful when checking for - value of options that may not have been defined on a given - method.\endverbatim -_EnD_oF_dEf_TeXt_; - }; /* func-member */ - func-member = { - func-mem-kind = 'function'; - func-mem-id = 'namespacecmd2_1a0880940558f324b3958aedfc430f592d'; - func-mem-virt = normal; - func-mem-prot = public; - func-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - func-mem-name = 'cast'; - func-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - func-mem-desc-line = '1412'; - func-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim Tries to force a new value into the same type as the current.\endverbatim -_EnD_oF_dEf_TeXt_; - func-mem-referenceby = { - func-mem-ref-id = 'cmd2_8py_1a1587bec304ebe93070072d273da9bb31'; - func-mem-ref-line = '1000'; - func-mem-ref-name = 'cmd2::Cmd::do_set'; - }; - }; /* func-member */ - func-member = { - func-mem-kind = 'function'; - func-mem-id = 'namespacecmd2_1a9f1495f6c72f7d8c0dbb0f9f22029763'; - func-mem-virt = normal; - func-mem-prot = public; - func-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - func-mem-name = 'get_paste_buffer'; - func-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - func-mem-desc-line = '184'; - func-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-referenceby = { - func-mem-ref-id = 'cmd2_8py_1a9f1495f6c72f7d8c0dbb0f9f22029763'; - func-mem-ref-line = '198'; - func-mem-ref-name = 'cmd2::get_paste_buffer'; - }; - func-mem-referenceby = { - func-mem-ref-id = 'cmd2_8py_1a46d1bc05e01f5eced432f00c9934db88'; - func-mem-ref-line = '809'; - func-mem-ref-name = 'cmd2::Cmd::redirect_output'; - }; - func-mem-referenceby = { - func-mem-ref-id = 'cmd2_8py_1aa5aa0c16a66d0ec0510ac38f3cc00ad3'; - func-mem-ref-line = '336'; - func-mem-ref-name = 'cmd2::replace_with_file_contents'; - }; - }; /* func-member */ - func-member = { - func-mem-kind = 'function'; - func-mem-id = 'namespacecmd2_1a9f1495f6c72f7d8c0dbb0f9f22029763'; - func-mem-virt = normal; - func-mem-prot = public; - func-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - func-mem-name = 'get_paste_buffer'; - func-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - func-mem-desc-line = '198'; - func-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-referenceto = { - func-mem-ref-id = 'cmd2_8py_1a9f1495f6c72f7d8c0dbb0f9f22029763'; - func-mem-ref-line = '184'; - func-mem-ref-name = 'cmd2::get_paste_buffer'; - }; - }; /* func-member */ - func-member = { - func-mem-kind = 'function'; - func-mem-id = 'namespacecmd2_1ad4ac87ba068f9549b5a7735054df8065'; - func-mem-virt = normal; - func-mem-prot = public; - func-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - func-mem-name = 'ljust'; - func-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - func-mem-desc-line = '352'; - func-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-referenceby = { - func-mem-ref-id = 'cmd2_8py_1a4816ba13212f079e4b1e865d20041983'; - func-mem-ref-line = '982'; - func-mem-ref-name = 'cmd2::Cmd::do_show'; - }; - }; /* func-member */ - func-member = { - func-mem-kind = 'function'; - func-mem-id = 'namespacecmd2_1a863be2c5e3b9fdec03710fd550801c22'; - func-mem-virt = normal; - func-mem-prot = public; - func-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - func-mem-name = 'options'; - func-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - func-mem-desc-line = '112'; - func-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim Used as a decorator and passed a list of optparse-style options, - alters a cmd2 method to populate its ``opts`` argument from its - raw text argument. - - Example: transform - def do_something(self, arg): - - into - @options([make_option('-q', '--quick', action="store_true", - help="Makes things fast")], - "source dest") - def do_something(self, arg, opts): - if opts.quick: - self.fast_button = True - \endverbatim -_EnD_oF_dEf_TeXt_; - func-mem-referenceto = { - func-mem-ref-id = 'cmd2_8py_1a11d252497d81548f19771cddf0ca68fb'; - func-mem-ref-line = '86'; - func-mem-ref-name = 'cmd2::remaining_args'; - }; - func-mem-referenceby = { - func-mem-ref-id = 'cmd2_8py_1a5ccce52c26063115070d56b6f099223b'; - func-mem-ref-line = '1039'; - func-mem-ref-name = 'cmd2::Cmd::do_py'; - }; - func-mem-referenceby = { - func-mem-ref-id = 'pirate8_8py_1a50a1a2e07f16110d9b6808881774878e'; - func-mem-ref-line = '42'; - func-mem-ref-name = 'pirate8::Pirate::do_sing'; - }; - func-mem-referenceby = { - func-mem-ref-id = 'cmd2_8py_1a28cd403d962038aca658344673a5ab38'; - func-mem-ref-line = '946'; - func-mem-ref-name = 'cmd2::Cmd::select'; - }; - }; /* func-member */ - func-member = { - func-mem-kind = 'function'; - func-mem-id = 'namespacecmd2_1a11d252497d81548f19771cddf0ca68fb'; - func-mem-virt = normal; - func-mem-prot = public; - func-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - func-mem-name = 'remaining_args'; - func-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - func-mem-desc-line = '86'; - func-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim -Preserves the spacing originally in the argument after -the removal of options. - ->>> remaining_args('-f bar bar cow', ['bar', 'cow']) -'bar cow' -\endverbatim -_EnD_oF_dEf_TeXt_; - func-mem-referenceby = { - func-mem-ref-id = 'cmd2_8py_1a863be2c5e3b9fdec03710fd550801c22'; - func-mem-ref-line = '112'; - func-mem-ref-name = 'cmd2::options'; - }; - }; /* func-member */ - func-member = { - func-mem-kind = 'function'; - func-mem-id = 'namespacecmd2_1aa5aa0c16a66d0ec0510ac38f3cc00ad3'; - func-mem-virt = normal; - func-mem-prot = public; - func-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - func-mem-name = 'replace_with_file_contents'; - func-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - func-mem-desc-line = '336'; - func-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-referenceto = { - func-mem-ref-id = 'cmd2_8py_1a9f1495f6c72f7d8c0dbb0f9f22029763'; - func-mem-ref-line = '184'; - func-mem-ref-name = 'cmd2::get_paste_buffer'; - }; - }; /* func-member */ - func-member = { - func-mem-kind = 'function'; - func-mem-id = 'namespacecmd2_1aae88fcdb31e45b322ecdaf7df9922823'; - func-mem-virt = normal; - func-mem-prot = public; - func-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - func-mem-name = 'stubbornDict'; - func-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - func-mem-desc-line = '321'; - func-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-documentation = <<_EnD_oF_dEf_TeXt_ - @verbatim ->>> sorted(stubbornDict('cow a bovine\\nhorse an equine').items()) -[('cow', 'a bovine'), ('horse', 'an equine')] ->>> sorted(stubbornDict(['badger', 'porcupine a poky creature']).items()) -[('badger', ''), ('porcupine', 'a poky creature')] ->>> sorted(stubbornDict(turtle='has shell', frog='jumpy').items()) -[('frog', 'jumpy'), ('turtle', 'has shell')] -\endverbatim -_EnD_oF_dEf_TeXt_; - func-mem-referenceby = { - func-mem-ref-id = 'cmd2_8py_1a219b3f21c078f3b8158de67beae62da2'; - func-mem-ref-line = '291'; - func-mem-ref-name = 'cmd2::StubbornDict::__add__'; - }; - func-mem-referenceby = { - func-mem-ref-id = 'cmd2_8py_1a190b1b2bd8a914bafaab137c5b1276ea'; - func-mem-ref-line = '295'; - func-mem-ref-name = 'cmd2::StubbornDict::__radd__'; - }; - }; /* func-member */ - func-member = { - func-mem-kind = 'function'; - func-mem-id = 'namespacecmd2_1a514a20ceb8ab40dd89d2df2dd5ff87a0'; - func-mem-virt = normal; - func-mem-prot = public; - func-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - func-mem-name = 'write_to_paste_buffer'; - func-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - func-mem-desc-line = '192'; - func-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-referenceto = { - func-mem-ref-id = 'cmd2_8py_1a514a20ceb8ab40dd89d2df2dd5ff87a0'; - func-mem-ref-line = '200'; - func-mem-ref-name = 'cmd2::write_to_paste_buffer'; - }; - }; /* func-member */ - }; - var = { - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacecmd2_1a05ce8a1645f64208f969036f8621ddd2'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - var-mem-name = '__version__'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'0.6.4' -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - var-mem-desc-line = '45'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacecmd2_1a3f2a6eb75c58ca830028f18cf2851958'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-name = 'can_clip'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -False -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - var-mem-desc-line = '202'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacecmd2_1afd483925db6ff208624b8e5c0ae09271'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -list -_EnD_oF_dEf_TeXt_; - var-mem-name = 'options_defined'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -[] -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - var-mem-desc-line = '110'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacecmd2_1abb901de4eb2987589c68b4d895acd8c3'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - var-mem-name = 'pastebufferr'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -"""Redirecting to or from paste buffer requires %s -to be installed on operating system. -%s""" -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - var-mem-desc-line = '177'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacecmd2_1ab810fc3f05607c1e4311225b04591244'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - var-mem-name = 'teststring'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'Testing for presence of xclip.' -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - var-mem-desc-line = '227'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacecmd2_1a514a20ceb8ab40dd89d2df2dd5ff87a0'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-name = 'write_to_paste_buffer'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -get_paste_buffer -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - var-mem-desc-line = '200'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-referenceby = { - var-mem-ref-id = 'cmd2_8py_1a8b44f9a5a3197613178b4a8fb1804ef7'; - var-mem-ref-line = '830'; - var-mem-ref-name = 'cmd2::Cmd::restore_output'; - }; - var-mem-referenceby = { - var-mem-ref-id = 'cmd2_8py_1a514a20ceb8ab40dd89d2df2dd5ff87a0'; - var-mem-ref-line = '192'; - var-mem-ref-name = 'cmd2::write_to_paste_buffer'; - }; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacecmd2_1ae76e61704924b26b7ddb97fce8c384ef'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - var-mem-name = 'xclipproc'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -subprocess.Popen('xclip -sel clip', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE) -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - var-mem-desc-line = '228'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - }; - file-full-name = '/Users/amrogers/Developer/Projects/cmd2/cmd2.py'; - file-first-line = '1'; - file-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - file-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* file */ -file = { - file-id = 'conf_8py'; - file-name = 'conf.py'; - var = { - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespaceconf_1ac8ccf456b321bc9052c0691a173b6925'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - var-mem-name = 'copyright'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -u'2010, Catherine Devlin' -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/conf.py'; - var-mem-desc-line = '41'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespaceconf_1acfb345e27f5356b8778ab7b673e72556'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -list -_EnD_oF_dEf_TeXt_; - var-mem-name = 'exclude_trees'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -['_build'] -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/conf.py'; - var-mem-desc-line = '67'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespaceconf_1a540efa67c53e84c1c353c1df2e37e39c'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -list -_EnD_oF_dEf_TeXt_; - var-mem-name = 'extensions'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo'] -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/conf.py'; - var-mem-desc-line = '25'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespaceconf_1acb91fefcfd3aa6f3529fa682ab834832'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -list -_EnD_oF_dEf_TeXt_; - var-mem-name = 'html_static_path'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -['_static'] -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/conf.py'; - var-mem-desc-line = '123'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespaceconf_1a7f1b143ff25817758abd21a7db110510'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - var-mem-name = 'html_theme'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'default' -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/conf.py'; - var-mem-desc-line = '94'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespaceconf_1a74d707b34bba474e9057f383ad01de83'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - var-mem-name = 'htmlhelp_basename'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'cmd2doc' -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/conf.py'; - var-mem-desc-line = '161'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespaceconf_1a9d1981d8fc4e2521d62ffc607e3ef8f2'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -dictionary -_EnD_oF_dEf_TeXt_; - var-mem-name = 'intersphinx_mapping'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -{'http://docs.python.org/': None} -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/conf.py'; - var-mem-desc-line = '198'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespaceconf_1a00b7896473527f894006130b1113cb4b'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -list -_EnD_oF_dEf_TeXt_; - var-mem-name = 'latex_documents'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -[ - ('index', 'cmd2.tex', u'cmd2 Documentation', - u'Catherine Devlin', 'manual'), -] -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/conf.py'; - var-mem-desc-line = '174'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespaceconf_1ae22a29d94a222730836db739d6dbd71e'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - var-mem-name = 'master_doc'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'index' -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/conf.py'; - var-mem-desc-line = '37'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespaceconf_1aa2c6aefbed1597a70cfb45a760e5977c'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - var-mem-name = 'project'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -u'cmd2' -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/conf.py'; - var-mem-desc-line = '40'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespaceconf_1afa4e4ed164119ef5f4656e9554ed1f1b'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - var-mem-name = 'pygments_style'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'sphinx' -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/conf.py'; - var-mem-desc-line = '84'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespaceconf_1a90a599726178800ad5a42f6bc2cd5208'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - var-mem-name = 'release'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'0.6.0' -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/conf.py'; - var-mem-desc-line = '50'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespaceconf_1a1e0ba7f4cb1d50fa831f1236a77d60f6'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - var-mem-name = 'source_suffix'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'.rst' -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/conf.py'; - var-mem-desc-line = '31'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespaceconf_1af50129dcc1f90655539f025595a3093b'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -list -_EnD_oF_dEf_TeXt_; - var-mem-name = 'templates_path'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -['_templates'] -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/conf.py'; - var-mem-desc-line = '28'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespaceconf_1a93370314d5e59e93dabf67ca4906c634'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - var-mem-name = 'version'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'0.6.0' -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/conf.py'; - var-mem-desc-line = '48'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - }; - file-full-name = '/Users/amrogers/Developer/Projects/cmd2/docs/conf.py'; - file-first-line = '1'; - file-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - file-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* file */ -file = { - file-id = 'fileutil_8py'; - file-name = 'fileutil.py'; - var = { - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacefileutil_1a8eba55ef4caa4c8d11e8aa2e235b9158'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - var-mem-name = 'stats'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -os.stat(fullfilename) -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/fileutil.py'; - var-mem-desc-line = '6'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - }; - file-full-name = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/fileutil.py'; - file-first-line = '1'; - file-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - file-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* file */ -file = { - file-id = 'graph_8py'; - file-name = 'graph.py'; - func = { - func-member = { - func-mem-kind = 'function'; - func-mem-id = 'namespacegraph_1a5c14f78e77b679d186ec0f801701c679'; - func-mem-virt = normal; - func-mem-prot = public; - func-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - func-mem-name = 'label'; - func-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/graph.py'; - func-mem-desc-line = '5'; - func-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-referenceby = { - func-mem-ref-id = 'graph_8py_1aeb376d33cefa83d8d00f907473593f8c'; - func-mem-ref-line = '10'; - func-mem-ref-name = 'graph::line'; - }; - }; /* func-member */ - func-member = { - func-mem-kind = 'function'; - func-mem-id = 'namespacegraph_1aeb376d33cefa83d8d00f907473593f8c'; - func-mem-virt = normal; - func-mem-prot = public; - func-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - func-mem-name = 'line'; - func-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/graph.py'; - func-mem-desc-line = '10'; - func-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-referenceto = { - func-mem-ref-id = 'graph_8py_1a5c14f78e77b679d186ec0f801701c679'; - func-mem-ref-line = '5'; - func-mem-ref-name = 'graph::label'; - }; - func-mem-referenceby = { - func-mem-ref-id = 'graph_8py_1ae6560a9f65fcfa61b262d0b05ec246ff'; - func-mem-ref-line = '21'; - func-mem-ref-name = 'graph::tech'; - }; - }; /* func-member */ - func-member = { - func-mem-kind = 'function'; - func-mem-id = 'namespacegraph_1ae6560a9f65fcfa61b262d0b05ec246ff'; - func-mem-virt = normal; - func-mem-prot = public; - func-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - func-mem-name = 'tech'; - func-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/graph.py'; - func-mem-desc-line = '21'; - func-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-referenceto = { - func-mem-ref-id = 'graph_8py_1aeb376d33cefa83d8d00f907473593f8c'; - func-mem-ref-line = '10'; - func-mem-ref-name = 'graph::line'; - }; - }; /* func-member */ - }; - file-full-name = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/graph.py'; - file-first-line = '1'; - file-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - file-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* file */ -file = { - file-id = 'pirate_8py'; - file-name = 'pirate.py'; - var = { - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacepirate_1a92146315bbb56a63c7f2ae9b46561b18'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - var-mem-name = 'pirate'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -Pirate() -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate.py'; - var-mem-desc-line = '6'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - }; - file-full-name = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate.py'; - file-first-line = '1'; - file-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - file-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* file */ -file = { - file-id = 'pirate2_8py'; - file-name = 'pirate2.py'; - var = { - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacepirate2_1ae0ca172e472e9d9478fdba1294ede7ee'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - var-mem-name = 'pirate'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -Pirate() -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate2.py'; - var-mem-desc-line = '17'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - }; - file-full-name = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate2.py'; - file-first-line = '1'; - file-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - file-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* file */ -file = { - file-id = 'pirate3_8py'; - file-name = 'pirate3.py'; - var = { - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacepirate3_1a4f8be00ef380d4fa4ead52dd857b34e5'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - var-mem-name = 'pirate'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -Pirate() -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate3.py'; - var-mem-desc-line = '20'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - }; - file-full-name = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate3.py'; - file-first-line = '1'; - file-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - file-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* file */ -file = { - file-id = 'pirate4_8py'; - file-name = 'pirate4.py'; - var = { - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacepirate4_1a228257dfa354f8adc01ebf8b0057e3ad'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - var-mem-name = 'pirate'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -Pirate() -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate4.py'; - var-mem-desc-line = '26'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - }; - file-full-name = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate4.py'; - file-first-line = '1'; - file-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - file-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* file */ -file = { - file-id = 'pirate5_8py'; - file-name = 'pirate5.py'; - var = { - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacepirate5_1ac04ea60ccda35588c423686756ad4677'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - var-mem-name = 'pirate'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -Pirate() -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate5.py'; - var-mem-desc-line = '34'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - }; - file-full-name = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate5.py'; - file-first-line = '1'; - file-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - file-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* file */ -file = { - file-id = 'pirate6_8py'; - file-name = 'pirate6.py'; - var = { - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacepirate6_1a869da0b1ca00a91f7e5cbc6a6371f38a'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - var-mem-name = 'pirate'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -Pirate() -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate6.py'; - var-mem-desc-line = '38'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - }; - file-full-name = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate6.py'; - file-first-line = '1'; - file-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - file-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* file */ -file = { - file-id = 'pirate7_8py'; - file-name = 'pirate7.py'; - var = { - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacepirate7_1a7d4fc4e2e36d0fd504f5524d8b395449'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - var-mem-name = 'pirate'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -Pirate() -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py'; - var-mem-desc-line = '45'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - }; - file-full-name = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py'; - file-first-line = '1'; - file-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - file-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* file */ -file = { - file-id = 'pirate8_8py'; - file-name = 'pirate8.py'; - var = { - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacepirate8_1a2a79aa1145909c491793c5da051fe09a'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - var-mem-name = 'pirate'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -Pirate() -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py'; - var-mem-desc-line = '56'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - }; - file-full-name = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py'; - file-first-line = '1'; - file-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - file-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* file */ -file = { - file-id = 'schematic_8py'; - file-name = 'schematic.py'; - func = { - func-member = { - func-mem-kind = 'function'; - func-mem-id = 'namespaceschematic_1a949cac8aafe622e97cd437ffadbf07af'; - func-mem-virt = normal; - func-mem-prot = public; - func-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - func-mem-name = 'rectangle'; - func-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/schematic.py'; - func-mem-desc-line = '8'; - func-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* func-member */ - }; - var = { - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespaceschematic_1a1cb5a35ce77f5d734e548d2370e95c0b'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -int -_EnD_oF_dEf_TeXt_; - var-mem-name = 'pensize'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -10 -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/schematic.py'; - var-mem-desc-line = '4'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - }; - file-full-name = '/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/schematic.py'; - file-first-line = '1'; - file-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - file-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* file */ -file = { - file-id = 'example_8py'; - file-name = 'example.py'; - var = { - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespaceexample_1a067d058cce4025d9c13742cbc474e211'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - var-mem-name = 'c'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -CmdLineApp() -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/example/example.py'; - var-mem-desc-line = '34'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - }; - file-full-name = '/Users/amrogers/Developer/Projects/cmd2/example/example.py'; - file-first-line = '1'; - file-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - file-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* file */ -file = { - file-id = 'ignoreBug_8py'; - file-name = 'ignoreBug.py'; - var = { - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespaceignoreBug_1a1ccc5c6ff70b8661b4a61bc9cbeebe5a'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -tuple -_EnD_oF_dEf_TeXt_; - var-mem-name = 'parser'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -Word(printables) -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/ignoreBug.py'; - var-mem-desc-line = '4'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespaceignoreBug_1acf61c857d11f34ac14b279d2712bc8e5'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - var-mem-name = 'teststr'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'please /* ignoreme: | oops */ findme: | kthx' -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/ignoreBug.py'; - var-mem-desc-line = '3'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - }; - file-full-name = '/Users/amrogers/Developer/Projects/cmd2/ignoreBug.py'; - file-first-line = '1'; - file-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - file-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* file */ -file = { - file-id = 'setup_8py'; - file-name = 'setup.py'; - func = { - func-member = { - func-mem-kind = 'function'; - func-mem-id = 'namespacesetup_1abf9d3e0287e770123ae15c37ce1173e5'; - func-mem-virt = normal; - func-mem-prot = public; - func-mem-type = <<_EnD_oF_dEf_TeXt_ -def -_EnD_oF_dEf_TeXt_; - func-mem-name = 'find_packages'; - func-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/setup.py'; - func-mem-desc-line = '6'; - func-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - func-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* func-member */ - }; - var = { - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacesetup_1a7b92894168460f935bc49467954c4a92'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - var-mem-name = 'author'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'Catherine Devlin' -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/setup.py'; - var-mem-desc-line = '18'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacesetup_1a4ead8e1ca45242906fde7d5489f3beaa'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - var-mem-name = 'author_email'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'catherine.devlin@gmail.com' -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/setup.py'; - var-mem-desc-line = '19'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacesetup_1aa6d1b3ef82314b74854a1a1a473aadbf'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -list -_EnD_oF_dEf_TeXt_; - var-mem-name = 'classifiers'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -[ - 'Development Status :: 4 - Beta', - 'Environment :: Console', - 'Operating System :: OS Independent', - 'Intended Audience :: Developers', - 'Intended Audience :: System Administrators', - 'Programming Language :: Python', - 'License :: OSI Approved :: MIT License', - 'Topic :: Software Development :: Libraries :: Python Modules', - ] -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/setup.py'; - var-mem-desc-line = '51'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacesetup_1a4ad612547892c74be7035043265eb65c'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - var-mem-name = 'description'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -"Extra features for standard library's cmd module" -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/setup.py'; - var-mem-desc-line = '20'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacesetup_1a63491535b376b15204c70db3fe9924d2'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -list -_EnD_oF_dEf_TeXt_; - var-mem-name = 'install_requires'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -['pyparsing>=1.5.6'] -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/setup.py'; - var-mem-desc-line = '10'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacesetup_1a97e6300ec1966f2580ee08f1f55e2f46'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - var-mem-name = 'keywords'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'command prompt console cmd' -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/setup.py'; - var-mem-desc-line = '22'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacesetup_1a22ada03d1aaa82c1c9c27d0ae25da2b7'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - var-mem-name = 'license'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'MIT' -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/setup.py'; - var-mem-desc-line = '21'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacesetup_1a718ebc1d14d8aaf7bf72092d219f19fa'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - var-mem-name = 'long_description'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -"""Enhancements for standard library's cmd module. - -Drop-in replacement adds several features for command-prompt tools: - - * Searchable command history (commands: "hi", "li", "run") - * Load commands from file, save to file, edit commands in file - * Multi-line commands - * Case-insensitive commands - * Special-character shortcut commands (beyond cmd's "@" and "!") - * Settable environment parameters - * Parsing commands with flags - * > (filename), >> (filename) redirect output to file - * < (filename) gets input from file - * bare >, >>, < redirect to/from paste buffer - * accepts abbreviated commands when unambiguous - * `py` enters interactive Python console - * test apps against sample session transcript (see example/example.py) - -Useable without modification anywhere cmd is used; simply import cmd2.Cmd in place of cmd.Cmd. - -Running `2to3 ` against ``cmd2.py`` -generates working, Python3-based code. - -See docs at http://packages.python.org/cmd2/ -""" -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/setup.py'; - var-mem-desc-line = '25'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacesetup_1a4b28e5b21e957c451ff3aa28f58c6383'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - var-mem-name = 'name'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -"cmd2" -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/setup.py'; - var-mem-desc-line = '12'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacesetup_1ac5fe8cd1e8f4b711518bb89b57cd2baa'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -list -_EnD_oF_dEf_TeXt_; - var-mem-name = 'py_modules'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -["cmd2"] -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/setup.py'; - var-mem-desc-line = '14'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacesetup_1a7c3763764f99123690822c047e74c36e'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - var-mem-name = 'url'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -'http://packages.python.org/cmd2/' -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/setup.py'; - var-mem-desc-line = '23'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacesetup_1a82e52b3a26189d7e3bdbf2bc02b5d721'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-name = 'use_2to3'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -True, -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/setup.py'; - var-mem-desc-line = '15'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - var-member = { - var-mem-kind = 'variable'; - var-mem-id = 'namespacesetup_1a8b86ddd5b5591d99de08e584197a53d9'; - var-mem-virt = normal; - var-mem-prot = public; - var-mem-type = <<_EnD_oF_dEf_TeXt_ -string -_EnD_oF_dEf_TeXt_; - var-mem-name = 'version'; - var-mem-initializer = <<_EnD_oF_dEf_TeXt_ -"0.6.4" -_EnD_oF_dEf_TeXt_; - var-mem-desc-file = '/Users/amrogers/Developer/Projects/cmd2/setup.py'; - var-mem-desc-line = '13'; - var-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - var-mem-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - }; /* var-member */ - }; - file-full-name = '/Users/amrogers/Developer/Projects/cmd2/setup.py'; - file-first-line = '1'; - file-briefdesc = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; - file-documentation = <<_EnD_oF_dEf_TeXt_ - -_EnD_oF_dEf_TeXt_; -}; /* file */ diff --git a/doxygen/html/annotated.html b/doxygen/html/annotated.html deleted file mode 100644 index e6cb00c..0000000 --- a/doxygen/html/annotated.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - -Cmd2: Class List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- - - - - - - diff --git a/doxygen/html/bc_s.png b/doxygen/html/bc_s.png deleted file mode 100644 index e401862..0000000 Binary files a/doxygen/html/bc_s.png and /dev/null differ diff --git a/doxygen/html/classcmd2_1_1Borg-members.html b/doxygen/html/classcmd2_1_1Borg-members.html deleted file mode 100644 index e00c751..0000000 --- a/doxygen/html/classcmd2_1_1Borg-members.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::Borg Member List
-
-
-This is the complete list of members for cmd2::Borg, including all inherited members. - - -
__new__cmd2::Borg
_shared_statecmd2::Borg [private, static]
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1Borg.html b/doxygen/html/classcmd2_1_1Borg.html deleted file mode 100644 index fe9f27b..0000000 --- a/doxygen/html/classcmd2_1_1Borg.html +++ /dev/null @@ -1,218 +0,0 @@ - - - - -Cmd2: cmd2::Borg Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
cmd2::Borg Class Reference
-
-
-
-Inheritance diagram for cmd2::Borg:
-
-
- - -cmd2::OutputTrap - -
- -

List of all members.

- - - - - -

-Public Member Functions

def __new__

-Static Private Attributes

dictionary _shared_state = {}
-

Detailed Description

-
All instances of any Borg subclass will share state.
-from Python Cookbook, 2nd Ed., recipe 6.16
-

Definition at line 1450 of file cmd2.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Borg::__new__ ( cls,
 a,
 k 
)
-
-
- -

Definition at line 1454 of file cmd2.py.

-
01454 
-01455     def __new__(cls, *a, **k):
-01456         obj = object.__new__(cls, *a, **k)
-01457         obj.__dict__ = cls._shared_state
-        return obj
-
-
-
-

Member Data Documentation

- -
-
- - - - -
dictionary cmd2::Borg::_shared_state = {} [static, private]
-
-
- -

Definition at line 1453 of file cmd2.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1Borg.png b/doxygen/html/classcmd2_1_1Borg.png deleted file mode 100644 index 962195b..0000000 Binary files a/doxygen/html/classcmd2_1_1Borg.png and /dev/null differ diff --git a/doxygen/html/classcmd2_1_1Borg__inherit__graph.dot b/doxygen/html/classcmd2_1_1Borg__inherit__graph.dot deleted file mode 100644 index 3192810..0000000 --- a/doxygen/html/classcmd2_1_1Borg__inherit__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{cmd2::Borg\n|- _shared_state\l|+ __new__()\l}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node2 [label="{cmd2::OutputTrap\n|+ contents\l+ old_stdout\l|+ __init__()\l+ read()\l+ tearDown()\l+ write()\l}",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1OutputTrap.html"]; -} diff --git a/doxygen/html/classcmd2_1_1Borg__inherit__graph.md5 b/doxygen/html/classcmd2_1_1Borg__inherit__graph.md5 deleted file mode 100644 index a44e6d6..0000000 --- a/doxygen/html/classcmd2_1_1Borg__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -bd995a0ceec3c0e68feac6a2f6cae442 \ No newline at end of file diff --git a/doxygen/html/classcmd2_1_1Cmd-members.html b/doxygen/html/classcmd2_1_1Cmd-members.html deleted file mode 100644 index 3083169..0000000 --- a/doxygen/html/classcmd2_1_1Cmd-members.html +++ /dev/null @@ -1,242 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::Cmd Member List
-
-
-This is the complete list of members for cmd2::Cmd, including all inherited members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
__init__cmd2::Cmd
_cmdloopcmd2::Cmd [private]
_defaultcmd2::Cmd [private]
_init_parsercmd2::Cmd [private]
_STOP_AND_EXITcmd2::Cmd [private, static]
_STOP_SCRIPT_NO_EXITcmd2::Cmd [private, static]
abbrevcmd2::Cmd [static]
blankLinesAllowedcmd2::Cmd [static]
blankLineTerminationParsercmd2::Cmd
blankLineTerminatorcmd2::Cmd
case_insensitivecmd2::Cmd [static]
cmdloopcmd2::Cmd
colorcodescmd2::Cmd [static]
colorizecmd2::Cmd
colorscmd2::Cmd [static]
commentGrammarscmd2::Cmd [static]
commentInProgresscmd2::Cmd [static]
complete_statementcmd2::Cmd
continuation_promptcmd2::Cmd [static]
continuation_promptcmd2::Cmd
current_script_dircmd2::Cmd [static]
debugcmd2::Cmd [static]
default_file_namecmd2::Cmd [static]
default_to_shellcmd2::Cmd [static]
defaultExtensioncmd2::Cmd [static]
do__loadcmd2::Cmd [static]
do__relative_loadcmd2::Cmd
do_cmdenvironmentcmd2::Cmd
do_edcmd2::Cmd
do_editcmd2::Cmd [static]
do_eofcmd2::Cmd [static]
do_EOFcmd2::Cmd
do_exitcmd2::Cmd [static]
do_helpcmd2::Cmd
do_hicmd2::Cmd [static]
do_historycmd2::Cmd
do_lcmd2::Cmd [static]
do_licmd2::Cmd [static]
do_listcmd2::Cmd
do_loadcmd2::Cmd
do_pausecmd2::Cmd
do_pycmd2::Cmd
do_qcmd2::Cmd [static]
do_quitcmd2::Cmd
do_rcmd2::Cmd [static]
do_runcmd2::Cmd
do_savecmd2::Cmd
do_setcmd2::Cmd
do_shellcmd2::Cmd
do_shortcutscmd2::Cmd
do_showcmd2::Cmd
echocmd2::Cmd [static]
editorcmd2::Cmd [static]
editorcmd2::Cmd [static]
excludeFromHistorycmd2::Cmd [static]
feedback_to_outputcmd2::Cmd [static]
fileimportcmd2::Cmd
func_namedcmd2::Cmd
helpcmd2::Cmd [static]
historycmd2::Cmd
initial_stdoutcmd2::Cmd
inputParsercmd2::Cmd
introcmd2::Cmd
kept_statecmd2::Cmd [static]
kept_syscmd2::Cmd
keywordscmd2::Cmd
last_matchingcmd2::Cmd
lastcmdcmd2::Cmd
legalCharscmd2::Cmd [static]
locals_in_pycmd2::Cmd [static]
multilineCommandcmd2::Cmd
multilineCommandscmd2::Cmd [static]
multilineParsercmd2::Cmd
noSpecialParsecmd2::Cmd [static]
old_completercmd2::Cmd
onecmdcmd2::Cmd
onecmd_plus_hookscmd2::Cmd
parsedcmd2::Cmd
parsercmd2::Cmd
perrorcmd2::Cmd
pfeedbackcmd2::Cmd
postparsecmd2::Cmd
postparsing_postcmdcmd2::Cmd
postparsing_precmdcmd2::Cmd
poutputcmd2::Cmd
prefixParsercmd2::Cmd [static]
preparsecmd2::Cmd
promptcmd2::Cmd
pseudo_raw_inputcmd2::Cmd
pystatecmd2::Cmd
quietcmd2::Cmd [static]
read_file_or_urlcmd2::Cmd
redirectcmd2::Cmd
redirect_outputcmd2::Cmd
redirectorcmd2::Cmd [static]
reserved_wordscmd2::Cmd [static]
restore_outputcmd2::Cmd
run_commands_at_invocationcmd2::Cmd
runTranscriptTestscmd2::Cmd
saveparsercmd2::Cmd [static]
selectcmd2::Cmd
settablecmd2::Cmd [static]
shortcutscmd2::Cmd [static]
shortcutscmd2::Cmd
singleLineParsercmd2::Cmd
stdincmd2::Cmd
stdoutcmd2::Cmd
terminatorscmd2::Cmd [static]
timingcmd2::Cmd [static]
urlrecmd2::Cmd [static]
use_rawinputcmd2::Cmd
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1Cmd.html b/doxygen/html/classcmd2_1_1Cmd.html deleted file mode 100644 index ec17cf5..0000000 --- a/doxygen/html/classcmd2_1_1Cmd.html +++ /dev/null @@ -1,3767 +0,0 @@ - - - - -Cmd2: cmd2::Cmd Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
- -
-
-Inheritance diagram for cmd2::Cmd:
-
-
- - -example::CmdLineApp -pirate6::Pirate -pirate7::Pirate -pirate8::Pirate - -
- -

List of all members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

def __init__
def cmdloop
def colorize
def complete_statement
def do__relative_load
def do_cmdenvironment
def do_ed
def do_EOF
def do_help
def do_history
def do_list
def do_load
def do_pause
def do_py
def do_quit
def do_run
def do_save
def do_set
def do_shell
def do_shortcuts
def do_show
def fileimport
def func_named
def last_matching
def onecmd
def onecmd_plus_hooks
def parsed
def perror
def pfeedback
def postparse
def postparsing_postcmd
def postparsing_precmd
def poutput
def preparse
def pseudo_raw_input
def read_file_or_url
def redirect_output
def restore_output
def run_commands_at_invocation
def runTranscriptTests
def select

-Public Attributes

 blankLineTerminationParser
 blankLineTerminator
 continuation_prompt
 history
 initial_stdout
 inputParser
 intro
 kept_sys
 keywords
 lastcmd
 multilineCommand
 multilineParser
 old_completer
 parser
 prompt
 pystate
 redirect
 shortcuts
 singleLineParser
 stdin
 stdout
 use_rawinput

-Static Public Attributes

 abbrev = True
 blankLinesAllowed = False
 case_insensitive = True
dictionary colorcodes
tuple colors = (platform.system() != 'Windows')
tuple commentGrammars = pyparsing.Or([pyparsing.pythonStyleComment, pyparsing.cStyleComment])
tuple commentInProgress = pyparsing.Literal('/*')
string continuation_prompt = '> '
 current_script_dir = None
 debug = False
string default_file_name = 'command.txt'
 default_to_shell = False
string defaultExtension = 'txt'
 do__load = do_load
 do_edit = do_ed
 do_eof = do_EOF
 do_exit = do_quit
 do_hi = do_history
 do_l = do_list
 do_li = do_list
 do_q = do_quit
 do_r = do_run
 echo = False
tuple editor = os.environ.get('EDITOR')
string editor = 'notepad'
string excludeFromHistory = '''run r list l history hi ed edit li eof'''
 feedback_to_output = False
string help = "describe function of parameter"
 kept_state = None
string legalChars = u'!#$%.:?@_'
 locals_in_py = True
list multilineCommands = []
string noSpecialParse = 'set ed edit exit'
tuple prefixParser = pyparsing.Empty()
 quiet = False
string redirector = '>'
list reserved_words = []
tuple saveparser
tuple settable
dictionary shortcuts = {'?': 'help', '!': 'shell', '@': 'load', '@@': '_relative_load'}
list terminators = [';']
 timing = False
tuple urlre = re.compile('(https?://[-\\w\\./]+)')

-Private Member Functions

def _cmdloop
def _default
def _init_parser

-Static Private Attributes

 _STOP_AND_EXIT = True
int _STOP_SCRIPT_NO_EXIT = 999
-

Detailed Description

-
-

Definition at line 361 of file cmd2.py.

-

Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::__init__ ( self,
 args,
 kwargs 
)
-
-
- -

Definition at line 469 of file cmd2.py.

-
00469 
-00470     def __init__(self, *args, **kwargs):        
-00471         cmd.Cmd.__init__(self, *args, **kwargs)
-00472         self.initial_stdout = sys.stdout
-00473         self.history = History()
-00474         self.pystate = {}
-00475         self.shortcuts = sorted(self.shortcuts.items(), reverse=True)
-00476         self.keywords = self.reserved_words + [fname[3:] for fname in dir(self) 
-00477                                                if fname.startswith('do_')]            
-00478         self._init_parser()
-            
-
-
-
-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::_cmdloop ( self,
 intro = None 
) [private]
-
-
-
Repeatedly issue a prompt, accept input, parse an initial prefix
-off the received input, and dispatch to action methods, passing them
-the remainder of the line as argument.
-
-

Definition at line 895 of file cmd2.py.

- -

Referenced by cmdloop().

-
00895 
-00896     def _cmdloop(self, intro=None):
-00897         """Repeatedly issue a prompt, accept input, parse an initial prefix
-00898         off the received input, and dispatch to action methods, passing them
-00899         the remainder of the line as argument.
-00900         """
-00901 
-00902         # An almost perfect copy from Cmd; however, the pseudo_raw_input portion
-00903         # has been split out so that it can be called separately
-00904         
-00905         self.preloop()
-00906         if self.use_rawinput and self.completekey:
-00907             try:
-00908                 import readline
-00909                 self.old_completer = readline.get_completer()
-00910                 readline.set_completer(self.complete)
-00911                 readline.parse_and_bind(self.completekey+": complete")
-00912             except ImportError:
-00913                 pass
-00914         try:
-00915             if intro is not None:
-00916                 self.intro = intro
-00917             if self.intro:
-00918                 self.stdout.write(str(self.intro)+"\n")
-00919             stop = None
-00920             while not stop:
-00921                 if self.cmdqueue:
-00922                     line = self.cmdqueue.pop(0)
-00923                 else:
-00924                     line = self.pseudo_raw_input(self.prompt)
-00925                 if (self.echo) and (isinstance(self.stdin, file)):
-00926                     self.stdout.write(line + '\n')
-00927                 stop = self.onecmd_plus_hooks(line)
-00928             self.postloop()
-00929         finally:
-00930             if self.use_rawinput and self.completekey:
-00931                 try:
-00932                     import readline
-00933                     readline.set_completer(self.old_completer)
-00934                 except ImportError:
-00935                     pass    
-00936             return stop
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::_default ( self,
 statement 
) [private]
-
-
- -

Definition at line 868 of file cmd2.py.

- -

References pirate6::Pirate::default(), pirate8::Pirate::default(), pirate7::Pirate::default(), default_to_shell, and postparsing_postcmd().

-
00868 
-00869     def _default(self, statement):
-00870         arg = statement.full_parsed_statement()
-00871         if self.default_to_shell:
-00872             result = os.system(arg)
-00873             if not result:
-00874                 return self.postparsing_postcmd(None)
-00875         return self.postparsing_postcmd(self.default(arg))
-
-
-
-
- -
-
- - - - - - - - -
def cmd2::Cmd::_init_parser ( self) [private]
-
-
- -

Definition at line 493 of file cmd2.py.

-
00493 
-00494     def _init_parser(self):
-00495         r'''
-00496         >>> c = Cmd()
-00497         >>> c.multilineCommands = ['multiline']
-00498         >>> c.case_insensitive = True
-00499         >>> c._init_parser()
-00500         >>> print (c.parser.parseString('').dump())
-00501         []
-00502         >>> print (c.parser.parseString('').dump())
-00503         []        
-00504         >>> print (c.parser.parseString('/* empty command */').dump())
-00505         []        
-00506         >>> print (c.parser.parseString('plainword').dump())
-00507         ['plainword', '']
-00508         - command: plainword
-00509         - statement: ['plainword', '']
-00510           - command: plainword        
-00511         >>> print (c.parser.parseString('termbare;').dump())
-00512         ['termbare', '', ';', '']
-00513         - command: termbare
-00514         - statement: ['termbare', '', ';']
-00515           - command: termbare
-00516           - terminator: ;
-00517         - terminator: ;        
-00518         >>> print (c.parser.parseString('termbare; suffx').dump())
-00519         ['termbare', '', ';', 'suffx']
-00520         - command: termbare
-00521         - statement: ['termbare', '', ';']
-00522           - command: termbare
-00523           - terminator: ;
-00524         - suffix: suffx
-00525         - terminator: ;        
-00526         >>> print (c.parser.parseString('barecommand').dump())
-00527         ['barecommand', '']
-00528         - command: barecommand
-00529         - statement: ['barecommand', '']
-00530           - command: barecommand
-00531         >>> print (c.parser.parseString('COMmand with args').dump())
-00532         ['command', 'with args']
-00533         - args: with args
-00534         - command: command
-00535         - statement: ['command', 'with args']
-00536           - args: with args
-00537           - command: command
-00538         >>> print (c.parser.parseString('command with args and terminator; and suffix').dump())
-00539         ['command', 'with args and terminator', ';', 'and suffix']
-00540         - args: with args and terminator
-00541         - command: command
-00542         - statement: ['command', 'with args and terminator', ';']
-00543           - args: with args and terminator
-00544           - command: command
-00545           - terminator: ;
-00546         - suffix: and suffix
-00547         - terminator: ;
-00548         >>> print (c.parser.parseString('simple | piped').dump())
-00549         ['simple', '', '|', ' piped']
-00550         - command: simple
-00551         - pipeTo:  piped
-00552         - statement: ['simple', '']
-00553           - command: simple
-00554         >>> print (c.parser.parseString('double-pipe || is not a pipe').dump())
-00555         ['double', '-pipe || is not a pipe']
-00556         - args: -pipe || is not a pipe
-00557         - command: double
-00558         - statement: ['double', '-pipe || is not a pipe']
-00559           - args: -pipe || is not a pipe
-00560           - command: double
-00561         >>> print (c.parser.parseString('command with args, terminator;sufx | piped').dump())
-00562         ['command', 'with args, terminator', ';', 'sufx', '|', ' piped']
-00563         - args: with args, terminator
-00564         - command: command
-00565         - pipeTo:  piped
-00566         - statement: ['command', 'with args, terminator', ';']
-00567           - args: with args, terminator
-00568           - command: command
-00569           - terminator: ;
-00570         - suffix: sufx
-00571         - terminator: ;
-00572         >>> print (c.parser.parseString('output into > afile.txt').dump())
-00573         ['output', 'into', '>', 'afile.txt']
-00574         - args: into
-00575         - command: output
-00576         - output: >
-00577         - outputTo: afile.txt
-00578         - statement: ['output', 'into']
-00579           - args: into
-00580           - command: output   
-00581         >>> print (c.parser.parseString('output into;sufx | pipethrume plz > afile.txt').dump())
-00582         ['output', 'into', ';', 'sufx', '|', ' pipethrume plz', '>', 'afile.txt']
-00583         - args: into
-00584         - command: output
-00585         - output: >
-00586         - outputTo: afile.txt
-00587         - pipeTo:  pipethrume plz
-00588         - statement: ['output', 'into', ';']
-00589           - args: into
-00590           - command: output
-00591           - terminator: ;
-00592         - suffix: sufx
-00593         - terminator: ;
-00594         >>> print (c.parser.parseString('output to paste buffer >> ').dump())
-00595         ['output', 'to paste buffer', '>>', '']
-00596         - args: to paste buffer
-00597         - command: output
-00598         - output: >>
-00599         - statement: ['output', 'to paste buffer']
-00600           - args: to paste buffer
-00601           - command: output
-00602         >>> print (c.parser.parseString('ignore the /* commented | > */ stuff;').dump())
-00603         ['ignore', 'the /* commented | > */ stuff', ';', '']
-00604         - args: the /* commented | > */ stuff
-00605         - command: ignore
-00606         - statement: ['ignore', 'the /* commented | > */ stuff', ';']
-00607           - args: the /* commented | > */ stuff
-00608           - command: ignore
-00609           - terminator: ;
-00610         - terminator: ;
-00611         >>> print (c.parser.parseString('has > inside;').dump())
-00612         ['has', '> inside', ';', '']
-00613         - args: > inside
-00614         - command: has
-00615         - statement: ['has', '> inside', ';']
-00616           - args: > inside
-00617           - command: has
-00618           - terminator: ;
-00619         - terminator: ;        
-00620         >>> print (c.parser.parseString('multiline has > inside an unfinished command').dump())
-00621         ['multiline', ' has > inside an unfinished command']
-00622         - multilineCommand: multiline        
-00623         >>> print (c.parser.parseString('multiline has > inside;').dump())
-00624         ['multiline', 'has > inside', ';', '']
-00625         - args: has > inside
-00626         - multilineCommand: multiline
-00627         - statement: ['multiline', 'has > inside', ';']
-00628           - args: has > inside
-00629           - multilineCommand: multiline
-00630           - terminator: ;
-00631         - terminator: ;        
-00632         >>> print (c.parser.parseString('multiline command /* with comment in progress;').dump())
-00633         ['multiline', ' command /* with comment in progress;']
-00634         - multilineCommand: multiline
-00635         >>> print (c.parser.parseString('multiline command /* with comment complete */ is done;').dump())
-00636         ['multiline', 'command /* with comment complete */ is done', ';', '']
-00637         - args: command /* with comment complete */ is done
-00638         - multilineCommand: multiline
-00639         - statement: ['multiline', 'command /* with comment complete */ is done', ';']
-00640           - args: command /* with comment complete */ is done
-00641           - multilineCommand: multiline
-00642           - terminator: ;
-00643         - terminator: ;
-00644         >>> print (c.parser.parseString('multiline command ends\n\n').dump())
-00645         ['multiline', 'command ends', '\n', '\n']
-00646         - args: command ends
-00647         - multilineCommand: multiline
-00648         - statement: ['multiline', 'command ends', '\n', '\n']
-00649           - args: command ends
-00650           - multilineCommand: multiline
-00651           - terminator: ['\n', '\n']
-00652         - terminator: ['\n', '\n']
-00653         >>> print (c.parser.parseString('multiline command "with term; ends" now\n\n').dump())
-00654         ['multiline', 'command "with term; ends" now', '\n', '\n']
-00655         - args: command "with term; ends" now
-00656         - multilineCommand: multiline
-00657         - statement: ['multiline', 'command "with term; ends" now', '\n', '\n']
-00658           - args: command "with term; ends" now
-00659           - multilineCommand: multiline
-00660           - terminator: ['\n', '\n']
-00661         - terminator: ['\n', '\n']
-00662         >>> print (c.parser.parseString('what if "quoted strings /* seem to " start comments?').dump())
-00663         ['what', 'if "quoted strings /* seem to " start comments?']
-00664         - args: if "quoted strings /* seem to " start comments?
-00665         - command: what
-00666         - statement: ['what', 'if "quoted strings /* seem to " start comments?']
-00667           - args: if "quoted strings /* seem to " start comments?
-00668           - command: what
-00669         '''
-00670         #outputParser = (pyparsing.Literal('>>') | (pyparsing.WordStart() + '>') | pyparsing.Regex('[^=]>'))('output')
-00671         outputParser = (pyparsing.Literal(self.redirector *2) | \
-00672                        (pyparsing.WordStart() + self.redirector) | \
-00673                         pyparsing.Regex('[^=]' + self.redirector))('output')
-00674         
-00675         terminatorParser = pyparsing.Or([(hasattr(t, 'parseString') and t) or pyparsing.Literal(t) for t in self.terminators])('terminator')
-00676         stringEnd = pyparsing.stringEnd ^ '\nEOF'
-00677         self.multilineCommand = pyparsing.Or([pyparsing.Keyword(c, caseless=self.case_insensitive) for c in self.multilineCommands])('multilineCommand')
-00678         oneLineCommand = (~self.multilineCommand + pyparsing.Word(self.legalChars))('command')
-00679         pipe = pyparsing.Keyword('|', identChars='|')
-00680         self.commentGrammars.ignore(pyparsing.quotedString).setParseAction(lambda x: '')
-00681         doNotParse = self.commentGrammars | self.commentInProgress | pyparsing.quotedString
-00682         afterElements = \
-00683             pyparsing.Optional(pipe + pyparsing.SkipTo(outputParser ^ stringEnd, ignore=doNotParse)('pipeTo')) + \
-00684             pyparsing.Optional(outputParser + pyparsing.SkipTo(stringEnd, ignore=doNotParse).setParseAction(lambda x: x[0].strip())('outputTo'))
-00685         if self.case_insensitive:
-00686             self.multilineCommand.setParseAction(lambda x: x[0].lower())
-00687             oneLineCommand.setParseAction(lambda x: x[0].lower())
-00688         if self.blankLinesAllowed:
-00689             self.blankLineTerminationParser = pyparsing.NoMatch
-00690         else:
-00691             self.blankLineTerminator = (pyparsing.lineEnd + pyparsing.lineEnd)('terminator')
-00692             self.blankLineTerminator.setResultsName('terminator')
-00693             self.blankLineTerminationParser = ((self.multilineCommand ^ oneLineCommand) + pyparsing.SkipTo(self.blankLineTerminator, ignore=doNotParse).setParseAction(lambda x: x[0].strip())('args') + self.blankLineTerminator)('statement')
-00694         self.multilineParser = (((self.multilineCommand ^ oneLineCommand) + pyparsing.SkipTo(terminatorParser, ignore=doNotParse).setParseAction(lambda x: x[0].strip())('args') + terminatorParser)('statement') +
-00695                                 pyparsing.SkipTo(outputParser ^ pipe ^ stringEnd, ignore=doNotParse).setParseAction(lambda x: x[0].strip())('suffix') + afterElements)
-00696         self.multilineParser.ignore(self.commentInProgress)
-00697         self.singleLineParser = ((oneLineCommand + pyparsing.SkipTo(terminatorParser ^ stringEnd ^ pipe ^ outputParser, ignore=doNotParse).setParseAction(lambda x:x[0].strip())('args'))('statement') +
-00698                                  pyparsing.Optional(terminatorParser) + afterElements)
-00699         #self.multilineParser = self.multilineParser.setResultsName('multilineParser')
-00700         #self.singleLineParser = self.singleLineParser.setResultsName('singleLineParser')
-00701         self.blankLineTerminationParser = self.blankLineTerminationParser.setResultsName('statement')
-00702         self.parser = self.prefixParser + (
-00703             stringEnd |
-00704             self.multilineParser |
-00705             self.singleLineParser |
-00706             self.blankLineTerminationParser | 
-00707             self.multilineCommand + pyparsing.SkipTo(stringEnd, ignore=doNotParse)
-00708             )
-00709         self.parser.ignore(self.commentGrammars)
-00710         
-00711         inputMark = pyparsing.Literal('<')
-00712         inputMark.setParseAction(lambda x: '')
-00713         fileName = pyparsing.Word(self.legalChars + '/\\')
-00714         inputFrom = fileName('inputFrom')
-00715         inputFrom.setParseAction(replace_with_file_contents)
-00716         # a not-entirely-satisfactory way of distinguishing < as in "import from" from <
-00717         # as in "lesser than"
-00718         self.inputParser = inputMark + pyparsing.Optional(inputFrom) + pyparsing.Optional('>') + \
-00719                            pyparsing.Optional(fileName) + (pyparsing.stringEnd | '|')
-00720         self.inputParser.ignore(self.commentInProgress)               
-    
-
-
-
- -
-
- - - - - - - - -
def cmd2::Cmd::cmdloop ( self)
-
-
- -

Definition at line 1283 of file cmd2.py.

- -

References _cmdloop(), run_commands_at_invocation(), and runTranscriptTests().

-
01283 
-01284     def cmdloop(self):
-01285         parser = optparse.OptionParser()
-01286         parser.add_option('-t', '--test', dest='test',
-01287                action="store_true", 
-01288                help='Test against transcript(s) in FILE (wildcards OK)')
-01289         (callopts, callargs) = parser.parse_args()
-01290         if callopts.test:
-01291             self.runTranscriptTests(callargs)
-01292         else:
-01293             if not self.run_commands_at_invocation(callargs):
-01294                 self._cmdloop()   
-            
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::colorize ( self,
 val,
 color 
)
-
-
-
Given a string (``val``), returns that string wrapped in UNIX-style 
-   special characters that turn on (and then off) text color and style.
-   If the ``colors`` environment paramter is ``False``, or the application
-   is running on Windows, will return ``val`` unchanged.
-   ``color`` should be one of the supported strings (or styles):
-   red/blue/green/cyan/magenta, bold, underline
-

Definition at line 435 of file cmd2.py.

- -

Referenced by pirate7::Pirate::do_sing(), and pirate8::Pirate::do_sing().

-
00435 
-00436     def colorize(self, val, color):
-00437         '''Given a string (``val``), returns that string wrapped in UNIX-style 
-00438            special characters that turn on (and then off) text color and style.
-00439            If the ``colors`` environment paramter is ``False``, or the application
-00440            is running on Windows, will return ``val`` unchanged.
-00441            ``color`` should be one of the supported strings (or styles):
-00442            red/blue/green/cyan/magenta, bold, underline'''
-00443         if self.colors and (self.stdout == self.initial_stdout):
-00444             return self.colorcodes[color][True] + val + self.colorcodes[color][False]
-00445         return val
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::complete_statement ( self,
 line 
)
-
-
-
Keep accepting lines of input until the command is complete.
-

Definition at line 794 of file cmd2.py.

- -

References commentGrammars, continuation_prompt, parsed(), and pseudo_raw_input().

- -

Referenced by onecmd_plus_hooks().

-
00794 
-00795     def complete_statement(self, line):
-00796         """Keep accepting lines of input until the command is complete."""
-00797         if (not line) or (
-00798             not pyparsing.Or(self.commentGrammars).
-00799                 setParseAction(lambda x: '').transformString(line)):
-00800             raise EmptyStatement
-00801         statement = self.parsed(line)
-00802         while statement.parsed.multilineCommand and (statement.parsed.terminator == ''):
-00803             statement = '%s\n%s' % (statement.parsed.raw, 
-00804                                     self.pseudo_raw_input(self.continuation_prompt))                
-00805             statement = self.parsed(statement)
-00806         if not statement.parsed.command:
-00807             raise EmptyStatement
-00808         return statement
-    
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do__relative_load ( self,
 arg = None 
)
-
-
-
-Runs commands in script at file or URL; if this is called from within an
-already-running script, the filename will be interpreted relative to the 
-already-running script's directory.
-

Definition at line 1206 of file cmd2.py.

- -

References current_script_dir, and do__load.

-
01206 
-01207     def do__relative_load(self, arg=None):
-01208         '''
-01209         Runs commands in script at file or URL; if this is called from within an
-01210         already-running script, the filename will be interpreted relative to the 
-01211         already-running script's directory.'''
-01212         if arg:
-01213             arg = arg.split(None, 1)
-01214             targetname, args = arg[0], (arg[1:] or [''])[0]
-01215             targetname = os.path.join(self.current_script_dir or '', targetname)
-01216             self.do__load('%s %s' % (targetname, args))
-    
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_cmdenvironment ( self,
 args 
)
-
-
-
Summary report of interactive parameters.
-

Definition at line 446 of file cmd2.py.

- -

References case_insensitive, settable, and terminators.

-
00446 
-00447     def do_cmdenvironment(self, args):
-00448         '''Summary report of interactive parameters.'''
-00449         self.stdout.write("""
-00450         Commands are %(casesensitive)scase-sensitive.
-00451         Commands may be terminated with: %(terminators)s
-00452         Settable parameters: %(settable)s\n""" % \
-00453         { 'casesensitive': (self.case_insensitive and 'not ') or '',
-00454           'terminators': str(self.terminators),
-00455           'settable': ' '.join(self.settable)
-00456         })
-        
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_ed ( self,
 arg 
)
-
-
-
ed: edit most recent command in text editor
-ed [N]: edit numbered command from history
-ed [filename]: edit specified file name
-
-commands are run after editor is closed.
-"set edit (program-name)" or set  EDITOR environment variable
-to control which editing program is used.
-

Definition at line 1128 of file cmd2.py.

- -

References default_file_name, do__load, editor, history, and last_matching().

-
01128 
-01129     def do_ed(self, arg):
-01130         """ed: edit most recent command in text editor
-01131         ed [N]: edit numbered command from history
-01132         ed [filename]: edit specified file name
-01133         
-01134         commands are run after editor is closed.
-01135         "set edit (program-name)" or set  EDITOR environment variable
-01136         to control which editing program is used."""
-01137         if not self.editor:
-01138             raise EnvironmentError("Please use 'set editor' to specify your text editing program of choice.")
-01139         filename = self.default_file_name
-01140         if arg:
-01141             try:
-01142                 buffer = self.last_matching(int(arg))
-01143             except ValueError:
-01144                 filename = arg
-01145                 buffer = ''
-01146         else:
-01147             buffer = self.history[-1]
-01148 
-01149         if buffer:
-01150             f = open(os.path.expanduser(filename), 'w')
-01151             f.write(buffer or '')
-01152             f.close()        
-01153                 
-01154         os.system('%s %s' % (self.editor, filename))
-        self.do__load(filename)
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_EOF ( self,
 arg 
)
-
-
- -

Definition at line 937 of file cmd2.py.

- -

References _STOP_SCRIPT_NO_EXIT.

-
00937 
-00938     def do_EOF(self, arg):
-        return self._STOP_SCRIPT_NO_EXIT # End of script; should not exit app
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_help ( self,
 arg 
)
-
-
- -

Definition at line 457 of file cmd2.py.

- -

References func_named(), and stdout.

-
00457 
-00458     def do_help(self, arg):
-00459         if arg:
-00460             funcname = self.func_named(arg)
-00461             if funcname:
-00462                 fn = getattr(self, funcname)
-00463                 try:
-00464                     fn.optionParser.print_help(file=self.stdout)
-00465                 except AttributeError:
-00466                     cmd.Cmd.do_help(self, funcname[3:])
-00467         else:
-00468             cmd.Cmd.do_help(self, arg)
-        
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_history ( self,
 arg,
 opts 
)
-
-
-
history [arg]: lists past commands issued
-
-| no arg:         list all
-| arg is integer: list one history item, by index
-| arg is string:  string search
-| arg is /enclosed in forward-slashes/: regular expression search
-
-

Definition at line 1083 of file cmd2.py.

- -

References history, and poutput().

-
01083 
-01084     def do_history(self, arg, opts):
-01085         """history [arg]: lists past commands issued
-01086         
-01087         | no arg:         list all
-01088         | arg is integer: list one history item, by index
-01089         | arg is string:  string search
-01090         | arg is /enclosed in forward-slashes/: regular expression search
-01091         """
-01092         if arg:
-01093             history = self.history.get(arg)
-01094         else:
-01095             history = self.history
-01096         for hi in history:
-01097             if opts.script:
-01098                 self.poutput(hi)
-01099             else:
-                self.stdout.write(hi.pr())
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_list ( self,
 arg 
)
-
-
-
list [arg]: lists last command issued
-
-no arg -> list most recent command
-arg is integer -> list one history item, by index
-a..b, a:b, a:, ..b -> list spans from a (or start) to b (or end)
-arg is string -> list all commands matching string search
-arg is /enclosed in forward-slashes/ -> regular expression search
-
-

Definition at line 1108 of file cmd2.py.

- -

References poutput().

-
01108 
-01109     def do_list(self, arg):
-01110         """list [arg]: lists last command issued
-01111         
-01112         no arg -> list most recent command
-01113         arg is integer -> list one history item, by index
-01114         a..b, a:b, a:, ..b -> list spans from a (or start) to b (or end)
-01115         arg is string -> list all commands matching string search
-01116         arg is /enclosed in forward-slashes/ -> regular expression search
-01117         """
-01118         try:
-01119             history = self.history.span(arg or '-1')
-01120         except IndexError:
-01121             history = self.history.search(arg)
-01122         for hi in history:
-01123             self.poutput(hi.pr())
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_load ( self,
 arg = None 
)
-
-
-
Runs script of command(s) from a file or URL.
-

Definition at line 1218 of file cmd2.py.

-
01218 
-01219     def do_load(self, arg=None):           
-01220         """Runs script of command(s) from a file or URL."""
-01221         if arg is None:
-01222             targetname = self.default_file_name
-01223         else:
-01224             arg = arg.split(None, 1)
-01225             targetname, args = arg[0], (arg[1:] or [''])[0].strip()
-01226         try:
-01227             target = self.read_file_or_url(targetname)
-01228         except IOError, e:
-01229             self.perror('Problem accessing script from %s: \n%s' % (targetname, e))
-01230             return
-01231         keepstate = Statekeeper(self, ('stdin','use_rawinput','prompt',
-01232                                        'continuation_prompt','current_script_dir'))
-01233         self.stdin = target    
-01234         self.use_rawinput = False
-01235         self.prompt = self.continuation_prompt = ''
-01236         self.current_script_dir = os.path.split(targetname)[0]
-01237         stop = self._cmdloop()
-01238         self.stdin.close()
-01239         keepstate.restore()
-01240         self.lastcmd = ''
-        return stop and (stop != self._STOP_SCRIPT_NO_EXIT)    
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_pause ( self,
 arg 
)
-
-
- -

Definition at line 1031 of file cmd2.py.

-
01031 
-01032     def do_pause(self, arg):
-01033         'Displays the specified text then waits for the user to press RETURN.'
-01034         raw_input(arg + '\n')
-        
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_py ( self,
 arg 
)
-
-
-
-py <command>: Executes a Python command.
-py: Enters interactive Python mode.
-End with ``Ctrl-D`` (Unix) / ``Ctrl-Z`` (Windows), ``quit()``, '`exit()``.
-Non-python commands can be issued with ``cmd("your command")``.
-Run python code from external files with ``run("filename.py")``
-
-

Definition at line 1039 of file cmd2.py.

- -

References do_py(), locals_in_py, onecmd_plus_hooks(), cmd2::options(), perror(), pystate, stdin, and stdout.

- -

Referenced by do_py().

-
01039 
-01040     def do_py(self, arg):  
-01041         '''
-01042         py <command>: Executes a Python command.
-01043         py: Enters interactive Python mode.
-01044         End with ``Ctrl-D`` (Unix) / ``Ctrl-Z`` (Windows), ``quit()``, '`exit()``.
-01045         Non-python commands can be issued with ``cmd("your command")``.
-01046         Run python code from external files with ``run("filename.py")``
-01047         '''
-01048         self.pystate['self'] = self
-01049         arg = arg.parsed.raw[2:].strip()
-01050         localvars = (self.locals_in_py and self.pystate) or {}
-01051         interp = InteractiveConsole(locals=localvars)
-01052         interp.runcode('import sys, os;sys.path.insert(0, os.getcwd())')
-01053         if arg.strip():
-01054             interp.runcode(arg)
-01055         else:
-01056             def quit():
-01057                 raise EmbeddedConsoleExit
-01058             def onecmd_plus_hooks(arg):
-01059                 return self.onecmd_plus_hooks(arg + '\n')
-01060             def run(arg):
-01061                 try:
-01062                     file = open(arg)
-01063                     interp.runcode(file.read())
-01064                     file.close()
-01065                 except IOError, e:
-01066                     self.perror(e)
-01067             self.pystate['quit'] = quit
-01068             self.pystate['exit'] = quit
-01069             self.pystate['cmd'] = onecmd_plus_hooks
-01070             self.pystate['run'] = run
-01071             try:
-01072                 cprt = 'Type "help", "copyright", "credits" or "license" for more information.'        
-01073                 keepstate = Statekeeper(sys, ('stdin','stdout'))
-01074                 sys.stdout = self.stdout
-01075                 sys.stdin = self.stdin
-01076                 interp.interact(banner= "Python %s on %s\n%s\n(%s)\n%s" %
-01077                        (sys.version, sys.platform, cprt, self.__class__.__name__, self.do_py.__doc__))
-01078             except EmbeddedConsoleExit:
-01079                 pass
-01080             keepstate.restore()
-            
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_quit ( self,
 arg 
)
-
-
- -

Reimplemented in pirate6::Pirate, pirate7::Pirate, and pirate8::Pirate.

- -

Definition at line 941 of file cmd2.py.

- -

References _STOP_AND_EXIT.

-
00941 
-00942     def do_quit(self, arg):
-        return self._STOP_AND_EXIT
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_run ( self,
 arg 
)
-
-
-
run [arg]: re-runs an earlier command
-
-no arg -> run most recent command
-arg is integer -> run one history item, by index
-arg is string -> run most recent command by string search
-arg is /enclosed in forward-slashes/ -> run most recent by regex
-
-

Definition at line 1243 of file cmd2.py.

- -

References last_matching(), onecmd_plus_hooks(), and pfeedback().

-
01243 
-01244     def do_run(self, arg):
-01245         """run [arg]: re-runs an earlier command
-01246         
-01247         no arg -> run most recent command
-01248         arg is integer -> run one history item, by index
-01249         arg is string -> run most recent command by string search
-01250         arg is /enclosed in forward-slashes/ -> run most recent by regex
-01251         """        
-01252         'run [N]: runs the SQL that was run N commands ago'
-01253         runme = self.last_matching(arg)
-01254         self.pfeedback(runme)
-01255         if runme:
-            stop = self.onecmd_plus_hooks(runme)
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_save ( self,
 arg 
)
-
-
-
`save [N] [filename.ext]`
-
-Saves command from history to file.
-
-| N => Number of command (from history), or `*`; 
-|      most recent command if omitted
-

Definition at line 1160 of file cmd2.py.

- -

References default_file_name, do_save(), history, perror(), and pfeedback().

- -

Referenced by do_save().

-
01160 
-01161     def do_save(self, arg):
-01162         """`save [N] [filename.ext]`
-01163 
-01164         Saves command from history to file.
-01165 
-01166         | N => Number of command (from history), or `*`; 
-01167         |      most recent command if omitted"""
-01168 
-01169         try:
-01170             args = self.saveparser.parseString(arg)
-01171         except pyparsing.ParseException:
-01172             self.perror('Could not understand save target %s' % arg)
-01173             raise SyntaxError(self.do_save.__doc__)
-01174         fname = args.fname or self.default_file_name
-01175         if args.idx == '*':
-01176             saveme = '\n\n'.join(self.history[:])
-01177         elif args.idx:
-01178             saveme = self.history[int(args.idx)-1]
-01179         else:
-01180             saveme = self.history[-1]
-01181         try:
-01182             f = open(os.path.expanduser(fname), 'w')
-01183             f.write(saveme)
-01184             f.close()
-01185             self.pfeedback('Saved to %s' % (fname))
-01186         except Exception, e:
-01187             self.perror('Error saving %s' % (fname))
-01188             raise
-            
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_set ( self,
 arg 
)
-
-
-
-Sets a cmd2 parameter.  Accepts abbreviated parameter names so long
-as there is no ambiguity.  Call without arguments for a list of 
-settable parameters with their values.
-

Definition at line 1000 of file cmd2.py.

- -

References cmd2::cast(), do_show(), and settable.

-
01000 
-01001     def do_set(self, arg):
-01002         '''
-01003         Sets a cmd2 parameter.  Accepts abbreviated parameter names so long
-01004         as there is no ambiguity.  Call without arguments for a list of 
-01005         settable parameters with their values.'''
-01006         try:
-01007             statement, paramName, val = arg.parsed.raw.split(None, 2)
-01008             val = val.strip()
-01009             paramName = paramName.strip().lower()
-01010             if paramName not in self.settable:
-01011                 hits = [p for p in self.settable if p.startswith(paramName)]
-01012                 if len(hits) == 1:
-01013                     paramName = hits[0]
-01014                 else:
-01015                     return self.do_show(paramName)
-01016             currentVal = getattr(self, paramName)
-01017             if (val[0] == val[-1]) and val[0] in ("'", '"'):
-01018                 val = val[1:-1]
-01019             else:                
-01020                 val = cast(currentVal, val)
-01021             setattr(self, paramName, val)
-01022             self.stdout.write('%s - was: %s\nnow: %s\n' % (paramName, currentVal, val))
-01023             if currentVal != val:
-01024                 try:
-01025                     onchange_hook = getattr(self, '_onchange_%s' % paramName)
-01026                     onchange_hook(old=currentVal, new=val)
-01027                 except AttributeError:
-01028                     pass
-01029         except (ValueError, AttributeError, NotSettableError), e:
-01030             self.do_show(arg)
-                
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_shell ( self,
 arg 
)
-
-
- -

Definition at line 1035 of file cmd2.py.

-
01035 
-01036     def do_shell(self, arg):
-01037         'execute a command as if at the OS prompt.'
-01038         os.system(arg)
-                
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_shortcuts ( self,
 args 
)
-
-
-
Lists single-key shortcuts available.
-

Definition at line 479 of file cmd2.py.

- -

References shortcuts.

-
00479 
-00480     def do_shortcuts(self, args):
-00481         """Lists single-key shortcuts available."""
-00482         result = "\n".join('%s: %s' % (sc[0], sc[1]) for sc in sorted(self.shortcuts))
-00483         self.stdout.write("Single-key shortcuts for other commands:\n%s\n" % (result))
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_show ( self,
 arg,
 opts 
)
-
-
-
Shows value of a parameter.
-

Definition at line 982 of file cmd2.py.

- -

References cmd2::ljust(), poutput(), and settable.

- -

Referenced by do_set().

-
00982 
-00983     def do_show(self, arg, opts):
-00984         '''Shows value of a parameter.'''
-00985         param = arg.strip().lower()
-00986         result = {}
-00987         maxlen = 0
-00988         for p in self.settable:
-00989             if (not param) or p.startswith(param):
-00990                 result[p] = '%s: %s' % (p, str(getattr(self, p)))
-00991                 maxlen = max(maxlen, len(result[p]))
-00992         if result:
-00993             for p in sorted(result):
-00994                 if opts.long:
-00995                     self.poutput('%s # %s' % (result[p].ljust(maxlen), self.settable[p]))
-00996                 else:
-00997                     self.poutput(result[p])
-00998         else:
-00999             raise NotImplementedError("Parameter '%s' not supported (type 'show' for list of parameters)." % param)
-    
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::fileimport ( self,
 statement,
 source 
)
-
-
- -

Definition at line 1258 of file cmd2.py.

-
01258 
-01259     def fileimport(self, statement, source):
-01260         try:
-01261             f = open(os.path.expanduser(source))
-01262         except IOError:
-01263             self.stdout.write("Couldn't read from file %s\n" % source)
-01264             return ''
-01265         data = f.read()
-01266         f.close()
-01267         return data
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::func_named ( self,
 arg 
)
-
-
- -

Definition at line 755 of file cmd2.py.

- -

References abbrev, and keywords.

- -

Referenced by do_help().

-
00755 
-00756     def func_named(self, arg):
-00757         result = None
-00758         target = 'do_' + arg
-00759         if target in dir(self):
-00760             result = target
-00761         else:
-00762             if self.abbrev:   # accept shortened versions of commands
-00763                 funcs = [fname for fname in self.keywords if fname.startswith(arg)]
-00764                 if len(funcs) == 1:
-00765                     result = 'do_' + funcs[0]
-        return result
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::last_matching ( self,
 arg 
)
-
-
- -

Definition at line 1100 of file cmd2.py.

- -

References history.

- -

Referenced by do_ed(), and do_run().

-
01100 
-01101     def last_matching(self, arg):
-01102         try:
-01103             if arg:
-01104                 return self.history.get(arg)[-1]
-01105             else:
-01106                 return self.history[-1]
-01107         except IndexError:
-            return None        
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::onecmd ( self,
 line 
)
-
-
-
Interpret the argument as though it had been typed in response
-to the prompt.
-
-This may be overridden, but should not normally need to be;
-see the precmd() and postcmd() methods for useful execution hooks.
-The return value is a flag indicating whether interpretation of
-commands by the interpreter should stop.
-
-This (`cmd2`) version of `onecmd` already override's `cmd`'s `onecmd`.
-
-
-

Definition at line 844 of file cmd2.py.

- -

Referenced by onecmd_plus_hooks().

-
00844 
-00845     def onecmd(self, line):
-00846         """Interpret the argument as though it had been typed in response
-00847         to the prompt.
-00848 
-00849         This may be overridden, but should not normally need to be;
-00850         see the precmd() and postcmd() methods for useful execution hooks.
-00851         The return value is a flag indicating whether interpretation of
-00852         commands by the interpreter should stop.
-00853         
-00854         This (`cmd2`) version of `onecmd` already override's `cmd`'s `onecmd`.
-00855 
-00856         """
-00857         statement = self.parsed(line)
-00858         self.lastcmd = statement.parsed.raw   
-00859         funcname = self.func_named(statement.parsed.command)
-00860         if not funcname:
-00861             return self._default(statement)
-00862         try:
-00863             func = getattr(self, funcname)
-00864         except AttributeError:
-00865             return self._default(statement)
-00866         stop = func(statement) 
-00867         return stop                
-        
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::onecmd_plus_hooks ( self,
 line 
)
-
-
- -

Definition at line 766 of file cmd2.py.

- -

References complete_statement(), excludeFromHistory, onecmd(), perror(), pfeedback(), pirate3::Pirate::postcmd(), pirate4::Pirate::postcmd(), pirate5::Pirate::postcmd(), pirate7::Pirate::postcmd(), pirate8::Pirate::postcmd(), pirate6::Pirate::postcmd(), postparsing_postcmd(), postparsing_precmd(), pirate3::Pirate::precmd(), pirate4::Pirate::precmd(), pirate5::Pirate::precmd(), pirate7::Pirate::precmd(), pirate8::Pirate::precmd(), pirate6::Pirate::precmd(), redirect_output(), restore_output(), and timing.

- -

Referenced by do_py(), do_run(), and run_commands_at_invocation().

-
00766 
-00767     def onecmd_plus_hooks(self, line):
-00768         # The outermost level of try/finally nesting can be condensed once
-00769         # Python 2.4 support can be dropped.
-00770         stop = 0
-00771         try:
-00772             try:
-00773                 statement = self.complete_statement(line)
-00774                 (stop, statement) = self.postparsing_precmd(statement)
-00775                 if stop:
-00776                     return self.postparsing_postcmd(stop)
-00777                 if statement.parsed.command not in self.excludeFromHistory:
-00778                     self.history.append(statement.parsed.raw)      
-00779                 try:
-00780                     self.redirect_output(statement)
-00781                     timestart = datetime.datetime.now()
-00782                     statement = self.precmd(statement)
-00783                     stop = self.onecmd(statement)
-00784                     stop = self.postcmd(stop, statement)
-00785                     if self.timing:
-00786                         self.pfeedback('Elapsed: %s' % str(datetime.datetime.now() - timestart))
-00787                 finally:
-00788                     self.restore_output(statement)
-00789             except EmptyStatement:
-00790                 return 0
-00791             except Exception, e:
-00792                 self.perror(str(e), statement)            
-00793         finally:
-            return self.postparsing_postcmd(stop)        
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::parsed ( self,
 raw,
 kwargs 
)
-
-
- -

Definition at line 726 of file cmd2.py.

- -

References parsed(), postparse(), preparse(), and shortcuts.

- -

Referenced by complete_statement(), cmd2::ParsedString::full_parsed_statement(), parsed(), and cmd2::ParsedString::with_args_replaced().

-
00726 
-00727     def parsed(self, raw, **kwargs):
-00728         if isinstance(raw, ParsedString):
-00729             p = raw
-00730         else:
-00731             # preparse is an overridable hook; default makes no changes
-00732             s = self.preparse(raw, **kwargs)
-00733             s = self.inputParser.transformString(s.lstrip())
-00734             s = self.commentGrammars.transformString(s)
-00735             for (shortcut, expansion) in self.shortcuts:
-00736                 if s.lower().startswith(shortcut):
-00737                     s = s.replace(shortcut, expansion + ' ', 1)
-00738                     break
-00739             result = self.parser.parseString(s)
-00740             result['raw'] = raw            
-00741             result['command'] = result.multilineCommand or result.command        
-00742             result = self.postparse(result)
-00743             p = ParsedString(result.args)
-00744             p.parsed = result
-00745             p.parser = self.parsed
-00746         for (key, val) in kwargs.items():
-00747             p.parsed[key] = val
-00748         return p
-              
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::perror ( self,
 errmsg,
 statement = None 
)
-
-
- -

Definition at line 404 of file cmd2.py.

- -

References debug.

- -

Referenced by do_py(), do_save(), and onecmd_plus_hooks().

-
00404 
-00405     def perror(self, errmsg, statement=None):
-00406         if self.debug:
-00407             traceback.print_exc()
-        print (str(errmsg))
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::pfeedback ( self,
 msg 
)
-
-
-
For printing nonessential feedback.  Can be silenced with `quiet`.
-   Inclusion in redirected output is controlled by `feedback_to_output`.
-

Definition at line 408 of file cmd2.py.

- -

References feedback_to_output, poutput(), and quiet.

- -

Referenced by do_run(), do_save(), and onecmd_plus_hooks().

-
00408 
-00409     def pfeedback(self, msg):
-00410         """For printing nonessential feedback.  Can be silenced with `quiet`.
-00411            Inclusion in redirected output is controlled by `feedback_to_output`."""
-00412         if not self.quiet:
-00413             if self.feedback_to_output:
-00414                 self.poutput(msg)
-00415             else:
-                print (msg)
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::postparse ( self,
 parseResult 
)
-
-
- -

Definition at line 723 of file cmd2.py.

- -

Referenced by parsed().

-
00723 
-00724     def postparse(self, parseResult):
-00725         return parseResult
-   
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::postparsing_postcmd ( self,
 stop 
)
-
-
- -

Definition at line 752 of file cmd2.py.

- -

Referenced by _default(), and onecmd_plus_hooks().

-
00752 
-00753     def postparsing_postcmd(self, stop):
-00754         return stop
-    
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::postparsing_precmd ( self,
 statement 
)
-
-
- -

Definition at line 749 of file cmd2.py.

- -

Referenced by onecmd_plus_hooks().

-
00749 
-00750     def postparsing_precmd(self, statement):
-00751         stop = 0
-        return stop, statement
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::poutput ( self,
 msg 
)
-
-
-
Convenient shortcut for self.stdout.write(); adds newline if necessary.
-

Definition at line 398 of file cmd2.py.

- -

Referenced by do_history(), do_list(), do_show(), pfeedback(), and select().

-
00398 
-00399     def poutput(self, msg):
-00400         '''Convenient shortcut for self.stdout.write(); adds newline if necessary.'''
-00401         if msg:
-00402             self.stdout.write(msg)
-00403             if msg[-1] != '\n':
-                self.stdout.write('\n')
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::preparse ( self,
 raw,
 kwargs 
)
-
-
- -

Definition at line 721 of file cmd2.py.

- -

Referenced by parsed().

-
00721 
-00722     def preparse(self, raw, **kwargs):
-        return raw
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::pseudo_raw_input ( self,
 prompt 
)
-
-
-
copied from cmd's cmdloop; like raw_input, but accounts for changed stdin, stdout
-

Definition at line 876 of file cmd2.py.

- -

References use_rawinput.

- -

Referenced by complete_statement().

-
00876 
-00877     def pseudo_raw_input(self, prompt):
-00878         """copied from cmd's cmdloop; like raw_input, but accounts for changed stdin, stdout"""
-00879         
-00880         if self.use_rawinput:
-00881             try:
-00882                 line = raw_input(prompt)
-00883             except EOFError:
-00884                 line = 'EOF'
-00885         else:
-00886             self.stdout.write(prompt)
-00887             self.stdout.flush()
-00888             line = self.stdin.readline()
-00889             if not len(line):
-00890                 line = 'EOF'
-00891             else:
-00892                 if line[-1] == '\n': # this was always true in Cmd
-00893                     line = line[:-1] 
-00894         return line
-    
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::read_file_or_url ( self,
 fname 
)
-
-
- -

Definition at line 1189 of file cmd2.py.

- -

References defaultExtension.

-
01189 
-01190     def read_file_or_url(self, fname):
-01191         # TODO: not working on localhost
-01192         if isinstance(fname, file):
-01193             result = open(fname, 'r')
-01194         else:
-01195             match = self.urlre.match(fname)
-01196             if match:
-01197                 result = urllib.urlopen(match.group(1))
-01198             else:
-01199                 fname = os.path.expanduser(fname)
-01200                 try:
-01201                     result = open(os.path.expanduser(fname), 'r')
-01202                 except IOError:                    
-01203                     result = open('%s.%s' % (os.path.expanduser(fname), 
-01204                                              self.defaultExtension), 'r')
-01205         return result
-        
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::redirect_output ( self,
 statement 
)
-
-
- -

Definition at line 809 of file cmd2.py.

- -

References cmd2::get_paste_buffer(), kept_state, kept_sys, redirect, redirector, and stdout.

- -

Referenced by onecmd_plus_hooks().

-
00809 
-00810     def redirect_output(self, statement):
-00811         if statement.parsed.pipeTo:
-00812             self.kept_state = Statekeeper(self, ('stdout',))
-00813             self.kept_sys = Statekeeper(sys, ('stdout',))
-00814             self.redirect = subprocess.Popen(statement.parsed.pipeTo, shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE)
-00815             sys.stdout = self.stdout = self.redirect.stdin
-00816         elif statement.parsed.output:
-00817             if (not statement.parsed.outputTo) and (not can_clip):
-00818                 raise EnvironmentError('Cannot redirect to paste buffer; install ``xclip`` and re-run to enable')
-00819             self.kept_state = Statekeeper(self, ('stdout',))            
-00820             self.kept_sys = Statekeeper(sys, ('stdout',))
-00821             if statement.parsed.outputTo:
-00822                 mode = 'w'
-00823                 if statement.parsed.output == 2 * self.redirector:
-00824                     mode = 'a'
-00825                 sys.stdout = self.stdout = open(os.path.expanduser(statement.parsed.outputTo), mode)                            
-00826             else:
-00827                 sys.stdout = self.stdout = tempfile.TemporaryFile(mode="w+")
-00828                 if statement.parsed.output == '>>':
-00829                     self.stdout.write(get_paste_buffer())
-                    
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::restore_output ( self,
 statement 
)
-
-
- -

Definition at line 830 of file cmd2.py.

- -

References kept_state, and cmd2::write_to_paste_buffer.

- -

Referenced by onecmd_plus_hooks().

-
00830 
-00831     def restore_output(self, statement):
-00832         if self.kept_state:
-00833             if statement.parsed.output:
-00834                 if not statement.parsed.outputTo:
-00835                     self.stdout.seek(0)
-00836                     write_to_paste_buffer(self.stdout.read())
-00837             elif statement.parsed.pipeTo:
-00838                 for result in self.redirect.communicate():              
-00839                     self.kept_state.stdout.write(result or '')                        
-00840             self.stdout.close()
-00841             self.kept_state.restore()  
-00842             self.kept_sys.restore()
-00843             self.kept_state = None                        
-                        
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::run_commands_at_invocation ( self,
 callargs 
)
-
-
- -

Definition at line 1278 of file cmd2.py.

- -

References _STOP_AND_EXIT, and onecmd_plus_hooks().

- -

Referenced by cmdloop().

-
01278 
-01279     def run_commands_at_invocation(self, callargs):
-01280         for initial_command in callargs:
-01281             if self.onecmd_plus_hooks(initial_command + '\n'):
-01282                 return self._STOP_AND_EXIT
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::runTranscriptTests ( self,
 callargs 
)
-
-
- -

Definition at line 1268 of file cmd2.py.

- -

Referenced by cmdloop().

-
01268 
-01269     def runTranscriptTests(self, callargs):
-01270         class TestMyAppCase(Cmd2TestCase):
-01271             CmdApp = self.__class__        
-01272         self.__class__.testfiles = callargs
-01273         sys.argv = [sys.argv[0]] # the --test argument upsets unittest.main()
-01274         testcase = TestMyAppCase()
-01275         runner = unittest.TextTestRunner()
-01276         result = runner.run(testcase)
-01277         result.printErrors()
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::select ( self,
 options,
 prompt = 'Your choice? ' 
)
-
-
-
Presents a numbered menu to the user.  Modelled after
-   the bash shell's SELECT.  Returns the item chosen.
-   
-   Argument ``options`` can be:
-
-     | a single string -> will be split into one-word options
-     | a list of strings -> will be offered as options
-     | a list of tuples -> interpreted as (value, text), so 
-                   that the return value can differ from
-                   the text advertised to the user 
-

Definition at line 946 of file cmd2.py.

- -

References cmd2::options(), and poutput().

-
00946 
-00947     def select(self, options, prompt='Your choice? '):
-00948         '''Presents a numbered menu to the user.  Modelled after
-00949            the bash shell's SELECT.  Returns the item chosen.
-00950            
-00951            Argument ``options`` can be:
-00952 
-00953              | a single string -> will be split into one-word options
-00954              | a list of strings -> will be offered as options
-00955              | a list of tuples -> interpreted as (value, text), so 
-00956                                    that the return value can differ from
-00957                                    the text advertised to the user '''
-00958         if isinstance(options, basestring):
-00959             options = zip(options.split(), options.split())
-00960         fulloptions = []
-00961         for opt in options:
-00962             if isinstance(opt, basestring):
-00963                 fulloptions.append((opt, opt))
-00964             else:
-00965                 try:
-00966                     fulloptions.append((opt[0], opt[1]))
-00967                 except IndexError:
-00968                     fulloptions.append((opt[0], opt[0]))
-00969         for (idx, (value, text)) in enumerate(fulloptions):
-00970             self.poutput('  %2d. %s\n' % (idx+1, text))
-00971         while True:
-00972             response = raw_input(prompt)
-00973             try:
-00974                 response = int(response)
-00975                 result = fulloptions[response - 1][0]
-00976                 break
-00977             except ValueError:
-00978                 pass # loop and ask again
-00979         return result
-    
-
-
-
-

Member Data Documentation

- -
-
- - - - -
cmd2::Cmd::_STOP_AND_EXIT = True [static, private]
-
-
- -

Definition at line 416 of file cmd2.py.

- -

Referenced by do_quit(), and run_commands_at_invocation().

- -
-
- -
-
- - - - -
int cmd2::Cmd::_STOP_SCRIPT_NO_EXIT = 999 [static, private]
-
-
- -

Definition at line 417 of file cmd2.py.

- -

Referenced by do_EOF().

- -
-
- -
-
- - - - -
cmd2::Cmd::abbrev = True [static]
-
-
- -

Definition at line 374 of file cmd2.py.

- -

Referenced by func_named().

- -
-
- -
-
- - - - -
cmd2::Cmd::blankLinesAllowed = False [static]
-
-
- -

Definition at line 490 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 667 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 667 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::case_insensitive = True [static]
-
-
- -

Definition at line 363 of file cmd2.py.

- -

Referenced by do_cmdenvironment().

- -
-
- -
-
- - - - -
dictionary cmd2::Cmd::colorcodes [static]
-
-
-Initial value:
{'bold':{True:'\x1b[1m',False:'\x1b[22m'},
-                  'cyan':{True:'\x1b[36m',False:'\x1b[39m'},
-                  'blue':{True:'\x1b[34m',False:'\x1b[39m'},
-                  'red':{True:'\x1b[31m',False:'\x1b[39m'},
-                  'magenta':{True:'\x1b[35m',False:'\x1b[39m'},
-                  'green':{True:'\x1b[32m',False:'\x1b[39m'},
-                  'underline':{True:'\x1b[4m',False:'\x1b[24m'}}
-
-

Definition at line 427 of file cmd2.py.

- -
-
- -
-
- - - - -
tuple cmd2::Cmd::colors = (platform.system() != 'Windows') [static]
-
-
- -

Definition at line 434 of file cmd2.py.

- -
-
- -
-
- - - - -
tuple cmd2::Cmd::commentGrammars = pyparsing.Or([pyparsing.pythonStyleComment, pyparsing.cStyleComment]) [static]
-
-
- -

Definition at line 485 of file cmd2.py.

- -

Referenced by complete_statement().

- -
-
- -
-
- - - - -
tuple cmd2::Cmd::commentInProgress = pyparsing.Literal('/*') [static]
-
-
- -

Definition at line 487 of file cmd2.py.

- -
-
- -
-
- - - - -
string cmd2::Cmd::continuation_prompt = '> ' [static]
-
-
- -

Definition at line 364 of file cmd2.py.

- -

Referenced by complete_statement().

- -
-
- -
- -
- -

Definition at line 1218 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::current_script_dir = None [static]
-
-
- -

Definition at line 375 of file cmd2.py.

- -

Referenced by do__relative_load().

- -
-
- -
-
- - - - -
cmd2::Cmd::debug = False [static]
-
-
- -

Definition at line 379 of file cmd2.py.

- -

Referenced by perror().

- -
-
- -
-
- - - - -
string cmd2::Cmd::default_file_name = 'command.txt' [static]
-
-
- -

Definition at line 373 of file cmd2.py.

- -

Referenced by do_ed(), and do_save().

- -
-
- -
-
- - - - -
cmd2::Cmd::default_to_shell = False [static]
-
-
- -

Reimplemented in pirate7::Pirate, and pirate8::Pirate.

- -

Definition at line 370 of file cmd2.py.

- -

Referenced by _default().

- -
-
- -
-
- - - - -
string cmd2::Cmd::defaultExtension = 'txt' [static]
-
-
- -

Definition at line 372 of file cmd2.py.

- -

Referenced by read_file_or_url().

- -
-
- -
-
- - - - -
cmd2::Cmd::do__load = do_load [static]
-
-
- -

Definition at line 1241 of file cmd2.py.

- -

Referenced by do__relative_load(), and do_ed().

- -
-
- -
-
- - - - -
cmd2::Cmd::do_edit = do_ed [static]
-
-
- -

Definition at line 1155 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::do_eof = do_EOF [static]
-
-
- -

Definition at line 939 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::do_exit = do_quit [static]
-
-
- -

Definition at line 943 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::do_hi = do_history [static]
-
-
- -

Definition at line 1124 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::do_l = do_list [static]
-
-
- -

Definition at line 1125 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::do_li = do_list [static]
-
-
- -

Definition at line 1126 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::do_q = do_quit [static]
-
-
- -

Definition at line 944 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::do_r = do_run [static]
-
-
- -

Definition at line 1256 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::echo = False [static]
-
-
- -

Definition at line 362 of file cmd2.py.

- -
-
- -
-
- - - - -
tuple cmd2::Cmd::editor = os.environ.get('EDITOR') [static]
-
-
- -

Definition at line 418 of file cmd2.py.

- -

Referenced by do_ed().

- -
-
- -
-
- - - - -
string cmd2::Cmd::editor = 'notepad' [static]
-
-
- -

Definition at line 421 of file cmd2.py.

- -
-
- -
-
- - - - -
string cmd2::Cmd::excludeFromHistory = '''run r list l history hi ed edit li eof''' [static]
-
-
- -

Definition at line 369 of file cmd2.py.

- -

Referenced by onecmd_plus_hooks().

- -
-
- -
-
- - - - -
cmd2::Cmd::feedback_to_output = False [static]
-
-
- -

Definition at line 377 of file cmd2.py.

- -

Referenced by pfeedback().

- -
-
- -
-
- - - - -
string cmd2::Cmd::help = "describe function of parameter" [static]
-
-
- -

Reimplemented in pirate8::Pirate.

- -

Definition at line 981 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::history
-
-
- -

Definition at line 469 of file cmd2.py.

- -

Referenced by do_ed(), do_history(), do_save(), and last_matching().

- -
-
- -
- -
- -

Definition at line 469 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 667 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::intro
-
-
- -

Definition at line 898 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::kept_state = None [static]
-
-
- -

Definition at line 381 of file cmd2.py.

- -

Referenced by redirect_output(), and restore_output().

- -
-
- -
-
- - - - -
cmd2::Cmd::kept_sys
-
-
- -

Definition at line 809 of file cmd2.py.

- -

Referenced by redirect_output().

- -
-
- -
-
- - - - -
cmd2::Cmd::keywords
-
-
- -

Definition at line 469 of file cmd2.py.

- -

Referenced by func_named().

- -
-
- -
-
- - - - -
cmd2::Cmd::lastcmd
-
-
- -

Definition at line 854 of file cmd2.py.

- -
-
- -
-
- - - - -
string cmd2::Cmd::legalChars = u'!#$%.:?@_' [static]
-
-
- -

Definition at line 367 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::locals_in_py = True [static]
-
-
- -

Definition at line 380 of file cmd2.py.

- -

Referenced by do_py().

- -
-
- -
- -
- -

Definition at line 667 of file cmd2.py.

- -
-
- -
-
- - - - -
list cmd2::Cmd::multilineCommands = [] [static]
-
-
- -

Reimplemented in pirate7::Pirate, pirate8::Pirate, and example::CmdLineApp.

- -

Definition at line 491 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 667 of file cmd2.py.

- -
-
- -
-
- - - - -
string cmd2::Cmd::noSpecialParse = 'set ed edit exit' [static]
-
-
- -

Definition at line 371 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 898 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::parser
-
-
- -

Definition at line 667 of file cmd2.py.

- -

Referenced by cmd2::ParsedString::full_parsed_statement(), and cmd2::ParsedString::with_args_replaced().

- -
-
- -
-
- - - - -
tuple cmd2::Cmd::prefixParser = pyparsing.Empty() [static]
-
-
- -

Definition at line 484 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::prompt
-
-
- -

Reimplemented in pirate6::Pirate, pirate7::Pirate, and pirate8::Pirate.

- -

Definition at line 1218 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::pystate
-
-
- -

Definition at line 469 of file cmd2.py.

- -

Referenced by do_py().

- -
-
- -
-
- - - - -
cmd2::Cmd::quiet = False [static]
-
-
- -

Definition at line 378 of file cmd2.py.

- -

Referenced by pfeedback().

- -
-
- -
-
- - - - -
cmd2::Cmd::redirect
-
-
- -

Definition at line 809 of file cmd2.py.

- -

Referenced by redirect_output().

- -
-
- -
-
- - - - -
string cmd2::Cmd::redirector = '>' [static]
-
-
- -

Reimplemented in example::CmdLineApp.

- -

Definition at line 382 of file cmd2.py.

- -

Referenced by redirect_output().

- -
-
- -
-
- - - - -
list cmd2::Cmd::reserved_words = [] [static]
-
-
- -

Definition at line 376 of file cmd2.py.

- -
-
- -
-
- - - - -
tuple cmd2::Cmd::saveparser [static]
-
-
-Initial value:
(pyparsing.Optional(pyparsing.Word(pyparsing.nums)^'*')("idx") + 
-                  pyparsing.Optional(pyparsing.Word(legalChars + '/\\'))("fname") +
-                  pyparsing.stringEnd)
-
-

Definition at line 1157 of file cmd2.py.

- -
-
- -
-
- - - - -
tuple cmd2::Cmd::settable [static]
-
-
-Initial value:
stubbornDict('''
-    prompt
-    colors                Colorized output (*nix only)
-    continuation_prompt   On 2nd+ line of input
-    debug                 Show full error stack on error
-    default_file_name     for ``save``, ``load``, etc.
-    editor                Program used by ``edit``      
-    case_insensitive      upper- and lower-case both OK
-    feedback_to_output    include nonessentials in `|`, `>` results 
-    quiet                 Don't print nonessential feedback
-    echo                  Echo command issued into output
-    timing                Report execution times
-    abbrev                Accept abbreviated commands
-    ''')
-
-

Reimplemented in pirate7::Pirate, and pirate8::Pirate.

- -

Definition at line 383 of file cmd2.py.

- -

Referenced by do_cmdenvironment(), do_set(), and do_show().

- -
-
- -
-
- - - - -
dictionary cmd2::Cmd::shortcuts = {'?': 'help', '!': 'shell', '@': 'load', '@@': '_relative_load'} [static]
-
-
- -

Definition at line 368 of file cmd2.py.

- -

Referenced by do_shortcuts(), and parsed().

- -
-
- -
- -
- -

Definition at line 469 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 667 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::stdin
-
-
- -

Definition at line 1218 of file cmd2.py.

- -

Referenced by do_py().

- -
-
- -
-
- - - - -
cmd2::Cmd::stdout
-
-
- -

Definition at line 440 of file cmd2.py.

- -

Referenced by do_help(), do_py(), and redirect_output().

- -
-
- -
-
- - - - -
list cmd2::Cmd::terminators = [';'] [static]
-
-
- -

Reimplemented in pirate7::Pirate, and pirate8::Pirate.

- -

Definition at line 489 of file cmd2.py.

- -

Referenced by do_cmdenvironment().

- -
-
- -
-
- - - - -
cmd2::Cmd::timing = False [static]
-
-
- -

Definition at line 365 of file cmd2.py.

- -

Referenced by onecmd_plus_hooks().

- -
-
- -
-
- - - - -
tuple cmd2::Cmd::urlre = re.compile('(https?://[-\\w\\./]+)') [static]
-
-
- -

Definition at line 1217 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 1218 of file cmd2.py.

- -

Referenced by pseudo_raw_input().

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1Cmd.png b/doxygen/html/classcmd2_1_1Cmd.png deleted file mode 100644 index 46cdfc6..0000000 Binary files a/doxygen/html/classcmd2_1_1Cmd.png and /dev/null differ diff --git a/doxygen/html/classcmd2_1_1Cmd2TestCase-members.html b/doxygen/html/classcmd2_1_1Cmd2TestCase-members.html deleted file mode 100644 index a812559..0000000 --- a/doxygen/html/classcmd2_1_1Cmd2TestCase-members.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- - - - - - - diff --git a/doxygen/html/classcmd2_1_1Cmd2TestCase.html b/doxygen/html/classcmd2_1_1Cmd2TestCase.html deleted file mode 100644 index ee68f56..0000000 --- a/doxygen/html/classcmd2_1_1Cmd2TestCase.html +++ /dev/null @@ -1,506 +0,0 @@ - - - - -Cmd2: cmd2::Cmd2TestCase Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
- -
- -

List of all members.

- - - - - - - - - - - - - - - - - - -

-Public Member Functions

def fetchTranscripts
def runTest
def setUp
def tearDown

-Public Attributes

 cmdapp
 outputTrap
 transcripts

-Static Public Attributes

tuple anyWhitespace = re.compile(r'\s', re.DOTALL | re.MULTILINE)
 CmdApp = None
 expectationParser = regexPattern|notRegexPattern
tuple notRegexPattern = pyparsing.Word(pyparsing.printables)
tuple regexPattern = pyparsing.QuotedString(quoteChar=r'/', escChar='\\', multiline=True, unquoteResults=True)

-Private Member Functions

def _test_transcript
-

Detailed Description

-
Subclass this, setting CmdApp, to make a unittest.TestCase class
-   that will execute the commands in a transcript file and expect the results shown.
-   See example.py
-

Definition at line 1476 of file cmd2.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Cmd2TestCase::_test_transcript ( self,
 fname,
 transcript 
) [private]
-
-
- -

Definition at line 1506 of file cmd2.py.

- -

References cmdapp.

- -

Referenced by runTest().

-
01506 
-01507     def _test_transcript(self, fname, transcript):
-01508         lineNum = 0
-01509         finished = False
-01510         line = transcript.next()
-01511         lineNum += 1
-01512         tests_run = 0
-01513         while not finished:
-01514             # Scroll forward to where actual commands begin
-01515             while not line.startswith(self.cmdapp.prompt):
-01516                 try:
-01517                     line = transcript.next()
-01518                 except StopIteration:
-01519                     finished = True
-01520                     break
-01521                 lineNum += 1
-01522             command = [line[len(self.cmdapp.prompt):]]
-01523             line = transcript.next()
-01524             # Read the entirety of a multi-line command
-01525             while line.startswith(self.cmdapp.continuation_prompt):
-01526                 command.append(line[len(self.cmdapp.continuation_prompt):])
-01527                 try:
-01528                     line = transcript.next()
-01529                 except StopIteration:
-01530                     raise (StopIteration, 
-01531                            'Transcript broke off while reading command beginning at line %d with\n%s' 
-01532                            % (command[0]))
-01533                 lineNum += 1
-01534             command = ''.join(command)               
-01535             # Send the command into the application and capture the resulting output
-01536             stop = self.cmdapp.onecmd_plus_hooks(command)
-01537             #TODO: should act on ``stop``
-01538             result = self.outputTrap.read()
-01539             # Read the expected result from transcript
-01540             if line.startswith(self.cmdapp.prompt):
-01541                 message = '\nFile %s, line %d\nCommand was:\n%s\nExpected: (nothing)\nGot:\n%s\n'%\
-01542                     (fname, lineNum, command, result)     
-01543                 self.assert_(not(result.strip()), message)
-01544                 continue
-01545             expected = []
-01546             while not line.startswith(self.cmdapp.prompt):
-01547                 expected.append(line)
-01548                 try:
-01549                     line = transcript.next()
-01550                 except StopIteration:
-01551                     finished = True                       
-01552                     break
-01553                 lineNum += 1
-01554             expected = ''.join(expected)
-01555             # Compare actual result to expected
-01556             message = '\nFile %s, line %d\nCommand was:\n%s\nExpected:\n%s\nGot:\n%s\n'%\
-01557                 (fname, lineNum, command, expected, result)      
-01558             expected = self.expectationParser.transformString(expected)
-01559             # checking whitespace is a pain - let's skip it
-01560             expected = self.anyWhitespace.sub('', expected)
-01561             result = self.anyWhitespace.sub('', result)
-01562             self.assert_(re.match(expected, result, re.MULTILINE | re.DOTALL), message)
-
-
-
-
- -
-
- - - - - - - - -
def cmd2::Cmd2TestCase::fetchTranscripts ( self)
-
-
- -

Definition at line 1481 of file cmd2.py.

- -

Referenced by setUp().

-
01481 
-01482     def fetchTranscripts(self):
-01483         self.transcripts = {}
-01484         for fileset in self.CmdApp.testfiles:
-01485             for fname in glob.glob(fileset):
-01486                 tfile = open(fname)
-01487                 self.transcripts[fname] = iter(tfile.readlines())
-01488                 tfile.close()
-01489         if not len(self.transcripts):
-            raise (StandardError,), "No test files found - nothing to test."
-
-
-
- -
-
- - - - - - - - -
def cmd2::Cmd2TestCase::runTest ( self)
-
-
- -

Definition at line 1495 of file cmd2.py.

- -

References _test_transcript(), and CmdApp.

-
01495 
-01496     def runTest(self): # was testall
-01497         if self.CmdApp:
-01498             its = sorted(self.transcripts.items())
-01499             for (fname, transcript) in its:
-                self._test_transcript(fname, transcript)
-
-
-
- -
-
- - - - - - - - -
def cmd2::Cmd2TestCase::setUp ( self)
-
-
- -

Definition at line 1490 of file cmd2.py.

- -

References CmdApp, cmdapp, fetchTranscripts(), and outputTrap.

-
01490 
-01491     def setUp(self):
-01492         if self.CmdApp:
-01493             self.outputTrap = OutputTrap()
-01494             self.cmdapp = self.CmdApp()
-            self.fetchTranscripts()
-
-
-
- -
-
- - - - - - - - -
def cmd2::Cmd2TestCase::tearDown ( self)
-
-
- -

Definition at line 1563 of file cmd2.py.

- -

References CmdApp.

-
01563 
-01564     def tearDown(self):
-01565         if self.CmdApp:
-01566             self.outputTrap.tearDown()
-
-
-
-
-

Member Data Documentation

- -
-
- - - - -
tuple cmd2::Cmd2TestCase::anyWhitespace = re.compile(r'\s', re.DOTALL | re.MULTILINE) [static]
-
-
- -

Definition at line 1505 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd2TestCase::CmdApp = None [static]
-
-
- -

Definition at line 1480 of file cmd2.py.

- -

Referenced by runTest(), setUp(), and tearDown().

- -
-
- -
- -
- -

Definition at line 1490 of file cmd2.py.

- -

Referenced by _test_transcript(), and setUp().

- -
-
- -
- -
- -

Definition at line 1504 of file cmd2.py.

- -
-
- -
-
- - - - -
tuple cmd2::Cmd2TestCase::notRegexPattern = pyparsing.Word(pyparsing.printables) [static]
-
-
- -

Definition at line 1502 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 1490 of file cmd2.py.

- -

Referenced by setUp().

- -
-
- -
-
- - - - -
tuple cmd2::Cmd2TestCase::regexPattern = pyparsing.QuotedString(quoteChar=r'/', escChar='\\', multiline=True, unquoteResults=True) [static]
-
-
- -

Definition at line 1500 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 1481 of file cmd2.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1Cmd__inherit__graph.dot b/doxygen/html/classcmd2_1_1Cmd__inherit__graph.dot deleted file mode 100644 index e8cc77e..0000000 --- a/doxygen/html/classcmd2_1_1Cmd__inherit__graph.dot +++ /dev/null @@ -1,15 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{cmd2::Cmd\n|+ blankLineTerminationParser\l+ blankLineTerminator\l+ continuation_prompt\l+ history\l+ initial_stdout\l+ inputParser\l+ intro\l+ kept_sys\l+ keywords\l+ lastcmd\l+ multilineCommand\l+ multilineParser\l+ old_completer\l+ parser\l+ prompt\l+ pystate\l+ redirect\l+ shortcuts\l+ singleLineParser\l+ stdin\l+ stdout\l+ use_rawinput\l+ abbrev\l+ blankLinesAllowed\l+ case_insensitive\l+ colorcodes\l+ colors\l+ commentGrammars\l+ commentInProgress\l+ continuation_prompt\l+ current_script_dir\l+ debug\l+ default_file_name\l+ default_to_shell\l+ defaultExtension\l+ do__load\l+ do_edit\l+ do_eof\l+ do_exit\l+ do_hi\l+ do_l\l+ do_li\l+ do_q\l+ do_r\l+ echo\l+ editor\l+ editor\l+ excludeFromHistory\l+ feedback_to_output\l+ help\l+ kept_state\l+ legalChars\l+ locals_in_py\l+ multilineCommands\l+ noSpecialParse\l+ prefixParser\l+ quiet\l+ redirector\l+ reserved_words\l+ saveparser\l+ settable\l+ shortcuts\l+ terminators\l+ timing\l+ urlre\l- _STOP_AND_EXIT\l- _STOP_SCRIPT_NO_EXIT\l|+ __init__()\l+ cmdloop()\l+ colorize()\l+ complete_statement()\l+ do__relative_load()\l+ do_cmdenvironment()\l+ do_ed()\l+ do_EOF()\l+ do_help()\l+ do_history()\l+ do_list()\l+ do_load()\l+ do_pause()\l+ do_py()\l+ do_quit()\l+ do_run()\l+ do_save()\l+ do_set()\l+ do_shell()\l+ do_shortcuts()\l+ do_show()\l+ fileimport()\l+ func_named()\l+ last_matching()\l+ onecmd()\l+ onecmd_plus_hooks()\l+ parsed()\l+ perror()\l+ pfeedback()\l+ postparse()\l+ postparsing_postcmd()\l+ postparsing_precmd()\l+ poutput()\l+ preparse()\l+ pseudo_raw_input()\l+ read_file_or_url()\l+ redirect_output()\l+ restore_output()\l+ run_commands_at_invocation()\l+ runTranscriptTests()\l+ select()\l- _cmdloop()\l- _default()\l- _init_parser()\l}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node2 [label="{example::CmdLineApp\n|+ do_orate\l+ do_say\l+ maxrepeats\l+ multilineCommands\l+ redirector\l|+ do_speak()\l}",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classexample_1_1CmdLineApp.html"]; - Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node3 [label="{pirate6::Pirate\n|+ initial_gold\l+ gold\l+ prompt\l|+ default()\l+ do_drink()\l+ do_loot()\l+ do_quit()\l+ postcmd()\l+ precmd()\l}",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classpirate6_1_1Pirate.html"]; - Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node4 [label="{pirate7::Pirate\n|+ initial_gold\l+ default_to_shell\l+ gold\l+ multilineCommands\l+ prompt\l+ settable\l+ songcolor\l+ terminators\l|+ default()\l+ do_drink()\l+ do_loot()\l+ do_quit()\l+ do_sing()\l+ postcmd()\l+ precmd()\l}",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classpirate7_1_1Pirate.html"]; - Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node5 [label="{pirate8::Pirate\n|+ initial_gold\l+ action\l+ default_to_shell\l+ gold\l+ help\l+ multilineCommands\l+ prompt\l+ settable\l+ songcolor\l+ terminators\l|+ default()\l+ do_drink()\l+ do_loot()\l+ do_quit()\l+ do_sing()\l+ do_yo()\l+ postcmd()\l+ precmd()\l}",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classpirate8_1_1Pirate.html"]; -} diff --git a/doxygen/html/classcmd2_1_1Cmd__inherit__graph.md5 b/doxygen/html/classcmd2_1_1Cmd__inherit__graph.md5 deleted file mode 100644 index 7ac1402..0000000 --- a/doxygen/html/classcmd2_1_1Cmd__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -c1c794b5373476e380640b03b47b2be2 \ No newline at end of file diff --git a/doxygen/html/classcmd2_1_1EmbeddedConsoleExit.html b/doxygen/html/classcmd2_1_1EmbeddedConsoleExit.html deleted file mode 100644 index 39c71cc..0000000 --- a/doxygen/html/classcmd2_1_1EmbeddedConsoleExit.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - -Cmd2: cmd2::EmbeddedConsoleExit Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::EmbeddedConsoleExit Class Reference
-
-
-

Detailed Description

-
-

Definition at line 346 of file cmd2.py.

-

The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1EmptyStatement.html b/doxygen/html/classcmd2_1_1EmptyStatement.html deleted file mode 100644 index 7274b4f..0000000 --- a/doxygen/html/classcmd2_1_1EmptyStatement.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - -Cmd2: cmd2::EmptyStatement Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::EmptyStatement Class Reference
-
-
-

Detailed Description

-
-

Definition at line 349 of file cmd2.py.

-

The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1History-members.html b/doxygen/html/classcmd2_1_1History-members.html deleted file mode 100644 index 927db57..0000000 --- a/doxygen/html/classcmd2_1_1History-members.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::History Member List
-
- -
- - - - - diff --git a/doxygen/html/classcmd2_1_1History.html b/doxygen/html/classcmd2_1_1History.html deleted file mode 100644 index b255a90..0000000 --- a/doxygen/html/classcmd2_1_1History.html +++ /dev/null @@ -1,519 +0,0 @@ - - - - -Cmd2: cmd2::History Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
cmd2::History Class Reference
-
-
- -

List of all members.

- - - - - - - - - - - - -

-Public Member Functions

def append
def extend
def get
def search
def span
def to_index
def zero_based_index

-Static Public Attributes

tuple rangePattern = re.compile(r'^\s*(?P<start>[\d]+)?\s*\-\s*(?P<end>[\d]+)?\s*$')
tuple spanpattern = re.compile(r'^\s*(?P<start>\-?\d+)?\s*(?P<separator>:|(\.{2,}))?\s*(?P<end>\-?\d+)?\s*$')
-

Detailed Description

-
A list of HistoryItems that knows how to respond to user requests.
->>> h = History([HistoryItem('first'), HistoryItem('second'), HistoryItem('third'), HistoryItem('fourth')])
->>> h.span('-2..')
-['third', 'fourth']
->>> h.span('2..3')
-['second', 'third']
->>> h.span('3')
-['third']    
->>> h.span(':')
-['first', 'second', 'third', 'fourth']
->>> h.span('2..')
-['second', 'third', 'fourth']
->>> h.span('-1')
-['fourth']    
->>> h.span('-2..-3')
-['third', 'second']      
->>> h.search('o')
-['second', 'fourth']
->>> h.search('/IR/')
-['first', 'third']
-
-

Definition at line 1304 of file cmd2.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::History::append ( self,
 new 
)
-
-
- -

Definition at line 1368 of file cmd2.py.

- -

Referenced by extend().

-
01368 
-01369     def append(self, new):
-01370         new = HistoryItem(new)
-01371         list.append(self, new)
-        new.idx = len(self)
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::History::extend ( self,
 new 
)
-
-
- -

Definition at line 1372 of file cmd2.py.

- -

References cmd2::StubbornDict::append, and append().

-
01372 
-01373     def extend(self, new):
-01374         for n in new:
-01375             self.append(n)
-        
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::History::get ( self,
 getme = None,
 fromEnd = False 
)
-
-
- -

Definition at line 1376 of file cmd2.py.

-
01376 
-01377     def get(self, getme=None, fromEnd=False):
-01378         if not getme:
-01379             return self
-01380         try:
-01381             getme = int(getme)
-01382             if getme < 0:
-01383                 return self[:(-1 * getme)]
-01384             else:
-01385                 return [self[getme-1]]
-01386         except IndexError:
-01387             return []
-01388         except ValueError:
-01389             rangeResult = self.rangePattern.search(getme)
-01390             if rangeResult:
-01391                 start = rangeResult.group('start') or None
-01392                 end = rangeResult.group('start') or None
-01393                 if start:
-01394                     start = int(start) - 1
-01395                 if end:
-01396                     end = int(end)
-01397                 return self[start:end]
-01398                 
-01399             getme = getme.strip()
-01400 
-01401             if getme.startswith(r'/') and getme.endswith(r'/'):
-01402                 finder = re.compile(getme[1:-1], re.DOTALL | re.MULTILINE | re.IGNORECASE)
-01403                 def isin(hi):
-01404                     return finder.search(hi)
-01405             else:
-01406                 def isin(hi):
-01407                     return (getme.lower() in hi.lowercase)
-01408             return [itm for itm in self if isin(itm)]
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::History::search ( self,
 target 
)
-
-
- -

Definition at line 1337 of file cmd2.py.

-
01337 
-01338     def search(self, target):
-01339         target = target.strip()
-01340         if target[0] == target[-1] == '/' and len(target) > 1:
-01341             target = target[1:-1]
-01342         else:
-01343             target = re.escape(target)
-01344         pattern = re.compile(target, re.IGNORECASE)
-        return [s for s in self if pattern.search(s)]
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::History::span ( self,
 raw 
)
-
-
- -

Definition at line 1346 of file cmd2.py.

- -

References to_index().

-
01346 
-01347     def span(self, raw):
-01348         if raw.lower() in ('*', '-', 'all'):
-01349             raw = ':'
-01350         results = self.spanpattern.search(raw)
-01351         if not results:
-01352             raise IndexError
-01353         if not results.group('separator'):
-01354             return [self[self.to_index(results.group('start'))]]
-01355         start = self.to_index(results.group('start'))
-01356         end = self.to_index(results.group('end'))
-01357         reverse = False
-01358         if end is not None:
-01359             if end < start:
-01360                 (start, end) = (end, start)
-01361                 reverse = True
-01362             end += 1
-01363         result = self[start:end]
-01364         if reverse:
-01365             result.reverse()
-01366         return result
-                
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::History::to_index ( self,
 raw 
)
-
-
- -

Definition at line 1331 of file cmd2.py.

- -

References zero_based_index().

- -

Referenced by span().

-
01331 
-01332     def to_index(self, raw):
-01333         if raw:
-01334             result = self.zero_based_index(int(raw))
-01335         else:
-01336             result = None
-        return result
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::History::zero_based_index ( self,
 onebased 
)
-
-
- -

Definition at line 1326 of file cmd2.py.

- -

Referenced by to_index().

-
01326 
-01327     def zero_based_index(self, onebased):
-01328         result = onebased
-01329         if result > 0:
-01330             result -= 1
-        return result
-
-
-
-

Member Data Documentation

- -
-
- - - - -
tuple cmd2::History::rangePattern = re.compile(r'^\s*(?P<start>[\d]+)?\s*\-\s*(?P<end>[\d]+)?\s*$') [static]
-
-
- -

Definition at line 1367 of file cmd2.py.

- -
-
- -
-
- - - - -
tuple cmd2::History::spanpattern = re.compile(r'^\s*(?P<start>\-?\d+)?\s*(?P<separator>:|(\.{2,}))?\s*(?P<end>\-?\d+)?\s*$') [static]
-
-
- -

Definition at line 1345 of file cmd2.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1HistoryItem-members.html b/doxygen/html/classcmd2_1_1HistoryItem-members.html deleted file mode 100644 index 0c6295e..0000000 --- a/doxygen/html/classcmd2_1_1HistoryItem-members.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::HistoryItem Member List
-
-
-This is the complete list of members for cmd2::HistoryItem, including all inherited members. - - - - - -
__init__cmd2::HistoryItem
idxcmd2::HistoryItem
listformatcmd2::HistoryItem [static]
lowercasecmd2::HistoryItem
prcmd2::HistoryItem
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1HistoryItem.html b/doxygen/html/classcmd2_1_1HistoryItem.html deleted file mode 100644 index 8cdb0ab..0000000 --- a/doxygen/html/classcmd2_1_1HistoryItem.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - -Cmd2: cmd2::HistoryItem Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
cmd2::HistoryItem Class Reference
-
-
- -

List of all members.

- - - - - - - - - -

-Public Member Functions

def __init__
def pr

-Public Attributes

 idx
 lowercase

-Static Public Attributes

string listformat = '-------------------------[%d]\n%s\n'
-

Detailed Description

-
-

Definition at line 1295 of file cmd2.py.

-

Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::HistoryItem::__init__ ( self,
 instr 
)
-
-
- -

Definition at line 1297 of file cmd2.py.

-
01297 
-01298     def __init__(self, instr):
-01299         str.__init__(self)
-01300         self.lowercase = self.lower()
-        self.idx = None
-
-
-
-

Member Function Documentation

- -
-
- - - - - - - - -
def cmd2::HistoryItem::pr ( self)
-
-
- -

Definition at line 1301 of file cmd2.py.

- -

References idx, and listformat.

-
01301 
-01302     def pr(self):
-01303         return self.listformat % (self.idx, str(self))
-        
-
-
-
-

Member Data Documentation

- -
- -
- -

Definition at line 1297 of file cmd2.py.

- -

Referenced by pr().

- -
-
- -
-
- - - - -
string cmd2::HistoryItem::listformat = '-------------------------[%d]\n%s\n' [static]
-
-
- -

Definition at line 1296 of file cmd2.py.

- -

Referenced by pr().

- -
-
- -
- -
- -

Definition at line 1297 of file cmd2.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1NotSettableError.html b/doxygen/html/classcmd2_1_1NotSettableError.html deleted file mode 100644 index 40cefb2..0000000 --- a/doxygen/html/classcmd2_1_1NotSettableError.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - -Cmd2: cmd2::NotSettableError Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::NotSettableError Class Reference
-
-
-

Detailed Description

-
-

Definition at line 1409 of file cmd2.py.

-

The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1OptionParser-members.html b/doxygen/html/classcmd2_1_1OptionParser-members.html deleted file mode 100644 index 9ef0e61..0000000 --- a/doxygen/html/classcmd2_1_1OptionParser-members.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::OptionParser Member List
-
-
-This is the complete list of members for cmd2::OptionParser, including all inherited members. - - - -
errorcmd2::OptionParser
exitcmd2::OptionParser
print_helpcmd2::OptionParser
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1OptionParser.html b/doxygen/html/classcmd2_1_1OptionParser.html deleted file mode 100644 index 548b736..0000000 --- a/doxygen/html/classcmd2_1_1OptionParser.html +++ /dev/null @@ -1,278 +0,0 @@ - - - - -Cmd2: cmd2::OptionParser Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
cmd2::OptionParser Class Reference
-
-
- -

List of all members.

- - - - - -

-Public Member Functions

def error
def exit
def print_help
-

Detailed Description

-
-

Definition at line 64 of file cmd2.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::OptionParser::error ( self,
 msg 
)
-
-
-
error(msg : string)
-
-Print a usage message incorporating 'msg' to stderr and exit.
-If you override this in a subclass, it should not return -- it
-should either exit or raise an exception.
-
-

Definition at line 77 of file cmd2.py.

-
00077 
-00078     def error(self, msg):
-00079         """error(msg : string)
-00080 
-00081         Print a usage message incorporating 'msg' to stderr and exit.
-00082         If you override this in a subclass, it should not return -- it
-00083         should either exit or raise an exception.
-00084         """
-00085         raise optparse.OptParseError(msg)
-        
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::OptionParser::exit ( self,
 status = 0,
 msg = None 
)
-
-
- -

Definition at line 65 of file cmd2.py.

-
00065 
-00066     def exit(self, status=0, msg=None):
-00067         self.values._exit = True
-00068         if msg:
-00069             print (msg)
-            
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::OptionParser::print_help ( self,
 args,
 kwargs 
)
-
-
- -

Definition at line 70 of file cmd2.py.

-
00070 
-00071     def print_help(self, *args, **kwargs):
-00072         try:
-00073             print (self._func.__doc__)
-00074         except AttributeError:
-00075             pass
-00076         optparse.OptionParser.print_help(self, *args, **kwargs)
-
-
-
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1OutputTrap-members.html b/doxygen/html/classcmd2_1_1OutputTrap-members.html deleted file mode 100644 index dffc392..0000000 --- a/doxygen/html/classcmd2_1_1OutputTrap-members.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::OutputTrap Member List
-
- -
- - - - - diff --git a/doxygen/html/classcmd2_1_1OutputTrap.html b/doxygen/html/classcmd2_1_1OutputTrap.html deleted file mode 100644 index db10768..0000000 --- a/doxygen/html/classcmd2_1_1OutputTrap.html +++ /dev/null @@ -1,312 +0,0 @@ - - - - -Cmd2: cmd2::OutputTrap Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
cmd2::OutputTrap Class Reference
-
-
-
-Inheritance diagram for cmd2::OutputTrap:
-
-
- - -cmd2::Borg - -
- -

List of all members.

- - - - - - - - - -

-Public Member Functions

def __init__
def read
def tearDown
def write

-Public Attributes

 contents
 old_stdout
-

Detailed Description

-
Instantiate  an OutputTrap to divert/capture ALL stdout output.  For use in unit testing.
-Call `tearDown()` to return to normal output.
-

Definition at line 1459 of file cmd2.py.

-

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
def cmd2::OutputTrap::__init__ ( self)
-
-
- -

Definition at line 1462 of file cmd2.py.

-
01462 
-01463     def __init__(self):
-01464         self.contents = ''
-01465         self.old_stdout = sys.stdout
-        sys.stdout = self
-
-
-
-

Member Function Documentation

- -
-
- - - - - - - - -
def cmd2::OutputTrap::read ( self)
-
-
- -

Definition at line 1468 of file cmd2.py.

- -

References contents.

-
01468 
-01469     def read(self):
-01470         result = self.contents
-01471         self.contents = ''
-        return result
-
-
-
- -
-
- - - - - - - - -
def cmd2::OutputTrap::tearDown ( self)
-
-
- -

Definition at line 1472 of file cmd2.py.

- -

References contents, and old_stdout.

-
01472 
-01473     def tearDown(self):
-01474         sys.stdout = self.old_stdout
-01475         self.contents = ''
-        
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::OutputTrap::write ( self,
 txt 
)
-
-
- -

Definition at line 1466 of file cmd2.py.

- -

References contents.

-
01466 
-01467     def write(self, txt):
-        self.contents += txt
-
-
-
-

Member Data Documentation

- -
- -
- -

Definition at line 1462 of file cmd2.py.

- -

Referenced by read(), tearDown(), and write().

- -
-
- -
- -
- -

Definition at line 1462 of file cmd2.py.

- -

Referenced by tearDown().

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1OutputTrap.png b/doxygen/html/classcmd2_1_1OutputTrap.png deleted file mode 100644 index e7dab35..0000000 Binary files a/doxygen/html/classcmd2_1_1OutputTrap.png and /dev/null differ diff --git a/doxygen/html/classcmd2_1_1OutputTrap__coll__graph.dot b/doxygen/html/classcmd2_1_1OutputTrap__coll__graph.dot deleted file mode 100644 index 16dcbaf..0000000 --- a/doxygen/html/classcmd2_1_1OutputTrap__coll__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{cmd2::OutputTrap\n|+ contents\l+ old_stdout\l|+ __init__()\l+ read()\l+ tearDown()\l+ write()\l}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node2 [label="{cmd2::Borg\n|- _shared_state\l|+ __new__()\l}",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1Borg.html"]; -} diff --git a/doxygen/html/classcmd2_1_1OutputTrap__coll__graph.md5 b/doxygen/html/classcmd2_1_1OutputTrap__coll__graph.md5 deleted file mode 100644 index ed401b4..0000000 --- a/doxygen/html/classcmd2_1_1OutputTrap__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -1988ba17dfe54c6a9c1b5199bcb939d8 \ No newline at end of file diff --git a/doxygen/html/classcmd2_1_1OutputTrap__inherit__graph.dot b/doxygen/html/classcmd2_1_1OutputTrap__inherit__graph.dot deleted file mode 100644 index 16dcbaf..0000000 --- a/doxygen/html/classcmd2_1_1OutputTrap__inherit__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{cmd2::OutputTrap\n|+ contents\l+ old_stdout\l|+ __init__()\l+ read()\l+ tearDown()\l+ write()\l}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node2 [label="{cmd2::Borg\n|- _shared_state\l|+ __new__()\l}",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1Borg.html"]; -} diff --git a/doxygen/html/classcmd2_1_1OutputTrap__inherit__graph.md5 b/doxygen/html/classcmd2_1_1OutputTrap__inherit__graph.md5 deleted file mode 100644 index ed401b4..0000000 --- a/doxygen/html/classcmd2_1_1OutputTrap__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -1988ba17dfe54c6a9c1b5199bcb939d8 \ No newline at end of file diff --git a/doxygen/html/classcmd2_1_1ParsedString-members.html b/doxygen/html/classcmd2_1_1ParsedString-members.html deleted file mode 100644 index 36f9a60..0000000 --- a/doxygen/html/classcmd2_1_1ParsedString-members.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::ParsedString Member List
-
-
-This is the complete list of members for cmd2::ParsedString, including all inherited members. - - -
full_parsed_statementcmd2::ParsedString
with_args_replacedcmd2::ParsedString
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1ParsedString.html b/doxygen/html/classcmd2_1_1ParsedString.html deleted file mode 100644 index c1b36e8..0000000 --- a/doxygen/html/classcmd2_1_1ParsedString.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - -Cmd2: cmd2::ParsedString Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
cmd2::ParsedString Class Reference
-
-
- -

List of all members.

- - - - -

-Public Member Functions

def full_parsed_statement
def with_args_replaced
-

Detailed Description

-
-

Definition at line 257 of file cmd2.py.

-

Member Function Documentation

- -
-
- - - - - - - - -
def cmd2::ParsedString::full_parsed_statement ( self)
-
-
- -

Definition at line 258 of file cmd2.py.

- -

References cmd2::Cmd::parsed(), and cmd2::Cmd::parser.

-
00258 
-00259     def full_parsed_statement(self):
-00260         new = ParsedString('%s %s' % (self.parsed.command, self.parsed.args))
-00261         new.parsed = self.parsed
-00262         new.parser = self.parser
-        return new       
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::ParsedString::with_args_replaced ( self,
 newargs 
)
-
-
- -

Definition at line 263 of file cmd2.py.

- -

References cmd2::Cmd::parsed(), and cmd2::Cmd::parser.

-
00263 
-00264     def with_args_replaced(self, newargs):
-00265         new = ParsedString(newargs)
-00266         new.parsed = self.parsed
-00267         new.parser = self.parser
-00268         new.parsed['args'] = newargs
-00269         new.parsed.statement['args'] = newargs
-00270         return new
-        
-
-
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1PasteBufferError-members.html b/doxygen/html/classcmd2_1_1PasteBufferError-members.html deleted file mode 100644 index 238aba9..0000000 --- a/doxygen/html/classcmd2_1_1PasteBufferError-members.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::PasteBufferError Member List
-
-
-This is the complete list of members for cmd2::PasteBufferError, including all inherited members. - - -
__init__cmd2::PasteBufferError
errmsgcmd2::PasteBufferError [static]
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1PasteBufferError.html b/doxygen/html/classcmd2_1_1PasteBufferError.html deleted file mode 100644 index 06a4f31..0000000 --- a/doxygen/html/classcmd2_1_1PasteBufferError.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - -Cmd2: cmd2::PasteBufferError Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
cmd2::PasteBufferError Class Reference
-
-
- -

List of all members.

- - - - - -

-Public Member Functions

def __init__

-Static Public Attributes

string errmsg
-

Detailed Description

-
-

Definition at line 162 of file cmd2.py.

-

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
def cmd2::PasteBufferError::__init__ ( self)
-
-
- -

Definition at line 174 of file cmd2.py.

- -

References errmsg.

-
00174 
-00175     def __init__(self):
-00176         Exception.__init__(self, self.errmsg)
-
-
-
-
-

Member Data Documentation

- -
-
- - - - -
string cmd2::PasteBufferError::errmsg [static]
-
-
-Initial value:
"""Redirecting to or from paste buffer requires pywin32
-to be installed on operating system.
-Download from http://sourceforge.net/projects/pywin32/"""
-
-

Definition at line 164 of file cmd2.py.

- -

Referenced by __init__().

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1Statekeeper-members.html b/doxygen/html/classcmd2_1_1Statekeeper-members.html deleted file mode 100644 index 173b1cd..0000000 --- a/doxygen/html/classcmd2_1_1Statekeeper-members.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::Statekeeper Member List
-
-
-This is the complete list of members for cmd2::Statekeeper, including all inherited members. - - - - - -
__init__cmd2::Statekeeper
attribscmd2::Statekeeper
objcmd2::Statekeeper
restorecmd2::Statekeeper
savecmd2::Statekeeper
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1Statekeeper.html b/doxygen/html/classcmd2_1_1Statekeeper.html deleted file mode 100644 index 8e52272..0000000 --- a/doxygen/html/classcmd2_1_1Statekeeper.html +++ /dev/null @@ -1,284 +0,0 @@ - - - - -Cmd2: cmd2::Statekeeper Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
cmd2::Statekeeper Class Reference
-
-
- -

List of all members.

- - - - - - - - -

-Public Member Functions

def __init__
def restore
def save

-Public Attributes

 attribs
 obj
-

Detailed Description

-
-

Definition at line 1436 of file cmd2.py.

-

Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Statekeeper::__init__ ( self,
 obj,
 attribs 
)
-
-
- -

Definition at line 1437 of file cmd2.py.

-
01437 
-01438     def __init__(self, obj, attribs):
-01439         self.obj = obj
-01440         self.attribs = attribs
-01441         if self.obj:
-            self.save()
-
-
-
-

Member Function Documentation

- -
-
- - - - - - - - -
def cmd2::Statekeeper::restore ( self)
-
-
- -

Definition at line 1445 of file cmd2.py.

- -

References attribs, and obj.

-
01445 
-01446     def restore(self):
-01447         if self.obj:
-01448             for attrib in self.attribs:
-01449                 setattr(self.obj, attrib, getattr(self, attrib))        
-
-
-
-
- -
-
- - - - - - - - -
def cmd2::Statekeeper::save ( self)
-
-
- -

Definition at line 1442 of file cmd2.py.

- -

References attribs, and obj.

-
01442 
-01443     def save(self):
-01444         for attrib in self.attribs:
-            setattr(self, attrib, getattr(self.obj, attrib))
-
-
-
-

Member Data Documentation

- -
- -
- -

Definition at line 1437 of file cmd2.py.

- -

Referenced by restore(), and save().

- -
-
- -
- -
- -

Definition at line 1437 of file cmd2.py.

- -

Referenced by restore(), and save().

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1StubbornDict-members.html b/doxygen/html/classcmd2_1_1StubbornDict-members.html deleted file mode 100644 index d19e7a1..0000000 --- a/doxygen/html/classcmd2_1_1StubbornDict-members.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::StubbornDict Member List
-
- -
- - - - - diff --git a/doxygen/html/classcmd2_1_1StubbornDict.html b/doxygen/html/classcmd2_1_1StubbornDict.html deleted file mode 100644 index f663de0..0000000 --- a/doxygen/html/classcmd2_1_1StubbornDict.html +++ /dev/null @@ -1,378 +0,0 @@ - - - - -Cmd2: cmd2::StubbornDict Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
cmd2::StubbornDict Class Reference
-
-
- -

List of all members.

- - - - - - - - - -

-Public Member Functions

def __add__
def __iadd__
def __radd__
def to_dict
def update

-Static Public Attributes

 append = update
-

Detailed Description

-
Dictionary that tolerates many input formats.
-Create it with stubbornDict(arg) factory function.
-
->>> d = StubbornDict(large='gross', small='klein')
->>> sorted(d.items())
-[('large', 'gross'), ('small', 'klein')]
->>> d.append(['plain', '  plaid'])
->>> sorted(d.items())
-[('large', 'gross'), ('plaid', ''), ('plain', ''), ('small', 'klein')]
->>> d += '   girl Frauelein, Maedchen\\n\\n shoe schuh'
->>> sorted(d.items())
-[('girl', 'Frauelein, Maedchen'), ('large', 'gross'), ('plaid', ''), ('plain', ''), ('shoe', 'schuh'), ('small', 'klein')]
-
-

Definition at line 271 of file cmd2.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::StubbornDict::__add__ ( self,
 arg 
)
-
-
- -

Definition at line 291 of file cmd2.py.

- -

References cmd2::stubbornDict().

-
00291 
-00292     def __add__(self, arg):
-00293         selfcopy = copy.copy(self)
-00294         selfcopy.update(stubbornDict(arg))
-        return selfcopy
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::StubbornDict::__iadd__ ( self,
 arg 
)
-
-
- -

Definition at line 288 of file cmd2.py.

- -

References update().

-
00288 
-00289     def __iadd__(self, arg):
-00290         self.update(arg)
-        return self
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::StubbornDict::__radd__ ( self,
 arg 
)
-
-
- -

Definition at line 295 of file cmd2.py.

- -

References cmd2::stubbornDict().

-
00295 
-00296     def __radd__(self, arg):
-00297         selfcopy = copy.copy(self)
-00298         selfcopy.update(stubbornDict(arg))
-00299         return selfcopy    
-        
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::StubbornDict::to_dict ( cls,
 arg 
)
-
-
- -

Definition at line 301 of file cmd2.py.

-
00301 
-00302     def to_dict(cls, arg):
-00303         'Generates dictionary from string or list of strings'
-00304         if hasattr(arg, 'splitlines'):
-00305             arg = arg.splitlines()
-00306         if hasattr(arg, '__reversed__'):
-00307             result = {}    
-00308             for a in arg:
-00309                 a = a.strip()
-00310                 if a:
-00311                     key_val = a.split(None, 1)
-00312                     key = key_val[0]
-00313                     if len(key_val) > 1:
-00314                         val = key_val[1]
-00315                     else:
-00316                         val = ''
-00317                     result[key] = val
-00318         else:
-00319             result = arg
-00320         return result
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::StubbornDict::update ( self,
 arg 
)
-
-
- -

Definition at line 285 of file cmd2.py.

- -

Referenced by __iadd__().

-
00285 
-00286     def update(self, arg):
-        dict.update(self, StubbornDict.to_dict(arg))
-
-
-
-

Member Data Documentation

- -
-
- - - - -
cmd2::StubbornDict::append = update [static]
-
-
- -

Definition at line 287 of file cmd2.py.

- -

Referenced by cmd2::History::extend().

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1_borg-members.html b/doxygen/html/classcmd2_1_1_borg-members.html deleted file mode 100644 index 025ea71..0000000 --- a/doxygen/html/classcmd2_1_1_borg-members.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::Borg Member List
-
-
-This is the complete list of members for cmd2::Borg, including all inherited members. - -
__new__cmd2::Borg
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1_borg.html b/doxygen/html/classcmd2_1_1_borg.html deleted file mode 100644 index 7caf290..0000000 --- a/doxygen/html/classcmd2_1_1_borg.html +++ /dev/null @@ -1,192 +0,0 @@ - - - - -Cmd2: cmd2::Borg Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
cmd2::Borg Class Reference
-
-
-
-Inheritance diagram for cmd2::Borg:
-
-
- - -cmd2::OutputTrap - -
- -

List of all members.

- - - -

-Public Member Functions

def __new__
-

Detailed Description

-
All instances of any Borg subclass will share state.
-from Python Cookbook, 2nd Ed., recipe 6.16
-

Definition at line 1450 of file cmd2.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Borg::__new__ ( cls,
 a,
 k 
)
-
-
- -

Definition at line 1454 of file cmd2.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1_borg.png b/doxygen/html/classcmd2_1_1_borg.png deleted file mode 100644 index 962195b..0000000 Binary files a/doxygen/html/classcmd2_1_1_borg.png and /dev/null differ diff --git a/doxygen/html/classcmd2_1_1_cmd-members.html b/doxygen/html/classcmd2_1_1_cmd-members.html deleted file mode 100644 index 7417f21..0000000 --- a/doxygen/html/classcmd2_1_1_cmd-members.html +++ /dev/null @@ -1,236 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::Cmd Member List
-
-
-This is the complete list of members for cmd2::Cmd, including all inherited members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
__init__cmd2::Cmd
abbrevcmd2::Cmd [static]
blankLinesAllowedcmd2::Cmd [static]
blankLineTerminationParsercmd2::Cmd
blankLineTerminatorcmd2::Cmd
case_insensitivecmd2::Cmd [static]
cmdloopcmd2::Cmd
colorcodescmd2::Cmd [static]
colorizecmd2::Cmd
colorscmd2::Cmd [static]
commentGrammarscmd2::Cmd [static]
commentInProgresscmd2::Cmd [static]
complete_statementcmd2::Cmd
continuation_promptcmd2::Cmd [static]
continuation_promptcmd2::Cmd
current_script_dircmd2::Cmd [static]
debugcmd2::Cmd [static]
default_file_namecmd2::Cmd [static]
default_to_shellcmd2::Cmd [static]
defaultExtensioncmd2::Cmd [static]
do__loadcmd2::Cmd [static]
do__relative_loadcmd2::Cmd
do_cmdenvironmentcmd2::Cmd
do_edcmd2::Cmd
do_editcmd2::Cmd [static]
do_eofcmd2::Cmd [static]
do_EOFcmd2::Cmd
do_exitcmd2::Cmd [static]
do_helpcmd2::Cmd
do_hicmd2::Cmd [static]
do_historycmd2::Cmd
do_lcmd2::Cmd [static]
do_licmd2::Cmd [static]
do_listcmd2::Cmd
do_loadcmd2::Cmd
do_pausecmd2::Cmd
do_pycmd2::Cmd
do_qcmd2::Cmd [static]
do_quitcmd2::Cmd
do_rcmd2::Cmd [static]
do_runcmd2::Cmd
do_savecmd2::Cmd
do_setcmd2::Cmd
do_shellcmd2::Cmd
do_shortcutscmd2::Cmd
do_showcmd2::Cmd
echocmd2::Cmd [static]
editorcmd2::Cmd [static]
editorcmd2::Cmd [static]
excludeFromHistorycmd2::Cmd [static]
feedback_to_outputcmd2::Cmd [static]
fileimportcmd2::Cmd
func_namedcmd2::Cmd
helpcmd2::Cmd [static]
historycmd2::Cmd
initial_stdoutcmd2::Cmd
inputParsercmd2::Cmd
introcmd2::Cmd
kept_statecmd2::Cmd [static]
kept_syscmd2::Cmd
keywordscmd2::Cmd
last_matchingcmd2::Cmd
lastcmdcmd2::Cmd
legalCharscmd2::Cmd [static]
locals_in_pycmd2::Cmd [static]
multilineCommandcmd2::Cmd
multilineCommandscmd2::Cmd [static]
multilineParsercmd2::Cmd
noSpecialParsecmd2::Cmd [static]
old_completercmd2::Cmd
onecmdcmd2::Cmd
onecmd_plus_hookscmd2::Cmd
parsedcmd2::Cmd
parsercmd2::Cmd
perrorcmd2::Cmd
pfeedbackcmd2::Cmd
postparsecmd2::Cmd
postparsing_postcmdcmd2::Cmd
postparsing_precmdcmd2::Cmd
poutputcmd2::Cmd
prefixParsercmd2::Cmd [static]
preparsecmd2::Cmd
promptcmd2::Cmd
pseudo_raw_inputcmd2::Cmd
pystatecmd2::Cmd
quietcmd2::Cmd [static]
read_file_or_urlcmd2::Cmd
redirectcmd2::Cmd
redirect_outputcmd2::Cmd
redirectorcmd2::Cmd [static]
reserved_wordscmd2::Cmd [static]
restore_outputcmd2::Cmd
run_commands_at_invocationcmd2::Cmd
runTranscriptTestscmd2::Cmd
saveparsercmd2::Cmd [static]
selectcmd2::Cmd
settablecmd2::Cmd [static]
shortcutscmd2::Cmd [static]
shortcutscmd2::Cmd
singleLineParsercmd2::Cmd
stdincmd2::Cmd
stdoutcmd2::Cmd
terminatorscmd2::Cmd [static]
timingcmd2::Cmd [static]
urlrecmd2::Cmd [static]
use_rawinputcmd2::Cmd
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1_cmd.html b/doxygen/html/classcmd2_1_1_cmd.html deleted file mode 100644 index 8a89fed..0000000 --- a/doxygen/html/classcmd2_1_1_cmd.html +++ /dev/null @@ -1,2587 +0,0 @@ - - - - -Cmd2: cmd2::Cmd Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
cmd2::Cmd Class Reference
-
-
-
-Inheritance diagram for cmd2::Cmd:
-
-
- - -example::CmdLineApp -pirate6::Pirate -pirate7::Pirate -pirate8::Pirate - -
- -

List of all members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

def poutput
def perror
def pfeedback
def colorize
def do_cmdenvironment
def do_help
def __init__
def do_shortcuts
def preparse
def postparse
def parsed
def postparsing_precmd
def postparsing_postcmd
def func_named
def onecmd_plus_hooks
def complete_statement
def redirect_output
def restore_output
def onecmd
def pseudo_raw_input
def do_EOF
def do_quit
def select
def do_show
def do_set
def do_pause
def do_shell
def do_py
def do_history
def last_matching
def do_list
def do_ed
def do_save
def read_file_or_url
def do__relative_load
def do_load
def do_run
def fileimport
def runTranscriptTests
def run_commands_at_invocation
def cmdloop

-Public Attributes

 stdout
 initial_stdout
 history
 pystate
 shortcuts
 keywords
 multilineCommand
 blankLineTerminationParser
 blankLineTerminator
 multilineParser
 singleLineParser
 parser
 inputParser
 kept_sys
 redirect
 lastcmd
 old_completer
 intro
 stdin
 use_rawinput
 prompt
 continuation_prompt

-Static Public Attributes

 echo = False
 case_insensitive = True
string continuation_prompt = '> '
 timing = False
string legalChars = u'!#$%.:?@_'
dictionary shortcuts = {'?': 'help', '!': 'shell', '@': 'load', '@@': '_relative_load'}
string excludeFromHistory = '''run r list l history hi ed edit li eof'''
 default_to_shell = False
string noSpecialParse = 'set ed edit exit'
string defaultExtension = 'txt'
string default_file_name = 'command.txt'
 abbrev = True
 current_script_dir = None
list reserved_words = []
 feedback_to_output = False
 quiet = False
 debug = False
 locals_in_py = True
 kept_state = None
string redirector = '>'
tuple settable
tuple editor = os.environ.get('EDITOR')
string editor = 'notepad'
dictionary colorcodes
tuple colors = (platform.system() != 'Windows')
tuple prefixParser = pyparsing.Empty()
tuple commentGrammars = pyparsing.Or([pyparsing.pythonStyleComment, pyparsing.cStyleComment])
tuple commentInProgress = pyparsing.Literal('/*')
list terminators = [';']
 blankLinesAllowed = False
list multilineCommands = []
 do_eof = do_EOF
 do_exit = do_quit
 do_q = do_quit
string help = "describe function of parameter"
 do_hi = do_history
 do_l = do_list
 do_li = do_list
 do_edit = do_ed
tuple saveparser
tuple urlre = re.compile('(https?://[-\\w\\./]+)')
 do__load = do_load
 do_r = do_run
-

Detailed Description

-
-

Definition at line 361 of file cmd2.py.

-

Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::__init__ ( self,
 args,
 kwargs 
)
-
-
- -

Definition at line 469 of file cmd2.py.

- -
-
-

Member Function Documentation

- -
-
- - - - - - - - -
def cmd2::Cmd::cmdloop ( self)
-
-
- -

Definition at line 1283 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::colorize ( self,
 val,
 color 
)
-
-
-
Given a string (``val``), returns that string wrapped in UNIX-style 
-   special characters that turn on (and then off) text color and style.
-   If the ``colors`` environment paramter is ``False``, or the application
-   is running on Windows, will return ``val`` unchanged.
-   ``color`` should be one of the supported strings (or styles):
-   red/blue/green/cyan/magenta, bold, underline
-

Definition at line 435 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::complete_statement ( self,
 line 
)
-
-
-
Keep accepting lines of input until the command is complete.
-

Definition at line 794 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do__relative_load ( self,
 arg = None 
)
-
-
-
-Runs commands in script at file or URL; if this is called from within an
-already-running script, the filename will be interpreted relative to the 
-already-running script's directory.
-

Definition at line 1206 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_cmdenvironment ( self,
 args 
)
-
-
-
Summary report of interactive parameters.
-

Definition at line 446 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_ed ( self,
 arg 
)
-
-
-
ed: edit most recent command in text editor
-ed [N]: edit numbered command from history
-ed [filename]: edit specified file name
-
-commands are run after editor is closed.
-"set edit (program-name)" or set  EDITOR environment variable
-to control which editing program is used.
-

Definition at line 1128 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_EOF ( self,
 arg 
)
-
-
- -

Definition at line 937 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_help ( self,
 arg 
)
-
-
- -

Definition at line 457 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_history ( self,
 arg,
 opts 
)
-
-
-
history [arg]: lists past commands issued
-
-| no arg:         list all
-| arg is integer: list one history item, by index
-| arg is string:  string search
-| arg is /enclosed in forward-slashes/: regular expression search
-
-

Definition at line 1083 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_list ( self,
 arg 
)
-
-
-
list [arg]: lists last command issued
-
-no arg -> list most recent command
-arg is integer -> list one history item, by index
-a..b, a:b, a:, ..b -> list spans from a (or start) to b (or end)
-arg is string -> list all commands matching string search
-arg is /enclosed in forward-slashes/ -> regular expression search
-
-

Definition at line 1108 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_load ( self,
 arg = None 
)
-
-
-
Runs script of command(s) from a file or URL.
-

Definition at line 1218 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_pause ( self,
 arg 
)
-
-
- -

Definition at line 1031 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_py ( self,
 arg 
)
-
-
-
-py <command>: Executes a Python command.
-py: Enters interactive Python mode.
-End with ``Ctrl-D`` (Unix) / ``Ctrl-Z`` (Windows), ``quit()``, '`exit()``.
-Non-python commands can be issued with ``cmd("your command")``.
-Run python code from external files with ``run("filename.py")``
-
-

Definition at line 1039 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_quit ( self,
 arg 
)
-
-
- -

Reimplemented in pirate6::Pirate, pirate7::Pirate, and pirate8::Pirate.

- -

Definition at line 941 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_run ( self,
 arg 
)
-
-
-
run [arg]: re-runs an earlier command
-
-no arg -> run most recent command
-arg is integer -> run one history item, by index
-arg is string -> run most recent command by string search
-arg is /enclosed in forward-slashes/ -> run most recent by regex
-
-

Definition at line 1243 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_save ( self,
 arg 
)
-
-
-
`save [N] [filename.ext]`
-
-Saves command from history to file.
-
-| N => Number of command (from history), or `*`; 
-|      most recent command if omitted
-

Definition at line 1160 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_set ( self,
 arg 
)
-
-
-
-Sets a cmd2 parameter.  Accepts abbreviated parameter names so long
-as there is no ambiguity.  Call without arguments for a list of 
-settable parameters with their values.
-

Definition at line 1000 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_shell ( self,
 arg 
)
-
-
- -

Definition at line 1035 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_shortcuts ( self,
 args 
)
-
-
-
Lists single-key shortcuts available.
-

Definition at line 479 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::do_show ( self,
 arg,
 opts 
)
-
-
-
Shows value of a parameter.
-

Definition at line 982 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::fileimport ( self,
 statement,
 source 
)
-
-
- -

Definition at line 1258 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::func_named ( self,
 arg 
)
-
-
- -

Definition at line 755 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::last_matching ( self,
 arg 
)
-
-
- -

Definition at line 1100 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::onecmd ( self,
 line 
)
-
-
-
Interpret the argument as though it had been typed in response
-to the prompt.
-
-This may be overridden, but should not normally need to be;
-see the precmd() and postcmd() methods for useful execution hooks.
-The return value is a flag indicating whether interpretation of
-commands by the interpreter should stop.
-
-This (`cmd2`) version of `onecmd` already override's `cmd`'s `onecmd`.
-
-
-

Definition at line 844 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::onecmd_plus_hooks ( self,
 line 
)
-
-
- -

Definition at line 766 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::parsed ( self,
 raw,
 kwargs 
)
-
-
- -

Definition at line 726 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::perror ( self,
 errmsg,
 statement = None 
)
-
-
- -

Definition at line 404 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::pfeedback ( self,
 msg 
)
-
-
-
For printing nonessential feedback.  Can be silenced with `quiet`.
-   Inclusion in redirected output is controlled by `feedback_to_output`.
-

Definition at line 408 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::postparse ( self,
 parseResult 
)
-
-
- -

Definition at line 723 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::postparsing_postcmd ( self,
 stop 
)
-
-
- -

Definition at line 752 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::postparsing_precmd ( self,
 statement 
)
-
-
- -

Definition at line 749 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::poutput ( self,
 msg 
)
-
-
-
Convenient shortcut for self.stdout.write(); adds newline if necessary.
-

Definition at line 398 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::preparse ( self,
 raw,
 kwargs 
)
-
-
- -

Definition at line 721 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::pseudo_raw_input ( self,
 prompt 
)
-
-
-
copied from cmd's cmdloop; like raw_input, but accounts for changed stdin, stdout
-

Definition at line 876 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::read_file_or_url ( self,
 fname 
)
-
-
- -

Definition at line 1189 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::redirect_output ( self,
 statement 
)
-
-
- -

Definition at line 809 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::restore_output ( self,
 statement 
)
-
-
- -

Definition at line 830 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::run_commands_at_invocation ( self,
 callargs 
)
-
-
- -

Definition at line 1278 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::runTranscriptTests ( self,
 callargs 
)
-
-
- -

Definition at line 1268 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Cmd::select ( self,
 options,
 prompt = 'Your choice? ' 
)
-
-
-
Presents a numbered menu to the user.  Modelled after
-   the bash shell's SELECT.  Returns the item chosen.
-   
-   Argument ``options`` can be:
-
-     | a single string -> will be split into one-word options
-     | a list of strings -> will be offered as options
-     | a list of tuples -> interpreted as (value, text), so 
-                   that the return value can differ from
-                   the text advertised to the user 
-

Definition at line 946 of file cmd2.py.

- -
-
-

Member Data Documentation

- -
-
- - - - -
cmd2::Cmd::abbrev = True [static]
-
-
- -

Definition at line 374 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::blankLinesAllowed = False [static]
-
-
- -

Definition at line 490 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 667 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 667 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::case_insensitive = True [static]
-
-
- -

Definition at line 363 of file cmd2.py.

- -
-
- -
-
- - - - -
dictionary cmd2::Cmd::colorcodes [static]
-
-
-Initial value:
{'bold':{True:'\x1b[1m',False:'\x1b[22m'},
-                  'cyan':{True:'\x1b[36m',False:'\x1b[39m'},
-                  'blue':{True:'\x1b[34m',False:'\x1b[39m'},
-                  'red':{True:'\x1b[31m',False:'\x1b[39m'},
-                  'magenta':{True:'\x1b[35m',False:'\x1b[39m'},
-                  'green':{True:'\x1b[32m',False:'\x1b[39m'},
-                  'underline':{True:'\x1b[4m',False:'\x1b[24m'}}
-
-

Definition at line 427 of file cmd2.py.

- -
-
- -
-
- - - - -
tuple cmd2::Cmd::colors = (platform.system() != 'Windows') [static]
-
-
- -

Definition at line 434 of file cmd2.py.

- -
-
- -
-
- - - - -
tuple cmd2::Cmd::commentGrammars = pyparsing.Or([pyparsing.pythonStyleComment, pyparsing.cStyleComment]) [static]
-
-
- -

Definition at line 485 of file cmd2.py.

- -
-
- -
-
- - - - -
tuple cmd2::Cmd::commentInProgress = pyparsing.Literal('/*') [static]
-
-
- -

Definition at line 487 of file cmd2.py.

- -
-
- -
-
- - - - -
string cmd2::Cmd::continuation_prompt = '> ' [static]
-
-
- -

Definition at line 364 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 1218 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::current_script_dir = None [static]
-
-
- -

Definition at line 375 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::debug = False [static]
-
-
- -

Definition at line 379 of file cmd2.py.

- -
-
- -
-
- - - - -
string cmd2::Cmd::default_file_name = 'command.txt' [static]
-
-
- -

Definition at line 373 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::default_to_shell = False [static]
-
-
- -

Reimplemented in pirate7::Pirate, and pirate8::Pirate.

- -

Definition at line 370 of file cmd2.py.

- -
-
- -
-
- - - - -
string cmd2::Cmd::defaultExtension = 'txt' [static]
-
-
- -

Definition at line 372 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::do__load = do_load [static]
-
-
- -

Definition at line 1241 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::do_edit = do_ed [static]
-
-
- -

Definition at line 1155 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::do_eof = do_EOF [static]
-
-
- -

Definition at line 939 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::do_exit = do_quit [static]
-
-
- -

Definition at line 943 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::do_hi = do_history [static]
-
-
- -

Definition at line 1124 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::do_l = do_list [static]
-
-
- -

Definition at line 1125 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::do_li = do_list [static]
-
-
- -

Definition at line 1126 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::do_q = do_quit [static]
-
-
- -

Definition at line 944 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::do_r = do_run [static]
-
-
- -

Definition at line 1256 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::echo = False [static]
-
-
- -

Definition at line 362 of file cmd2.py.

- -
-
- -
-
- - - - -
tuple cmd2::Cmd::editor = os.environ.get('EDITOR') [static]
-
-
- -

Definition at line 418 of file cmd2.py.

- -
-
- -
-
- - - - -
string cmd2::Cmd::editor = 'notepad' [static]
-
-
- -

Definition at line 421 of file cmd2.py.

- -
-
- -
-
- - - - -
string cmd2::Cmd::excludeFromHistory = '''run r list l history hi ed edit li eof''' [static]
-
-
- -

Definition at line 369 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::feedback_to_output = False [static]
-
-
- -

Definition at line 377 of file cmd2.py.

- -
-
- -
-
- - - - -
string cmd2::Cmd::help = "describe function of parameter" [static]
-
-
- -

Reimplemented in pirate8::Pirate.

- -

Definition at line 981 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::history
-
-
- -

Definition at line 469 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 469 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 667 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::intro
-
-
- -

Definition at line 898 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::kept_state = None [static]
-
-
- -

Definition at line 381 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::kept_sys
-
-
- -

Definition at line 809 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::keywords
-
-
- -

Definition at line 469 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::lastcmd
-
-
- -

Definition at line 854 of file cmd2.py.

- -
-
- -
-
- - - - -
string cmd2::Cmd::legalChars = u'!#$%.:?@_' [static]
-
-
- -

Definition at line 367 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::locals_in_py = True [static]
-
-
- -

Definition at line 380 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 667 of file cmd2.py.

- -
-
- -
-
- - - - -
list cmd2::Cmd::multilineCommands = [] [static]
-
-
- -

Reimplemented in pirate7::Pirate, pirate8::Pirate, and example::CmdLineApp.

- -

Definition at line 491 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 667 of file cmd2.py.

- -
-
- -
-
- - - - -
string cmd2::Cmd::noSpecialParse = 'set ed edit exit' [static]
-
-
- -

Definition at line 371 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 898 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::parser
-
-
- -

Definition at line 667 of file cmd2.py.

- -
-
- -
-
- - - - -
tuple cmd2::Cmd::prefixParser = pyparsing.Empty() [static]
-
-
- -

Definition at line 484 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::prompt
-
-
- -

Reimplemented in pirate6::Pirate, pirate7::Pirate, and pirate8::Pirate.

- -

Definition at line 1218 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::pystate
-
-
- -

Definition at line 469 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::quiet = False [static]
-
-
- -

Definition at line 378 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::redirect
-
-
- -

Definition at line 809 of file cmd2.py.

- -
-
- -
-
- - - - -
string cmd2::Cmd::redirector = '>' [static]
-
-
- -

Reimplemented in example::CmdLineApp.

- -

Definition at line 382 of file cmd2.py.

- -
-
- -
-
- - - - -
list cmd2::Cmd::reserved_words = [] [static]
-
-
- -

Definition at line 376 of file cmd2.py.

- -
-
- -
-
- - - - -
tuple cmd2::Cmd::saveparser [static]
-
-
-Initial value:
(pyparsing.Optional(pyparsing.Word(pyparsing.nums)^'*')("idx") + 
-                  pyparsing.Optional(pyparsing.Word(legalChars + '/\\'))("fname") +
-                  pyparsing.stringEnd)
-
-

Definition at line 1157 of file cmd2.py.

- -
-
- -
-
- - - - -
tuple cmd2::Cmd::settable [static]
-
-
-Initial value:
stubbornDict('''
-    prompt
-    colors                Colorized output (*nix only)
-    continuation_prompt   On 2nd+ line of input
-    debug                 Show full error stack on error
-    default_file_name     for ``save``, ``load``, etc.
-    editor                Program used by ``edit``      
-    case_insensitive      upper- and lower-case both OK
-    feedback_to_output    include nonessentials in `|`, `>` results 
-    quiet                 Don't print nonessential feedback
-    echo                  Echo command issued into output
-    timing                Report execution times
-    abbrev                Accept abbreviated commands
-    ''')
-
-

Reimplemented in pirate7::Pirate, and pirate8::Pirate.

- -

Definition at line 383 of file cmd2.py.

- -
-
- -
-
- - - - -
dictionary cmd2::Cmd::shortcuts = {'?': 'help', '!': 'shell', '@': 'load', '@@': '_relative_load'} [static]
-
-
- -

Definition at line 368 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 469 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 667 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::stdin
-
-
- -

Definition at line 1218 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::stdout
-
-
- -

Definition at line 440 of file cmd2.py.

- -
-
- -
-
- - - - -
list cmd2::Cmd::terminators = [';'] [static]
-
-
- -

Reimplemented in pirate7::Pirate, and pirate8::Pirate.

- -

Definition at line 489 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd::timing = False [static]
-
-
- -

Definition at line 365 of file cmd2.py.

- -
-
- -
-
- - - - -
tuple cmd2::Cmd::urlre = re.compile('(https?://[-\\w\\./]+)') [static]
-
-
- -

Definition at line 1217 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 1218 of file cmd2.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1_cmd.png b/doxygen/html/classcmd2_1_1_cmd.png deleted file mode 100644 index 46cdfc6..0000000 Binary files a/doxygen/html/classcmd2_1_1_cmd.png and /dev/null differ diff --git a/doxygen/html/classcmd2_1_1_cmd2_test_case-members.html b/doxygen/html/classcmd2_1_1_cmd2_test_case-members.html deleted file mode 100644 index bb049a6..0000000 --- a/doxygen/html/classcmd2_1_1_cmd2_test_case-members.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- - - - - - - diff --git a/doxygen/html/classcmd2_1_1_cmd2_test_case.html b/doxygen/html/classcmd2_1_1_cmd2_test_case.html deleted file mode 100644 index c8920c8..0000000 --- a/doxygen/html/classcmd2_1_1_cmd2_test_case.html +++ /dev/null @@ -1,363 +0,0 @@ - - - - -Cmd2: cmd2::Cmd2TestCase Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
cmd2::Cmd2TestCase Class Reference
-
-
- -

List of all members.

- - - - - - - - - - - - - - - - -

-Public Member Functions

def fetchTranscripts
def setUp
def runTest
def tearDown

-Public Attributes

 transcripts
 outputTrap
 cmdapp

-Static Public Attributes

 CmdApp = None
tuple regexPattern = pyparsing.QuotedString(quoteChar=r'/', escChar='\\', multiline=True, unquoteResults=True)
tuple notRegexPattern = pyparsing.Word(pyparsing.printables)
 expectationParser = regexPattern|notRegexPattern
tuple anyWhitespace = re.compile(r'\s', re.DOTALL | re.MULTILINE)
-

Detailed Description

-
Subclass this, setting CmdApp, to make a unittest.TestCase class
-   that will execute the commands in a transcript file and expect the results shown.
-   See example.py
-

Definition at line 1476 of file cmd2.py.

-

Member Function Documentation

- -
-
- - - - - - - - -
def cmd2::Cmd2TestCase::fetchTranscripts ( self)
-
-
- -

Definition at line 1481 of file cmd2.py.

- -
-
- -
-
- - - - - - - - -
def cmd2::Cmd2TestCase::runTest ( self)
-
-
- -

Definition at line 1495 of file cmd2.py.

- -
-
- -
-
- - - - - - - - -
def cmd2::Cmd2TestCase::setUp ( self)
-
-
- -

Definition at line 1490 of file cmd2.py.

- -
-
- -
-
- - - - - - - - -
def cmd2::Cmd2TestCase::tearDown ( self)
-
-
- -

Definition at line 1563 of file cmd2.py.

- -
-
-

Member Data Documentation

- -
-
- - - - -
tuple cmd2::Cmd2TestCase::anyWhitespace = re.compile(r'\s', re.DOTALL | re.MULTILINE) [static]
-
-
- -

Definition at line 1505 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::Cmd2TestCase::CmdApp = None [static]
-
-
- -

Definition at line 1480 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 1490 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 1504 of file cmd2.py.

- -
-
- -
-
- - - - -
tuple cmd2::Cmd2TestCase::notRegexPattern = pyparsing.Word(pyparsing.printables) [static]
-
-
- -

Definition at line 1502 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 1490 of file cmd2.py.

- -
-
- -
-
- - - - -
tuple cmd2::Cmd2TestCase::regexPattern = pyparsing.QuotedString(quoteChar=r'/', escChar='\\', multiline=True, unquoteResults=True) [static]
-
-
- -

Definition at line 1500 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 1481 of file cmd2.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1_embedded_console_exit.html b/doxygen/html/classcmd2_1_1_embedded_console_exit.html deleted file mode 100644 index 44f6efd..0000000 --- a/doxygen/html/classcmd2_1_1_embedded_console_exit.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - -Cmd2: cmd2::EmbeddedConsoleExit Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::EmbeddedConsoleExit Class Reference
-
-
-

Detailed Description

-
-

Definition at line 346 of file cmd2.py.

-

The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1_empty_statement.html b/doxygen/html/classcmd2_1_1_empty_statement.html deleted file mode 100644 index b593f62..0000000 --- a/doxygen/html/classcmd2_1_1_empty_statement.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - -Cmd2: cmd2::EmptyStatement Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::EmptyStatement Class Reference
-
-
-

Detailed Description

-
-

Definition at line 349 of file cmd2.py.

-

The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1_history-members.html b/doxygen/html/classcmd2_1_1_history-members.html deleted file mode 100644 index 6a96a69..0000000 --- a/doxygen/html/classcmd2_1_1_history-members.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::History Member List
-
- -
- - - - - diff --git a/doxygen/html/classcmd2_1_1_history.html b/doxygen/html/classcmd2_1_1_history.html deleted file mode 100644 index 903c640..0000000 --- a/doxygen/html/classcmd2_1_1_history.html +++ /dev/null @@ -1,418 +0,0 @@ - - - - -Cmd2: cmd2::History Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
cmd2::History Class Reference
-
-
- -

List of all members.

- - - - - - - - - - - - -

-Public Member Functions

def zero_based_index
def to_index
def search
def span
def append
def extend
def get

-Static Public Attributes

tuple spanpattern = re.compile(r'^\s*(?P<start>\-?\d+)?\s*(?P<separator>:|(\.{2,}))?\s*(?P<end>\-?\d+)?\s*$')
tuple rangePattern = re.compile(r'^\s*(?P<start>[\d]+)?\s*\-\s*(?P<end>[\d]+)?\s*$')
-

Detailed Description

-
A list of HistoryItems that knows how to respond to user requests.
->>> h = History([HistoryItem('first'), HistoryItem('second'), HistoryItem('third'), HistoryItem('fourth')])
->>> h.span('-2..')
-['third', 'fourth']
->>> h.span('2..3')
-['second', 'third']
->>> h.span('3')
-['third']    
->>> h.span(':')
-['first', 'second', 'third', 'fourth']
->>> h.span('2..')
-['second', 'third', 'fourth']
->>> h.span('-1')
-['fourth']    
->>> h.span('-2..-3')
-['third', 'second']      
->>> h.search('o')
-['second', 'fourth']
->>> h.search('/IR/')
-['first', 'third']
-
-

Definition at line 1304 of file cmd2.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::History::append ( self,
 new 
)
-
-
- -

Definition at line 1368 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::History::extend ( self,
 new 
)
-
-
- -

Definition at line 1372 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::History::get ( self,
 getme = None,
 fromEnd = False 
)
-
-
- -

Definition at line 1376 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::History::search ( self,
 target 
)
-
-
- -

Definition at line 1337 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::History::span ( self,
 raw 
)
-
-
- -

Definition at line 1346 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::History::to_index ( self,
 raw 
)
-
-
- -

Definition at line 1331 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::History::zero_based_index ( self,
 onebased 
)
-
-
- -

Definition at line 1326 of file cmd2.py.

- -
-
-

Member Data Documentation

- -
-
- - - - -
tuple cmd2::History::rangePattern = re.compile(r'^\s*(?P<start>[\d]+)?\s*\-\s*(?P<end>[\d]+)?\s*$') [static]
-
-
- -

Definition at line 1367 of file cmd2.py.

- -
-
- -
-
- - - - -
tuple cmd2::History::spanpattern = re.compile(r'^\s*(?P<start>\-?\d+)?\s*(?P<separator>:|(\.{2,}))?\s*(?P<end>\-?\d+)?\s*$') [static]
-
-
- -

Definition at line 1345 of file cmd2.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1_history_item-members.html b/doxygen/html/classcmd2_1_1_history_item-members.html deleted file mode 100644 index f191dcd..0000000 --- a/doxygen/html/classcmd2_1_1_history_item-members.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::HistoryItem Member List
-
-
-This is the complete list of members for cmd2::HistoryItem, including all inherited members. - - - - - -
__init__cmd2::HistoryItem
idxcmd2::HistoryItem
listformatcmd2::HistoryItem [static]
lowercasecmd2::HistoryItem
prcmd2::HistoryItem
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1_history_item.html b/doxygen/html/classcmd2_1_1_history_item.html deleted file mode 100644 index 153f0aa..0000000 --- a/doxygen/html/classcmd2_1_1_history_item.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - -Cmd2: cmd2::HistoryItem Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
cmd2::HistoryItem Class Reference
-
-
- -

List of all members.

- - - - - - - - - -

-Public Member Functions

def __init__
def pr

-Public Attributes

 lowercase
 idx

-Static Public Attributes

string listformat = '-------------------------[%d]\n%s\n'
-

Detailed Description

-
-

Definition at line 1295 of file cmd2.py.

-

Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::HistoryItem::__init__ ( self,
 instr 
)
-
-
- -

Definition at line 1297 of file cmd2.py.

- -
-
-

Member Function Documentation

- -
-
- - - - - - - - -
def cmd2::HistoryItem::pr ( self)
-
-
- -

Definition at line 1301 of file cmd2.py.

- -
-
-

Member Data Documentation

- -
- -
- -

Definition at line 1297 of file cmd2.py.

- -
-
- -
-
- - - - -
string cmd2::HistoryItem::listformat = '-------------------------[%d]\n%s\n' [static]
-
-
- -

Definition at line 1296 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 1297 of file cmd2.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1_not_settable_error.html b/doxygen/html/classcmd2_1_1_not_settable_error.html deleted file mode 100644 index fab387b..0000000 --- a/doxygen/html/classcmd2_1_1_not_settable_error.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - -Cmd2: cmd2::NotSettableError Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::NotSettableError Class Reference
-
-
-

Detailed Description

-
-

Definition at line 1409 of file cmd2.py.

-

The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1_option_parser-members.html b/doxygen/html/classcmd2_1_1_option_parser-members.html deleted file mode 100644 index 1549980..0000000 --- a/doxygen/html/classcmd2_1_1_option_parser-members.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::OptionParser Member List
-
-
-This is the complete list of members for cmd2::OptionParser, including all inherited members. - - - -
errorcmd2::OptionParser
exitcmd2::OptionParser
print_helpcmd2::OptionParser
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1_option_parser.html b/doxygen/html/classcmd2_1_1_option_parser.html deleted file mode 100644 index f7816d0..0000000 --- a/doxygen/html/classcmd2_1_1_option_parser.html +++ /dev/null @@ -1,253 +0,0 @@ - - - - -Cmd2: cmd2::OptionParser Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
cmd2::OptionParser Class Reference
-
-
- -

List of all members.

- - - - - -

-Public Member Functions

def exit
def print_help
def error
-

Detailed Description

-
-

Definition at line 64 of file cmd2.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::OptionParser::error ( self,
 msg 
)
-
-
-
error(msg : string)
-
-Print a usage message incorporating 'msg' to stderr and exit.
-If you override this in a subclass, it should not return -- it
-should either exit or raise an exception.
-
-

Definition at line 77 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::OptionParser::exit ( self,
 status = 0,
 msg = None 
)
-
-
- -

Definition at line 65 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::OptionParser::print_help ( self,
 args,
 kwargs 
)
-
-
- -

Definition at line 70 of file cmd2.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1_output_trap-members.html b/doxygen/html/classcmd2_1_1_output_trap-members.html deleted file mode 100644 index 1650a6a..0000000 --- a/doxygen/html/classcmd2_1_1_output_trap-members.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::OutputTrap Member List
-
- -
- - - - - diff --git a/doxygen/html/classcmd2_1_1_output_trap.html b/doxygen/html/classcmd2_1_1_output_trap.html deleted file mode 100644 index bba7354..0000000 --- a/doxygen/html/classcmd2_1_1_output_trap.html +++ /dev/null @@ -1,283 +0,0 @@ - - - - -Cmd2: cmd2::OutputTrap Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
cmd2::OutputTrap Class Reference
-
-
-
-Inheritance diagram for cmd2::OutputTrap:
-
-
- - -cmd2::Borg - -
- -

List of all members.

- - - - - - - - - -

-Public Member Functions

def __init__
def write
def read
def tearDown

-Public Attributes

 contents
 old_stdout
-

Detailed Description

-
Instantiate  an OutputTrap to divert/capture ALL stdout output.  For use in unit testing.
-Call `tearDown()` to return to normal output.
-

Definition at line 1459 of file cmd2.py.

-

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
def cmd2::OutputTrap::__init__ ( self)
-
-
- -

Definition at line 1462 of file cmd2.py.

- -
-
-

Member Function Documentation

- -
-
- - - - - - - - -
def cmd2::OutputTrap::read ( self)
-
-
- -

Definition at line 1468 of file cmd2.py.

- -
-
- -
-
- - - - - - - - -
def cmd2::OutputTrap::tearDown ( self)
-
-
- -

Definition at line 1472 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::OutputTrap::write ( self,
 txt 
)
-
-
- -

Definition at line 1466 of file cmd2.py.

- -
-
-

Member Data Documentation

- -
- -
- -

Definition at line 1462 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 1462 of file cmd2.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1_output_trap.png b/doxygen/html/classcmd2_1_1_output_trap.png deleted file mode 100644 index e7dab35..0000000 Binary files a/doxygen/html/classcmd2_1_1_output_trap.png and /dev/null differ diff --git a/doxygen/html/classcmd2_1_1_parsed_string-members.html b/doxygen/html/classcmd2_1_1_parsed_string-members.html deleted file mode 100644 index 4fadb6b..0000000 --- a/doxygen/html/classcmd2_1_1_parsed_string-members.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::ParsedString Member List
-
-
-This is the complete list of members for cmd2::ParsedString, including all inherited members. - - -
full_parsed_statementcmd2::ParsedString
with_args_replacedcmd2::ParsedString
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1_parsed_string.html b/doxygen/html/classcmd2_1_1_parsed_string.html deleted file mode 100644 index 105c0c5..0000000 --- a/doxygen/html/classcmd2_1_1_parsed_string.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - -Cmd2: cmd2::ParsedString Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
cmd2::ParsedString Class Reference
-
-
- -

List of all members.

- - - - -

-Public Member Functions

def full_parsed_statement
def with_args_replaced
-

Detailed Description

-
-

Definition at line 257 of file cmd2.py.

-

Member Function Documentation

- -
-
- - - - - - - - -
def cmd2::ParsedString::full_parsed_statement ( self)
-
-
- -

Definition at line 258 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::ParsedString::with_args_replaced ( self,
 newargs 
)
-
-
- -

Definition at line 263 of file cmd2.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1_paste_buffer_error-members.html b/doxygen/html/classcmd2_1_1_paste_buffer_error-members.html deleted file mode 100644 index 05ef9ff..0000000 --- a/doxygen/html/classcmd2_1_1_paste_buffer_error-members.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::PasteBufferError Member List
-
-
-This is the complete list of members for cmd2::PasteBufferError, including all inherited members. - - -
__init__cmd2::PasteBufferError
errmsgcmd2::PasteBufferError [static]
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1_paste_buffer_error.html b/doxygen/html/classcmd2_1_1_paste_buffer_error.html deleted file mode 100644 index 764bc26..0000000 --- a/doxygen/html/classcmd2_1_1_paste_buffer_error.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - -Cmd2: cmd2::PasteBufferError Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
cmd2::PasteBufferError Class Reference
-
-
- -

List of all members.

- - - - - -

-Public Member Functions

def __init__

-Static Public Attributes

string errmsg
-

Detailed Description

-
-

Definition at line 162 of file cmd2.py.

-

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
def cmd2::PasteBufferError::__init__ ( self)
-
-
- -

Definition at line 174 of file cmd2.py.

- -
-
-

Member Data Documentation

- -
-
- - - - -
string cmd2::PasteBufferError::errmsg [static]
-
-
-Initial value:
"""Redirecting to or from paste buffer requires pywin32
-to be installed on operating system.
-Download from http://sourceforge.net/projects/pywin32/"""
-
-

Definition at line 164 of file cmd2.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1_statekeeper-members.html b/doxygen/html/classcmd2_1_1_statekeeper-members.html deleted file mode 100644 index de7df14..0000000 --- a/doxygen/html/classcmd2_1_1_statekeeper-members.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::Statekeeper Member List
-
-
-This is the complete list of members for cmd2::Statekeeper, including all inherited members. - - - - - -
__init__cmd2::Statekeeper
attribscmd2::Statekeeper
objcmd2::Statekeeper
restorecmd2::Statekeeper
savecmd2::Statekeeper
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1_statekeeper.html b/doxygen/html/classcmd2_1_1_statekeeper.html deleted file mode 100644 index 4314148..0000000 --- a/doxygen/html/classcmd2_1_1_statekeeper.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - -Cmd2: cmd2::Statekeeper Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
cmd2::Statekeeper Class Reference
-
-
- -

List of all members.

- - - - - - - - -

-Public Member Functions

def __init__
def save
def restore

-Public Attributes

 obj
 attribs
-

Detailed Description

-
-

Definition at line 1436 of file cmd2.py.

-

Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::Statekeeper::__init__ ( self,
 obj,
 attribs 
)
-
-
- -

Definition at line 1437 of file cmd2.py.

- -
-
-

Member Function Documentation

- -
-
- - - - - - - - -
def cmd2::Statekeeper::restore ( self)
-
-
- -

Definition at line 1445 of file cmd2.py.

- -
-
- -
-
- - - - - - - - -
def cmd2::Statekeeper::save ( self)
-
-
- -

Definition at line 1442 of file cmd2.py.

- -
-
-

Member Data Documentation

- -
- -
- -

Definition at line 1437 of file cmd2.py.

- -
-
- -
- -
- -

Definition at line 1437 of file cmd2.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classcmd2_1_1_stubborn_dict-members.html b/doxygen/html/classcmd2_1_1_stubborn_dict-members.html deleted file mode 100644 index f31ce3d..0000000 --- a/doxygen/html/classcmd2_1_1_stubborn_dict-members.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2::StubbornDict Member List
-
- -
- - - - - diff --git a/doxygen/html/classcmd2_1_1_stubborn_dict.html b/doxygen/html/classcmd2_1_1_stubborn_dict.html deleted file mode 100644 index d7b80fc..0000000 --- a/doxygen/html/classcmd2_1_1_stubborn_dict.html +++ /dev/null @@ -1,328 +0,0 @@ - - - - -Cmd2: cmd2::StubbornDict Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
cmd2::StubbornDict Class Reference
-
-
- -

List of all members.

- - - - - - - - - -

-Public Member Functions

def update
def __iadd__
def __add__
def __radd__
def to_dict

-Static Public Attributes

 append = update
-

Detailed Description

-
Dictionary that tolerates many input formats.
-Create it with stubbornDict(arg) factory function.
-
->>> d = StubbornDict(large='gross', small='klein')
->>> sorted(d.items())
-[('large', 'gross'), ('small', 'klein')]
->>> d.append(['plain', '  plaid'])
->>> sorted(d.items())
-[('large', 'gross'), ('plaid', ''), ('plain', ''), ('small', 'klein')]
->>> d += '   girl Frauelein, Maedchen\\n\\n shoe schuh'
->>> sorted(d.items())
-[('girl', 'Frauelein, Maedchen'), ('large', 'gross'), ('plaid', ''), ('plain', ''), ('shoe', 'schuh'), ('small', 'klein')]
-
-

Definition at line 271 of file cmd2.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::StubbornDict::__add__ ( self,
 arg 
)
-
-
- -

Definition at line 291 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::StubbornDict::__iadd__ ( self,
 arg 
)
-
-
- -

Definition at line 288 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::StubbornDict::__radd__ ( self,
 arg 
)
-
-
- -

Definition at line 295 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::StubbornDict::to_dict ( cls,
 arg 
)
-
-
- -

Definition at line 301 of file cmd2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::StubbornDict::update ( self,
 arg 
)
-
-
- -

Definition at line 285 of file cmd2.py.

- -
-
-

Member Data Documentation

- -
-
- - - - -
cmd2::StubbornDict::append = update [static]
-
-
- -

Definition at line 287 of file cmd2.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/cmd2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classes.html b/doxygen/html/classes.html deleted file mode 100644 index 9f9fce5..0000000 --- a/doxygen/html/classes.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - -Cmd2: Class Index - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
Class Index
-
-
-
B | C | E | H | N | O | P | S
- - - - - - - - - - - - -
  B  
-
  E  
-
  N  
-
PasteBufferError (cmd2)   Pirate (pirate2)   
Pirate (pirate)   
  S  
-
Borg (cmd2)   EmbeddedConsoleExit (cmd2)   NotSettableError (cmd2)   Pirate (pirate8)   
  C  
-
EmptyStatement (cmd2)   
  O  
-
Pirate (pirate7)   Statekeeper (cmd2)   
  H  
-
Pirate (pirate6)   StubbornDict (cmd2)   
Cmd (cmd2)   OptionParser (cmd2)   Pirate (pirate5)   
Cmd2TestCase (cmd2)   History (cmd2)   OutputTrap (cmd2)   Pirate (pirate4)   
CmdLineApp (example)   HistoryItem (cmd2)   
  P  
-
Pirate (pirate3)   
ParsedString (cmd2)   
-
B | C | E | H | N | O | P | S
-
-
- - - - - diff --git a/doxygen/html/classexample_1_1CmdLineApp-members.html b/doxygen/html/classexample_1_1CmdLineApp-members.html deleted file mode 100644 index 06c802a..0000000 --- a/doxygen/html/classexample_1_1CmdLineApp-members.html +++ /dev/null @@ -1,241 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
example::CmdLineApp Member List
-
-
-This is the complete list of members for example::CmdLineApp, including all inherited members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
__init__cmd2::Cmd
abbrevcmd2::Cmd [static]
blankLinesAllowedcmd2::Cmd [static]
blankLineTerminationParsercmd2::Cmd
blankLineTerminatorcmd2::Cmd
case_insensitivecmd2::Cmd [static]
cmdloopcmd2::Cmd
colorcodescmd2::Cmd [static]
colorizecmd2::Cmd
colorscmd2::Cmd [static]
commentGrammarscmd2::Cmd [static]
commentInProgresscmd2::Cmd [static]
complete_statementcmd2::Cmd
continuation_promptcmd2::Cmd [static]
continuation_promptcmd2::Cmd
current_script_dircmd2::Cmd [static]
debugcmd2::Cmd [static]
default_file_namecmd2::Cmd [static]
default_to_shellcmd2::Cmd [static]
defaultExtensioncmd2::Cmd [static]
do__loadcmd2::Cmd [static]
do__relative_loadcmd2::Cmd
do_cmdenvironmentcmd2::Cmd
do_edcmd2::Cmd
do_editcmd2::Cmd [static]
do_eofcmd2::Cmd [static]
do_EOFcmd2::Cmd
do_exitcmd2::Cmd [static]
do_helpcmd2::Cmd
do_hicmd2::Cmd [static]
do_historycmd2::Cmd
do_lcmd2::Cmd [static]
do_licmd2::Cmd [static]
do_listcmd2::Cmd
do_loadcmd2::Cmd
do_orateexample::CmdLineApp [static]
do_pausecmd2::Cmd
do_pycmd2::Cmd
do_qcmd2::Cmd [static]
do_quitcmd2::Cmd
do_rcmd2::Cmd [static]
do_runcmd2::Cmd
do_savecmd2::Cmd
do_sayexample::CmdLineApp [static]
do_setcmd2::Cmd
do_shellcmd2::Cmd
do_shortcutscmd2::Cmd
do_showcmd2::Cmd
do_speakexample::CmdLineApp
echocmd2::Cmd [static]
editorcmd2::Cmd [static]
editorcmd2::Cmd [static]
excludeFromHistorycmd2::Cmd [static]
feedback_to_outputcmd2::Cmd [static]
fileimportcmd2::Cmd
func_namedcmd2::Cmd
helpcmd2::Cmd [static]
historycmd2::Cmd
initial_stdoutcmd2::Cmd
inputParsercmd2::Cmd
introcmd2::Cmd
kept_statecmd2::Cmd [static]
kept_syscmd2::Cmd
keywordscmd2::Cmd
last_matchingcmd2::Cmd
lastcmdcmd2::Cmd
legalCharscmd2::Cmd [static]
locals_in_pycmd2::Cmd [static]
maxrepeatsexample::CmdLineApp [static]
multilineCommandcmd2::Cmd
multilineCommandsexample::CmdLineApp [static]
multilineParsercmd2::Cmd
noSpecialParsecmd2::Cmd [static]
old_completercmd2::Cmd
onecmdcmd2::Cmd
onecmd_plus_hookscmd2::Cmd
parsedcmd2::Cmd
parsercmd2::Cmd
perrorcmd2::Cmd
pfeedbackcmd2::Cmd
postparsecmd2::Cmd
postparsing_postcmdcmd2::Cmd
postparsing_precmdcmd2::Cmd
poutputcmd2::Cmd
prefixParsercmd2::Cmd [static]
preparsecmd2::Cmd
promptcmd2::Cmd
pseudo_raw_inputcmd2::Cmd
pystatecmd2::Cmd
quietcmd2::Cmd [static]
read_file_or_urlcmd2::Cmd
redirectcmd2::Cmd
redirect_outputcmd2::Cmd
redirectorexample::CmdLineApp [static]
reserved_wordscmd2::Cmd [static]
restore_outputcmd2::Cmd
run_commands_at_invocationcmd2::Cmd
runTranscriptTestscmd2::Cmd
saveparsercmd2::Cmd [static]
selectcmd2::Cmd
settablecmd2::Cmd [static]
shortcutscmd2::Cmd [static]
shortcutscmd2::Cmd
singleLineParsercmd2::Cmd
stdincmd2::Cmd
stdoutcmd2::Cmd
terminatorscmd2::Cmd [static]
timingcmd2::Cmd [static]
urlrecmd2::Cmd [static]
use_rawinputcmd2::Cmd
-
- - - - - diff --git a/doxygen/html/classexample_1_1CmdLineApp.html b/doxygen/html/classexample_1_1CmdLineApp.html deleted file mode 100644 index 55bda32..0000000 --- a/doxygen/html/classexample_1_1CmdLineApp.html +++ /dev/null @@ -1,299 +0,0 @@ - - - - -Cmd2: example::CmdLineApp Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
example::CmdLineApp Class Reference
-
-
-
-Inheritance diagram for example::CmdLineApp:
-
-
- - -cmd2::Cmd - -
- -

List of all members.

- - - - - - - - - -

-Public Member Functions

def do_speak

-Static Public Attributes

 do_orate = do_speak
 do_say = do_speak
int maxrepeats = 3
list multilineCommands = ['orate']
string redirector = '->'
-

Detailed Description

-
-

Definition at line 6 of file example.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def example::CmdLineApp::do_speak ( self,
 arg,
 opts = None 
)
-
-
-
Repeats what you tell me to.
-

Definition at line 17 of file example.py.

- -

References maxrepeats.

-
00017 
-00018     def do_speak(self, arg, opts=None):
-00019         """Repeats what you tell me to."""
-00020         arg = ''.join(arg)
-00021         if opts.piglatin:
-00022             arg = '%s%say' % (arg[1:].rstrip(), arg[0])
-00023         if opts.shout:
-00024             arg = arg.upper()
-00025         repetitions = opts.repeat or 1
-00026         for i in range(min(repetitions, self.maxrepeats)):
-00027             self.stdout.write(arg)
-00028             self.stdout.write('\n')
-00029             # self.stdout.write is better than "print", because Cmd can be
-00030             # initialized with a non-standard output destination        
-
-
-
-
-

Member Data Documentation

- -
-
- - - - -
example::CmdLineApp::do_orate = do_speak [static]
-
-
- -

Definition at line 32 of file example.py.

- -
-
- -
-
- - - - -
example::CmdLineApp::do_say = do_speak [static]
-
-
- -

Definition at line 31 of file example.py.

- -
-
- -
-
- - - - -
int example::CmdLineApp::maxrepeats = 3 [static]
-
-
- -

Definition at line 9 of file example.py.

- -

Referenced by do_speak().

- -
-
- -
-
- - - - -
list example::CmdLineApp::multilineCommands = ['orate'] [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 7 of file example.py.

- -
-
- -
-
- - - - -
string example::CmdLineApp::redirector = '->' [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 10 of file example.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/example/example.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classexample_1_1CmdLineApp.png b/doxygen/html/classexample_1_1CmdLineApp.png deleted file mode 100644 index 0ea7501..0000000 Binary files a/doxygen/html/classexample_1_1CmdLineApp.png and /dev/null differ diff --git a/doxygen/html/classexample_1_1CmdLineApp__coll__graph.dot b/doxygen/html/classexample_1_1CmdLineApp__coll__graph.dot deleted file mode 100644 index 82d2079..0000000 --- a/doxygen/html/classexample_1_1CmdLineApp__coll__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{example::CmdLineApp\n|+ do_orate\l+ do_say\l+ maxrepeats\l+ multilineCommands\l+ redirector\l|+ do_speak()\l}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node2 [label="{cmd2::Cmd\n|+ blankLineTerminationParser\l+ blankLineTerminator\l+ continuation_prompt\l+ history\l+ initial_stdout\l+ inputParser\l+ intro\l+ kept_sys\l+ keywords\l+ lastcmd\l+ multilineCommand\l+ multilineParser\l+ old_completer\l+ parser\l+ prompt\l+ pystate\l+ redirect\l+ shortcuts\l+ singleLineParser\l+ stdin\l+ stdout\l+ use_rawinput\l+ abbrev\l+ blankLinesAllowed\l+ case_insensitive\l+ colorcodes\l+ colors\l+ commentGrammars\l+ commentInProgress\l+ continuation_prompt\l+ current_script_dir\l+ debug\l+ default_file_name\l+ default_to_shell\l+ defaultExtension\l+ do__load\l+ do_edit\l+ do_eof\l+ do_exit\l+ do_hi\l+ do_l\l+ do_li\l+ do_q\l+ do_r\l+ echo\l+ editor\l+ editor\l+ excludeFromHistory\l+ feedback_to_output\l+ help\l+ kept_state\l+ legalChars\l+ locals_in_py\l+ multilineCommands\l+ noSpecialParse\l+ prefixParser\l+ quiet\l+ redirector\l+ reserved_words\l+ saveparser\l+ settable\l+ shortcuts\l+ terminators\l+ timing\l+ urlre\l- _STOP_AND_EXIT\l- _STOP_SCRIPT_NO_EXIT\l|+ __init__()\l+ cmdloop()\l+ colorize()\l+ complete_statement()\l+ do__relative_load()\l+ do_cmdenvironment()\l+ do_ed()\l+ do_EOF()\l+ do_help()\l+ do_history()\l+ do_list()\l+ do_load()\l+ do_pause()\l+ do_py()\l+ do_quit()\l+ do_run()\l+ do_save()\l+ do_set()\l+ do_shell()\l+ do_shortcuts()\l+ do_show()\l+ fileimport()\l+ func_named()\l+ last_matching()\l+ onecmd()\l+ onecmd_plus_hooks()\l+ parsed()\l+ perror()\l+ pfeedback()\l+ postparse()\l+ postparsing_postcmd()\l+ postparsing_precmd()\l+ poutput()\l+ preparse()\l+ pseudo_raw_input()\l+ read_file_or_url()\l+ redirect_output()\l+ restore_output()\l+ run_commands_at_invocation()\l+ runTranscriptTests()\l+ select()\l- _cmdloop()\l- _default()\l- _init_parser()\l}",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1Cmd.html"]; -} diff --git a/doxygen/html/classexample_1_1CmdLineApp__coll__graph.md5 b/doxygen/html/classexample_1_1CmdLineApp__coll__graph.md5 deleted file mode 100644 index 6bc23a1..0000000 --- a/doxygen/html/classexample_1_1CmdLineApp__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -869dcf88cab940e4b1a4455adc85182b \ No newline at end of file diff --git a/doxygen/html/classexample_1_1CmdLineApp__inherit__graph.dot b/doxygen/html/classexample_1_1CmdLineApp__inherit__graph.dot deleted file mode 100644 index 82d2079..0000000 --- a/doxygen/html/classexample_1_1CmdLineApp__inherit__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{example::CmdLineApp\n|+ do_orate\l+ do_say\l+ maxrepeats\l+ multilineCommands\l+ redirector\l|+ do_speak()\l}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node2 [label="{cmd2::Cmd\n|+ blankLineTerminationParser\l+ blankLineTerminator\l+ continuation_prompt\l+ history\l+ initial_stdout\l+ inputParser\l+ intro\l+ kept_sys\l+ keywords\l+ lastcmd\l+ multilineCommand\l+ multilineParser\l+ old_completer\l+ parser\l+ prompt\l+ pystate\l+ redirect\l+ shortcuts\l+ singleLineParser\l+ stdin\l+ stdout\l+ use_rawinput\l+ abbrev\l+ blankLinesAllowed\l+ case_insensitive\l+ colorcodes\l+ colors\l+ commentGrammars\l+ commentInProgress\l+ continuation_prompt\l+ current_script_dir\l+ debug\l+ default_file_name\l+ default_to_shell\l+ defaultExtension\l+ do__load\l+ do_edit\l+ do_eof\l+ do_exit\l+ do_hi\l+ do_l\l+ do_li\l+ do_q\l+ do_r\l+ echo\l+ editor\l+ editor\l+ excludeFromHistory\l+ feedback_to_output\l+ help\l+ kept_state\l+ legalChars\l+ locals_in_py\l+ multilineCommands\l+ noSpecialParse\l+ prefixParser\l+ quiet\l+ redirector\l+ reserved_words\l+ saveparser\l+ settable\l+ shortcuts\l+ terminators\l+ timing\l+ urlre\l- _STOP_AND_EXIT\l- _STOP_SCRIPT_NO_EXIT\l|+ __init__()\l+ cmdloop()\l+ colorize()\l+ complete_statement()\l+ do__relative_load()\l+ do_cmdenvironment()\l+ do_ed()\l+ do_EOF()\l+ do_help()\l+ do_history()\l+ do_list()\l+ do_load()\l+ do_pause()\l+ do_py()\l+ do_quit()\l+ do_run()\l+ do_save()\l+ do_set()\l+ do_shell()\l+ do_shortcuts()\l+ do_show()\l+ fileimport()\l+ func_named()\l+ last_matching()\l+ onecmd()\l+ onecmd_plus_hooks()\l+ parsed()\l+ perror()\l+ pfeedback()\l+ postparse()\l+ postparsing_postcmd()\l+ postparsing_precmd()\l+ poutput()\l+ preparse()\l+ pseudo_raw_input()\l+ read_file_or_url()\l+ redirect_output()\l+ restore_output()\l+ run_commands_at_invocation()\l+ runTranscriptTests()\l+ select()\l- _cmdloop()\l- _default()\l- _init_parser()\l}",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1Cmd.html"]; -} diff --git a/doxygen/html/classexample_1_1CmdLineApp__inherit__graph.md5 b/doxygen/html/classexample_1_1CmdLineApp__inherit__graph.md5 deleted file mode 100644 index 6bc23a1..0000000 --- a/doxygen/html/classexample_1_1CmdLineApp__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -869dcf88cab940e4b1a4455adc85182b \ No newline at end of file diff --git a/doxygen/html/classexample_1_1_cmd_line_app-members.html b/doxygen/html/classexample_1_1_cmd_line_app-members.html deleted file mode 100644 index 5029cb7..0000000 --- a/doxygen/html/classexample_1_1_cmd_line_app-members.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
example::CmdLineApp Member List
-
-
-This is the complete list of members for example::CmdLineApp, including all inherited members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
__init__cmd2::Cmd
abbrevcmd2::Cmd [static]
blankLinesAllowedcmd2::Cmd [static]
blankLineTerminationParsercmd2::Cmd
blankLineTerminatorcmd2::Cmd
case_insensitivecmd2::Cmd [static]
cmdloopcmd2::Cmd
colorcodescmd2::Cmd [static]
colorizecmd2::Cmd
colorscmd2::Cmd [static]
commentGrammarscmd2::Cmd [static]
commentInProgresscmd2::Cmd [static]
complete_statementcmd2::Cmd
continuation_promptcmd2::Cmd [static]
continuation_promptcmd2::Cmd
current_script_dircmd2::Cmd [static]
debugcmd2::Cmd [static]
default_file_namecmd2::Cmd [static]
default_to_shellcmd2::Cmd [static]
defaultExtensioncmd2::Cmd [static]
do__loadcmd2::Cmd [static]
do__relative_loadcmd2::Cmd
do_cmdenvironmentcmd2::Cmd
do_edcmd2::Cmd
do_editcmd2::Cmd [static]
do_eofcmd2::Cmd [static]
do_EOFcmd2::Cmd
do_exitcmd2::Cmd [static]
do_helpcmd2::Cmd
do_hicmd2::Cmd [static]
do_historycmd2::Cmd
do_lcmd2::Cmd [static]
do_licmd2::Cmd [static]
do_listcmd2::Cmd
do_loadcmd2::Cmd
do_orateexample::CmdLineApp [static]
do_pausecmd2::Cmd
do_pycmd2::Cmd
do_qcmd2::Cmd [static]
do_quitcmd2::Cmd
do_rcmd2::Cmd [static]
do_runcmd2::Cmd
do_savecmd2::Cmd
do_sayexample::CmdLineApp [static]
do_setcmd2::Cmd
do_shellcmd2::Cmd
do_shortcutscmd2::Cmd
do_showcmd2::Cmd
do_speakexample::CmdLineApp
echocmd2::Cmd [static]
editorcmd2::Cmd [static]
editorcmd2::Cmd [static]
excludeFromHistorycmd2::Cmd [static]
feedback_to_outputcmd2::Cmd [static]
fileimportcmd2::Cmd
func_namedcmd2::Cmd
helpcmd2::Cmd [static]
historycmd2::Cmd
initial_stdoutcmd2::Cmd
inputParsercmd2::Cmd
introcmd2::Cmd
kept_statecmd2::Cmd [static]
kept_syscmd2::Cmd
keywordscmd2::Cmd
last_matchingcmd2::Cmd
lastcmdcmd2::Cmd
legalCharscmd2::Cmd [static]
locals_in_pycmd2::Cmd [static]
maxrepeatsexample::CmdLineApp [static]
multilineCommandcmd2::Cmd
multilineCommandsexample::CmdLineApp [static]
multilineParsercmd2::Cmd
noSpecialParsecmd2::Cmd [static]
old_completercmd2::Cmd
onecmdcmd2::Cmd
onecmd_plus_hookscmd2::Cmd
parsedcmd2::Cmd
parsercmd2::Cmd
perrorcmd2::Cmd
pfeedbackcmd2::Cmd
postparsecmd2::Cmd
postparsing_postcmdcmd2::Cmd
postparsing_precmdcmd2::Cmd
poutputcmd2::Cmd
prefixParsercmd2::Cmd [static]
preparsecmd2::Cmd
promptcmd2::Cmd
pseudo_raw_inputcmd2::Cmd
pystatecmd2::Cmd
quietcmd2::Cmd [static]
read_file_or_urlcmd2::Cmd
redirectcmd2::Cmd
redirect_outputcmd2::Cmd
redirectorexample::CmdLineApp [static]
reserved_wordscmd2::Cmd [static]
restore_outputcmd2::Cmd
run_commands_at_invocationcmd2::Cmd
runTranscriptTestscmd2::Cmd
saveparsercmd2::Cmd [static]
selectcmd2::Cmd
settablecmd2::Cmd [static]
shortcutscmd2::Cmd [static]
shortcutscmd2::Cmd
singleLineParsercmd2::Cmd
stdincmd2::Cmd
stdoutcmd2::Cmd
terminatorscmd2::Cmd [static]
timingcmd2::Cmd [static]
urlrecmd2::Cmd [static]
use_rawinputcmd2::Cmd
-
- - - - - diff --git a/doxygen/html/classexample_1_1_cmd_line_app.html b/doxygen/html/classexample_1_1_cmd_line_app.html deleted file mode 100644 index e271032..0000000 --- a/doxygen/html/classexample_1_1_cmd_line_app.html +++ /dev/null @@ -1,279 +0,0 @@ - - - - -Cmd2: example::CmdLineApp Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
example::CmdLineApp Class Reference
-
-
-
-Inheritance diagram for example::CmdLineApp:
-
-
- - -cmd2::Cmd - -
- -

List of all members.

- - - - - - - - - -

-Public Member Functions

def do_speak

-Static Public Attributes

list multilineCommands = ['orate']
int maxrepeats = 3
string redirector = '->'
 do_say = do_speak
 do_orate = do_speak
-

Detailed Description

-
-

Definition at line 6 of file example.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def example::CmdLineApp::do_speak ( self,
 arg,
 opts = None 
)
-
-
-
Repeats what you tell me to.
-

Definition at line 17 of file example.py.

- -
-
-

Member Data Documentation

- -
-
- - - - -
example::CmdLineApp::do_orate = do_speak [static]
-
-
- -

Definition at line 32 of file example.py.

- -
-
- -
-
- - - - -
example::CmdLineApp::do_say = do_speak [static]
-
-
- -

Definition at line 31 of file example.py.

- -
-
- -
-
- - - - -
int example::CmdLineApp::maxrepeats = 3 [static]
-
-
- -

Definition at line 9 of file example.py.

- -
-
- -
-
- - - - -
list example::CmdLineApp::multilineCommands = ['orate'] [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 7 of file example.py.

- -
-
- -
-
- - - - -
string example::CmdLineApp::redirector = '->' [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 10 of file example.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/example/example.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classexample_1_1_cmd_line_app.png b/doxygen/html/classexample_1_1_cmd_line_app.png deleted file mode 100644 index 0ea7501..0000000 Binary files a/doxygen/html/classexample_1_1_cmd_line_app.png and /dev/null differ diff --git a/doxygen/html/classpirate2_1_1Pirate-members.html b/doxygen/html/classpirate2_1_1Pirate-members.html deleted file mode 100644 index 17d8c7b..0000000 --- a/doxygen/html/classpirate2_1_1Pirate-members.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate2::Pirate Member List
-
-
-This is the complete list of members for pirate2::Pirate, including all inherited members. - - - -
do_drinkpirate2::Pirate
do_lootpirate2::Pirate
goldpirate2::Pirate [static]
-
- - - - - diff --git a/doxygen/html/classpirate2_1_1Pirate.html b/doxygen/html/classpirate2_1_1Pirate.html deleted file mode 100644 index d6c051e..0000000 --- a/doxygen/html/classpirate2_1_1Pirate.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - -Cmd2: pirate2::Pirate Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate2::Pirate Class Reference
-
-
- -

Inherits Cmd.

- -

List of all members.

- - - - - - -

-Public Member Functions

def do_drink
def do_loot

-Static Public Attributes

int gold = 3
-

Detailed Description

-
-

Definition at line 4 of file pirate2.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def pirate2::Pirate::do_drink ( self,
 arg 
)
-
-
- -

Definition at line 11 of file pirate2.py.

- -

References gold.

-
00011 
-00012     def do_drink(self, arg):
-00013         'Drown your sorrrows in rrrum.'
-00014         self.gold -= 1
-00015         print('Now we gots {0} doubloons'
-00016               .format(self.gold))
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate2::Pirate::do_loot ( self,
 arg 
)
-
-
- -

Definition at line 6 of file pirate2.py.

- -

References gold.

-
00006 
-00007     def do_loot(self, arg):
-00008         'Seize booty from a passing ship.'
-00009         self.gold += 1
-00010         print('Now we gots {0} doubloons'
-              .format(self.gold))
-
-
-
-

Member Data Documentation

- - -
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classpirate2_1_1Pirate__coll__graph.dot b/doxygen/html/classpirate2_1_1Pirate__coll__graph.dot deleted file mode 100644 index f0ca8c2..0000000 --- a/doxygen/html/classpirate2_1_1Pirate__coll__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{pirate2::Pirate\n|+ gold\l|+ do_drink()\l+ do_loot()\l}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node2 [label="{Cmd\n||}",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; -} diff --git a/doxygen/html/classpirate2_1_1Pirate__coll__graph.md5 b/doxygen/html/classpirate2_1_1Pirate__coll__graph.md5 deleted file mode 100644 index 93f89d0..0000000 --- a/doxygen/html/classpirate2_1_1Pirate__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -479f075a85617b5fdf00703433ec4173 \ No newline at end of file diff --git a/doxygen/html/classpirate2_1_1Pirate__inherit__graph.dot b/doxygen/html/classpirate2_1_1Pirate__inherit__graph.dot deleted file mode 100644 index f0ca8c2..0000000 --- a/doxygen/html/classpirate2_1_1Pirate__inherit__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{pirate2::Pirate\n|+ gold\l|+ do_drink()\l+ do_loot()\l}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node2 [label="{Cmd\n||}",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; -} diff --git a/doxygen/html/classpirate2_1_1Pirate__inherit__graph.md5 b/doxygen/html/classpirate2_1_1Pirate__inherit__graph.md5 deleted file mode 100644 index 93f89d0..0000000 --- a/doxygen/html/classpirate2_1_1Pirate__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -479f075a85617b5fdf00703433ec4173 \ No newline at end of file diff --git a/doxygen/html/classpirate2_1_1_pirate-members.html b/doxygen/html/classpirate2_1_1_pirate-members.html deleted file mode 100644 index 7663476..0000000 --- a/doxygen/html/classpirate2_1_1_pirate-members.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate2::Pirate Member List
-
-
-This is the complete list of members for pirate2::Pirate, including all inherited members. - - - -
do_drinkpirate2::Pirate
do_lootpirate2::Pirate
goldpirate2::Pirate [static]
-
- - - - - diff --git a/doxygen/html/classpirate2_1_1_pirate.html b/doxygen/html/classpirate2_1_1_pirate.html deleted file mode 100644 index fc4bf60..0000000 --- a/doxygen/html/classpirate2_1_1_pirate.html +++ /dev/null @@ -1,228 +0,0 @@ - - - - -Cmd2: pirate2::Pirate Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate2::Pirate Class Reference
-
-
- -

Inherits Cmd.

- -

List of all members.

- - - - - - -

-Public Member Functions

def do_loot
def do_drink

-Static Public Attributes

int gold = 3
-

Detailed Description

-
-

Definition at line 4 of file pirate2.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def pirate2::Pirate::do_drink ( self,
 arg 
)
-
-
- -

Definition at line 11 of file pirate2.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate2::Pirate::do_loot ( self,
 arg 
)
-
-
- -

Definition at line 6 of file pirate2.py.

- -
-
-

Member Data Documentation

- -
-
- - - - -
int pirate2::Pirate::gold = 3 [static]
-
-
- -

Definition at line 5 of file pirate2.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate2.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classpirate3_1_1Pirate-members.html b/doxygen/html/classpirate3_1_1Pirate-members.html deleted file mode 100644 index a8503da..0000000 --- a/doxygen/html/classpirate3_1_1Pirate-members.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate3::Pirate Member List
-
-
-This is the complete list of members for pirate3::Pirate, including all inherited members. - - - - - - -
do_drinkpirate3::Pirate
do_lootpirate3::Pirate
goldpirate3::Pirate [static]
initial_goldpirate3::Pirate
postcmdpirate3::Pirate
precmdpirate3::Pirate
-
- - - - - diff --git a/doxygen/html/classpirate3_1_1Pirate.html b/doxygen/html/classpirate3_1_1Pirate.html deleted file mode 100644 index c929022..0000000 --- a/doxygen/html/classpirate3_1_1Pirate.html +++ /dev/null @@ -1,348 +0,0 @@ - - - - -Cmd2: pirate3::Pirate Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate3::Pirate Class Reference
-
-
- -

Inherits Cmd.

- -

List of all members.

- - - - - - - - - - -

-Public Member Functions

def do_drink
def do_loot
def postcmd
def precmd

-Public Attributes

 initial_gold

-Static Public Attributes

int gold = 3
-

Detailed Description

-
-

Definition at line 4 of file pirate3.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def pirate3::Pirate::do_drink ( self,
 arg 
)
-
-
- -

Definition at line 9 of file pirate3.py.

- -

References pirate2::Pirate::gold, and gold.

-
00009 
-00010     def do_drink(self, arg):
-00011         'Drown your sorrrows in rrrum.'        
-        self.gold -= 1
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate3::Pirate::do_loot ( self,
 arg 
)
-
-
- -

Definition at line 6 of file pirate3.py.

- -

References pirate2::Pirate::gold, and gold.

-
00006 
-00007     def do_loot(self, arg):
-00008         'Seize booty from a passing ship.'
-        self.gold += 1
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def pirate3::Pirate::postcmd ( self,
 stop,
 line 
)
-
-
- -

Definition at line 15 of file pirate3.py.

- -

References pirate2::Pirate::gold, gold, and initial_gold.

- -

Referenced by cmd2::Cmd::onecmd_plus_hooks().

-
00015 
-00016     def postcmd(self, stop, line):   
-00017         if self.gold != self.initial_gold:
-00018             print('Now we gots {0} doubloons'
-00019                   .format(self.gold))
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate3::Pirate::precmd ( self,
 line 
)
-
-
- -

Definition at line 12 of file pirate3.py.

- -

References pirate2::Pirate::gold, gold, and initial_gold.

- -

Referenced by cmd2::Cmd::onecmd_plus_hooks().

-
00012 
-00013     def precmd(self, line):
-00014         self.initial_gold = self.gold
-        return line
-
-
-
-

Member Data Documentation

- - - - -
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate3.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classpirate3_1_1Pirate__coll__graph.dot b/doxygen/html/classpirate3_1_1Pirate__coll__graph.dot deleted file mode 100644 index bad59b4..0000000 --- a/doxygen/html/classpirate3_1_1Pirate__coll__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{pirate3::Pirate\n|+ initial_gold\l+ gold\l|+ do_drink()\l+ do_loot()\l+ postcmd()\l+ precmd()\l}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node2 [label="{Cmd\n||}",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; -} diff --git a/doxygen/html/classpirate3_1_1Pirate__coll__graph.md5 b/doxygen/html/classpirate3_1_1Pirate__coll__graph.md5 deleted file mode 100644 index d67c16e..0000000 --- a/doxygen/html/classpirate3_1_1Pirate__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -71268600b13a443be54dc42ad7c2aa5c \ No newline at end of file diff --git a/doxygen/html/classpirate3_1_1Pirate__inherit__graph.dot b/doxygen/html/classpirate3_1_1Pirate__inherit__graph.dot deleted file mode 100644 index bad59b4..0000000 --- a/doxygen/html/classpirate3_1_1Pirate__inherit__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{pirate3::Pirate\n|+ initial_gold\l+ gold\l|+ do_drink()\l+ do_loot()\l+ postcmd()\l+ precmd()\l}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node2 [label="{Cmd\n||}",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; -} diff --git a/doxygen/html/classpirate3_1_1Pirate__inherit__graph.md5 b/doxygen/html/classpirate3_1_1Pirate__inherit__graph.md5 deleted file mode 100644 index d67c16e..0000000 --- a/doxygen/html/classpirate3_1_1Pirate__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -71268600b13a443be54dc42ad7c2aa5c \ No newline at end of file diff --git a/doxygen/html/classpirate3_1_1_pirate-members.html b/doxygen/html/classpirate3_1_1_pirate-members.html deleted file mode 100644 index 7fd7611..0000000 --- a/doxygen/html/classpirate3_1_1_pirate-members.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate3::Pirate Member List
-
-
-This is the complete list of members for pirate3::Pirate, including all inherited members. - - - - - - -
do_drinkpirate3::Pirate
do_lootpirate3::Pirate
goldpirate3::Pirate [static]
initial_goldpirate3::Pirate
postcmdpirate3::Pirate
precmdpirate3::Pirate
-
- - - - - diff --git a/doxygen/html/classpirate3_1_1_pirate.html b/doxygen/html/classpirate3_1_1_pirate.html deleted file mode 100644 index 49e2606..0000000 --- a/doxygen/html/classpirate3_1_1_pirate.html +++ /dev/null @@ -1,313 +0,0 @@ - - - - -Cmd2: pirate3::Pirate Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate3::Pirate Class Reference
-
-
- -

Inherits Cmd.

- -

List of all members.

- - - - - - - - - - -

-Public Member Functions

def do_loot
def do_drink
def precmd
def postcmd

-Public Attributes

 initial_gold

-Static Public Attributes

int gold = 3
-

Detailed Description

-
-

Definition at line 4 of file pirate3.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def pirate3::Pirate::do_drink ( self,
 arg 
)
-
-
- -

Definition at line 9 of file pirate3.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate3::Pirate::do_loot ( self,
 arg 
)
-
-
- -

Definition at line 6 of file pirate3.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def pirate3::Pirate::postcmd ( self,
 stop,
 line 
)
-
-
- -

Definition at line 15 of file pirate3.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate3::Pirate::precmd ( self,
 line 
)
-
-
- -

Definition at line 12 of file pirate3.py.

- -
-
-

Member Data Documentation

- -
-
- - - - -
int pirate3::Pirate::gold = 3 [static]
-
-
- -

Definition at line 5 of file pirate3.py.

- -
-
- -
- -
- -

Definition at line 12 of file pirate3.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate3.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classpirate4_1_1Pirate-members.html b/doxygen/html/classpirate4_1_1Pirate-members.html deleted file mode 100644 index ae0ef75..0000000 --- a/doxygen/html/classpirate4_1_1Pirate-members.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate4::Pirate Member List
-
-
-This is the complete list of members for pirate4::Pirate, including all inherited members. - - - - - - -
do_drinkpirate4::Pirate
do_lootpirate4::Pirate
goldpirate4::Pirate [static]
initial_goldpirate4::Pirate
postcmdpirate4::Pirate
precmdpirate4::Pirate
-
- - - - - diff --git a/doxygen/html/classpirate4_1_1Pirate.html b/doxygen/html/classpirate4_1_1Pirate.html deleted file mode 100644 index 1c6ff65..0000000 --- a/doxygen/html/classpirate4_1_1Pirate.html +++ /dev/null @@ -1,356 +0,0 @@ - - - - -Cmd2: pirate4::Pirate Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate4::Pirate Class Reference
-
-
- -

Inherits Cmd.

- -

List of all members.

- - - - - - - - - - -

-Public Member Functions

def do_drink
def do_loot
def postcmd
def precmd

-Public Attributes

 initial_gold

-Static Public Attributes

int gold = 3
-

Detailed Description

-
-

Definition at line 4 of file pirate4.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def pirate4::Pirate::do_drink ( self,
 arg 
)
-
-
-
Drown your sorrrows in rrrum.
-
-drink [n] - drink [n] barrel[s] o' rum.
-

Definition at line 9 of file pirate4.py.

- -

References pirate2::Pirate::gold, gold, and pirate3::Pirate::gold.

-
00009 
-00010     def do_drink(self, arg):
-00011         '''Drown your sorrrows in rrrum.
-00012         
-00013         drink [n] - drink [n] barrel[s] o' rum.'''  
-00014         try:
-00015             self.gold -= int(arg)
-00016         except:
-00017             if arg:
-00018                 print('''What's "{0}"?  I'll take rrrum.'''.format(arg))
-            self.gold -= 1            
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate4::Pirate::do_loot ( self,
 arg 
)
-
-
- -

Definition at line 6 of file pirate4.py.

- -

References pirate2::Pirate::gold, gold, and pirate3::Pirate::gold.

-
00006 
-00007     def do_loot(self, arg):
-00008         'Seize booty from a passing ship.'
-        self.gold += 1
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def pirate4::Pirate::postcmd ( self,
 stop,
 line 
)
-
-
- -

Definition at line 22 of file pirate4.py.

- -

References pirate2::Pirate::gold, pirate3::Pirate::gold, gold, pirate3::Pirate::initial_gold, and initial_gold.

- -

Referenced by cmd2::Cmd::onecmd_plus_hooks().

-
00022 
-00023     def postcmd(self, stop, line):   
-00024         if self.gold != self.initial_gold:
-00025             print('Now we gots {0} doubloons'.format(self.gold))
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate4::Pirate::precmd ( self,
 line 
)
-
-
- -

Definition at line 19 of file pirate4.py.

- -

References pirate2::Pirate::gold, gold, pirate3::Pirate::gold, pirate3::Pirate::initial_gold, and initial_gold.

- -

Referenced by cmd2::Cmd::onecmd_plus_hooks().

-
00019 
-00020     def precmd(self, line):
-00021         self.initial_gold = self.gold
-        return line
-
-
-
-

Member Data Documentation

- - - - -
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate4.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classpirate4_1_1Pirate__coll__graph.dot b/doxygen/html/classpirate4_1_1Pirate__coll__graph.dot deleted file mode 100644 index db533ae..0000000 --- a/doxygen/html/classpirate4_1_1Pirate__coll__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{pirate4::Pirate\n|+ initial_gold\l+ gold\l|+ do_drink()\l+ do_loot()\l+ postcmd()\l+ precmd()\l}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node2 [label="{Cmd\n||}",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; -} diff --git a/doxygen/html/classpirate4_1_1Pirate__coll__graph.md5 b/doxygen/html/classpirate4_1_1Pirate__coll__graph.md5 deleted file mode 100644 index 3c502d4..0000000 --- a/doxygen/html/classpirate4_1_1Pirate__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -f005d56a34bc6158ccd37fdd3d50534f \ No newline at end of file diff --git a/doxygen/html/classpirate4_1_1Pirate__inherit__graph.dot b/doxygen/html/classpirate4_1_1Pirate__inherit__graph.dot deleted file mode 100644 index db533ae..0000000 --- a/doxygen/html/classpirate4_1_1Pirate__inherit__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{pirate4::Pirate\n|+ initial_gold\l+ gold\l|+ do_drink()\l+ do_loot()\l+ postcmd()\l+ precmd()\l}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node2 [label="{Cmd\n||}",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; -} diff --git a/doxygen/html/classpirate4_1_1Pirate__inherit__graph.md5 b/doxygen/html/classpirate4_1_1Pirate__inherit__graph.md5 deleted file mode 100644 index 3c502d4..0000000 --- a/doxygen/html/classpirate4_1_1Pirate__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -f005d56a34bc6158ccd37fdd3d50534f \ No newline at end of file diff --git a/doxygen/html/classpirate4_1_1_pirate-members.html b/doxygen/html/classpirate4_1_1_pirate-members.html deleted file mode 100644 index 77583eb..0000000 --- a/doxygen/html/classpirate4_1_1_pirate-members.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate4::Pirate Member List
-
-
-This is the complete list of members for pirate4::Pirate, including all inherited members. - - - - - - -
do_drinkpirate4::Pirate
do_lootpirate4::Pirate
goldpirate4::Pirate [static]
initial_goldpirate4::Pirate
postcmdpirate4::Pirate
precmdpirate4::Pirate
-
- - - - - diff --git a/doxygen/html/classpirate4_1_1_pirate.html b/doxygen/html/classpirate4_1_1_pirate.html deleted file mode 100644 index b62d036..0000000 --- a/doxygen/html/classpirate4_1_1_pirate.html +++ /dev/null @@ -1,315 +0,0 @@ - - - - -Cmd2: pirate4::Pirate Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate4::Pirate Class Reference
-
-
- -

Inherits Cmd.

- -

List of all members.

- - - - - - - - - - -

-Public Member Functions

def do_loot
def do_drink
def precmd
def postcmd

-Public Attributes

 initial_gold

-Static Public Attributes

int gold = 3
-

Detailed Description

-
-

Definition at line 4 of file pirate4.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def pirate4::Pirate::do_drink ( self,
 arg 
)
-
-
-
Drown your sorrrows in rrrum.
-
-drink [n] - drink [n] barrel[s] o' rum.
-

Definition at line 9 of file pirate4.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate4::Pirate::do_loot ( self,
 arg 
)
-
-
- -

Definition at line 6 of file pirate4.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def pirate4::Pirate::postcmd ( self,
 stop,
 line 
)
-
-
- -

Definition at line 22 of file pirate4.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate4::Pirate::precmd ( self,
 line 
)
-
-
- -

Definition at line 19 of file pirate4.py.

- -
-
-

Member Data Documentation

- -
-
- - - - -
int pirate4::Pirate::gold = 3 [static]
-
-
- -

Definition at line 5 of file pirate4.py.

- -
-
- -
- -
- -

Definition at line 19 of file pirate4.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate4.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classpirate5_1_1Pirate-members.html b/doxygen/html/classpirate5_1_1Pirate-members.html deleted file mode 100644 index 035c0d5..0000000 --- a/doxygen/html/classpirate5_1_1Pirate-members.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate5::Pirate Member List
-
- -
- - - - - diff --git a/doxygen/html/classpirate5_1_1Pirate.html b/doxygen/html/classpirate5_1_1Pirate.html deleted file mode 100644 index 57b624e..0000000 --- a/doxygen/html/classpirate5_1_1Pirate.html +++ /dev/null @@ -1,395 +0,0 @@ - - - - -Cmd2: pirate5::Pirate Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate5::Pirate Class Reference
-
-
- -

Inherits Cmd.

- -

List of all members.

- - - - - - - - - - - -

-Public Member Functions

def do_drink
def do_loot
def do_quit
def postcmd
def precmd

-Public Attributes

 initial_gold

-Static Public Attributes

int gold = 3
-

Detailed Description

-
-

Definition at line 4 of file pirate5.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def pirate5::Pirate::do_drink ( self,
 arg 
)
-
-
-
Drown your sorrrows in rrrum.
-
-drink [n] - drink [n] barrel[s] o' rum.
-

Definition at line 9 of file pirate5.py.

- -

References pirate2::Pirate::gold, gold, pirate4::Pirate::gold, and pirate3::Pirate::gold.

-
00009 
-00010     def do_drink(self, arg):
-00011         '''Drown your sorrrows in rrrum.
-00012         
-00013         drink [n] - drink [n] barrel[s] o' rum.'''          
-00014         try:
-00015             self.gold -= int(arg)
-00016         except:
-00017             if arg:
-00018                 print('''What's "{0}"?  I'll take rrrum.'''.format(arg))
-            self.gold -= 1                  
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate5::Pirate::do_loot ( self,
 arg 
)
-
-
- -

Definition at line 6 of file pirate5.py.

- -

References pirate2::Pirate::gold, gold, pirate4::Pirate::gold, and pirate3::Pirate::gold.

-
00006 
-00007     def do_loot(self, arg):
-00008         'Seize booty from a passing ship.'
-        self.gold += 1
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate5::Pirate::do_quit ( self,
 arg 
)
-
-
- -

Definition at line 30 of file pirate5.py.

-
00030 
-00031     def do_quit(self, arg):
-00032         print("Quiterrr!")
-00033         return True    
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def pirate5::Pirate::postcmd ( self,
 stop,
 line 
)
-
-
- -

Definition at line 22 of file pirate5.py.

- -

References pirate2::Pirate::gold, pirate3::Pirate::gold, gold, pirate4::Pirate::gold, pirate3::Pirate::initial_gold, pirate4::Pirate::initial_gold, and initial_gold.

- -

Referenced by cmd2::Cmd::onecmd_plus_hooks().

-
00022 
-00023     def postcmd(self, stop, line):   
-00024         if self.gold != self.initial_gold:
-00025             print('Now we gots {0} doubloons'
-00026                   .format(self.gold))
-00027         if self.gold < 0:
-00028             print("Off to debtorrr's prison.")
-00029             stop = True
-        return stop
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate5::Pirate::precmd ( self,
 line 
)
-
-
- -

Definition at line 19 of file pirate5.py.

- -

References pirate2::Pirate::gold, gold, pirate3::Pirate::gold, pirate4::Pirate::gold, pirate3::Pirate::initial_gold, initial_gold, and pirate4::Pirate::initial_gold.

- -

Referenced by cmd2::Cmd::onecmd_plus_hooks().

-
00019 
-00020     def precmd(self, line):
-00021         self.initial_gold = self.gold
-        return line
-
-
-
-

Member Data Documentation

- - - - -
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate5.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classpirate5_1_1Pirate__coll__graph.dot b/doxygen/html/classpirate5_1_1Pirate__coll__graph.dot deleted file mode 100644 index 77b9a3b..0000000 --- a/doxygen/html/classpirate5_1_1Pirate__coll__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{pirate5::Pirate\n|+ initial_gold\l+ gold\l|+ do_drink()\l+ do_loot()\l+ do_quit()\l+ postcmd()\l+ precmd()\l}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node2 [label="{Cmd\n||}",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; -} diff --git a/doxygen/html/classpirate5_1_1Pirate__coll__graph.md5 b/doxygen/html/classpirate5_1_1Pirate__coll__graph.md5 deleted file mode 100644 index 49677c3..0000000 --- a/doxygen/html/classpirate5_1_1Pirate__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -69a8edf6e3b44f166f562f0557fe49e2 \ No newline at end of file diff --git a/doxygen/html/classpirate5_1_1Pirate__inherit__graph.dot b/doxygen/html/classpirate5_1_1Pirate__inherit__graph.dot deleted file mode 100644 index 77b9a3b..0000000 --- a/doxygen/html/classpirate5_1_1Pirate__inherit__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{pirate5::Pirate\n|+ initial_gold\l+ gold\l|+ do_drink()\l+ do_loot()\l+ do_quit()\l+ postcmd()\l+ precmd()\l}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node2 [label="{Cmd\n||}",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; -} diff --git a/doxygen/html/classpirate5_1_1Pirate__inherit__graph.md5 b/doxygen/html/classpirate5_1_1Pirate__inherit__graph.md5 deleted file mode 100644 index 49677c3..0000000 --- a/doxygen/html/classpirate5_1_1Pirate__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -69a8edf6e3b44f166f562f0557fe49e2 \ No newline at end of file diff --git a/doxygen/html/classpirate5_1_1_pirate-members.html b/doxygen/html/classpirate5_1_1_pirate-members.html deleted file mode 100644 index 50e6a9f..0000000 --- a/doxygen/html/classpirate5_1_1_pirate-members.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate5::Pirate Member List
-
- -
- - - - - diff --git a/doxygen/html/classpirate5_1_1_pirate.html b/doxygen/html/classpirate5_1_1_pirate.html deleted file mode 100644 index 6c499f7..0000000 --- a/doxygen/html/classpirate5_1_1_pirate.html +++ /dev/null @@ -1,345 +0,0 @@ - - - - -Cmd2: pirate5::Pirate Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate5::Pirate Class Reference
-
-
- -

Inherits Cmd.

- -

List of all members.

- - - - - - - - - - - -

-Public Member Functions

def do_loot
def do_drink
def precmd
def postcmd
def do_quit

-Public Attributes

 initial_gold

-Static Public Attributes

int gold = 3
-

Detailed Description

-
-

Definition at line 4 of file pirate5.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def pirate5::Pirate::do_drink ( self,
 arg 
)
-
-
-
Drown your sorrrows in rrrum.
-
-drink [n] - drink [n] barrel[s] o' rum.
-

Definition at line 9 of file pirate5.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate5::Pirate::do_loot ( self,
 arg 
)
-
-
- -

Definition at line 6 of file pirate5.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate5::Pirate::do_quit ( self,
 arg 
)
-
-
- -

Definition at line 30 of file pirate5.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def pirate5::Pirate::postcmd ( self,
 stop,
 line 
)
-
-
- -

Definition at line 22 of file pirate5.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate5::Pirate::precmd ( self,
 line 
)
-
-
- -

Definition at line 19 of file pirate5.py.

- -
-
-

Member Data Documentation

- -
-
- - - - -
int pirate5::Pirate::gold = 3 [static]
-
-
- -

Definition at line 5 of file pirate5.py.

- -
-
- -
- -
- -

Definition at line 19 of file pirate5.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate5.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classpirate6_1_1Pirate-members.html b/doxygen/html/classpirate6_1_1Pirate-members.html deleted file mode 100644 index c224d76..0000000 --- a/doxygen/html/classpirate6_1_1Pirate-members.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate6::Pirate Member List
-
-
-This is the complete list of members for pirate6::Pirate, including all inherited members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
__init__cmd2::Cmd
abbrevcmd2::Cmd [static]
blankLinesAllowedcmd2::Cmd [static]
blankLineTerminationParsercmd2::Cmd
blankLineTerminatorcmd2::Cmd
case_insensitivecmd2::Cmd [static]
cmdloopcmd2::Cmd
colorcodescmd2::Cmd [static]
colorizecmd2::Cmd
colorscmd2::Cmd [static]
commentGrammarscmd2::Cmd [static]
commentInProgresscmd2::Cmd [static]
complete_statementcmd2::Cmd
continuation_promptcmd2::Cmd [static]
continuation_promptcmd2::Cmd
current_script_dircmd2::Cmd [static]
debugcmd2::Cmd [static]
defaultpirate6::Pirate
default_file_namecmd2::Cmd [static]
default_to_shellcmd2::Cmd [static]
defaultExtensioncmd2::Cmd [static]
do__loadcmd2::Cmd [static]
do__relative_loadcmd2::Cmd
do_cmdenvironmentcmd2::Cmd
do_drinkpirate6::Pirate
do_edcmd2::Cmd
do_editcmd2::Cmd [static]
do_eofcmd2::Cmd [static]
do_EOFcmd2::Cmd
do_exitcmd2::Cmd [static]
do_helpcmd2::Cmd
do_hicmd2::Cmd [static]
do_historycmd2::Cmd
do_lcmd2::Cmd [static]
do_licmd2::Cmd [static]
do_listcmd2::Cmd
do_loadcmd2::Cmd
do_lootpirate6::Pirate
do_pausecmd2::Cmd
do_pycmd2::Cmd
do_qcmd2::Cmd [static]
do_quitpirate6::Pirate
do_rcmd2::Cmd [static]
do_runcmd2::Cmd
do_savecmd2::Cmd
do_setcmd2::Cmd
do_shellcmd2::Cmd
do_shortcutscmd2::Cmd
do_showcmd2::Cmd
echocmd2::Cmd [static]
editorcmd2::Cmd [static]
editorcmd2::Cmd [static]
excludeFromHistorycmd2::Cmd [static]
feedback_to_outputcmd2::Cmd [static]
fileimportcmd2::Cmd
func_namedcmd2::Cmd
goldpirate6::Pirate [static]
helpcmd2::Cmd [static]
historycmd2::Cmd
initial_goldpirate6::Pirate
initial_stdoutcmd2::Cmd
inputParsercmd2::Cmd
introcmd2::Cmd
kept_statecmd2::Cmd [static]
kept_syscmd2::Cmd
keywordscmd2::Cmd
last_matchingcmd2::Cmd
lastcmdcmd2::Cmd
legalCharscmd2::Cmd [static]
locals_in_pycmd2::Cmd [static]
multilineCommandcmd2::Cmd
multilineCommandscmd2::Cmd [static]
multilineParsercmd2::Cmd
noSpecialParsecmd2::Cmd [static]
old_completercmd2::Cmd
onecmdcmd2::Cmd
onecmd_plus_hookscmd2::Cmd
parsedcmd2::Cmd
parsercmd2::Cmd
perrorcmd2::Cmd
pfeedbackcmd2::Cmd
postcmdpirate6::Pirate
postparsecmd2::Cmd
postparsing_postcmdcmd2::Cmd
postparsing_precmdcmd2::Cmd
poutputcmd2::Cmd
precmdpirate6::Pirate
prefixParsercmd2::Cmd [static]
preparsecmd2::Cmd
promptpirate6::Pirate [static]
pseudo_raw_inputcmd2::Cmd
pystatecmd2::Cmd
quietcmd2::Cmd [static]
read_file_or_urlcmd2::Cmd
redirectcmd2::Cmd
redirect_outputcmd2::Cmd
redirectorcmd2::Cmd [static]
reserved_wordscmd2::Cmd [static]
restore_outputcmd2::Cmd
run_commands_at_invocationcmd2::Cmd
runTranscriptTestscmd2::Cmd
saveparsercmd2::Cmd [static]
selectcmd2::Cmd
settablecmd2::Cmd [static]
shortcutscmd2::Cmd [static]
shortcutscmd2::Cmd
singleLineParsercmd2::Cmd
stdincmd2::Cmd
stdoutcmd2::Cmd
terminatorscmd2::Cmd [static]
timingcmd2::Cmd [static]
urlrecmd2::Cmd [static]
use_rawinputcmd2::Cmd
-
- - - - - diff --git a/doxygen/html/classpirate6_1_1Pirate.html b/doxygen/html/classpirate6_1_1Pirate.html deleted file mode 100644 index 4049c54..0000000 --- a/doxygen/html/classpirate6_1_1Pirate.html +++ /dev/null @@ -1,458 +0,0 @@ - - - - -Cmd2: pirate6::Pirate Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate6::Pirate Class Reference
-
-
-
-Inheritance diagram for pirate6::Pirate:
-
-
- - -cmd2::Cmd - -
- -

List of all members.

- - - - - - - - - - - - - -

-Public Member Functions

def default
def do_drink
def do_loot
def do_quit
def postcmd
def precmd

-Public Attributes

 initial_gold

-Static Public Attributes

int gold = 3
string prompt = 'arrr> '
-

Detailed Description

-
-

Definition at line 4 of file pirate6.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def pirate6::Pirate::default ( self,
 line 
)
-
-
- -

Definition at line 7 of file pirate6.py.

- -

Referenced by cmd2::Cmd::_default().

-
00007 
-00008     def default(self, line):
-00009         print('What mean ye by "{0}"?'
-              .format(line))
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate6::Pirate::do_drink ( self,
 arg 
)
-
-
-
Drown your sorrrows in rrrum.
-
-drink [n] - drink [n] barrel[s] o' rum.
-

Definition at line 13 of file pirate6.py.

- -

References pirate2::Pirate::gold, gold, pirate5::Pirate::gold, pirate4::Pirate::gold, and pirate3::Pirate::gold.

-
00013 
-00014     def do_drink(self, arg):
-00015         '''Drown your sorrrows in rrrum.
-00016         
-00017         drink [n] - drink [n] barrel[s] o' rum.'''          
-00018         try:
-00019             self.gold -= int(arg)
-00020         except:
-00021             if arg:
-00022                 print('''What's "{0}"?  I'll take rrrum.'''.format(arg))
-            self.gold -= 1            
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate6::Pirate::do_loot ( self,
 arg 
)
-
-
- -

Definition at line 10 of file pirate6.py.

- -

References pirate2::Pirate::gold, gold, pirate5::Pirate::gold, pirate4::Pirate::gold, and pirate3::Pirate::gold.

-
00010 
-00011     def do_loot(self, arg):
-00012         'Seize booty from a passing ship.'
-        self.gold += 1
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate6::Pirate::do_quit ( self,
 arg 
)
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 34 of file pirate6.py.

-
00034 
-00035     def do_quit(self, arg):
-00036         print("Quiterrr!")
-00037         return True    
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def pirate6::Pirate::postcmd ( self,
 stop,
 line 
)
-
-
- -

Definition at line 26 of file pirate6.py.

- -

References pirate2::Pirate::gold, pirate3::Pirate::gold, pirate5::Pirate::gold, gold, pirate4::Pirate::gold, pirate3::Pirate::initial_gold, pirate5::Pirate::initial_gold, pirate4::Pirate::initial_gold, and initial_gold.

- -

Referenced by cmd2::Cmd::onecmd_plus_hooks().

-
00026 
-00027     def postcmd(self, stop, line):   
-00028         if self.gold != self.initial_gold:
-00029             print('Now we gots {0} doubloons'
-00030                   .format(self.gold))
-00031         if self.gold < 0:
-00032             print("Off to debtorrr's prison.")
-00033             stop = True
-        return stop
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate6::Pirate::precmd ( self,
 line 
)
-
- -
-

Member Data Documentation

- - - - - -
-
- - - - -
string pirate6::Pirate::prompt = 'arrr> ' [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 6 of file pirate6.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate6.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classpirate6_1_1Pirate.png b/doxygen/html/classpirate6_1_1Pirate.png deleted file mode 100644 index 1a8d689..0000000 Binary files a/doxygen/html/classpirate6_1_1Pirate.png and /dev/null differ diff --git a/doxygen/html/classpirate6_1_1Pirate__coll__graph.dot b/doxygen/html/classpirate6_1_1Pirate__coll__graph.dot deleted file mode 100644 index f436815..0000000 --- a/doxygen/html/classpirate6_1_1Pirate__coll__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{pirate6::Pirate\n|+ initial_gold\l+ gold\l+ prompt\l|+ default()\l+ do_drink()\l+ do_loot()\l+ do_quit()\l+ postcmd()\l+ precmd()\l}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node2 [label="{cmd2::Cmd\n|+ blankLineTerminationParser\l+ blankLineTerminator\l+ continuation_prompt\l+ history\l+ initial_stdout\l+ inputParser\l+ intro\l+ kept_sys\l+ keywords\l+ lastcmd\l+ multilineCommand\l+ multilineParser\l+ old_completer\l+ parser\l+ prompt\l+ pystate\l+ redirect\l+ shortcuts\l+ singleLineParser\l+ stdin\l+ stdout\l+ use_rawinput\l+ abbrev\l+ blankLinesAllowed\l+ case_insensitive\l+ colorcodes\l+ colors\l+ commentGrammars\l+ commentInProgress\l+ continuation_prompt\l+ current_script_dir\l+ debug\l+ default_file_name\l+ default_to_shell\l+ defaultExtension\l+ do__load\l+ do_edit\l+ do_eof\l+ do_exit\l+ do_hi\l+ do_l\l+ do_li\l+ do_q\l+ do_r\l+ echo\l+ editor\l+ editor\l+ excludeFromHistory\l+ feedback_to_output\l+ help\l+ kept_state\l+ legalChars\l+ locals_in_py\l+ multilineCommands\l+ noSpecialParse\l+ prefixParser\l+ quiet\l+ redirector\l+ reserved_words\l+ saveparser\l+ settable\l+ shortcuts\l+ terminators\l+ timing\l+ urlre\l- _STOP_AND_EXIT\l- _STOP_SCRIPT_NO_EXIT\l|+ __init__()\l+ cmdloop()\l+ colorize()\l+ complete_statement()\l+ do__relative_load()\l+ do_cmdenvironment()\l+ do_ed()\l+ do_EOF()\l+ do_help()\l+ do_history()\l+ do_list()\l+ do_load()\l+ do_pause()\l+ do_py()\l+ do_quit()\l+ do_run()\l+ do_save()\l+ do_set()\l+ do_shell()\l+ do_shortcuts()\l+ do_show()\l+ fileimport()\l+ func_named()\l+ last_matching()\l+ onecmd()\l+ onecmd_plus_hooks()\l+ parsed()\l+ perror()\l+ pfeedback()\l+ postparse()\l+ postparsing_postcmd()\l+ postparsing_precmd()\l+ poutput()\l+ preparse()\l+ pseudo_raw_input()\l+ read_file_or_url()\l+ redirect_output()\l+ restore_output()\l+ run_commands_at_invocation()\l+ runTranscriptTests()\l+ select()\l- _cmdloop()\l- _default()\l- _init_parser()\l}",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1Cmd.html"]; -} diff --git a/doxygen/html/classpirate6_1_1Pirate__coll__graph.md5 b/doxygen/html/classpirate6_1_1Pirate__coll__graph.md5 deleted file mode 100644 index 93a43a0..0000000 --- a/doxygen/html/classpirate6_1_1Pirate__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -0df3fb694454c31e93b5d1ffd719fe5b \ No newline at end of file diff --git a/doxygen/html/classpirate6_1_1Pirate__inherit__graph.dot b/doxygen/html/classpirate6_1_1Pirate__inherit__graph.dot deleted file mode 100644 index f436815..0000000 --- a/doxygen/html/classpirate6_1_1Pirate__inherit__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{pirate6::Pirate\n|+ initial_gold\l+ gold\l+ prompt\l|+ default()\l+ do_drink()\l+ do_loot()\l+ do_quit()\l+ postcmd()\l+ precmd()\l}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node2 [label="{cmd2::Cmd\n|+ blankLineTerminationParser\l+ blankLineTerminator\l+ continuation_prompt\l+ history\l+ initial_stdout\l+ inputParser\l+ intro\l+ kept_sys\l+ keywords\l+ lastcmd\l+ multilineCommand\l+ multilineParser\l+ old_completer\l+ parser\l+ prompt\l+ pystate\l+ redirect\l+ shortcuts\l+ singleLineParser\l+ stdin\l+ stdout\l+ use_rawinput\l+ abbrev\l+ blankLinesAllowed\l+ case_insensitive\l+ colorcodes\l+ colors\l+ commentGrammars\l+ commentInProgress\l+ continuation_prompt\l+ current_script_dir\l+ debug\l+ default_file_name\l+ default_to_shell\l+ defaultExtension\l+ do__load\l+ do_edit\l+ do_eof\l+ do_exit\l+ do_hi\l+ do_l\l+ do_li\l+ do_q\l+ do_r\l+ echo\l+ editor\l+ editor\l+ excludeFromHistory\l+ feedback_to_output\l+ help\l+ kept_state\l+ legalChars\l+ locals_in_py\l+ multilineCommands\l+ noSpecialParse\l+ prefixParser\l+ quiet\l+ redirector\l+ reserved_words\l+ saveparser\l+ settable\l+ shortcuts\l+ terminators\l+ timing\l+ urlre\l- _STOP_AND_EXIT\l- _STOP_SCRIPT_NO_EXIT\l|+ __init__()\l+ cmdloop()\l+ colorize()\l+ complete_statement()\l+ do__relative_load()\l+ do_cmdenvironment()\l+ do_ed()\l+ do_EOF()\l+ do_help()\l+ do_history()\l+ do_list()\l+ do_load()\l+ do_pause()\l+ do_py()\l+ do_quit()\l+ do_run()\l+ do_save()\l+ do_set()\l+ do_shell()\l+ do_shortcuts()\l+ do_show()\l+ fileimport()\l+ func_named()\l+ last_matching()\l+ onecmd()\l+ onecmd_plus_hooks()\l+ parsed()\l+ perror()\l+ pfeedback()\l+ postparse()\l+ postparsing_postcmd()\l+ postparsing_precmd()\l+ poutput()\l+ preparse()\l+ pseudo_raw_input()\l+ read_file_or_url()\l+ redirect_output()\l+ restore_output()\l+ run_commands_at_invocation()\l+ runTranscriptTests()\l+ select()\l- _cmdloop()\l- _default()\l- _init_parser()\l}",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1Cmd.html"]; -} diff --git a/doxygen/html/classpirate6_1_1Pirate__inherit__graph.md5 b/doxygen/html/classpirate6_1_1Pirate__inherit__graph.md5 deleted file mode 100644 index 93a43a0..0000000 --- a/doxygen/html/classpirate6_1_1Pirate__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -0df3fb694454c31e93b5d1ffd719fe5b \ No newline at end of file diff --git a/doxygen/html/classpirate6_1_1_pirate-members.html b/doxygen/html/classpirate6_1_1_pirate-members.html deleted file mode 100644 index d3520cf..0000000 --- a/doxygen/html/classpirate6_1_1_pirate-members.html +++ /dev/null @@ -1,243 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate6::Pirate Member List
-
-
-This is the complete list of members for pirate6::Pirate, including all inherited members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
__init__cmd2::Cmd
abbrevcmd2::Cmd [static]
blankLinesAllowedcmd2::Cmd [static]
blankLineTerminationParsercmd2::Cmd
blankLineTerminatorcmd2::Cmd
case_insensitivecmd2::Cmd [static]
cmdloopcmd2::Cmd
colorcodescmd2::Cmd [static]
colorizecmd2::Cmd
colorscmd2::Cmd [static]
commentGrammarscmd2::Cmd [static]
commentInProgresscmd2::Cmd [static]
complete_statementcmd2::Cmd
continuation_promptcmd2::Cmd [static]
continuation_promptcmd2::Cmd
current_script_dircmd2::Cmd [static]
debugcmd2::Cmd [static]
defaultpirate6::Pirate
default_file_namecmd2::Cmd [static]
default_to_shellcmd2::Cmd [static]
defaultExtensioncmd2::Cmd [static]
do__loadcmd2::Cmd [static]
do__relative_loadcmd2::Cmd
do_cmdenvironmentcmd2::Cmd
do_drinkpirate6::Pirate
do_edcmd2::Cmd
do_editcmd2::Cmd [static]
do_eofcmd2::Cmd [static]
do_EOFcmd2::Cmd
do_exitcmd2::Cmd [static]
do_helpcmd2::Cmd
do_hicmd2::Cmd [static]
do_historycmd2::Cmd
do_lcmd2::Cmd [static]
do_licmd2::Cmd [static]
do_listcmd2::Cmd
do_loadcmd2::Cmd
do_lootpirate6::Pirate
do_pausecmd2::Cmd
do_pycmd2::Cmd
do_qcmd2::Cmd [static]
do_quitpirate6::Pirate
do_rcmd2::Cmd [static]
do_runcmd2::Cmd
do_savecmd2::Cmd
do_setcmd2::Cmd
do_shellcmd2::Cmd
do_shortcutscmd2::Cmd
do_showcmd2::Cmd
echocmd2::Cmd [static]
editorcmd2::Cmd [static]
editorcmd2::Cmd [static]
excludeFromHistorycmd2::Cmd [static]
feedback_to_outputcmd2::Cmd [static]
fileimportcmd2::Cmd
func_namedcmd2::Cmd
goldpirate6::Pirate [static]
helpcmd2::Cmd [static]
historycmd2::Cmd
initial_goldpirate6::Pirate
initial_stdoutcmd2::Cmd
inputParsercmd2::Cmd
introcmd2::Cmd
kept_statecmd2::Cmd [static]
kept_syscmd2::Cmd
keywordscmd2::Cmd
last_matchingcmd2::Cmd
lastcmdcmd2::Cmd
legalCharscmd2::Cmd [static]
locals_in_pycmd2::Cmd [static]
multilineCommandcmd2::Cmd
multilineCommandscmd2::Cmd [static]
multilineParsercmd2::Cmd
noSpecialParsecmd2::Cmd [static]
old_completercmd2::Cmd
onecmdcmd2::Cmd
onecmd_plus_hookscmd2::Cmd
parsedcmd2::Cmd
parsercmd2::Cmd
perrorcmd2::Cmd
pfeedbackcmd2::Cmd
postcmdpirate6::Pirate
postparsecmd2::Cmd
postparsing_postcmdcmd2::Cmd
postparsing_precmdcmd2::Cmd
poutputcmd2::Cmd
precmdpirate6::Pirate
prefixParsercmd2::Cmd [static]
preparsecmd2::Cmd
promptpirate6::Pirate [static]
pseudo_raw_inputcmd2::Cmd
pystatecmd2::Cmd
quietcmd2::Cmd [static]
read_file_or_urlcmd2::Cmd
redirectcmd2::Cmd
redirect_outputcmd2::Cmd
redirectorcmd2::Cmd [static]
reserved_wordscmd2::Cmd [static]
restore_outputcmd2::Cmd
run_commands_at_invocationcmd2::Cmd
runTranscriptTestscmd2::Cmd
saveparsercmd2::Cmd [static]
selectcmd2::Cmd
settablecmd2::Cmd [static]
shortcutscmd2::Cmd [static]
shortcutscmd2::Cmd
singleLineParsercmd2::Cmd
stdincmd2::Cmd
stdoutcmd2::Cmd
terminatorscmd2::Cmd [static]
timingcmd2::Cmd [static]
urlrecmd2::Cmd [static]
use_rawinputcmd2::Cmd
-
- - - - - diff --git a/doxygen/html/classpirate6_1_1_pirate.html b/doxygen/html/classpirate6_1_1_pirate.html deleted file mode 100644 index 899afb3..0000000 --- a/doxygen/html/classpirate6_1_1_pirate.html +++ /dev/null @@ -1,402 +0,0 @@ - - - - -Cmd2: pirate6::Pirate Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate6::Pirate Class Reference
-
-
-
-Inheritance diagram for pirate6::Pirate:
-
-
- - -cmd2::Cmd - -
- -

List of all members.

- - - - - - - - - - - - - -

-Public Member Functions

def default
def do_loot
def do_drink
def precmd
def postcmd
def do_quit

-Public Attributes

 initial_gold

-Static Public Attributes

int gold = 3
string prompt = 'arrr> '
-

Detailed Description

-
-

Definition at line 4 of file pirate6.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def pirate6::Pirate::default ( self,
 line 
)
-
-
- -

Definition at line 7 of file pirate6.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate6::Pirate::do_drink ( self,
 arg 
)
-
-
-
Drown your sorrrows in rrrum.
-
-drink [n] - drink [n] barrel[s] o' rum.
-

Definition at line 13 of file pirate6.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate6::Pirate::do_loot ( self,
 arg 
)
-
-
- -

Definition at line 10 of file pirate6.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate6::Pirate::do_quit ( self,
 arg 
)
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 34 of file pirate6.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def pirate6::Pirate::postcmd ( self,
 stop,
 line 
)
-
-
- -

Definition at line 26 of file pirate6.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate6::Pirate::precmd ( self,
 line 
)
-
-
- -

Definition at line 23 of file pirate6.py.

- -
-
-

Member Data Documentation

- -
-
- - - - -
int pirate6::Pirate::gold = 3 [static]
-
-
- -

Definition at line 5 of file pirate6.py.

- -
-
- -
- -
- -

Definition at line 23 of file pirate6.py.

- -
-
- -
-
- - - - -
string pirate6::Pirate::prompt = 'arrr> ' [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 6 of file pirate6.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate6.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classpirate6_1_1_pirate.png b/doxygen/html/classpirate6_1_1_pirate.png deleted file mode 100644 index 1a8d689..0000000 Binary files a/doxygen/html/classpirate6_1_1_pirate.png and /dev/null differ diff --git a/doxygen/html/classpirate7_1_1Pirate-members.html b/doxygen/html/classpirate7_1_1Pirate-members.html deleted file mode 100644 index 20d35c3..0000000 --- a/doxygen/html/classpirate7_1_1Pirate-members.html +++ /dev/null @@ -1,246 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate7::Pirate Member List
-
-
-This is the complete list of members for pirate7::Pirate, including all inherited members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
__init__cmd2::Cmd
abbrevcmd2::Cmd [static]
blankLinesAllowedcmd2::Cmd [static]
blankLineTerminationParsercmd2::Cmd
blankLineTerminatorcmd2::Cmd
case_insensitivecmd2::Cmd [static]
cmdloopcmd2::Cmd
colorcodescmd2::Cmd [static]
colorizecmd2::Cmd
colorscmd2::Cmd [static]
commentGrammarscmd2::Cmd [static]
commentInProgresscmd2::Cmd [static]
complete_statementcmd2::Cmd
continuation_promptcmd2::Cmd [static]
continuation_promptcmd2::Cmd
current_script_dircmd2::Cmd [static]
debugcmd2::Cmd [static]
defaultpirate7::Pirate
default_file_namecmd2::Cmd [static]
default_to_shellpirate7::Pirate [static]
defaultExtensioncmd2::Cmd [static]
do__loadcmd2::Cmd [static]
do__relative_loadcmd2::Cmd
do_cmdenvironmentcmd2::Cmd
do_drinkpirate7::Pirate
do_edcmd2::Cmd
do_editcmd2::Cmd [static]
do_eofcmd2::Cmd [static]
do_EOFcmd2::Cmd
do_exitcmd2::Cmd [static]
do_helpcmd2::Cmd
do_hicmd2::Cmd [static]
do_historycmd2::Cmd
do_lcmd2::Cmd [static]
do_licmd2::Cmd [static]
do_listcmd2::Cmd
do_loadcmd2::Cmd
do_lootpirate7::Pirate
do_pausecmd2::Cmd
do_pycmd2::Cmd
do_qcmd2::Cmd [static]
do_quitpirate7::Pirate
do_rcmd2::Cmd [static]
do_runcmd2::Cmd
do_savecmd2::Cmd
do_setcmd2::Cmd
do_shellcmd2::Cmd
do_shortcutscmd2::Cmd
do_showcmd2::Cmd
do_singpirate7::Pirate
echocmd2::Cmd [static]
editorcmd2::Cmd [static]
editorcmd2::Cmd [static]
excludeFromHistorycmd2::Cmd [static]
feedback_to_outputcmd2::Cmd [static]
fileimportcmd2::Cmd
func_namedcmd2::Cmd
goldpirate7::Pirate [static]
helpcmd2::Cmd [static]
historycmd2::Cmd
initial_goldpirate7::Pirate
initial_stdoutcmd2::Cmd
inputParsercmd2::Cmd
introcmd2::Cmd
kept_statecmd2::Cmd [static]
kept_syscmd2::Cmd
keywordscmd2::Cmd
last_matchingcmd2::Cmd
lastcmdcmd2::Cmd
legalCharscmd2::Cmd [static]
locals_in_pycmd2::Cmd [static]
multilineCommandcmd2::Cmd
multilineCommandspirate7::Pirate [static]
multilineParsercmd2::Cmd
noSpecialParsecmd2::Cmd [static]
old_completercmd2::Cmd
onecmdcmd2::Cmd
onecmd_plus_hookscmd2::Cmd
parsedcmd2::Cmd
parsercmd2::Cmd
perrorcmd2::Cmd
pfeedbackcmd2::Cmd
postcmdpirate7::Pirate
postparsecmd2::Cmd
postparsing_postcmdcmd2::Cmd
postparsing_precmdcmd2::Cmd
poutputcmd2::Cmd
precmdpirate7::Pirate
prefixParsercmd2::Cmd [static]
preparsecmd2::Cmd
promptpirate7::Pirate [static]
pseudo_raw_inputcmd2::Cmd
pystatecmd2::Cmd
quietcmd2::Cmd [static]
read_file_or_urlcmd2::Cmd
redirectcmd2::Cmd
redirect_outputcmd2::Cmd
redirectorcmd2::Cmd [static]
reserved_wordscmd2::Cmd [static]
restore_outputcmd2::Cmd
run_commands_at_invocationcmd2::Cmd
runTranscriptTestscmd2::Cmd
saveparsercmd2::Cmd [static]
selectcmd2::Cmd
settablepirate7::Pirate [static]
shortcutscmd2::Cmd [static]
shortcutscmd2::Cmd
singleLineParsercmd2::Cmd
songcolorpirate7::Pirate [static]
stdincmd2::Cmd
stdoutcmd2::Cmd
terminatorspirate7::Pirate [static]
timingcmd2::Cmd [static]
urlrecmd2::Cmd [static]
use_rawinputcmd2::Cmd
-
- - - - - diff --git a/doxygen/html/classpirate7_1_1Pirate.html b/doxygen/html/classpirate7_1_1Pirate.html deleted file mode 100644 index a0e2bcc..0000000 --- a/doxygen/html/classpirate7_1_1Pirate.html +++ /dev/null @@ -1,582 +0,0 @@ - - - - -Cmd2: pirate7::Pirate Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate7::Pirate Class Reference
-
-
-
-Inheritance diagram for pirate7::Pirate:
-
-
- - -cmd2::Cmd - -
- -

List of all members.

- - - - - - - - - - - - - - - - - - - -

-Public Member Functions

def default
def do_drink
def do_loot
def do_quit
def do_sing
def postcmd
def precmd

-Public Attributes

 initial_gold

-Static Public Attributes

 default_to_shell = True
int gold = 3
list multilineCommands = ['sing']
string prompt = 'arrr> '
string settable = 'songcolor Color to ``sing`` in (red/blue/green/cyan/magenta, bold, underline)'
string songcolor = 'blue'
list terminators = Cmd.terminators+['...']
-

Detailed Description

-
-

Definition at line 4 of file pirate7.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def pirate7::Pirate::default ( self,
 line 
)
-
-
- -

Definition at line 7 of file pirate7.py.

- -

Referenced by cmd2::Cmd::_default().

-
00007 
-00008     def default(self, line):
-        print('What mean ye by "{0}"?'.format(line))
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate7::Pirate::do_drink ( self,
 arg 
)
-
-
-
Drown your sorrrows in rrrum.
-
-drink [n] - drink [n] barrel[s] o' rum.
-

Definition at line 12 of file pirate7.py.

- -

References pirate2::Pirate::gold, gold, pirate6::Pirate::gold, pirate5::Pirate::gold, pirate4::Pirate::gold, and pirate3::Pirate::gold.

-
00012 
-00013     def do_drink(self, arg):
-00014         '''Drown your sorrrows in rrrum.
-00015         
-00016         drink [n] - drink [n] barrel[s] o' rum.'''          
-00017         try:
-00018             self.gold -= int(arg)
-00019         except:
-00020             if arg:
-00021                 print('''What's "{0}"?  I'll take rrrum.'''.format(arg))
-            self.gold -= 1            
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate7::Pirate::do_loot ( self,
 arg 
)
-
-
- -

Definition at line 9 of file pirate7.py.

- -

References pirate2::Pirate::gold, gold, pirate6::Pirate::gold, pirate5::Pirate::gold, pirate4::Pirate::gold, and pirate3::Pirate::gold.

-
00009 
-00010     def do_loot(self, arg):
-00011         'Seize booty from a passing ship.'
-        self.gold += 1
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate7::Pirate::do_quit ( self,
 arg 
)
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 33 of file pirate7.py.

-
00033 
-00034     def do_quit(self, arg):
-00035         print("Quiterrr!")
-        return True    
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate7::Pirate::do_sing ( self,
 arg 
)
-
-
- -

Definition at line 42 of file pirate7.py.

- -

References cmd2::Cmd::colorize(), and songcolor.

-
00042 
-00043     def do_sing(self, arg):
-00044         print(self.colorize(arg, self.songcolor))
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def pirate7::Pirate::postcmd ( self,
 stop,
 line 
)
-
-
- -

Definition at line 25 of file pirate7.py.

- -

References pirate2::Pirate::gold, pirate3::Pirate::gold, pirate5::Pirate::gold, pirate6::Pirate::gold, pirate4::Pirate::gold, gold, pirate3::Pirate::initial_gold, pirate5::Pirate::initial_gold, pirate4::Pirate::initial_gold, initial_gold, and pirate6::Pirate::initial_gold.

- -

Referenced by cmd2::Cmd::onecmd_plus_hooks().

-
00025 
-00026     def postcmd(self, stop, line):   
-00027         if self.gold != self.initial_gold:
-00028             print('Now we gots {0} doubloons'
-00029                   .format(self.gold))
-00030         if self.gold < 0:
-00031             print("Off to debtorrr's prison.")
-00032             stop = True
-        return stop
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate7::Pirate::precmd ( self,
 line 
)
-
- -
-

Member Data Documentation

- -
-
- - - - -
pirate7::Pirate::default_to_shell = True [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 36 of file pirate7.py.

- -
-
- - - -
- -
- -

Definition at line 22 of file pirate7.py.

- -

Referenced by postcmd(), pirate8::Pirate::postcmd(), pirate8::Pirate::precmd(), and precmd().

- -
-
- -
-
- - - - -
list pirate7::Pirate::multilineCommands = ['sing'] [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 37 of file pirate7.py.

- -
-
- -
-
- - - - -
string pirate7::Pirate::prompt = 'arrr> ' [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 6 of file pirate7.py.

- -
-
- -
-
- - - - -
string pirate7::Pirate::settable = 'songcolor Color to ``sing`` in (red/blue/green/cyan/magenta, bold, underline)' [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 40 of file pirate7.py.

- -
-
- -
-
- - - - -
string pirate7::Pirate::songcolor = 'blue' [static]
-
-
- -

Definition at line 39 of file pirate7.py.

- -

Referenced by do_sing(), and pirate8::Pirate::do_sing().

- -
-
- -
-
- - - - -
list pirate7::Pirate::terminators = Cmd.terminators+['...'] [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 38 of file pirate7.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classpirate7_1_1Pirate.png b/doxygen/html/classpirate7_1_1Pirate.png deleted file mode 100644 index 8b0b636..0000000 Binary files a/doxygen/html/classpirate7_1_1Pirate.png and /dev/null differ diff --git a/doxygen/html/classpirate7_1_1Pirate__coll__graph.dot b/doxygen/html/classpirate7_1_1Pirate__coll__graph.dot deleted file mode 100644 index 64f6f53..0000000 --- a/doxygen/html/classpirate7_1_1Pirate__coll__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{pirate7::Pirate\n|+ initial_gold\l+ default_to_shell\l+ gold\l+ multilineCommands\l+ prompt\l+ settable\l+ songcolor\l+ terminators\l|+ default()\l+ do_drink()\l+ do_loot()\l+ do_quit()\l+ do_sing()\l+ postcmd()\l+ precmd()\l}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node2 [label="{cmd2::Cmd\n|+ blankLineTerminationParser\l+ blankLineTerminator\l+ continuation_prompt\l+ history\l+ initial_stdout\l+ inputParser\l+ intro\l+ kept_sys\l+ keywords\l+ lastcmd\l+ multilineCommand\l+ multilineParser\l+ old_completer\l+ parser\l+ prompt\l+ pystate\l+ redirect\l+ shortcuts\l+ singleLineParser\l+ stdin\l+ stdout\l+ use_rawinput\l+ abbrev\l+ blankLinesAllowed\l+ case_insensitive\l+ colorcodes\l+ colors\l+ commentGrammars\l+ commentInProgress\l+ continuation_prompt\l+ current_script_dir\l+ debug\l+ default_file_name\l+ default_to_shell\l+ defaultExtension\l+ do__load\l+ do_edit\l+ do_eof\l+ do_exit\l+ do_hi\l+ do_l\l+ do_li\l+ do_q\l+ do_r\l+ echo\l+ editor\l+ editor\l+ excludeFromHistory\l+ feedback_to_output\l+ help\l+ kept_state\l+ legalChars\l+ locals_in_py\l+ multilineCommands\l+ noSpecialParse\l+ prefixParser\l+ quiet\l+ redirector\l+ reserved_words\l+ saveparser\l+ settable\l+ shortcuts\l+ terminators\l+ timing\l+ urlre\l- _STOP_AND_EXIT\l- _STOP_SCRIPT_NO_EXIT\l|+ __init__()\l+ cmdloop()\l+ colorize()\l+ complete_statement()\l+ do__relative_load()\l+ do_cmdenvironment()\l+ do_ed()\l+ do_EOF()\l+ do_help()\l+ do_history()\l+ do_list()\l+ do_load()\l+ do_pause()\l+ do_py()\l+ do_quit()\l+ do_run()\l+ do_save()\l+ do_set()\l+ do_shell()\l+ do_shortcuts()\l+ do_show()\l+ fileimport()\l+ func_named()\l+ last_matching()\l+ onecmd()\l+ onecmd_plus_hooks()\l+ parsed()\l+ perror()\l+ pfeedback()\l+ postparse()\l+ postparsing_postcmd()\l+ postparsing_precmd()\l+ poutput()\l+ preparse()\l+ pseudo_raw_input()\l+ read_file_or_url()\l+ redirect_output()\l+ restore_output()\l+ run_commands_at_invocation()\l+ runTranscriptTests()\l+ select()\l- _cmdloop()\l- _default()\l- _init_parser()\l}",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1Cmd.html"]; -} diff --git a/doxygen/html/classpirate7_1_1Pirate__coll__graph.md5 b/doxygen/html/classpirate7_1_1Pirate__coll__graph.md5 deleted file mode 100644 index 462be52..0000000 --- a/doxygen/html/classpirate7_1_1Pirate__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -6180cf87b59ebfe35e8a1e7bbff933b3 \ No newline at end of file diff --git a/doxygen/html/classpirate7_1_1Pirate__inherit__graph.dot b/doxygen/html/classpirate7_1_1Pirate__inherit__graph.dot deleted file mode 100644 index 64f6f53..0000000 --- a/doxygen/html/classpirate7_1_1Pirate__inherit__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{pirate7::Pirate\n|+ initial_gold\l+ default_to_shell\l+ gold\l+ multilineCommands\l+ prompt\l+ settable\l+ songcolor\l+ terminators\l|+ default()\l+ do_drink()\l+ do_loot()\l+ do_quit()\l+ do_sing()\l+ postcmd()\l+ precmd()\l}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node2 [label="{cmd2::Cmd\n|+ blankLineTerminationParser\l+ blankLineTerminator\l+ continuation_prompt\l+ history\l+ initial_stdout\l+ inputParser\l+ intro\l+ kept_sys\l+ keywords\l+ lastcmd\l+ multilineCommand\l+ multilineParser\l+ old_completer\l+ parser\l+ prompt\l+ pystate\l+ redirect\l+ shortcuts\l+ singleLineParser\l+ stdin\l+ stdout\l+ use_rawinput\l+ abbrev\l+ blankLinesAllowed\l+ case_insensitive\l+ colorcodes\l+ colors\l+ commentGrammars\l+ commentInProgress\l+ continuation_prompt\l+ current_script_dir\l+ debug\l+ default_file_name\l+ default_to_shell\l+ defaultExtension\l+ do__load\l+ do_edit\l+ do_eof\l+ do_exit\l+ do_hi\l+ do_l\l+ do_li\l+ do_q\l+ do_r\l+ echo\l+ editor\l+ editor\l+ excludeFromHistory\l+ feedback_to_output\l+ help\l+ kept_state\l+ legalChars\l+ locals_in_py\l+ multilineCommands\l+ noSpecialParse\l+ prefixParser\l+ quiet\l+ redirector\l+ reserved_words\l+ saveparser\l+ settable\l+ shortcuts\l+ terminators\l+ timing\l+ urlre\l- _STOP_AND_EXIT\l- _STOP_SCRIPT_NO_EXIT\l|+ __init__()\l+ cmdloop()\l+ colorize()\l+ complete_statement()\l+ do__relative_load()\l+ do_cmdenvironment()\l+ do_ed()\l+ do_EOF()\l+ do_help()\l+ do_history()\l+ do_list()\l+ do_load()\l+ do_pause()\l+ do_py()\l+ do_quit()\l+ do_run()\l+ do_save()\l+ do_set()\l+ do_shell()\l+ do_shortcuts()\l+ do_show()\l+ fileimport()\l+ func_named()\l+ last_matching()\l+ onecmd()\l+ onecmd_plus_hooks()\l+ parsed()\l+ perror()\l+ pfeedback()\l+ postparse()\l+ postparsing_postcmd()\l+ postparsing_precmd()\l+ poutput()\l+ preparse()\l+ pseudo_raw_input()\l+ read_file_or_url()\l+ redirect_output()\l+ restore_output()\l+ run_commands_at_invocation()\l+ runTranscriptTests()\l+ select()\l- _cmdloop()\l- _default()\l- _init_parser()\l}",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1Cmd.html"]; -} diff --git a/doxygen/html/classpirate7_1_1Pirate__inherit__graph.md5 b/doxygen/html/classpirate7_1_1Pirate__inherit__graph.md5 deleted file mode 100644 index 462be52..0000000 --- a/doxygen/html/classpirate7_1_1Pirate__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -6180cf87b59ebfe35e8a1e7bbff933b3 \ No newline at end of file diff --git a/doxygen/html/classpirate7_1_1_pirate-members.html b/doxygen/html/classpirate7_1_1_pirate-members.html deleted file mode 100644 index 63effee..0000000 --- a/doxygen/html/classpirate7_1_1_pirate-members.html +++ /dev/null @@ -1,245 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate7::Pirate Member List
-
-
-This is the complete list of members for pirate7::Pirate, including all inherited members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
__init__cmd2::Cmd
abbrevcmd2::Cmd [static]
blankLinesAllowedcmd2::Cmd [static]
blankLineTerminationParsercmd2::Cmd
blankLineTerminatorcmd2::Cmd
case_insensitivecmd2::Cmd [static]
cmdloopcmd2::Cmd
colorcodescmd2::Cmd [static]
colorizecmd2::Cmd
colorscmd2::Cmd [static]
commentGrammarscmd2::Cmd [static]
commentInProgresscmd2::Cmd [static]
complete_statementcmd2::Cmd
continuation_promptcmd2::Cmd [static]
continuation_promptcmd2::Cmd
current_script_dircmd2::Cmd [static]
debugcmd2::Cmd [static]
defaultpirate7::Pirate
default_file_namecmd2::Cmd [static]
default_to_shellpirate7::Pirate [static]
defaultExtensioncmd2::Cmd [static]
do__loadcmd2::Cmd [static]
do__relative_loadcmd2::Cmd
do_cmdenvironmentcmd2::Cmd
do_drinkpirate7::Pirate
do_edcmd2::Cmd
do_editcmd2::Cmd [static]
do_eofcmd2::Cmd [static]
do_EOFcmd2::Cmd
do_exitcmd2::Cmd [static]
do_helpcmd2::Cmd
do_hicmd2::Cmd [static]
do_historycmd2::Cmd
do_lcmd2::Cmd [static]
do_licmd2::Cmd [static]
do_listcmd2::Cmd
do_loadcmd2::Cmd
do_lootpirate7::Pirate
do_pausecmd2::Cmd
do_pycmd2::Cmd
do_qcmd2::Cmd [static]
do_quitpirate7::Pirate
do_rcmd2::Cmd [static]
do_runcmd2::Cmd
do_savecmd2::Cmd
do_setcmd2::Cmd
do_shellcmd2::Cmd
do_shortcutscmd2::Cmd
do_showcmd2::Cmd
do_singpirate7::Pirate
echocmd2::Cmd [static]
editorcmd2::Cmd [static]
editorcmd2::Cmd [static]
excludeFromHistorycmd2::Cmd [static]
feedback_to_outputcmd2::Cmd [static]
fileimportcmd2::Cmd
func_namedcmd2::Cmd
goldpirate7::Pirate [static]
helpcmd2::Cmd [static]
historycmd2::Cmd
initial_goldpirate7::Pirate
initial_stdoutcmd2::Cmd
inputParsercmd2::Cmd
introcmd2::Cmd
kept_statecmd2::Cmd [static]
kept_syscmd2::Cmd
keywordscmd2::Cmd
last_matchingcmd2::Cmd
lastcmdcmd2::Cmd
legalCharscmd2::Cmd [static]
locals_in_pycmd2::Cmd [static]
multilineCommandcmd2::Cmd
multilineCommandspirate7::Pirate [static]
multilineParsercmd2::Cmd
noSpecialParsecmd2::Cmd [static]
old_completercmd2::Cmd
onecmdcmd2::Cmd
onecmd_plus_hookscmd2::Cmd
parsedcmd2::Cmd
parsercmd2::Cmd
perrorcmd2::Cmd
pfeedbackcmd2::Cmd
postcmdpirate7::Pirate
postparsecmd2::Cmd
postparsing_postcmdcmd2::Cmd
postparsing_precmdcmd2::Cmd
poutputcmd2::Cmd
precmdpirate7::Pirate
prefixParsercmd2::Cmd [static]
preparsecmd2::Cmd
promptpirate7::Pirate [static]
pseudo_raw_inputcmd2::Cmd
pystatecmd2::Cmd
quietcmd2::Cmd [static]
read_file_or_urlcmd2::Cmd
redirectcmd2::Cmd
redirect_outputcmd2::Cmd
redirectorcmd2::Cmd [static]
reserved_wordscmd2::Cmd [static]
restore_outputcmd2::Cmd
run_commands_at_invocationcmd2::Cmd
runTranscriptTestscmd2::Cmd
saveparsercmd2::Cmd [static]
selectcmd2::Cmd
settablepirate7::Pirate [static]
shortcutscmd2::Cmd [static]
shortcutscmd2::Cmd
singleLineParsercmd2::Cmd
songcolorpirate7::Pirate [static]
stdincmd2::Cmd
stdoutcmd2::Cmd
terminatorspirate7::Pirate [static]
timingcmd2::Cmd [static]
urlrecmd2::Cmd [static]
use_rawinputcmd2::Cmd
-
- - - - - diff --git a/doxygen/html/classpirate7_1_1_pirate.html b/doxygen/html/classpirate7_1_1_pirate.html deleted file mode 100644 index 9553541..0000000 --- a/doxygen/html/classpirate7_1_1_pirate.html +++ /dev/null @@ -1,520 +0,0 @@ - - - - -Cmd2: pirate7::Pirate Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate7::Pirate Class Reference
-
-
-
-Inheritance diagram for pirate7::Pirate:
-
-
- - -cmd2::Cmd - -
- -

List of all members.

- - - - - - - - - - - - - - - - - - - -

-Public Member Functions

def default
def do_loot
def do_drink
def precmd
def postcmd
def do_quit
def do_sing

-Public Attributes

 initial_gold

-Static Public Attributes

int gold = 3
string prompt = 'arrr> '
 default_to_shell = True
list multilineCommands = ['sing']
list terminators = Cmd.terminators+['...']
string songcolor = 'blue'
string settable = 'songcolor Color to ``sing`` in (red/blue/green/cyan/magenta, bold, underline)'
-

Detailed Description

-
-

Definition at line 4 of file pirate7.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def pirate7::Pirate::default ( self,
 line 
)
-
-
- -

Definition at line 7 of file pirate7.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate7::Pirate::do_drink ( self,
 arg 
)
-
-
-
Drown your sorrrows in rrrum.
-
-drink [n] - drink [n] barrel[s] o' rum.
-

Definition at line 12 of file pirate7.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate7::Pirate::do_loot ( self,
 arg 
)
-
-
- -

Definition at line 9 of file pirate7.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate7::Pirate::do_quit ( self,
 arg 
)
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 33 of file pirate7.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate7::Pirate::do_sing ( self,
 arg 
)
-
-
- -

Definition at line 42 of file pirate7.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def pirate7::Pirate::postcmd ( self,
 stop,
 line 
)
-
-
- -

Definition at line 25 of file pirate7.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate7::Pirate::precmd ( self,
 line 
)
-
-
- -

Definition at line 22 of file pirate7.py.

- -
-
-

Member Data Documentation

- -
-
- - - - -
pirate7::Pirate::default_to_shell = True [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 36 of file pirate7.py.

- -
-
- -
-
- - - - -
int pirate7::Pirate::gold = 3 [static]
-
-
- -

Definition at line 5 of file pirate7.py.

- -
-
- -
- -
- -

Definition at line 22 of file pirate7.py.

- -
-
- -
-
- - - - -
list pirate7::Pirate::multilineCommands = ['sing'] [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 37 of file pirate7.py.

- -
-
- -
-
- - - - -
string pirate7::Pirate::prompt = 'arrr> ' [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 6 of file pirate7.py.

- -
-
- -
-
- - - - -
string pirate7::Pirate::settable = 'songcolor Color to ``sing`` in (red/blue/green/cyan/magenta, bold, underline)' [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 40 of file pirate7.py.

- -
-
- -
-
- - - - -
string pirate7::Pirate::songcolor = 'blue' [static]
-
-
- -

Definition at line 39 of file pirate7.py.

- -
-
- -
-
- - - - -
list pirate7::Pirate::terminators = Cmd.terminators+['...'] [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 38 of file pirate7.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classpirate7_1_1_pirate.png b/doxygen/html/classpirate7_1_1_pirate.png deleted file mode 100644 index 8b0b636..0000000 Binary files a/doxygen/html/classpirate7_1_1_pirate.png and /dev/null differ diff --git a/doxygen/html/classpirate8_1_1Pirate-members.html b/doxygen/html/classpirate8_1_1Pirate-members.html deleted file mode 100644 index 39bece5..0000000 --- a/doxygen/html/classpirate8_1_1Pirate-members.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate8::Pirate Member List
-
-
-This is the complete list of members for pirate8::Pirate, including all inherited members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
__init__cmd2::Cmd
abbrevcmd2::Cmd [static]
actionpirate8::Pirate [static]
blankLinesAllowedcmd2::Cmd [static]
blankLineTerminationParsercmd2::Cmd
blankLineTerminatorcmd2::Cmd
case_insensitivecmd2::Cmd [static]
cmdloopcmd2::Cmd
colorcodescmd2::Cmd [static]
colorizecmd2::Cmd
colorscmd2::Cmd [static]
commentGrammarscmd2::Cmd [static]
commentInProgresscmd2::Cmd [static]
complete_statementcmd2::Cmd
continuation_promptcmd2::Cmd [static]
continuation_promptcmd2::Cmd
current_script_dircmd2::Cmd [static]
debugcmd2::Cmd [static]
defaultpirate8::Pirate
default_file_namecmd2::Cmd [static]
default_to_shellpirate8::Pirate [static]
defaultExtensioncmd2::Cmd [static]
do__loadcmd2::Cmd [static]
do__relative_loadcmd2::Cmd
do_cmdenvironmentcmd2::Cmd
do_drinkpirate8::Pirate
do_edcmd2::Cmd
do_editcmd2::Cmd [static]
do_eofcmd2::Cmd [static]
do_EOFcmd2::Cmd
do_exitcmd2::Cmd [static]
do_helpcmd2::Cmd
do_hicmd2::Cmd [static]
do_historycmd2::Cmd
do_lcmd2::Cmd [static]
do_licmd2::Cmd [static]
do_listcmd2::Cmd
do_loadcmd2::Cmd
do_lootpirate8::Pirate
do_pausecmd2::Cmd
do_pycmd2::Cmd
do_qcmd2::Cmd [static]
do_quitpirate8::Pirate
do_rcmd2::Cmd [static]
do_runcmd2::Cmd
do_savecmd2::Cmd
do_setcmd2::Cmd
do_shellcmd2::Cmd
do_shortcutscmd2::Cmd
do_showcmd2::Cmd
do_singpirate8::Pirate
do_yopirate8::Pirate
echocmd2::Cmd [static]
editorcmd2::Cmd [static]
editorcmd2::Cmd [static]
excludeFromHistorycmd2::Cmd [static]
feedback_to_outputcmd2::Cmd [static]
fileimportcmd2::Cmd
func_namedcmd2::Cmd
goldpirate8::Pirate [static]
helppirate8::Pirate [static]
historycmd2::Cmd
initial_goldpirate8::Pirate
initial_stdoutcmd2::Cmd
inputParsercmd2::Cmd
introcmd2::Cmd
kept_statecmd2::Cmd [static]
kept_syscmd2::Cmd
keywordscmd2::Cmd
last_matchingcmd2::Cmd
lastcmdcmd2::Cmd
legalCharscmd2::Cmd [static]
locals_in_pycmd2::Cmd [static]
multilineCommandcmd2::Cmd
multilineCommandspirate8::Pirate [static]
multilineParsercmd2::Cmd
noSpecialParsecmd2::Cmd [static]
old_completercmd2::Cmd
onecmdcmd2::Cmd
onecmd_plus_hookscmd2::Cmd
parsedcmd2::Cmd
parsercmd2::Cmd
perrorcmd2::Cmd
pfeedbackcmd2::Cmd
postcmdpirate8::Pirate
postparsecmd2::Cmd
postparsing_postcmdcmd2::Cmd
postparsing_precmdcmd2::Cmd
poutputcmd2::Cmd
precmdpirate8::Pirate
prefixParsercmd2::Cmd [static]
preparsecmd2::Cmd
promptpirate8::Pirate [static]
pseudo_raw_inputcmd2::Cmd
pystatecmd2::Cmd
quietcmd2::Cmd [static]
read_file_or_urlcmd2::Cmd
redirectcmd2::Cmd
redirect_outputcmd2::Cmd
redirectorcmd2::Cmd [static]
reserved_wordscmd2::Cmd [static]
restore_outputcmd2::Cmd
run_commands_at_invocationcmd2::Cmd
runTranscriptTestscmd2::Cmd
saveparsercmd2::Cmd [static]
selectcmd2::Cmd
settablepirate8::Pirate [static]
shortcutscmd2::Cmd [static]
shortcutscmd2::Cmd
singleLineParsercmd2::Cmd
songcolorpirate8::Pirate [static]
stdincmd2::Cmd
stdoutcmd2::Cmd
terminatorspirate8::Pirate [static]
timingcmd2::Cmd [static]
urlrecmd2::Cmd [static]
use_rawinputcmd2::Cmd
-
- - - - - diff --git a/doxygen/html/classpirate8_1_1Pirate.html b/doxygen/html/classpirate8_1_1Pirate.html deleted file mode 100644 index 8b7aaf0..0000000 --- a/doxygen/html/classpirate8_1_1Pirate.html +++ /dev/null @@ -1,659 +0,0 @@ - - - - -Cmd2: pirate8::Pirate Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate8::Pirate Class Reference
-
-
-
-Inheritance diagram for pirate8::Pirate:
-
-
- - -cmd2::Cmd - -
- -

List of all members.

- - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

def default
def do_drink
def do_loot
def do_quit
def do_sing
def do_yo
def postcmd
def precmd

-Public Attributes

 initial_gold

-Static Public Attributes

string action = "store_true"
 default_to_shell = True
int gold = 3
string help = "How often to chant 'ho'"
list multilineCommands = ['sing']
string prompt = 'arrr> '
string settable = 'songcolor Color to ``sing`` in (red/blue/green/cyan/magenta, bold, underline)'
string songcolor = 'blue'
list terminators = Cmd.terminators+['...']
-

Detailed Description

-
-

Definition at line 4 of file pirate8.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def pirate8::Pirate::default ( self,
 line 
)
-
-
- -

Definition at line 7 of file pirate8.py.

- -

Referenced by cmd2::Cmd::_default().

-
00007 
-00008     def default(self, line):
-        print('What mean ye by "{0}"?'.format(line))
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate8::Pirate::do_drink ( self,
 arg 
)
-
-
-
Drown your sorrrows in rrrum.
-
-drink [n] - drink [n] barrel[s] o' rum.
-

Definition at line 12 of file pirate8.py.

- -

References pirate2::Pirate::gold, gold, pirate7::Pirate::gold, pirate6::Pirate::gold, pirate5::Pirate::gold, pirate4::Pirate::gold, and pirate3::Pirate::gold.

-
00012 
-00013     def do_drink(self, arg):
-00014         '''Drown your sorrrows in rrrum.
-00015         
-00016         drink [n] - drink [n] barrel[s] o' rum.'''          
-00017         try:
-00018             self.gold -= int(arg)
-00019         except:
-00020             if arg:
-00021                 print('''What's "{0}"?  I'll take rrrum.'''.format(arg))
-            self.gold -= 1            
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate8::Pirate::do_loot ( self,
 arg 
)
-
-
- -

Definition at line 9 of file pirate8.py.

- -

References pirate2::Pirate::gold, gold, pirate7::Pirate::gold, pirate6::Pirate::gold, pirate5::Pirate::gold, pirate4::Pirate::gold, and pirate3::Pirate::gold.

-
00009 
-00010     def do_loot(self, arg):
-00011         'Seize booty from a passing ship.'
-        self.gold += 1
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate8::Pirate::do_quit ( self,
 arg 
)
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 33 of file pirate8.py.

-
00033 
-00034     def do_quit(self, arg):
-00035         print("Quiterrr!")
-        return True    
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate8::Pirate::do_sing ( self,
 arg 
)
-
-
- -

Definition at line 42 of file pirate8.py.

- -

References cmd2::Cmd::colorize(), cmd2::options(), songcolor, and pirate7::Pirate::songcolor.

-
00042 
-00043     def do_sing(self, arg):
-        print(self.colorize(arg, self.songcolor))
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def pirate8::Pirate::do_yo ( self,
 arg,
 opts 
)
-
-
- -

Definition at line 49 of file pirate8.py.

-
00049 
-00050     def do_yo(self, arg, opts):
-00051         chant = ['yo'] + ['ho'] * opts.ho
-00052         separator = ', ' if opts.commas else ' '
-00053         chant = separator.join(chant)
-00054         print('{0} and a bottle of {1}'
-00055               .format(chant, arg))
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def pirate8::Pirate::postcmd ( self,
 stop,
 line 
)
-
-
- -

Definition at line 25 of file pirate8.py.

- -

References pirate2::Pirate::gold, pirate3::Pirate::gold, pirate5::Pirate::gold, pirate6::Pirate::gold, pirate4::Pirate::gold, pirate7::Pirate::gold, gold, pirate3::Pirate::initial_gold, pirate4::Pirate::initial_gold, pirate5::Pirate::initial_gold, pirate7::Pirate::initial_gold, initial_gold, and pirate6::Pirate::initial_gold.

- -

Referenced by cmd2::Cmd::onecmd_plus_hooks().

-
00025 
-00026     def postcmd(self, stop, line):   
-00027         if self.gold != self.initial_gold:
-00028             print('Now we gots {0} doubloons'
-00029                   .format(self.gold))
-00030         if self.gold < 0:
-00031             print("Off to debtorrr's prison.")
-00032             stop = True
-        return stop
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate8::Pirate::precmd ( self,
 line 
)
-
- -
-

Member Data Documentation

- -
-
- - - - -
string pirate8::Pirate::action = "store_true" [static]
-
-
- -

Definition at line 47 of file pirate8.py.

- -
-
- -
-
- - - - -
pirate8::Pirate::default_to_shell = True [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 36 of file pirate8.py.

- -
-
- -
-
- - - - -
int pirate8::Pirate::gold = 3 [static]
-
-
- -

Definition at line 5 of file pirate8.py.

- -

Referenced by do_drink(), do_loot(), postcmd(), and precmd().

- -
-
- -
-
- - - - -
string pirate8::Pirate::help = "How often to chant 'ho'" [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 45 of file pirate8.py.

- -
-
- -
- -
- -

Definition at line 22 of file pirate8.py.

- -

Referenced by postcmd(), and precmd().

- -
-
- -
-
- - - - -
list pirate8::Pirate::multilineCommands = ['sing'] [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 37 of file pirate8.py.

- -
-
- -
-
- - - - -
string pirate8::Pirate::prompt = 'arrr> ' [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 6 of file pirate8.py.

- -
-
- -
-
- - - - -
string pirate8::Pirate::settable = 'songcolor Color to ``sing`` in (red/blue/green/cyan/magenta, bold, underline)' [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 40 of file pirate8.py.

- -
-
- -
-
- - - - -
string pirate8::Pirate::songcolor = 'blue' [static]
-
-
- -

Definition at line 39 of file pirate8.py.

- -

Referenced by do_sing().

- -
-
- -
-
- - - - -
list pirate8::Pirate::terminators = Cmd.terminators+['...'] [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 38 of file pirate8.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classpirate8_1_1Pirate.png b/doxygen/html/classpirate8_1_1Pirate.png deleted file mode 100644 index 6bd7d29..0000000 Binary files a/doxygen/html/classpirate8_1_1Pirate.png and /dev/null differ diff --git a/doxygen/html/classpirate8_1_1Pirate__coll__graph.dot b/doxygen/html/classpirate8_1_1Pirate__coll__graph.dot deleted file mode 100644 index 60d254e..0000000 --- a/doxygen/html/classpirate8_1_1Pirate__coll__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{pirate8::Pirate\n|+ initial_gold\l+ action\l+ default_to_shell\l+ gold\l+ help\l+ multilineCommands\l+ prompt\l+ settable\l+ songcolor\l+ terminators\l|+ default()\l+ do_drink()\l+ do_loot()\l+ do_quit()\l+ do_sing()\l+ do_yo()\l+ postcmd()\l+ precmd()\l}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node2 [label="{cmd2::Cmd\n|+ blankLineTerminationParser\l+ blankLineTerminator\l+ continuation_prompt\l+ history\l+ initial_stdout\l+ inputParser\l+ intro\l+ kept_sys\l+ keywords\l+ lastcmd\l+ multilineCommand\l+ multilineParser\l+ old_completer\l+ parser\l+ prompt\l+ pystate\l+ redirect\l+ shortcuts\l+ singleLineParser\l+ stdin\l+ stdout\l+ use_rawinput\l+ abbrev\l+ blankLinesAllowed\l+ case_insensitive\l+ colorcodes\l+ colors\l+ commentGrammars\l+ commentInProgress\l+ continuation_prompt\l+ current_script_dir\l+ debug\l+ default_file_name\l+ default_to_shell\l+ defaultExtension\l+ do__load\l+ do_edit\l+ do_eof\l+ do_exit\l+ do_hi\l+ do_l\l+ do_li\l+ do_q\l+ do_r\l+ echo\l+ editor\l+ editor\l+ excludeFromHistory\l+ feedback_to_output\l+ help\l+ kept_state\l+ legalChars\l+ locals_in_py\l+ multilineCommands\l+ noSpecialParse\l+ prefixParser\l+ quiet\l+ redirector\l+ reserved_words\l+ saveparser\l+ settable\l+ shortcuts\l+ terminators\l+ timing\l+ urlre\l- _STOP_AND_EXIT\l- _STOP_SCRIPT_NO_EXIT\l|+ __init__()\l+ cmdloop()\l+ colorize()\l+ complete_statement()\l+ do__relative_load()\l+ do_cmdenvironment()\l+ do_ed()\l+ do_EOF()\l+ do_help()\l+ do_history()\l+ do_list()\l+ do_load()\l+ do_pause()\l+ do_py()\l+ do_quit()\l+ do_run()\l+ do_save()\l+ do_set()\l+ do_shell()\l+ do_shortcuts()\l+ do_show()\l+ fileimport()\l+ func_named()\l+ last_matching()\l+ onecmd()\l+ onecmd_plus_hooks()\l+ parsed()\l+ perror()\l+ pfeedback()\l+ postparse()\l+ postparsing_postcmd()\l+ postparsing_precmd()\l+ poutput()\l+ preparse()\l+ pseudo_raw_input()\l+ read_file_or_url()\l+ redirect_output()\l+ restore_output()\l+ run_commands_at_invocation()\l+ runTranscriptTests()\l+ select()\l- _cmdloop()\l- _default()\l- _init_parser()\l}",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1Cmd.html"]; -} diff --git a/doxygen/html/classpirate8_1_1Pirate__coll__graph.md5 b/doxygen/html/classpirate8_1_1Pirate__coll__graph.md5 deleted file mode 100644 index d575640..0000000 --- a/doxygen/html/classpirate8_1_1Pirate__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -2ace06f4a24d7b72ac0410f19fe31ce0 \ No newline at end of file diff --git a/doxygen/html/classpirate8_1_1Pirate__inherit__graph.dot b/doxygen/html/classpirate8_1_1Pirate__inherit__graph.dot deleted file mode 100644 index 60d254e..0000000 --- a/doxygen/html/classpirate8_1_1Pirate__inherit__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{pirate8::Pirate\n|+ initial_gold\l+ action\l+ default_to_shell\l+ gold\l+ help\l+ multilineCommands\l+ prompt\l+ settable\l+ songcolor\l+ terminators\l|+ default()\l+ do_drink()\l+ do_loot()\l+ do_quit()\l+ do_sing()\l+ do_yo()\l+ postcmd()\l+ precmd()\l}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node2 [label="{cmd2::Cmd\n|+ blankLineTerminationParser\l+ blankLineTerminator\l+ continuation_prompt\l+ history\l+ initial_stdout\l+ inputParser\l+ intro\l+ kept_sys\l+ keywords\l+ lastcmd\l+ multilineCommand\l+ multilineParser\l+ old_completer\l+ parser\l+ prompt\l+ pystate\l+ redirect\l+ shortcuts\l+ singleLineParser\l+ stdin\l+ stdout\l+ use_rawinput\l+ abbrev\l+ blankLinesAllowed\l+ case_insensitive\l+ colorcodes\l+ colors\l+ commentGrammars\l+ commentInProgress\l+ continuation_prompt\l+ current_script_dir\l+ debug\l+ default_file_name\l+ default_to_shell\l+ defaultExtension\l+ do__load\l+ do_edit\l+ do_eof\l+ do_exit\l+ do_hi\l+ do_l\l+ do_li\l+ do_q\l+ do_r\l+ echo\l+ editor\l+ editor\l+ excludeFromHistory\l+ feedback_to_output\l+ help\l+ kept_state\l+ legalChars\l+ locals_in_py\l+ multilineCommands\l+ noSpecialParse\l+ prefixParser\l+ quiet\l+ redirector\l+ reserved_words\l+ saveparser\l+ settable\l+ shortcuts\l+ terminators\l+ timing\l+ urlre\l- _STOP_AND_EXIT\l- _STOP_SCRIPT_NO_EXIT\l|+ __init__()\l+ cmdloop()\l+ colorize()\l+ complete_statement()\l+ do__relative_load()\l+ do_cmdenvironment()\l+ do_ed()\l+ do_EOF()\l+ do_help()\l+ do_history()\l+ do_list()\l+ do_load()\l+ do_pause()\l+ do_py()\l+ do_quit()\l+ do_run()\l+ do_save()\l+ do_set()\l+ do_shell()\l+ do_shortcuts()\l+ do_show()\l+ fileimport()\l+ func_named()\l+ last_matching()\l+ onecmd()\l+ onecmd_plus_hooks()\l+ parsed()\l+ perror()\l+ pfeedback()\l+ postparse()\l+ postparsing_postcmd()\l+ postparsing_precmd()\l+ poutput()\l+ preparse()\l+ pseudo_raw_input()\l+ read_file_or_url()\l+ redirect_output()\l+ restore_output()\l+ run_commands_at_invocation()\l+ runTranscriptTests()\l+ select()\l- _cmdloop()\l- _default()\l- _init_parser()\l}",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1Cmd.html"]; -} diff --git a/doxygen/html/classpirate8_1_1Pirate__inherit__graph.md5 b/doxygen/html/classpirate8_1_1Pirate__inherit__graph.md5 deleted file mode 100644 index d575640..0000000 --- a/doxygen/html/classpirate8_1_1Pirate__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -2ace06f4a24d7b72ac0410f19fe31ce0 \ No newline at end of file diff --git a/doxygen/html/classpirate8_1_1_pirate-members.html b/doxygen/html/classpirate8_1_1_pirate-members.html deleted file mode 100644 index 2b37b41..0000000 --- a/doxygen/html/classpirate8_1_1_pirate-members.html +++ /dev/null @@ -1,247 +0,0 @@ - - - - -Cmd2: Member List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate8::Pirate Member List
-
-
-This is the complete list of members for pirate8::Pirate, including all inherited members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
__init__cmd2::Cmd
abbrevcmd2::Cmd [static]
actionpirate8::Pirate [static]
blankLinesAllowedcmd2::Cmd [static]
blankLineTerminationParsercmd2::Cmd
blankLineTerminatorcmd2::Cmd
case_insensitivecmd2::Cmd [static]
cmdloopcmd2::Cmd
colorcodescmd2::Cmd [static]
colorizecmd2::Cmd
colorscmd2::Cmd [static]
commentGrammarscmd2::Cmd [static]
commentInProgresscmd2::Cmd [static]
complete_statementcmd2::Cmd
continuation_promptcmd2::Cmd [static]
continuation_promptcmd2::Cmd
current_script_dircmd2::Cmd [static]
debugcmd2::Cmd [static]
defaultpirate8::Pirate
default_file_namecmd2::Cmd [static]
default_to_shellpirate8::Pirate [static]
defaultExtensioncmd2::Cmd [static]
do__loadcmd2::Cmd [static]
do__relative_loadcmd2::Cmd
do_cmdenvironmentcmd2::Cmd
do_drinkpirate8::Pirate
do_edcmd2::Cmd
do_editcmd2::Cmd [static]
do_eofcmd2::Cmd [static]
do_EOFcmd2::Cmd
do_exitcmd2::Cmd [static]
do_helpcmd2::Cmd
do_hicmd2::Cmd [static]
do_historycmd2::Cmd
do_lcmd2::Cmd [static]
do_licmd2::Cmd [static]
do_listcmd2::Cmd
do_loadcmd2::Cmd
do_lootpirate8::Pirate
do_pausecmd2::Cmd
do_pycmd2::Cmd
do_qcmd2::Cmd [static]
do_quitpirate8::Pirate
do_rcmd2::Cmd [static]
do_runcmd2::Cmd
do_savecmd2::Cmd
do_setcmd2::Cmd
do_shellcmd2::Cmd
do_shortcutscmd2::Cmd
do_showcmd2::Cmd
do_singpirate8::Pirate
do_yopirate8::Pirate
echocmd2::Cmd [static]
editorcmd2::Cmd [static]
editorcmd2::Cmd [static]
excludeFromHistorycmd2::Cmd [static]
feedback_to_outputcmd2::Cmd [static]
fileimportcmd2::Cmd
func_namedcmd2::Cmd
goldpirate8::Pirate [static]
helppirate8::Pirate [static]
historycmd2::Cmd
initial_goldpirate8::Pirate
initial_stdoutcmd2::Cmd
inputParsercmd2::Cmd
introcmd2::Cmd
kept_statecmd2::Cmd [static]
kept_syscmd2::Cmd
keywordscmd2::Cmd
last_matchingcmd2::Cmd
lastcmdcmd2::Cmd
legalCharscmd2::Cmd [static]
locals_in_pycmd2::Cmd [static]
multilineCommandcmd2::Cmd
multilineCommandspirate8::Pirate [static]
multilineParsercmd2::Cmd
noSpecialParsecmd2::Cmd [static]
old_completercmd2::Cmd
onecmdcmd2::Cmd
onecmd_plus_hookscmd2::Cmd
parsedcmd2::Cmd
parsercmd2::Cmd
perrorcmd2::Cmd
pfeedbackcmd2::Cmd
postcmdpirate8::Pirate
postparsecmd2::Cmd
postparsing_postcmdcmd2::Cmd
postparsing_precmdcmd2::Cmd
poutputcmd2::Cmd
precmdpirate8::Pirate
prefixParsercmd2::Cmd [static]
preparsecmd2::Cmd
promptpirate8::Pirate [static]
pseudo_raw_inputcmd2::Cmd
pystatecmd2::Cmd
quietcmd2::Cmd [static]
read_file_or_urlcmd2::Cmd
redirectcmd2::Cmd
redirect_outputcmd2::Cmd
redirectorcmd2::Cmd [static]
reserved_wordscmd2::Cmd [static]
restore_outputcmd2::Cmd
run_commands_at_invocationcmd2::Cmd
runTranscriptTestscmd2::Cmd
saveparsercmd2::Cmd [static]
selectcmd2::Cmd
settablepirate8::Pirate [static]
shortcutscmd2::Cmd [static]
shortcutscmd2::Cmd
singleLineParsercmd2::Cmd
songcolorpirate8::Pirate [static]
stdincmd2::Cmd
stdoutcmd2::Cmd
terminatorspirate8::Pirate [static]
timingcmd2::Cmd [static]
urlrecmd2::Cmd [static]
use_rawinputcmd2::Cmd
-
- - - - - diff --git a/doxygen/html/classpirate8_1_1_pirate.html b/doxygen/html/classpirate8_1_1_pirate.html deleted file mode 100644 index ebed71a..0000000 --- a/doxygen/html/classpirate8_1_1_pirate.html +++ /dev/null @@ -1,590 +0,0 @@ - - - - -Cmd2: pirate8::Pirate Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate8::Pirate Class Reference
-
-
-
-Inheritance diagram for pirate8::Pirate:
-
-
- - -cmd2::Cmd - -
- -

List of all members.

- - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

def default
def do_loot
def do_drink
def precmd
def postcmd
def do_quit
def do_sing
def do_yo

-Public Attributes

 initial_gold

-Static Public Attributes

int gold = 3
string prompt = 'arrr> '
 default_to_shell = True
list multilineCommands = ['sing']
list terminators = Cmd.terminators+['...']
string songcolor = 'blue'
string settable = 'songcolor Color to ``sing`` in (red/blue/green/cyan/magenta, bold, underline)'
string help = "How often to chant 'ho'"
string action = "store_true"
-

Detailed Description

-
-

Definition at line 4 of file pirate8.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def pirate8::Pirate::default ( self,
 line 
)
-
-
- -

Definition at line 7 of file pirate8.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate8::Pirate::do_drink ( self,
 arg 
)
-
-
-
Drown your sorrrows in rrrum.
-
-drink [n] - drink [n] barrel[s] o' rum.
-

Definition at line 12 of file pirate8.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate8::Pirate::do_loot ( self,
 arg 
)
-
-
- -

Definition at line 9 of file pirate8.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate8::Pirate::do_quit ( self,
 arg 
)
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 33 of file pirate8.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate8::Pirate::do_sing ( self,
 arg 
)
-
-
- -

Definition at line 42 of file pirate8.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def pirate8::Pirate::do_yo ( self,
 arg,
 opts 
)
-
-
- -

Definition at line 49 of file pirate8.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def pirate8::Pirate::postcmd ( self,
 stop,
 line 
)
-
-
- -

Definition at line 25 of file pirate8.py.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate8::Pirate::precmd ( self,
 line 
)
-
-
- -

Definition at line 22 of file pirate8.py.

- -
-
-

Member Data Documentation

- -
-
- - - - -
string pirate8::Pirate::action = "store_true" [static]
-
-
- -

Definition at line 47 of file pirate8.py.

- -
-
- -
-
- - - - -
pirate8::Pirate::default_to_shell = True [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 36 of file pirate8.py.

- -
-
- -
-
- - - - -
int pirate8::Pirate::gold = 3 [static]
-
-
- -

Definition at line 5 of file pirate8.py.

- -
-
- -
-
- - - - -
string pirate8::Pirate::help = "How often to chant 'ho'" [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 45 of file pirate8.py.

- -
-
- -
- -
- -

Definition at line 22 of file pirate8.py.

- -
-
- -
-
- - - - -
list pirate8::Pirate::multilineCommands = ['sing'] [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 37 of file pirate8.py.

- -
-
- -
-
- - - - -
string pirate8::Pirate::prompt = 'arrr> ' [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 6 of file pirate8.py.

- -
-
- -
-
- - - - -
string pirate8::Pirate::settable = 'songcolor Color to ``sing`` in (red/blue/green/cyan/magenta, bold, underline)' [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 40 of file pirate8.py.

- -
-
- -
-
- - - - -
string pirate8::Pirate::songcolor = 'blue' [static]
-
-
- -

Definition at line 39 of file pirate8.py.

- -
-
- -
-
- - - - -
list pirate8::Pirate::terminators = Cmd.terminators+['...'] [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 38 of file pirate8.py.

- -
-
-
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classpirate8_1_1_pirate.png b/doxygen/html/classpirate8_1_1_pirate.png deleted file mode 100644 index 6bd7d29..0000000 Binary files a/doxygen/html/classpirate8_1_1_pirate.png and /dev/null differ diff --git a/doxygen/html/classpirate_1_1Pirate.html b/doxygen/html/classpirate_1_1Pirate.html deleted file mode 100644 index 4a4ec6e..0000000 --- a/doxygen/html/classpirate_1_1Pirate.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - -Cmd2: pirate::Pirate Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate::Pirate Class Reference
-
-
- -

Inherits Cmd.

-

Detailed Description

-
-

Definition at line 3 of file pirate.py.

-

The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate.py
  • -
-
-
- - - - - diff --git a/doxygen/html/classpirate_1_1Pirate__coll__graph.dot b/doxygen/html/classpirate_1_1Pirate__coll__graph.dot deleted file mode 100644 index ebf2e31..0000000 --- a/doxygen/html/classpirate_1_1Pirate__coll__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{pirate::Pirate\n||}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node2 [label="{Cmd\n||}",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; -} diff --git a/doxygen/html/classpirate_1_1Pirate__coll__graph.md5 b/doxygen/html/classpirate_1_1Pirate__coll__graph.md5 deleted file mode 100644 index 7af8531..0000000 --- a/doxygen/html/classpirate_1_1Pirate__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -744816b23c6303f763ba75734cae1f26 \ No newline at end of file diff --git a/doxygen/html/classpirate_1_1Pirate__inherit__graph.dot b/doxygen/html/classpirate_1_1Pirate__inherit__graph.dot deleted file mode 100644 index ebf2e31..0000000 --- a/doxygen/html/classpirate_1_1Pirate__inherit__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{pirate::Pirate\n||}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",arrowtail="onormal",fontname="Helvetica"]; - Node2 [label="{Cmd\n||}",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; -} diff --git a/doxygen/html/classpirate_1_1Pirate__inherit__graph.md5 b/doxygen/html/classpirate_1_1Pirate__inherit__graph.md5 deleted file mode 100644 index 7af8531..0000000 --- a/doxygen/html/classpirate_1_1Pirate__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -744816b23c6303f763ba75734cae1f26 \ No newline at end of file diff --git a/doxygen/html/classpirate_1_1_pirate.html b/doxygen/html/classpirate_1_1_pirate.html deleted file mode 100644 index 07e5b28..0000000 --- a/doxygen/html/classpirate_1_1_pirate.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - -Cmd2: pirate::Pirate Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate::Pirate Class Reference
-
-
- -

Inherits Cmd.

-

Detailed Description

-
-

Definition at line 3 of file pirate.py.

-

The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate.py
  • -
-
-
- - - - - diff --git a/doxygen/html/closed.png b/doxygen/html/closed.png deleted file mode 100644 index b7d4bd9..0000000 Binary files a/doxygen/html/closed.png and /dev/null differ diff --git a/doxygen/html/cmd2_8py.html b/doxygen/html/cmd2_8py.html deleted file mode 100644 index 38c15ba..0000000 --- a/doxygen/html/cmd2_8py.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/cmd2.py File Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
cmd2.py File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Classes

class  cmd2::Borg
class  cmd2::Cmd
class  cmd2::Cmd2TestCase
class  cmd2::EmbeddedConsoleExit
class  cmd2::EmptyStatement
class  cmd2::History
class  cmd2::HistoryItem
class  cmd2::NotSettableError
class  cmd2::OptionParser
class  cmd2::OutputTrap
class  cmd2::ParsedString
class  cmd2::PasteBufferError
class  cmd2::Statekeeper
class  cmd2::StubbornDict

-Packages

namespace  cmd2

-Functions

def cmd2::_attr_get_
def cmd2::cast
def cmd2::get_paste_buffer
def cmd2::get_paste_buffer
def cmd2::ljust
def cmd2::options
def cmd2::remaining_args
def cmd2::replace_with_file_contents
def cmd2::stubbornDict
def cmd2::write_to_paste_buffer

-Variables

string cmd2::__version__ = '0.6.4'
 cmd2::can_clip = False
list cmd2::options_defined = []
string cmd2::pastebufferr
string cmd2::teststring = 'Testing for presence of xclip.'
 cmd2::write_to_paste_buffer = get_paste_buffer
tuple cmd2::xclipproc = subprocess.Popen('xclip -sel clip', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE)
-
-
- - - - - diff --git a/doxygen/html/cmd2_8py_source.html b/doxygen/html/cmd2_8py_source.html deleted file mode 100644 index ab7ea18..0000000 --- a/doxygen/html/cmd2_8py_source.html +++ /dev/null @@ -1,1721 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/cmd2.py Source File - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
cmd2.py
-
-
-Go to the documentation of this file.
00001 """Variant on standard library's cmd with extra features.
-00002 
-00003 To use, simply import cmd2.Cmd instead of cmd.Cmd; use precisely as though you
-00004 were using the standard library's cmd, while enjoying the extra features.
-00005 
-00006 Searchable command history (commands: "hi", "li", "run")
-00007 Load commands from file, save to file, edit commands in file
-00008 Multi-line commands
-00009 Case-insensitive commands
-00010 Special-character shortcut commands (beyond cmd's "@" and "!")
-00011 Settable environment parameters
-00012 Optional _onchange_{paramname} called when environment parameter changes
-00013 Parsing commands with `optparse` options (flags)
-00014 Redirection to file with >, >>; input from file with <
-00015 Easy transcript-based testing of applications (see example/example.py)
-00016 Bash-style ``select`` available
-00017 
-00018 Note that redirection with > and | will only work if `self.stdout.write()`
-00019 is used in place of `print`.  The standard library's `cmd` module is 
-00020 written to use `self.stdout.write()`, 
-00021 
-00022 - Catherine Devlin, Jan 03 2008 - catherinedevlin.blogspot.com
-00023 
-00024 mercurial repository at http://www.assembla.com/wiki/show/python-cmd2
-00025 """
-00026 import cmd
-00027 import re
-00028 import os
-00029 import sys
-00030 import optparse
-00031 import subprocess
-00032 import tempfile
-00033 import doctest
-00034 import unittest
-00035 import datetime
-00036 import urllib
-00037 import glob
-00038 import traceback
-00039 import platform
-00040 import copy
-00041 from code import InteractiveConsole, InteractiveInterpreter
-00042 from optparse import make_option
-00043 import pyparsing
-00044 
-00045 __version__ = '0.6.4'
-00046 
-00047 if sys.version_info[0] == 2:
-00048     pyparsing.ParserElement.enablePackrat()
-00049 
-00050 """
-00051 Packrat is causing Python3 errors that I don't understand.
-00052 
-00053 > /usr/local/Cellar/python3/3.2/lib/python3.2/site-packages/pyparsing-1.5.6-py3.2.egg/pyparsing.py(999)scanString()
-00054 -> nextLoc,tokens = parseFn( instring, preloc, callPreParse=False )
-00055 (Pdb) n
-00056 NameError: global name 'exc' is not defined
-00057 
-00058 (Pdb) parseFn
-00059 <bound method Or._parseCache of {Python style comment ^ C style comment}>
-00060 
-00061 Bug report filed: https://sourceforge.net/tracker/?func=detail&atid=617311&aid=3381439&group_id=97203
-00062 """
-00063 
-00064 class OptionParser(optparse.OptionParser):
-00065     def exit(self, status=0, msg=None):
-00066         self.values._exit = True
-00067         if msg:
-00068             print (msg)
-00069             
-00070     def print_help(self, *args, **kwargs):
-00071         try:
-00072             print (self._func.__doc__)
-00073         except AttributeError:
-00074             pass
-00075         optparse.OptionParser.print_help(self, *args, **kwargs)
-00076 
-00077     def error(self, msg):
-00078         """error(msg : string)
-00079 
-00080         Print a usage message incorporating 'msg' to stderr and exit.
-00081         If you override this in a subclass, it should not return -- it
-00082         should either exit or raise an exception.
-00083         """
-00084         raise optparse.OptParseError(msg)
-00085         
-00086 def remaining_args(oldArgs, newArgList):
-00087     '''
-00088     Preserves the spacing originally in the argument after
-00089     the removal of options.
-00090     
-00091     >>> remaining_args('-f bar   bar   cow', ['bar', 'cow'])
-00092     'bar   cow'
-00093     '''
-00094     pattern = '\s+'.join(re.escape(a) for a in newArgList) + '\s*$'
-00095     matchObj = re.search(pattern, oldArgs)
-00096     return oldArgs[matchObj.start():]
-00097    
-00098 def _attr_get_(obj, attr):
-00099     '''Returns an attribute's value, or None (no error) if undefined.
-00100        Analagous to .get() for dictionaries.  Useful when checking for
-00101        value of options that may not have been defined on a given
-00102        method.'''
-00103     try:
-00104         return getattr(obj, attr)
-00105     except AttributeError:
-00106         return None
-00107     
-00108 optparse.Values.get = _attr_get_
-00109     
-00110 options_defined = [] # used to distinguish --options from SQL-style --comments
-00111 
-00112 def options(option_list, arg_desc="arg"):
-00113     '''Used as a decorator and passed a list of optparse-style options,
-00114        alters a cmd2 method to populate its ``opts`` argument from its
-00115        raw text argument.
-00116 
-00117        Example: transform
-00118        def do_something(self, arg):
-00119 
-00120        into
-00121        @options([make_option('-q', '--quick', action="store_true",
-00122                  help="Makes things fast")],
-00123                  "source dest")
-00124        def do_something(self, arg, opts):
-00125            if opts.quick:
-00126                self.fast_button = True
-00127        '''
-00128     if not isinstance(option_list, list):
-00129         option_list = [option_list]
-00130     for opt in option_list:
-00131         options_defined.append(pyparsing.Literal(opt.get_opt_string()))
-00132     def option_setup(func):
-00133         optionParser = OptionParser()
-00134         for opt in option_list:
-00135             optionParser.add_option(opt)
-00136         optionParser.set_usage("%s [options] %s" % (func.__name__[3:], arg_desc))
-00137         optionParser._func = func
-00138         def new_func(instance, arg):
-00139             try:
-00140                 opts, newArgList = optionParser.parse_args(arg.split())
-00141                 # Must find the remaining args in the original argument list, but 
-00142                 # mustn't include the command itself
-00143                 #if hasattr(arg, 'parsed') and newArgList[0] == arg.parsed.command:
-00144                 #    newArgList = newArgList[1:]
-00145                 newArgs = remaining_args(arg, newArgList)
-00146                 if isinstance(arg, ParsedString):
-00147                     arg = arg.with_args_replaced(newArgs)
-00148                 else:
-00149                     arg = newArgs
-00150             except optparse.OptParseError, e:
-00151                 print (e)
-00152                 optionParser.print_help()
-00153                 return
-00154             if hasattr(opts, '_exit'):
-00155                 return None
-00156             result = func(instance, arg, opts)                            
-00157             return result        
-00158         new_func.__doc__ = '%s\n%s' % (func.__doc__, optionParser.format_help())
-00159         return new_func
-00160     return option_setup
-00161 
-00162 class PasteBufferError(EnvironmentError):
-00163     if sys.platform[:3] == 'win':
-00164         errmsg = """Redirecting to or from paste buffer requires pywin32
-00165 to be installed on operating system.
-00166 Download from http://sourceforge.net/projects/pywin32/"""
-00167     elif sys.platform[:3] == 'dar':
-00168         # Use built in pbcopy on Mac OSX
-00169         pass
-00170     else:
-00171         errmsg = """Redirecting to or from paste buffer requires xclip 
-00172 to be installed on operating system.
-00173 On Debian/Ubuntu, 'sudo apt-get install xclip' will install it."""        
-00174     def __init__(self):
-00175         Exception.__init__(self, self.errmsg)
-00176 
-00177 pastebufferr = """Redirecting to or from paste buffer requires %s
-00178 to be installed on operating system.
-00179 %s"""
-00180 
-00181 if subprocess.mswindows:
-00182     try:
-00183         import win32clipboard
-00184         def get_paste_buffer():
-00185             win32clipboard.OpenClipboard(0)
-00186             try:
-00187                 result = win32clipboard.GetClipboardData()
-00188             except TypeError:
-00189                 result = ''  #non-text
-00190             win32clipboard.CloseClipboard()
-00191             return result            
-00192         def write_to_paste_buffer(txt):
-00193             win32clipboard.OpenClipboard(0)
-00194             win32clipboard.EmptyClipboard()
-00195             win32clipboard.SetClipboardText(txt)
-00196             win32clipboard.CloseClipboard()        
-00197     except ImportError:
-00198         def get_paste_buffer(*args):
-00199             raise OSError, pastebufferr % ('pywin32', 'Download from http://sourceforge.net/projects/pywin32/')
-00200         write_to_paste_buffer = get_paste_buffer
-00201 elif sys.platform == 'darwin':
-00202     can_clip = False
-00203     try:
-00204         # test for pbcopy - AFAIK, should always be installed on MacOS
-00205         subprocess.check_call('pbcopy -help', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.PIPE)
-00206         can_clip = True
-00207     except (subprocess.CalledProcessError, OSError, IOError):
-00208         pass
-00209     if can_clip:
-00210         def get_paste_buffer():
-00211             pbcopyproc = subprocess.Popen('pbcopy -help', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.PIPE)
-00212             return pbcopyproc.stdout.read()
-00213         def write_to_paste_buffer(txt):
-00214             pbcopyproc = subprocess.Popen('pbcopy', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.PIPE)
-00215             pbcopyproc.communicate(txt.encode())
-00216     else:
-00217         def get_paste_buffer(*args):
-00218             raise OSError, pastebufferr % ('pbcopy', 'On MacOS X - error should not occur - part of the default installation')
-00219         write_to_paste_buffer = get_paste_buffer
-00220 else:
-00221     can_clip = False
-00222     try:
-00223         subprocess.check_call('xclip -o -sel clip', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.PIPE)
-00224         can_clip = True
-00225     except AttributeError:  # check_call not defined, Python < 2.5
-00226         try:
-00227             teststring = 'Testing for presence of xclip.'
-00228             xclipproc = subprocess.Popen('xclip -sel clip', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE)
-00229             xclipproc.stdin.write(teststring)
-00230             xclipproc.stdin.close()
-00231             xclipproc = subprocess.Popen('xclip -o -sel clip', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE)        
-00232             if xclipproc.stdout.read() == teststring:
-00233                 can_clip = True
-00234         except Exception: # hate a bare Exception call, but exception classes vary too much b/t stdlib versions
-00235             pass
-00236     except Exception:
-00237         pass # something went wrong with xclip and we cannot use it
-00238     if can_clip:    
-00239         def get_paste_buffer():
-00240             xclipproc = subprocess.Popen('xclip -o -sel clip', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE)
-00241             return xclipproc.stdout.read()
-00242         def write_to_paste_buffer(txt):
-00243             xclipproc = subprocess.Popen('xclip -sel clip', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE)
-00244             xclipproc.stdin.write(txt.encode())
-00245             xclipproc.stdin.close()
-00246             # but we want it in both the "primary" and "mouse" clipboards
-00247             xclipproc = subprocess.Popen('xclip', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE)
-00248             xclipproc.stdin.write(txt.encode())
-00249             xclipproc.stdin.close()
-00250     else:
-00251         def get_paste_buffer(*args):
-00252             raise OSError, pastebufferr % ('xclip', 'On Debian/Ubuntu, install with "sudo apt-get install xclip"')
-00253         write_to_paste_buffer = get_paste_buffer
-00254           
-00255 pyparsing.ParserElement.setDefaultWhitespaceChars(' \t')
-00256 
-00257 class ParsedString(str):
-00258     def full_parsed_statement(self):
-00259         new = ParsedString('%s %s' % (self.parsed.command, self.parsed.args))
-00260         new.parsed = self.parsed
-00261         new.parser = self.parser
-00262         return new       
-00263     def with_args_replaced(self, newargs):
-00264         new = ParsedString(newargs)
-00265         new.parsed = self.parsed
-00266         new.parser = self.parser
-00267         new.parsed['args'] = newargs
-00268         new.parsed.statement['args'] = newargs
-00269         return new
-00270         
-00271 class StubbornDict(dict):
-00272     '''Dictionary that tolerates many input formats.
-00273     Create it with stubbornDict(arg) factory function.
-00274     
-00275     >>> d = StubbornDict(large='gross', small='klein')
-00276     >>> sorted(d.items())
-00277     [('large', 'gross'), ('small', 'klein')]
-00278     >>> d.append(['plain', '  plaid'])
-00279     >>> sorted(d.items())
-00280     [('large', 'gross'), ('plaid', ''), ('plain', ''), ('small', 'klein')]
-00281     >>> d += '   girl Frauelein, Maedchen\\n\\n shoe schuh'
-00282     >>> sorted(d.items())
-00283     [('girl', 'Frauelein, Maedchen'), ('large', 'gross'), ('plaid', ''), ('plain', ''), ('shoe', 'schuh'), ('small', 'klein')]
-00284     '''    
-00285     def update(self, arg):
-00286         dict.update(self, StubbornDict.to_dict(arg))
-00287     append = update
-00288     def __iadd__(self, arg):
-00289         self.update(arg)
-00290         return self
-00291     def __add__(self, arg):
-00292         selfcopy = copy.copy(self)
-00293         selfcopy.update(stubbornDict(arg))
-00294         return selfcopy
-00295     def __radd__(self, arg):
-00296         selfcopy = copy.copy(self)
-00297         selfcopy.update(stubbornDict(arg))
-00298         return selfcopy    
-00299         
-00300     @classmethod
-00301     def to_dict(cls, arg):
-00302         'Generates dictionary from string or list of strings'
-00303         if hasattr(arg, 'splitlines'):
-00304             arg = arg.splitlines()
-00305         if hasattr(arg, '__reversed__'):
-00306             result = {}    
-00307             for a in arg:
-00308                 a = a.strip()
-00309                 if a:
-00310                     key_val = a.split(None, 1)
-00311                     key = key_val[0]
-00312                     if len(key_val) > 1:
-00313                         val = key_val[1]
-00314                     else:
-00315                         val = ''
-00316                     result[key] = val
-00317         else:
-00318             result = arg
-00319         return result
-00320 
-00321 def stubbornDict(*arg, **kwarg):
-00322     '''
-00323     >>> sorted(stubbornDict('cow a bovine\\nhorse an equine').items())
-00324     [('cow', 'a bovine'), ('horse', 'an equine')]
-00325     >>> sorted(stubbornDict(['badger', 'porcupine a poky creature']).items())
-00326     [('badger', ''), ('porcupine', 'a poky creature')]
-00327     >>> sorted(stubbornDict(turtle='has shell', frog='jumpy').items())
-00328     [('frog', 'jumpy'), ('turtle', 'has shell')]
-00329     '''
-00330     result = {}
-00331     for a in arg:
-00332         result.update(StubbornDict.to_dict(a))
-00333     result.update(kwarg)                      
-00334     return StubbornDict(result)
-00335         
-00336 def replace_with_file_contents(fname):
-00337     if fname:
-00338         try:
-00339             result = open(os.path.expanduser(fname[0])).read()
-00340         except IOError:
-00341             result = '< %s' % fname[0]  # wasn't a file after all
-00342     else:
-00343         result = get_paste_buffer()
-00344     return result      
-00345 
-00346 class EmbeddedConsoleExit(SystemExit):
-00347     pass
-00348 
-00349 class EmptyStatement(Exception):
-00350     pass
-00351 
-00352 def ljust(x, width, fillchar=' '):
-00353     'analogous to str.ljust, but works for lists'
-00354     if hasattr(x, 'ljust'):
-00355         return x.ljust(width, fillchar)
-00356     else:
-00357         if len(x) < width:
-00358             x = (x + [fillchar] * width)[:width]
-00359         return x
-00360     
-00361 class Cmd(cmd.Cmd):
-00362     echo = False
-00363     case_insensitive = True     # Commands recognized regardless of case
-00364     continuation_prompt = '> '  
-00365     timing = False              # Prints elapsed time for each command
-00366     # make sure your terminators are not in legalChars!
-00367     legalChars = u'!#$%.:?@_' + pyparsing.alphanums + pyparsing.alphas8bit
-00368     shortcuts = {'?': 'help', '!': 'shell', '@': 'load', '@@': '_relative_load'}
-00369     excludeFromHistory = '''run r list l history hi ed edit li eof'''.split()
-00370     default_to_shell = False
-00371     noSpecialParse = 'set ed edit exit'.split()
-00372     defaultExtension = 'txt'            # For ``save``, ``load``, etc.
-00373     default_file_name = 'command.txt'   # For ``save``, ``load``, etc.
-00374     abbrev = True                       # Abbreviated commands recognized
-00375     current_script_dir = None
-00376     reserved_words = []
-00377     feedback_to_output = False          # Do include nonessentials in >, | output
-00378     quiet = False                       # Do not suppress nonessential output
-00379     debug = False
-00380     locals_in_py = True
-00381     kept_state = None
-00382     redirector = '>'                    # for sending output to file
-00383     settable = stubbornDict('''
-00384         prompt
-00385         colors                Colorized output (*nix only)
-00386         continuation_prompt   On 2nd+ line of input
-00387         debug                 Show full error stack on error
-00388         default_file_name     for ``save``, ``load``, etc.
-00389         editor                Program used by ``edit``  
-00390         case_insensitive      upper- and lower-case both OK
-00391         feedback_to_output    include nonessentials in `|`, `>` results 
-00392         quiet                 Don't print nonessential feedback
-00393         echo                  Echo command issued into output
-00394         timing                Report execution times
-00395         abbrev                Accept abbreviated commands
-00396         ''')
-00397     
-00398     def poutput(self, msg):
-00399         '''Convenient shortcut for self.stdout.write(); adds newline if necessary.'''
-00400         if msg:
-00401             self.stdout.write(msg)
-00402             if msg[-1] != '\n':
-00403                 self.stdout.write('\n')
-00404     def perror(self, errmsg, statement=None):
-00405         if self.debug:
-00406             traceback.print_exc()
-00407         print (str(errmsg))
-00408     def pfeedback(self, msg):
-00409         """For printing nonessential feedback.  Can be silenced with `quiet`.
-00410            Inclusion in redirected output is controlled by `feedback_to_output`."""
-00411         if not self.quiet:
-00412             if self.feedback_to_output:
-00413                 self.poutput(msg)
-00414             else:
-00415                 print (msg)
-00416     _STOP_AND_EXIT = True  # distinguish end of script file from actual exit
-00417     _STOP_SCRIPT_NO_EXIT = -999
-00418     editor = os.environ.get('EDITOR')
-00419     if not editor:
-00420         if sys.platform[:3] == 'win':
-00421             editor = 'notepad'
-00422         else:
-00423             for editor in ['gedit', 'kate', 'vim', 'emacs', 'nano', 'pico']:
-00424                 if subprocess.Popen(['which', editor], stdout=subprocess.PIPE).communicate()[0]:
-00425                     break
-00426 
-00427     colorcodes =    {'bold':{True:'\x1b[1m',False:'\x1b[22m'},
-00428                   'cyan':{True:'\x1b[36m',False:'\x1b[39m'},
-00429                   'blue':{True:'\x1b[34m',False:'\x1b[39m'},
-00430                   'red':{True:'\x1b[31m',False:'\x1b[39m'},
-00431                   'magenta':{True:'\x1b[35m',False:'\x1b[39m'},
-00432                   'green':{True:'\x1b[32m',False:'\x1b[39m'},
-00433                   'underline':{True:'\x1b[4m',False:'\x1b[24m'}}
-00434     colors = (platform.system() != 'Windows')
-00435     def colorize(self, val, color):
-00436         '''Given a string (``val``), returns that string wrapped in UNIX-style 
-00437            special characters that turn on (and then off) text color and style.
-00438            If the ``colors`` environment paramter is ``False``, or the application
-00439            is running on Windows, will return ``val`` unchanged.
-00440            ``color`` should be one of the supported strings (or styles):
-00441            red/blue/green/cyan/magenta, bold, underline'''
-00442         if self.colors and (self.stdout == self.initial_stdout):
-00443             return self.colorcodes[color][True] + val + self.colorcodes[color][False]
-00444         return val
-00445 
-00446     def do_cmdenvironment(self, args):
-00447         '''Summary report of interactive parameters.'''
-00448         self.stdout.write("""
-00449         Commands are %(casesensitive)scase-sensitive.
-00450         Commands may be terminated with: %(terminators)s
-00451         Settable parameters: %(settable)s\n""" % \
-00452         { 'casesensitive': (self.case_insensitive and 'not ') or '',
-00453           'terminators': str(self.terminators),
-00454           'settable': ' '.join(self.settable)
-00455         })
-00456         
-00457     def do_help(self, arg):
-00458         if arg:
-00459             funcname = self.func_named(arg)
-00460             if funcname:
-00461                 fn = getattr(self, funcname)
-00462                 try:
-00463                     fn.optionParser.print_help(file=self.stdout)
-00464                 except AttributeError:
-00465                     cmd.Cmd.do_help(self, funcname[3:])
-00466         else:
-00467             cmd.Cmd.do_help(self, arg)
-00468         
-00469     def __init__(self, *args, **kwargs):        
-00470         cmd.Cmd.__init__(self, *args, **kwargs)
-00471         self.initial_stdout = sys.stdout
-00472         self.history = History()
-00473         self.pystate = {}
-00474         self.shortcuts = sorted(self.shortcuts.items(), reverse=True)
-00475         self.keywords = self.reserved_words + [fname[3:] for fname in dir(self) 
-00476                                                if fname.startswith('do_')]            
-00477         self._init_parser()
-00478             
-00479     def do_shortcuts(self, args):
-00480         """Lists single-key shortcuts available."""
-00481         result = "\n".join('%s: %s' % (sc[0], sc[1]) for sc in sorted(self.shortcuts))
-00482         self.stdout.write("Single-key shortcuts for other commands:\n%s\n" % (result))
-00483 
-00484     prefixParser = pyparsing.Empty()
-00485     commentGrammars = pyparsing.Or([pyparsing.pythonStyleComment, pyparsing.cStyleComment])
-00486     commentGrammars.addParseAction(lambda x: '')
-00487     commentInProgress  = pyparsing.Literal('/*') + pyparsing.SkipTo(
-00488         pyparsing.stringEnd ^ '*/')
-00489     terminators = [';']
-00490     blankLinesAllowed = False
-00491     multilineCommands = []
-00492     
-00493     def _init_parser(self):
-00494         r'''
-00495         >>> c = Cmd()
-00496         >>> c.multilineCommands = ['multiline']
-00497         >>> c.case_insensitive = True
-00498         >>> c._init_parser()
-00499         >>> print (c.parser.parseString('').dump())
-00500         []
-00501         >>> print (c.parser.parseString('').dump())
-00502         []        
-00503         >>> print (c.parser.parseString('/* empty command */').dump())
-00504         []        
-00505         >>> print (c.parser.parseString('plainword').dump())
-00506         ['plainword', '']
-00507         - command: plainword
-00508         - statement: ['plainword', '']
-00509           - command: plainword        
-00510         >>> print (c.parser.parseString('termbare;').dump())
-00511         ['termbare', '', ';', '']
-00512         - command: termbare
-00513         - statement: ['termbare', '', ';']
-00514           - command: termbare
-00515           - terminator: ;
-00516         - terminator: ;        
-00517         >>> print (c.parser.parseString('termbare; suffx').dump())
-00518         ['termbare', '', ';', 'suffx']
-00519         - command: termbare
-00520         - statement: ['termbare', '', ';']
-00521           - command: termbare
-00522           - terminator: ;
-00523         - suffix: suffx
-00524         - terminator: ;        
-00525         >>> print (c.parser.parseString('barecommand').dump())
-00526         ['barecommand', '']
-00527         - command: barecommand
-00528         - statement: ['barecommand', '']
-00529           - command: barecommand
-00530         >>> print (c.parser.parseString('COMmand with args').dump())
-00531         ['command', 'with args']
-00532         - args: with args
-00533         - command: command
-00534         - statement: ['command', 'with args']
-00535           - args: with args
-00536           - command: command
-00537         >>> print (c.parser.parseString('command with args and terminator; and suffix').dump())
-00538         ['command', 'with args and terminator', ';', 'and suffix']
-00539         - args: with args and terminator
-00540         - command: command
-00541         - statement: ['command', 'with args and terminator', ';']
-00542           - args: with args and terminator
-00543           - command: command
-00544           - terminator: ;
-00545         - suffix: and suffix
-00546         - terminator: ;
-00547         >>> print (c.parser.parseString('simple | piped').dump())
-00548         ['simple', '', '|', ' piped']
-00549         - command: simple
-00550         - pipeTo:  piped
-00551         - statement: ['simple', '']
-00552           - command: simple
-00553         >>> print (c.parser.parseString('double-pipe || is not a pipe').dump())
-00554         ['double', '-pipe || is not a pipe']
-00555         - args: -pipe || is not a pipe
-00556         - command: double
-00557         - statement: ['double', '-pipe || is not a pipe']
-00558           - args: -pipe || is not a pipe
-00559           - command: double
-00560         >>> print (c.parser.parseString('command with args, terminator;sufx | piped').dump())
-00561         ['command', 'with args, terminator', ';', 'sufx', '|', ' piped']
-00562         - args: with args, terminator
-00563         - command: command
-00564         - pipeTo:  piped
-00565         - statement: ['command', 'with args, terminator', ';']
-00566           - args: with args, terminator
-00567           - command: command
-00568           - terminator: ;
-00569         - suffix: sufx
-00570         - terminator: ;
-00571         >>> print (c.parser.parseString('output into > afile.txt').dump())
-00572         ['output', 'into', '>', 'afile.txt']
-00573         - args: into
-00574         - command: output
-00575         - output: >
-00576         - outputTo: afile.txt
-00577         - statement: ['output', 'into']
-00578           - args: into
-00579           - command: output   
-00580         >>> print (c.parser.parseString('output into;sufx | pipethrume plz > afile.txt').dump())
-00581         ['output', 'into', ';', 'sufx', '|', ' pipethrume plz', '>', 'afile.txt']
-00582         - args: into
-00583         - command: output
-00584         - output: >
-00585         - outputTo: afile.txt
-00586         - pipeTo:  pipethrume plz
-00587         - statement: ['output', 'into', ';']
-00588           - args: into
-00589           - command: output
-00590           - terminator: ;
-00591         - suffix: sufx
-00592         - terminator: ;
-00593         >>> print (c.parser.parseString('output to paste buffer >> ').dump())
-00594         ['output', 'to paste buffer', '>>', '']
-00595         - args: to paste buffer
-00596         - command: output
-00597         - output: >>
-00598         - statement: ['output', 'to paste buffer']
-00599           - args: to paste buffer
-00600           - command: output
-00601         >>> print (c.parser.parseString('ignore the /* commented | > */ stuff;').dump())
-00602         ['ignore', 'the /* commented | > */ stuff', ';', '']
-00603         - args: the /* commented | > */ stuff
-00604         - command: ignore
-00605         - statement: ['ignore', 'the /* commented | > */ stuff', ';']
-00606           - args: the /* commented | > */ stuff
-00607           - command: ignore
-00608           - terminator: ;
-00609         - terminator: ;
-00610         >>> print (c.parser.parseString('has > inside;').dump())
-00611         ['has', '> inside', ';', '']
-00612         - args: > inside
-00613         - command: has
-00614         - statement: ['has', '> inside', ';']
-00615           - args: > inside
-00616           - command: has
-00617           - terminator: ;
-00618         - terminator: ;        
-00619         >>> print (c.parser.parseString('multiline has > inside an unfinished command').dump())
-00620         ['multiline', ' has > inside an unfinished command']
-00621         - multilineCommand: multiline        
-00622         >>> print (c.parser.parseString('multiline has > inside;').dump())
-00623         ['multiline', 'has > inside', ';', '']
-00624         - args: has > inside
-00625         - multilineCommand: multiline
-00626         - statement: ['multiline', 'has > inside', ';']
-00627           - args: has > inside
-00628           - multilineCommand: multiline
-00629           - terminator: ;
-00630         - terminator: ;        
-00631         >>> print (c.parser.parseString('multiline command /* with comment in progress;').dump())
-00632         ['multiline', ' command /* with comment in progress;']
-00633         - multilineCommand: multiline
-00634         >>> print (c.parser.parseString('multiline command /* with comment complete */ is done;').dump())
-00635         ['multiline', 'command /* with comment complete */ is done', ';', '']
-00636         - args: command /* with comment complete */ is done
-00637         - multilineCommand: multiline
-00638         - statement: ['multiline', 'command /* with comment complete */ is done', ';']
-00639           - args: command /* with comment complete */ is done
-00640           - multilineCommand: multiline
-00641           - terminator: ;
-00642         - terminator: ;
-00643         >>> print (c.parser.parseString('multiline command ends\n\n').dump())
-00644         ['multiline', 'command ends', '\n', '\n']
-00645         - args: command ends
-00646         - multilineCommand: multiline
-00647         - statement: ['multiline', 'command ends', '\n', '\n']
-00648           - args: command ends
-00649           - multilineCommand: multiline
-00650           - terminator: ['\n', '\n']
-00651         - terminator: ['\n', '\n']
-00652         >>> print (c.parser.parseString('multiline command "with term; ends" now\n\n').dump())
-00653         ['multiline', 'command "with term; ends" now', '\n', '\n']
-00654         - args: command "with term; ends" now
-00655         - multilineCommand: multiline
-00656         - statement: ['multiline', 'command "with term; ends" now', '\n', '\n']
-00657           - args: command "with term; ends" now
-00658           - multilineCommand: multiline
-00659           - terminator: ['\n', '\n']
-00660         - terminator: ['\n', '\n']
-00661         >>> print (c.parser.parseString('what if "quoted strings /* seem to " start comments?').dump())
-00662         ['what', 'if "quoted strings /* seem to " start comments?']
-00663         - args: if "quoted strings /* seem to " start comments?
-00664         - command: what
-00665         - statement: ['what', 'if "quoted strings /* seem to " start comments?']
-00666           - args: if "quoted strings /* seem to " start comments?
-00667           - command: what
-00668         '''
-00669         #outputParser = (pyparsing.Literal('>>') | (pyparsing.WordStart() + '>') | pyparsing.Regex('[^=]>'))('output')
-00670         outputParser = (pyparsing.Literal(self.redirector *2) | \
-00671                        (pyparsing.WordStart() + self.redirector) | \
-00672                         pyparsing.Regex('[^=]' + self.redirector))('output')
-00673         
-00674         terminatorParser = pyparsing.Or([(hasattr(t, 'parseString') and t) or pyparsing.Literal(t) for t in self.terminators])('terminator')
-00675         stringEnd = pyparsing.stringEnd ^ '\nEOF'
-00676         self.multilineCommand = pyparsing.Or([pyparsing.Keyword(c, caseless=self.case_insensitive) for c in self.multilineCommands])('multilineCommand')
-00677         oneLineCommand = (~self.multilineCommand + pyparsing.Word(self.legalChars))('command')
-00678         pipe = pyparsing.Keyword('|', identChars='|')
-00679         self.commentGrammars.ignore(pyparsing.quotedString).setParseAction(lambda x: '')
-00680         doNotParse = self.commentGrammars | self.commentInProgress | pyparsing.quotedString
-00681         afterElements = \
-00682             pyparsing.Optional(pipe + pyparsing.SkipTo(outputParser ^ stringEnd, ignore=doNotParse)('pipeTo')) + \
-00683             pyparsing.Optional(outputParser + pyparsing.SkipTo(stringEnd, ignore=doNotParse).setParseAction(lambda x: x[0].strip())('outputTo'))
-00684         if self.case_insensitive:
-00685             self.multilineCommand.setParseAction(lambda x: x[0].lower())
-00686             oneLineCommand.setParseAction(lambda x: x[0].lower())
-00687         if self.blankLinesAllowed:
-00688             self.blankLineTerminationParser = pyparsing.NoMatch
-00689         else:
-00690             self.blankLineTerminator = (pyparsing.lineEnd + pyparsing.lineEnd)('terminator')
-00691             self.blankLineTerminator.setResultsName('terminator')
-00692             self.blankLineTerminationParser = ((self.multilineCommand ^ oneLineCommand) + pyparsing.SkipTo(self.blankLineTerminator, ignore=doNotParse).setParseAction(lambda x: x[0].strip())('args') + self.blankLineTerminator)('statement')
-00693         self.multilineParser = (((self.multilineCommand ^ oneLineCommand) + pyparsing.SkipTo(terminatorParser, ignore=doNotParse).setParseAction(lambda x: x[0].strip())('args') + terminatorParser)('statement') +
-00694                                 pyparsing.SkipTo(outputParser ^ pipe ^ stringEnd, ignore=doNotParse).setParseAction(lambda x: x[0].strip())('suffix') + afterElements)
-00695         self.multilineParser.ignore(self.commentInProgress)
-00696         self.singleLineParser = ((oneLineCommand + pyparsing.SkipTo(terminatorParser ^ stringEnd ^ pipe ^ outputParser, ignore=doNotParse).setParseAction(lambda x:x[0].strip())('args'))('statement') +
-00697                                  pyparsing.Optional(terminatorParser) + afterElements)
-00698         #self.multilineParser = self.multilineParser.setResultsName('multilineParser')
-00699         #self.singleLineParser = self.singleLineParser.setResultsName('singleLineParser')
-00700         self.blankLineTerminationParser = self.blankLineTerminationParser.setResultsName('statement')
-00701         self.parser = self.prefixParser + (
-00702             stringEnd |
-00703             self.multilineParser |
-00704             self.singleLineParser |
-00705             self.blankLineTerminationParser | 
-00706             self.multilineCommand + pyparsing.SkipTo(stringEnd, ignore=doNotParse)
-00707             )
-00708         self.parser.ignore(self.commentGrammars)
-00709         
-00710         inputMark = pyparsing.Literal('<')
-00711         inputMark.setParseAction(lambda x: '')
-00712         fileName = pyparsing.Word(self.legalChars + '/\\')
-00713         inputFrom = fileName('inputFrom')
-00714         inputFrom.setParseAction(replace_with_file_contents)
-00715         # a not-entirely-satisfactory way of distinguishing < as in "import from" from <
-00716         # as in "lesser than"
-00717         self.inputParser = inputMark + pyparsing.Optional(inputFrom) + pyparsing.Optional('>') + \
-00718                            pyparsing.Optional(fileName) + (pyparsing.stringEnd | '|')
-00719         self.inputParser.ignore(self.commentInProgress)               
-00720     
-00721     def preparse(self, raw, **kwargs):
-00722         return raw
-00723     def postparse(self, parseResult):
-00724         return parseResult
-00725    
-00726     def parsed(self, raw, **kwargs):
-00727         if isinstance(raw, ParsedString):
-00728             p = raw
-00729         else:
-00730             # preparse is an overridable hook; default makes no changes
-00731             s = self.preparse(raw, **kwargs)
-00732             s = self.inputParser.transformString(s.lstrip())
-00733             s = self.commentGrammars.transformString(s)
-00734             for (shortcut, expansion) in self.shortcuts:
-00735                 if s.lower().startswith(shortcut):
-00736                     s = s.replace(shortcut, expansion + ' ', 1)
-00737                     break
-00738             result = self.parser.parseString(s)
-00739             result['raw'] = raw            
-00740             result['command'] = result.multilineCommand or result.command        
-00741             result = self.postparse(result)
-00742             p = ParsedString(result.args)
-00743             p.parsed = result
-00744             p.parser = self.parsed
-00745         for (key, val) in kwargs.items():
-00746             p.parsed[key] = val
-00747         return p
-00748               
-00749     def postparsing_precmd(self, statement):
-00750         stop = 0
-00751         return stop, statement
-00752     def postparsing_postcmd(self, stop):
-00753         return stop
-00754     
-00755     def func_named(self, arg):
-00756         result = None
-00757         target = 'do_' + arg
-00758         if target in dir(self):
-00759             result = target
-00760         else:
-00761             if self.abbrev:   # accept shortened versions of commands
-00762                 funcs = [fname for fname in self.keywords if fname.startswith(arg)]
-00763                 if len(funcs) == 1:
-00764                     result = 'do_' + funcs[0]
-00765         return result
-00766     def onecmd_plus_hooks(self, line):
-00767         # The outermost level of try/finally nesting can be condensed once
-00768         # Python 2.4 support can be dropped.
-00769         stop = 0
-00770         try:
-00771             try:
-00772                 statement = self.complete_statement(line)
-00773                 (stop, statement) = self.postparsing_precmd(statement)
-00774                 if stop:
-00775                     return self.postparsing_postcmd(stop)
-00776                 if statement.parsed.command not in self.excludeFromHistory:
-00777                     self.history.append(statement.parsed.raw)      
-00778                 try:
-00779                     self.redirect_output(statement)
-00780                     timestart = datetime.datetime.now()
-00781                     statement = self.precmd(statement)
-00782                     stop = self.onecmd(statement)
-00783                     stop = self.postcmd(stop, statement)
-00784                     if self.timing:
-00785                         self.pfeedback('Elapsed: %s' % str(datetime.datetime.now() - timestart))
-00786                 finally:
-00787                     self.restore_output(statement)
-00788             except EmptyStatement:
-00789                 return 0
-00790             except Exception, e:
-00791                 self.perror(str(e), statement)            
-00792         finally:
-00793             return self.postparsing_postcmd(stop)        
-00794     def complete_statement(self, line):
-00795         """Keep accepting lines of input until the command is complete."""
-00796         if (not line) or (
-00797             not pyparsing.Or(self.commentGrammars).
-00798                 setParseAction(lambda x: '').transformString(line)):
-00799             raise EmptyStatement
-00800         statement = self.parsed(line)
-00801         while statement.parsed.multilineCommand and (statement.parsed.terminator == ''):
-00802             statement = '%s\n%s' % (statement.parsed.raw, 
-00803                                     self.pseudo_raw_input(self.continuation_prompt))                
-00804             statement = self.parsed(statement)
-00805         if not statement.parsed.command:
-00806             raise EmptyStatement
-00807         return statement
-00808     
-00809     def redirect_output(self, statement):
-00810         if statement.parsed.pipeTo:
-00811             self.kept_state = Statekeeper(self, ('stdout',))
-00812             self.kept_sys = Statekeeper(sys, ('stdout',))
-00813             self.redirect = subprocess.Popen(statement.parsed.pipeTo, shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE)
-00814             sys.stdout = self.stdout = self.redirect.stdin
-00815         elif statement.parsed.output:
-00816             if (not statement.parsed.outputTo) and (not can_clip):
-00817                 raise EnvironmentError('Cannot redirect to paste buffer; install ``xclip`` and re-run to enable')
-00818             self.kept_state = Statekeeper(self, ('stdout',))            
-00819             self.kept_sys = Statekeeper(sys, ('stdout',))
-00820             if statement.parsed.outputTo:
-00821                 mode = 'w'
-00822                 if statement.parsed.output == 2 * self.redirector:
-00823                     mode = 'a'
-00824                 sys.stdout = self.stdout = open(os.path.expanduser(statement.parsed.outputTo), mode)                            
-00825             else:
-00826                 sys.stdout = self.stdout = tempfile.TemporaryFile(mode="w+")
-00827                 if statement.parsed.output == '>>':
-00828                     self.stdout.write(get_paste_buffer())
-00829                     
-00830     def restore_output(self, statement):
-00831         if self.kept_state:
-00832             if statement.parsed.output:
-00833                 if not statement.parsed.outputTo:
-00834                     self.stdout.seek(0)
-00835                     write_to_paste_buffer(self.stdout.read())
-00836             elif statement.parsed.pipeTo:
-00837                 for result in self.redirect.communicate():              
-00838                     self.kept_state.stdout.write(result or '')                        
-00839             self.stdout.close()
-00840             self.kept_state.restore()  
-00841             self.kept_sys.restore()
-00842             self.kept_state = None                        
-00843                         
-00844     def onecmd(self, line):
-00845         """Interpret the argument as though it had been typed in response
-00846         to the prompt.
-00847 
-00848         This may be overridden, but should not normally need to be;
-00849         see the precmd() and postcmd() methods for useful execution hooks.
-00850         The return value is a flag indicating whether interpretation of
-00851         commands by the interpreter should stop.
-00852         
-00853         This (`cmd2`) version of `onecmd` already override's `cmd`'s `onecmd`.
-00854 
-00855         """
-00856         statement = self.parsed(line)
-00857         self.lastcmd = statement.parsed.raw   
-00858         funcname = self.func_named(statement.parsed.command)
-00859         if not funcname:
-00860             return self._default(statement)
-00861         try:
-00862             func = getattr(self, funcname)
-00863         except AttributeError:
-00864             return self._default(statement)
-00865         stop = func(statement) 
-00866         return stop                
-00867         
-00868     def _default(self, statement):
-00869         arg = statement.full_parsed_statement()
-00870         if self.default_to_shell:
-00871             result = os.system(arg)
-00872             if not result:
-00873                 return self.postparsing_postcmd(None)
-00874         return self.postparsing_postcmd(self.default(arg))
-00875 
-00876     def pseudo_raw_input(self, prompt):
-00877         """copied from cmd's cmdloop; like raw_input, but accounts for changed stdin, stdout"""
-00878         
-00879         if self.use_rawinput:
-00880             try:
-00881                 line = raw_input(prompt)
-00882             except EOFError:
-00883                 line = 'EOF'
-00884         else:
-00885             self.stdout.write(prompt)
-00886             self.stdout.flush()
-00887             line = self.stdin.readline()
-00888             if not len(line):
-00889                 line = 'EOF'
-00890             else:
-00891                 if line[-1] == '\n': # this was always true in Cmd
-00892                     line = line[:-1] 
-00893         return line
-00894     
-00895     def _cmdloop(self, intro=None):
-00896         """Repeatedly issue a prompt, accept input, parse an initial prefix
-00897         off the received input, and dispatch to action methods, passing them
-00898         the remainder of the line as argument.
-00899         """
-00900 
-00901         # An almost perfect copy from Cmd; however, the pseudo_raw_input portion
-00902         # has been split out so that it can be called separately
-00903         
-00904         self.preloop()
-00905         if self.use_rawinput and self.completekey:
-00906             try:
-00907                 import readline
-00908                 self.old_completer = readline.get_completer()
-00909                 readline.set_completer(self.complete)
-00910                 readline.parse_and_bind(self.completekey+": complete")
-00911             except ImportError:
-00912                 pass
-00913         try:
-00914             if intro is not None:
-00915                 self.intro = intro
-00916             if self.intro:
-00917                 self.stdout.write(str(self.intro)+"\n")
-00918             stop = None
-00919             while not stop:
-00920                 if self.cmdqueue:
-00921                     line = self.cmdqueue.pop(0)
-00922                 else:
-00923                     line = self.pseudo_raw_input(self.prompt)
-00924                 if (self.echo) and (isinstance(self.stdin, file)):
-00925                     self.stdout.write(line + '\n')
-00926                 stop = self.onecmd_plus_hooks(line)
-00927             self.postloop()
-00928         finally:
-00929             if self.use_rawinput and self.completekey:
-00930                 try:
-00931                     import readline
-00932                     readline.set_completer(self.old_completer)
-00933                 except ImportError:
-00934                     pass    
-00935             return stop
-00936 
-00937     def do_EOF(self, arg):
-00938         return self._STOP_SCRIPT_NO_EXIT # End of script; should not exit app
-00939     do_eof = do_EOF
-00940                            
-00941     def do_quit(self, arg):
-00942         return self._STOP_AND_EXIT
-00943     do_exit = do_quit
-00944     do_q = do_quit
-00945     
-00946     def select(self, options, prompt='Your choice? '):
-00947         '''Presents a numbered menu to the user.  Modelled after
-00948            the bash shell's SELECT.  Returns the item chosen.
-00949            
-00950            Argument ``options`` can be:
-00951 
-00952              | a single string -> will be split into one-word options
-00953              | a list of strings -> will be offered as options
-00954              | a list of tuples -> interpreted as (value, text), so 
-00955                                    that the return value can differ from
-00956                                    the text advertised to the user '''
-00957         if isinstance(options, basestring):
-00958             options = zip(options.split(), options.split())
-00959         fulloptions = []
-00960         for opt in options:
-00961             if isinstance(opt, basestring):
-00962                 fulloptions.append((opt, opt))
-00963             else:
-00964                 try:
-00965                     fulloptions.append((opt[0], opt[1]))
-00966                 except IndexError:
-00967                     fulloptions.append((opt[0], opt[0]))
-00968         for (idx, (value, text)) in enumerate(fulloptions):
-00969             self.poutput('  %2d. %s\n' % (idx+1, text))
-00970         while True:
-00971             response = raw_input(prompt)
-00972             try:
-00973                 response = int(response)
-00974                 result = fulloptions[response - 1][0]
-00975                 break
-00976             except ValueError:
-00977                 pass # loop and ask again
-00978         return result
-00979     
-00980     @options([make_option('-l', '--long', action="store_true",
-00981                  help="describe function of parameter")])    
-00982     def do_show(self, arg, opts):
-00983         '''Shows value of a parameter.'''
-00984         param = arg.strip().lower()
-00985         result = {}
-00986         maxlen = 0
-00987         for p in self.settable:
-00988             if (not param) or p.startswith(param):
-00989                 result[p] = '%s: %s' % (p, str(getattr(self, p)))
-00990                 maxlen = max(maxlen, len(result[p]))
-00991         if result:
-00992             for p in sorted(result):
-00993                 if opts.long:
-00994                     self.poutput('%s # %s' % (result[p].ljust(maxlen), self.settable[p]))
-00995                 else:
-00996                     self.poutput(result[p])
-00997         else:
-00998             raise NotImplementedError("Parameter '%s' not supported (type 'show' for list of parameters)." % param)
-00999     
-01000     def do_set(self, arg):
-01001         '''
-01002         Sets a cmd2 parameter.  Accepts abbreviated parameter names so long
-01003         as there is no ambiguity.  Call without arguments for a list of 
-01004         settable parameters with their values.'''
-01005         try:
-01006             statement, paramName, val = arg.parsed.raw.split(None, 2)
-01007             val = val.strip()
-01008             paramName = paramName.strip().lower()
-01009             if paramName not in self.settable:
-01010                 hits = [p for p in self.settable if p.startswith(paramName)]
-01011                 if len(hits) == 1:
-01012                     paramName = hits[0]
-01013                 else:
-01014                     return self.do_show(paramName)
-01015             currentVal = getattr(self, paramName)
-01016             if (val[0] == val[-1]) and val[0] in ("'", '"'):
-01017                 val = val[1:-1]
-01018             else:                
-01019                 val = cast(currentVal, val)
-01020             setattr(self, paramName, val)
-01021             self.stdout.write('%s - was: %s\nnow: %s\n' % (paramName, currentVal, val))
-01022             if currentVal != val:
-01023                 try:
-01024                     onchange_hook = getattr(self, '_onchange_%s' % paramName)
-01025                     onchange_hook(old=currentVal, new=val)
-01026                 except AttributeError:
-01027                     pass
-01028         except (ValueError, AttributeError, NotSettableError), e:
-01029             self.do_show(arg)
-01030                 
-01031     def do_pause(self, arg):
-01032         'Displays the specified text then waits for the user to press RETURN.'
-01033         raw_input(arg + '\n')
-01034         
-01035     def do_shell(self, arg):
-01036         'execute a command as if at the OS prompt.'
-01037         os.system(arg)
-01038                 
-01039     def do_py(self, arg):  
-01040         '''
-01041         py <command>: Executes a Python command.
-01042         py: Enters interactive Python mode.
-01043         End with ``Ctrl-D`` (Unix) / ``Ctrl-Z`` (Windows), ``quit()``, '`exit()``.
-01044         Non-python commands can be issued with ``cmd("your command")``.
-01045         Run python code from external files with ``run("filename.py")``
-01046         '''
-01047         self.pystate['self'] = self
-01048         arg = arg.parsed.raw[2:].strip()
-01049         localvars = (self.locals_in_py and self.pystate) or {}
-01050         interp = InteractiveConsole(locals=localvars)
-01051         interp.runcode('import sys, os;sys.path.insert(0, os.getcwd())')
-01052         if arg.strip():
-01053             interp.runcode(arg)
-01054         else:
-01055             def quit():
-01056                 raise EmbeddedConsoleExit
-01057             def onecmd_plus_hooks(arg):
-01058                 return self.onecmd_plus_hooks(arg + '\n')
-01059             def run(arg):
-01060                 try:
-01061                     file = open(arg)
-01062                     interp.runcode(file.read())
-01063                     file.close()
-01064                 except IOError, e:
-01065                     self.perror(e)
-01066             self.pystate['quit'] = quit
-01067             self.pystate['exit'] = quit
-01068             self.pystate['cmd'] = onecmd_plus_hooks
-01069             self.pystate['run'] = run
-01070             try:
-01071                 cprt = 'Type "help", "copyright", "credits" or "license" for more information.'        
-01072                 keepstate = Statekeeper(sys, ('stdin','stdout'))
-01073                 sys.stdout = self.stdout
-01074                 sys.stdin = self.stdin
-01075                 interp.interact(banner= "Python %s on %s\n%s\n(%s)\n%s" %
-01076                        (sys.version, sys.platform, cprt, self.__class__.__name__, self.do_py.__doc__))
-01077             except EmbeddedConsoleExit:
-01078                 pass
-01079             keepstate.restore()
-01080             
-01081     @options([make_option('-s', '--script', action="store_true", help="Script format; no separation lines"),
-01082              ], arg_desc = '(limit on which commands to include)')
-01083     def do_history(self, arg, opts):
-01084         """history [arg]: lists past commands issued
-01085         
-01086         | no arg:         list all
-01087         | arg is integer: list one history item, by index
-01088         | arg is string:  string search
-01089         | arg is /enclosed in forward-slashes/: regular expression search
-01090         """
-01091         if arg:
-01092             history = self.history.get(arg)
-01093         else:
-01094             history = self.history
-01095         for hi in history:
-01096             if opts.script:
-01097                 self.poutput(hi)
-01098             else:
-01099                 self.stdout.write(hi.pr())
-01100     def last_matching(self, arg):
-01101         try:
-01102             if arg:
-01103                 return self.history.get(arg)[-1]
-01104             else:
-01105                 return self.history[-1]
-01106         except IndexError:
-01107             return None        
-01108     def do_list(self, arg):
-01109         """list [arg]: lists last command issued
-01110         
-01111         no arg -> list most recent command
-01112         arg is integer -> list one history item, by index
-01113         a..b, a:b, a:, ..b -> list spans from a (or start) to b (or end)
-01114         arg is string -> list all commands matching string search
-01115         arg is /enclosed in forward-slashes/ -> regular expression search
-01116         """
-01117         try:
-01118             history = self.history.span(arg or '-1')
-01119         except IndexError:
-01120             history = self.history.search(arg)
-01121         for hi in history:
-01122             self.poutput(hi.pr())
-01123 
-01124     do_hi = do_history
-01125     do_l = do_list
-01126     do_li = do_list
-01127         
-01128     def do_ed(self, arg):
-01129         """ed: edit most recent command in text editor
-01130         ed [N]: edit numbered command from history
-01131         ed [filename]: edit specified file name
-01132         
-01133         commands are run after editor is closed.
-01134         "set edit (program-name)" or set  EDITOR environment variable
-01135         to control which editing program is used."""
-01136         if not self.editor:
-01137             raise EnvironmentError("Please use 'set editor' to specify your text editing program of choice.")
-01138         filename = self.default_file_name
-01139         if arg:
-01140             try:
-01141                 buffer = self.last_matching(int(arg))
-01142             except ValueError:
-01143                 filename = arg
-01144                 buffer = ''
-01145         else:
-01146             buffer = self.history[-1]
-01147 
-01148         if buffer:
-01149             f = open(os.path.expanduser(filename), 'w')
-01150             f.write(buffer or '')
-01151             f.close()        
-01152                 
-01153         os.system('%s %s' % (self.editor, filename))
-01154         self.do__load(filename)
-01155     do_edit = do_ed
-01156     
-01157     saveparser = (pyparsing.Optional(pyparsing.Word(pyparsing.nums)^'*')("idx") + 
-01158                   pyparsing.Optional(pyparsing.Word(legalChars + '/\\'))("fname") +
-01159                   pyparsing.stringEnd)    
-01160     def do_save(self, arg):
-01161         """`save [N] [filename.ext]`
-01162 
-01163         Saves command from history to file.
-01164 
-01165         | N => Number of command (from history), or `*`; 
-01166         |      most recent command if omitted"""
-01167 
-01168         try:
-01169             args = self.saveparser.parseString(arg)
-01170         except pyparsing.ParseException:
-01171             self.perror('Could not understand save target %s' % arg)
-01172             raise SyntaxError(self.do_save.__doc__)
-01173         fname = args.fname or self.default_file_name
-01174         if args.idx == '*':
-01175             saveme = '\n\n'.join(self.history[:])
-01176         elif args.idx:
-01177             saveme = self.history[int(args.idx)-1]
-01178         else:
-01179             saveme = self.history[-1]
-01180         try:
-01181             f = open(os.path.expanduser(fname), 'w')
-01182             f.write(saveme)
-01183             f.close()
-01184             self.pfeedback('Saved to %s' % (fname))
-01185         except Exception, e:
-01186             self.perror('Error saving %s' % (fname))
-01187             raise
-01188             
-01189     def read_file_or_url(self, fname):
-01190         # TODO: not working on localhost
-01191         if isinstance(fname, file):
-01192             result = open(fname, 'r')
-01193         else:
-01194             match = self.urlre.match(fname)
-01195             if match:
-01196                 result = urllib.urlopen(match.group(1))
-01197             else:
-01198                 fname = os.path.expanduser(fname)
-01199                 try:
-01200                     result = open(os.path.expanduser(fname), 'r')
-01201                 except IOError:                    
-01202                     result = open('%s.%s' % (os.path.expanduser(fname), 
-01203                                              self.defaultExtension), 'r')
-01204         return result
-01205         
-01206     def do__relative_load(self, arg=None):
-01207         '''
-01208         Runs commands in script at file or URL; if this is called from within an
-01209         already-running script, the filename will be interpreted relative to the 
-01210         already-running script's directory.'''
-01211         if arg:
-01212             arg = arg.split(None, 1)
-01213             targetname, args = arg[0], (arg[1:] or [''])[0]
-01214             targetname = os.path.join(self.current_script_dir or '', targetname)
-01215             self.do__load('%s %s' % (targetname, args))
-01216     
-01217     urlre = re.compile('(https?://[-\\w\\./]+)')
-01218     def do_load(self, arg=None):           
-01219         """Runs script of command(s) from a file or URL."""
-01220         if arg is None:
-01221             targetname = self.default_file_name
-01222         else:
-01223             arg = arg.split(None, 1)
-01224             targetname, args = arg[0], (arg[1:] or [''])[0].strip()
-01225         try:
-01226             target = self.read_file_or_url(targetname)
-01227         except IOError, e:
-01228             self.perror('Problem accessing script from %s: \n%s' % (targetname, e))
-01229             return
-01230         keepstate = Statekeeper(self, ('stdin','use_rawinput','prompt',
-01231                                        'continuation_prompt','current_script_dir'))
-01232         self.stdin = target    
-01233         self.use_rawinput = False
-01234         self.prompt = self.continuation_prompt = ''
-01235         self.current_script_dir = os.path.split(targetname)[0]
-01236         stop = self._cmdloop()
-01237         self.stdin.close()
-01238         keepstate.restore()
-01239         self.lastcmd = ''
-01240         return stop and (stop != self._STOP_SCRIPT_NO_EXIT)    
-01241     do__load = do_load  # avoid an unfortunate legacy use of do_load from sqlpython
-01242     
-01243     def do_run(self, arg):
-01244         """run [arg]: re-runs an earlier command
-01245         
-01246         no arg -> run most recent command
-01247         arg is integer -> run one history item, by index
-01248         arg is string -> run most recent command by string search
-01249         arg is /enclosed in forward-slashes/ -> run most recent by regex
-01250         """        
-01251         'run [N]: runs the SQL that was run N commands ago'
-01252         runme = self.last_matching(arg)
-01253         self.pfeedback(runme)
-01254         if runme:
-01255             stop = self.onecmd_plus_hooks(runme)
-01256     do_r = do_run        
-01257             
-01258     def fileimport(self, statement, source):
-01259         try:
-01260             f = open(os.path.expanduser(source))
-01261         except IOError:
-01262             self.stdout.write("Couldn't read from file %s\n" % source)
-01263             return ''
-01264         data = f.read()
-01265         f.close()
-01266         return data
-01267 
-01268     def runTranscriptTests(self, callargs):
-01269         class TestMyAppCase(Cmd2TestCase):
-01270             CmdApp = self.__class__        
-01271         self.__class__.testfiles = callargs
-01272         sys.argv = [sys.argv[0]] # the --test argument upsets unittest.main()
-01273         testcase = TestMyAppCase()
-01274         runner = unittest.TextTestRunner()
-01275         result = runner.run(testcase)
-01276         result.printErrors()
-01277 
-01278     def run_commands_at_invocation(self, callargs):
-01279         for initial_command in callargs:
-01280             if self.onecmd_plus_hooks(initial_command + '\n'):
-01281                 return self._STOP_AND_EXIT
-01282 
-01283     def cmdloop(self):
-01284         parser = optparse.OptionParser()
-01285         parser.add_option('-t', '--test', dest='test',
-01286                action="store_true", 
-01287                help='Test against transcript(s) in FILE (wildcards OK)')
-01288         (callopts, callargs) = parser.parse_args()
-01289         if callopts.test:
-01290             self.runTranscriptTests(callargs)
-01291         else:
-01292             if not self.run_commands_at_invocation(callargs):
-01293                 self._cmdloop()   
-01294             
-01295 class HistoryItem(str):
-01296     listformat = '-------------------------[%d]\n%s\n'
-01297     def __init__(self, instr):
-01298         str.__init__(self)
-01299         self.lowercase = self.lower()
-01300         self.idx = None
-01301     def pr(self):
-01302         return self.listformat % (self.idx, str(self))
-01303         
-01304 class History(list):
-01305     '''A list of HistoryItems that knows how to respond to user requests.
-01306     >>> h = History([HistoryItem('first'), HistoryItem('second'), HistoryItem('third'), HistoryItem('fourth')])
-01307     >>> h.span('-2..')
-01308     ['third', 'fourth']
-01309     >>> h.span('2..3')
-01310     ['second', 'third']
-01311     >>> h.span('3')
-01312     ['third']    
-01313     >>> h.span(':')
-01314     ['first', 'second', 'third', 'fourth']
-01315     >>> h.span('2..')
-01316     ['second', 'third', 'fourth']
-01317     >>> h.span('-1')
-01318     ['fourth']    
-01319     >>> h.span('-2..-3')
-01320     ['third', 'second']      
-01321     >>> h.search('o')
-01322     ['second', 'fourth']
-01323     >>> h.search('/IR/')
-01324     ['first', 'third']
-01325     '''
-01326     def zero_based_index(self, onebased):
-01327         result = onebased
-01328         if result > 0:
-01329             result -= 1
-01330         return result
-01331     def to_index(self, raw):
-01332         if raw:
-01333             result = self.zero_based_index(int(raw))
-01334         else:
-01335             result = None
-01336         return result
-01337     def search(self, target):
-01338         target = target.strip()
-01339         if target[0] == target[-1] == '/' and len(target) > 1:
-01340             target = target[1:-1]
-01341         else:
-01342             target = re.escape(target)
-01343         pattern = re.compile(target, re.IGNORECASE)
-01344         return [s for s in self if pattern.search(s)]
-01345     spanpattern = re.compile(r'^\s*(?P<start>\-?\d+)?\s*(?P<separator>:|(\.{2,}))?\s*(?P<end>\-?\d+)?\s*$')
-01346     def span(self, raw):
-01347         if raw.lower() in ('*', '-', 'all'):
-01348             raw = ':'
-01349         results = self.spanpattern.search(raw)
-01350         if not results:
-01351             raise IndexError
-01352         if not results.group('separator'):
-01353             return [self[self.to_index(results.group('start'))]]
-01354         start = self.to_index(results.group('start'))
-01355         end = self.to_index(results.group('end'))
-01356         reverse = False
-01357         if end is not None:
-01358             if end < start:
-01359                 (start, end) = (end, start)
-01360                 reverse = True
-01361             end += 1
-01362         result = self[start:end]
-01363         if reverse:
-01364             result.reverse()
-01365         return result
-01366                 
-01367     rangePattern = re.compile(r'^\s*(?P<start>[\d]+)?\s*\-\s*(?P<end>[\d]+)?\s*$')
-01368     def append(self, new):
-01369         new = HistoryItem(new)
-01370         list.append(self, new)
-01371         new.idx = len(self)
-01372     def extend(self, new):
-01373         for n in new:
-01374             self.append(n)
-01375         
-01376     def get(self, getme=None, fromEnd=False):
-01377         if not getme:
-01378             return self
-01379         try:
-01380             getme = int(getme)
-01381             if getme < 0:
-01382                 return self[:(-1 * getme)]
-01383             else:
-01384                 return [self[getme-1]]
-01385         except IndexError:
-01386             return []
-01387         except ValueError:
-01388             rangeResult = self.rangePattern.search(getme)
-01389             if rangeResult:
-01390                 start = rangeResult.group('start') or None
-01391                 end = rangeResult.group('start') or None
-01392                 if start:
-01393                     start = int(start) - 1
-01394                 if end:
-01395                     end = int(end)
-01396                 return self[start:end]
-01397                 
-01398             getme = getme.strip()
-01399 
-01400             if getme.startswith(r'/') and getme.endswith(r'/'):
-01401                 finder = re.compile(getme[1:-1], re.DOTALL | re.MULTILINE | re.IGNORECASE)
-01402                 def isin(hi):
-01403                     return finder.search(hi)
-01404             else:
-01405                 def isin(hi):
-01406                     return (getme.lower() in hi.lowercase)
-01407             return [itm for itm in self if isin(itm)]
-01408 
-01409 class NotSettableError(Exception):
-01410     pass
-01411         
-01412 def cast(current, new):
-01413     """Tries to force a new value into the same type as the current."""
-01414     typ = type(current)
-01415     if typ == bool:
-01416         try:
-01417             return bool(int(new))
-01418         except (ValueError, TypeError):
-01419             pass
-01420         try:
-01421             new = new.lower()    
-01422         except:
-01423             pass
-01424         if (new=='on') or (new[0] in ('y','t')):
-01425             return True
-01426         if (new=='off') or (new[0] in ('n','f')):
-01427             return False
-01428     else:
-01429         try:
-01430             return typ(new)
-01431         except:
-01432             pass
-01433     print ("Problem setting parameter (now %s) to %s; incorrect type?" % (current, new))
-01434     return current
-01435         
-01436 class Statekeeper(object):
-01437     def __init__(self, obj, attribs):
-01438         self.obj = obj
-01439         self.attribs = attribs
-01440         if self.obj:
-01441             self.save()
-01442     def save(self):
-01443         for attrib in self.attribs:
-01444             setattr(self, attrib, getattr(self.obj, attrib))
-01445     def restore(self):
-01446         if self.obj:
-01447             for attrib in self.attribs:
-01448                 setattr(self.obj, attrib, getattr(self, attrib))        
-01449 
-01450 class Borg(object):
-01451     '''All instances of any Borg subclass will share state.
-01452     from Python Cookbook, 2nd Ed., recipe 6.16'''
-01453     _shared_state = {}
-01454     def __new__(cls, *a, **k):
-01455         obj = object.__new__(cls, *a, **k)
-01456         obj.__dict__ = cls._shared_state
-01457         return obj
-01458     
-01459 class OutputTrap(Borg):
-01460     '''Instantiate  an OutputTrap to divert/capture ALL stdout output.  For use in unit testing.
-01461     Call `tearDown()` to return to normal output.'''
-01462     def __init__(self):
-01463         self.contents = ''
-01464         self.old_stdout = sys.stdout
-01465         sys.stdout = self
-01466     def write(self, txt):
-01467         self.contents += txt
-01468     def read(self):
-01469         result = self.contents
-01470         self.contents = ''
-01471         return result
-01472     def tearDown(self):
-01473         sys.stdout = self.old_stdout
-01474         self.contents = ''
-01475         
-01476 class Cmd2TestCase(unittest.TestCase):
-01477     '''Subclass this, setting CmdApp, to make a unittest.TestCase class
-01478        that will execute the commands in a transcript file and expect the results shown.
-01479        See example.py'''
-01480     CmdApp = None
-01481     def fetchTranscripts(self):
-01482         self.transcripts = {}
-01483         for fileset in self.CmdApp.testfiles:
-01484             for fname in glob.glob(fileset):
-01485                 tfile = open(fname)
-01486                 self.transcripts[fname] = iter(tfile.readlines())
-01487                 tfile.close()
-01488         if not len(self.transcripts):
-01489             raise (StandardError,), "No test files found - nothing to test."
-01490     def setUp(self):
-01491         if self.CmdApp:
-01492             self.outputTrap = OutputTrap()
-01493             self.cmdapp = self.CmdApp()
-01494             self.fetchTranscripts()
-01495     def runTest(self): # was testall
-01496         if self.CmdApp:
-01497             its = sorted(self.transcripts.items())
-01498             for (fname, transcript) in its:
-01499                 self._test_transcript(fname, transcript)
-01500     regexPattern = pyparsing.QuotedString(quoteChar=r'/', escChar='\\', multiline=True, unquoteResults=True)
-01501     regexPattern.ignore(pyparsing.cStyleComment)
-01502     notRegexPattern = pyparsing.Word(pyparsing.printables)
-01503     notRegexPattern.setParseAction(lambda t: re.escape(t[0]))
-01504     expectationParser = regexPattern | notRegexPattern
-01505     anyWhitespace = re.compile(r'\s', re.DOTALL | re.MULTILINE)
-01506     def _test_transcript(self, fname, transcript):
-01507         lineNum = 0
-01508         finished = False
-01509         line = transcript.next()
-01510         lineNum += 1
-01511         tests_run = 0
-01512         while not finished:
-01513             # Scroll forward to where actual commands begin
-01514             while not line.startswith(self.cmdapp.prompt):
-01515                 try:
-01516                     line = transcript.next()
-01517                 except StopIteration:
-01518                     finished = True
-01519                     break
-01520                 lineNum += 1
-01521             command = [line[len(self.cmdapp.prompt):]]
-01522             line = transcript.next()
-01523             # Read the entirety of a multi-line command
-01524             while line.startswith(self.cmdapp.continuation_prompt):
-01525                 command.append(line[len(self.cmdapp.continuation_prompt):])
-01526                 try:
-01527                     line = transcript.next()
-01528                 except StopIteration:
-01529                     raise (StopIteration, 
-01530                            'Transcript broke off while reading command beginning at line %d with\n%s' 
-01531                            % (command[0]))
-01532                 lineNum += 1
-01533             command = ''.join(command)               
-01534             # Send the command into the application and capture the resulting output
-01535             stop = self.cmdapp.onecmd_plus_hooks(command)
-01536             #TODO: should act on ``stop``
-01537             result = self.outputTrap.read()
-01538             # Read the expected result from transcript
-01539             if line.startswith(self.cmdapp.prompt):
-01540                 message = '\nFile %s, line %d\nCommand was:\n%s\nExpected: (nothing)\nGot:\n%s\n'%\
-01541                     (fname, lineNum, command, result)     
-01542                 self.assert_(not(result.strip()), message)
-01543                 continue
-01544             expected = []
-01545             while not line.startswith(self.cmdapp.prompt):
-01546                 expected.append(line)
-01547                 try:
-01548                     line = transcript.next()
-01549                 except StopIteration:
-01550                     finished = True                       
-01551                     break
-01552                 lineNum += 1
-01553             expected = ''.join(expected)
-01554             # Compare actual result to expected
-01555             message = '\nFile %s, line %d\nCommand was:\n%s\nExpected:\n%s\nGot:\n%s\n'%\
-01556                 (fname, lineNum, command, expected, result)      
-01557             expected = self.expectationParser.transformString(expected)
-01558             # checking whitespace is a pain - let's skip it
-01559             expected = self.anyWhitespace.sub('', expected)
-01560             result = self.anyWhitespace.sub('', result)
-01561             self.assert_(re.match(expected, result, re.MULTILINE | re.DOTALL), message)
-01562 
-01563     def tearDown(self):
-01564         if self.CmdApp:
-01565             self.outputTrap.tearDown()
-01566 
-01567 if __name__ == '__main__':
-01568     doctest.testmod(optionflags = doctest.NORMALIZE_WHITESPACE)
-01569         
-01570 '''
-01571 To make your application transcript-testable, replace 
-01572 
-01573 ::
-01574 
-01575   app = MyApp()
-01576   app.cmdloop()
-01577   
-01578 with
-01579 
-01580 ::
-01581 
-01582   app = MyApp()
-01583   cmd2.run(app)
-01584   
-01585 Then run a session of your application and paste the entire screen contents
-01586 into a file, ``transcript.test``, and invoke the test like::
-01587 
-01588   python myapp.py --test transcript.test
-01589 
-01590 Wildcards can be used to test against multiple transcript files.
-01591 '''
-01592 
-01593 
-
-
- - - - - diff --git a/doxygen/html/conf_8py.html b/doxygen/html/conf_8py.html deleted file mode 100644 index 81b4aa7..0000000 --- a/doxygen/html/conf_8py.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/conf.py File Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
conf.py File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - -

-Packages

namespace  conf

-Variables

string conf::copyright = u'2010, Catherine Devlin'
list conf::exclude_trees = ['_build']
list conf::extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo']
list conf::html_static_path = ['_static']
string conf::html_theme = 'default'
string conf::htmlhelp_basename = 'cmd2doc'
dictionary conf::intersphinx_mapping = {'http://docs.python.org/': None}
list conf::latex_documents
string conf::master_doc = 'index'
string conf::project = u'cmd2'
string conf::pygments_style = 'sphinx'
string conf::release = '0.6.0'
string conf::source_suffix = '.rst'
list conf::templates_path = ['_templates']
string conf::version = '0.6.0'
-
-
- - - - - diff --git a/doxygen/html/conf_8py_source.html b/doxygen/html/conf_8py_source.html deleted file mode 100644 index d113545..0000000 --- a/doxygen/html/conf_8py_source.html +++ /dev/null @@ -1,326 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/conf.py Source File - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
conf.py
-
-
-Go to the documentation of this file.
00001 # -*- coding: utf-8 -*-
-00002 #
-00003 # cmd2 documentation build configuration file, created by
-00004 # sphinx-quickstart on Wed Feb 10 12:05:28 2010.
-00005 #
-00006 # This file is execfile()d with the current directory set to its containing dir.
-00007 #
-00008 # Note that not all possible configuration values are present in this
-00009 # autogenerated file.
-00010 #
-00011 # All configuration values have a default; values that are commented out
-00012 # serve to show the default.
-00013 
-00014 import sys, os
-00015 
-00016 # If extensions (or modules to document with autodoc) are in another directory,
-00017 # add these directories to sys.path here. If the directory is relative to the
-00018 # documentation root, use os.path.abspath to make it absolute, like shown here.
-00019 #sys.path.append(os.path.abspath('.'))
-00020 
-00021 # -- General configuration -----------------------------------------------------
-00022 
-00023 # Add any Sphinx extension module names here, as strings. They can be extensions
-00024 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-00025 extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo']
-00026 
-00027 # Add any paths that contain templates here, relative to this directory.
-00028 templates_path = ['_templates']
-00029 
-00030 # The suffix of source filenames.
-00031 source_suffix = '.rst'
-00032 
-00033 # The encoding of source files.
-00034 #source_encoding = 'utf-8'
-00035 
-00036 # The master toctree document.
-00037 master_doc = 'index'
-00038 
-00039 # General information about the project.
-00040 project = u'cmd2'
-00041 copyright = u'2010, Catherine Devlin'
-00042 
-00043 # The version info for the project you're documenting, acts as replacement for
-00044 # |version| and |release|, also used in various other places throughout the
-00045 # built documents.
-00046 #
-00047 # The short X.Y version.
-00048 version = '0.6.0'
-00049 # The full version, including alpha/beta/rc tags.
-00050 release = '0.6.0'
-00051 
-00052 # The language for content autogenerated by Sphinx. Refer to documentation
-00053 # for a list of supported languages.
-00054 #language = None
-00055 
-00056 # There are two options for replacing |today|: either, you set today to some
-00057 # non-false value, then it is used:
-00058 #today = ''
-00059 # Else, today_fmt is used as the format for a strftime call.
-00060 #today_fmt = '%B %d, %Y'
-00061 
-00062 # List of documents that shouldn't be included in the build.
-00063 #unused_docs = []
-00064 
-00065 # List of directories, relative to source directory, that shouldn't be searched
-00066 # for source files.
-00067 exclude_trees = ['_build']
-00068 
-00069 # The reST default role (used for this markup: `text`) to use for all documents.
-00070 #default_role = None
-00071 
-00072 # If true, '()' will be appended to :func: etc. cross-reference text.
-00073 #add_function_parentheses = True
-00074 
-00075 # If true, the current module name will be prepended to all description
-00076 # unit titles (such as .. function::).
-00077 #add_module_names = True
-00078 
-00079 # If true, sectionauthor and moduleauthor directives will be shown in the
-00080 # output. They are ignored by default.
-00081 #show_authors = False
-00082 
-00083 # The name of the Pygments (syntax highlighting) style to use.
-00084 pygments_style = 'sphinx'
-00085 
-00086 # A list of ignored prefixes for module index sorting.
-00087 #modindex_common_prefix = []
-00088 
-00089 
-00090 # -- Options for HTML output ---------------------------------------------------
-00091 
-00092 # The theme to use for HTML and HTML Help pages.  Major themes that come with
-00093 # Sphinx are currently 'default' and 'sphinxdoc'.
-00094 html_theme = 'default'
-00095 
-00096 # Theme options are theme-specific and customize the look and feel of a theme
-00097 # further.  For a list of options available for each theme, see the
-00098 # documentation.
-00099 #html_theme_options = {}
-00100 
-00101 # Add any paths that contain custom themes here, relative to this directory.
-00102 #html_theme_path = []
-00103 
-00104 # The name for this set of Sphinx documents.  If None, it defaults to
-00105 # "<project> v<release> documentation".
-00106 #html_title = None
-00107 
-00108 # A shorter title for the navigation bar.  Default is the same as html_title.
-00109 #html_short_title = None
-00110 
-00111 # The name of an image file (relative to this directory) to place at the top
-00112 # of the sidebar.
-00113 #html_logo = None
-00114 
-00115 # The name of an image file (within the static path) to use as favicon of the
-00116 # docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
-00117 # pixels large.
-00118 #html_favicon = None
-00119 
-00120 # Add any paths that contain custom static files (such as style sheets) here,
-00121 # relative to this directory. They are copied after the builtin static files,
-00122 # so a file named "default.css" will overwrite the builtin "default.css".
-00123 html_static_path = ['_static']
-00124 
-00125 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
-00126 # using the given strftime format.
-00127 #html_last_updated_fmt = '%b %d, %Y'
-00128 
-00129 # If true, SmartyPants will be used to convert quotes and dashes to
-00130 # typographically correct entities.
-00131 #html_use_smartypants = True
-00132 
-00133 # Custom sidebar templates, maps document names to template names.
-00134 #html_sidebars = {}
-00135 
-00136 # Additional templates that should be rendered to pages, maps page names to
-00137 # template names.
-00138 #html_additional_pages = {}
-00139 
-00140 # If false, no module index is generated.
-00141 #html_use_modindex = True
-00142 
-00143 # If false, no index is generated.
-00144 #html_use_index = True
-00145 
-00146 # If true, the index is split into individual pages for each letter.
-00147 #html_split_index = False
-00148 
-00149 # If true, links to the reST sources are added to the pages.
-00150 #html_show_sourcelink = True
-00151 
-00152 # If true, an OpenSearch description file will be output, and all pages will
-00153 # contain a <link> tag referring to it.  The value of this option must be the
-00154 # base URL from which the finished HTML is served.
-00155 #html_use_opensearch = ''
-00156 
-00157 # If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
-00158 #html_file_suffix = ''
-00159 
-00160 # Output file base name for HTML help builder.
-00161 htmlhelp_basename = 'cmd2doc'
-00162 
-00163 
-00164 # -- Options for LaTeX output --------------------------------------------------
-00165 
-00166 # The paper size ('letter' or 'a4').
-00167 #latex_paper_size = 'letter'
-00168 
-00169 # The font size ('10pt', '11pt' or '12pt').
-00170 #latex_font_size = '10pt'
-00171 
-00172 # Grouping the document tree into LaTeX files. List of tuples
-00173 # (source start file, target name, title, author, documentclass [howto/manual]).
-00174 latex_documents = [
-00175   ('index', 'cmd2.tex', u'cmd2 Documentation',
-00176    u'Catherine Devlin', 'manual'),
-00177 ]
-00178 
-00179 # The name of an image file (relative to this directory) to place at the top of
-00180 # the title page.
-00181 #latex_logo = None
-00182 
-00183 # For "manual" documents, if this is true, then toplevel headings are parts,
-00184 # not chapters.
-00185 #latex_use_parts = False
-00186 
-00187 # Additional stuff for the LaTeX preamble.
-00188 #latex_preamble = ''
-00189 
-00190 # Documents to append as an appendix to all manuals.
-00191 #latex_appendices = []
-00192 
-00193 # If false, no module index is generated.
-00194 #latex_use_modindex = True
-00195 
-00196 
-00197 # Example configuration for intersphinx: refer to the Python standard library.
-00198 intersphinx_mapping = {'http://docs.python.org/': None}
-
-
- - - - - diff --git a/doxygen/html/dir_5185d8a4f3d34c6a54b85ae5904b80ec.html b/doxygen/html/dir_5185d8a4f3d34c6a54b85ae5904b80ec.html deleted file mode 100644 index 78efcfb..0000000 --- a/doxygen/html/dir_5185d8a4f3d34c6a54b85ae5904b80ec.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/ Directory Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - -
-
- -
-
-
- -
-
-
-
docs Directory Reference
-
-
- - - - - -

-Directories

directory  pycon2010

-Files

file  conf.py [code]
-
-
- - - - - diff --git a/doxygen/html/dir_5185d8a4f3d34c6a54b85ae5904b80ec_dep.dot b/doxygen/html/dir_5185d8a4f3d34c6a54b85ae5904b80ec_dep.dot deleted file mode 100644 index b9e00dd..0000000 --- a/doxygen/html/dir_5185d8a4f3d34c6a54b85ae5904b80ec_dep.dot +++ /dev/null @@ -1,13 +0,0 @@ -digraph G { - compound=true - node [ fontsize="10", fontname="Helvetica"]; - edge [ labelfontsize="10", labelfontname="Helvetica"]; - subgraph clusterdir_bfedb8cf204bc52dab598c696b63c3d6 { - graph [ bgcolor="#ddddee", pencolor="black", label="cmd2" fontname="Helvetica", fontsize="10", URL="dir_bfedb8cf204bc52dab598c696b63c3d6.html"] - subgraph clusterdir_5185d8a4f3d34c6a54b85ae5904b80ec { - graph [ bgcolor="#eeeeff", pencolor="black", label="" URL="dir_5185d8a4f3d34c6a54b85ae5904b80ec.html"]; - dir_5185d8a4f3d34c6a54b85ae5904b80ec [shape=plaintext label="docs"]; - dir_a94d11e7025bc9c49b19e92232c5c310 [shape=box label="pycon2010" color="black" fillcolor="white" style="filled" URL="dir_a94d11e7025bc9c49b19e92232c5c310.html"]; - } - } -} diff --git a/doxygen/html/dir_5185d8a4f3d34c6a54b85ae5904b80ec_dep.md5 b/doxygen/html/dir_5185d8a4f3d34c6a54b85ae5904b80ec_dep.md5 deleted file mode 100644 index 2455d1d..0000000 --- a/doxygen/html/dir_5185d8a4f3d34c6a54b85ae5904b80ec_dep.md5 +++ /dev/null @@ -1 +0,0 @@ -925c3aae9a65e36714cbfb60489d93e1 \ No newline at end of file diff --git a/doxygen/html/dir_9c53eb36d53ed9f246f40760bdb65b6a.html b/doxygen/html/dir_9c53eb36d53ed9f246f40760bdb65b6a.html deleted file mode 100644 index 2aef78d..0000000 --- a/doxygen/html/dir_9c53eb36d53ed9f246f40760bdb65b6a.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/example/ Directory Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - -
-
- -
-
-
- -
-
-
-
example Directory Reference
-
-
- - - -

-Files

file  example.py [code]
-
-
- - - - - diff --git a/doxygen/html/dir_9c53eb36d53ed9f246f40760bdb65b6a_dep.dot b/doxygen/html/dir_9c53eb36d53ed9f246f40760bdb65b6a_dep.dot deleted file mode 100644 index bb14541..0000000 --- a/doxygen/html/dir_9c53eb36d53ed9f246f40760bdb65b6a_dep.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G { - compound=true - node [ fontsize="10", fontname="Helvetica"]; - edge [ labelfontsize="10", labelfontname="Helvetica"]; - subgraph clusterdir_bfedb8cf204bc52dab598c696b63c3d6 { - graph [ bgcolor="#ddddee", pencolor="black", label="cmd2" fontname="Helvetica", fontsize="10", URL="dir_bfedb8cf204bc52dab598c696b63c3d6.html"] - dir_9c53eb36d53ed9f246f40760bdb65b6a [shape=box, label="example", style="filled", fillcolor="#eeeeff", pencolor="black", URL="dir_9c53eb36d53ed9f246f40760bdb65b6a.html"]; - } -} diff --git a/doxygen/html/dir_9c53eb36d53ed9f246f40760bdb65b6a_dep.md5 b/doxygen/html/dir_9c53eb36d53ed9f246f40760bdb65b6a_dep.md5 deleted file mode 100644 index 9cdedb2..0000000 --- a/doxygen/html/dir_9c53eb36d53ed9f246f40760bdb65b6a_dep.md5 +++ /dev/null @@ -1 +0,0 @@ -b1a831c8847408aea4b395fcc60954c0 \ No newline at end of file diff --git a/doxygen/html/dir_a94d11e7025bc9c49b19e92232c5c310.html b/doxygen/html/dir_a94d11e7025bc9c49b19e92232c5c310.html deleted file mode 100644 index c145d8b..0000000 --- a/doxygen/html/dir_a94d11e7025bc9c49b19e92232c5c310.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/ Directory Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - -
-
- -
-
-
- -
-
-
-
pycon2010 Directory Reference
-
-
- - - - - - - - - - - - - -

-Files

file  fileutil.py [code]
file  graph.py [code]
file  pirate.py [code]
file  pirate2.py [code]
file  pirate3.py [code]
file  pirate4.py [code]
file  pirate5.py [code]
file  pirate6.py [code]
file  pirate7.py [code]
file  pirate8.py [code]
file  schematic.py [code]
-
-
- - - - - diff --git a/doxygen/html/dir_a94d11e7025bc9c49b19e92232c5c310_dep.dot b/doxygen/html/dir_a94d11e7025bc9c49b19e92232c5c310_dep.dot deleted file mode 100644 index 51becee..0000000 --- a/doxygen/html/dir_a94d11e7025bc9c49b19e92232c5c310_dep.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G { - compound=true - node [ fontsize="10", fontname="Helvetica"]; - edge [ labelfontsize="10", labelfontname="Helvetica"]; - subgraph clusterdir_5185d8a4f3d34c6a54b85ae5904b80ec { - graph [ bgcolor="#ddddee", pencolor="black", label="docs" fontname="Helvetica", fontsize="10", URL="dir_5185d8a4f3d34c6a54b85ae5904b80ec.html"] - dir_a94d11e7025bc9c49b19e92232c5c310 [shape=box, label="pycon2010", style="filled", fillcolor="#eeeeff", pencolor="black", URL="dir_a94d11e7025bc9c49b19e92232c5c310.html"]; - } -} diff --git a/doxygen/html/dir_a94d11e7025bc9c49b19e92232c5c310_dep.md5 b/doxygen/html/dir_a94d11e7025bc9c49b19e92232c5c310_dep.md5 deleted file mode 100644 index 5533ba6..0000000 --- a/doxygen/html/dir_a94d11e7025bc9c49b19e92232c5c310_dep.md5 +++ /dev/null @@ -1 +0,0 @@ -8287a191686b4986fdf7490409bfed4a \ No newline at end of file diff --git a/doxygen/html/dir_bfedb8cf204bc52dab598c696b63c3d6.html b/doxygen/html/dir_bfedb8cf204bc52dab598c696b63c3d6.html deleted file mode 100644 index 0d3ceca..0000000 --- a/doxygen/html/dir_bfedb8cf204bc52dab598c696b63c3d6.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/ Directory Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - -
-
- -
-
-
- -
-
-
-
cmd2 Directory Reference
-
-
- - - - - - - - -

-Directories

directory  docs
directory  example

-Files

file  cmd2.py [code]
file  ignoreBug.py [code]
file  setup.py [code]
-
-
- - - - - diff --git a/doxygen/html/dir_bfedb8cf204bc52dab598c696b63c3d6_dep.dot b/doxygen/html/dir_bfedb8cf204bc52dab598c696b63c3d6_dep.dot deleted file mode 100644 index e85d2d6..0000000 --- a/doxygen/html/dir_bfedb8cf204bc52dab598c696b63c3d6_dep.dot +++ /dev/null @@ -1,14 +0,0 @@ -digraph G { - compound=true - node [ fontsize="10", fontname="Helvetica"]; - edge [ labelfontsize="10", labelfontname="Helvetica"]; - subgraph clusterdir_e01452e30018b7d8a87d21a8fdf5052c { - graph [ bgcolor="#ddddee", pencolor="black", label="Projects" fontname="Helvetica", fontsize="10", URL="dir_e01452e30018b7d8a87d21a8fdf5052c.html"] - subgraph clusterdir_bfedb8cf204bc52dab598c696b63c3d6 { - graph [ bgcolor="#eeeeff", pencolor="black", label="" URL="dir_bfedb8cf204bc52dab598c696b63c3d6.html"]; - dir_bfedb8cf204bc52dab598c696b63c3d6 [shape=plaintext label="cmd2"]; - dir_5185d8a4f3d34c6a54b85ae5904b80ec [shape=box label="docs" color="red" fillcolor="white" style="filled" URL="dir_5185d8a4f3d34c6a54b85ae5904b80ec.html"]; - dir_9c53eb36d53ed9f246f40760bdb65b6a [shape=box label="example" color="black" fillcolor="white" style="filled" URL="dir_9c53eb36d53ed9f246f40760bdb65b6a.html"]; - } - } -} diff --git a/doxygen/html/dir_bfedb8cf204bc52dab598c696b63c3d6_dep.md5 b/doxygen/html/dir_bfedb8cf204bc52dab598c696b63c3d6_dep.md5 deleted file mode 100644 index 3e4b673..0000000 --- a/doxygen/html/dir_bfedb8cf204bc52dab598c696b63c3d6_dep.md5 +++ /dev/null @@ -1 +0,0 @@ -ac27ee1a941007f4352427c937bbbc0a \ No newline at end of file diff --git a/doxygen/html/dir_e01452e30018b7d8a87d21a8fdf5052c.html b/doxygen/html/dir_e01452e30018b7d8a87d21a8fdf5052c.html deleted file mode 100644 index 37e3abc..0000000 --- a/doxygen/html/dir_e01452e30018b7d8a87d21a8fdf5052c.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/ Directory Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - -
-
- -
-
-
- -
-
-
-
Projects Directory Reference
-
-
- - - -

-Directories

directory  cmd2
-
-
- - - - - diff --git a/doxygen/html/dir_e01452e30018b7d8a87d21a8fdf5052c_dep.dot b/doxygen/html/dir_e01452e30018b7d8a87d21a8fdf5052c_dep.dot deleted file mode 100644 index 2c3aecf..0000000 --- a/doxygen/html/dir_e01452e30018b7d8a87d21a8fdf5052c_dep.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G { - compound=true - node [ fontsize="10", fontname="Helvetica"]; - edge [ labelfontsize="10", labelfontname="Helvetica"]; - subgraph clusterdir_e01452e30018b7d8a87d21a8fdf5052c { - graph [ bgcolor="#eeeeff", pencolor="black", label="" URL="dir_e01452e30018b7d8a87d21a8fdf5052c.html"]; - dir_e01452e30018b7d8a87d21a8fdf5052c [shape=plaintext label="Projects"]; - dir_bfedb8cf204bc52dab598c696b63c3d6 [shape=box label="cmd2" color="red" fillcolor="white" style="filled" URL="dir_bfedb8cf204bc52dab598c696b63c3d6.html"]; - } -} diff --git a/doxygen/html/dir_e01452e30018b7d8a87d21a8fdf5052c_dep.md5 b/doxygen/html/dir_e01452e30018b7d8a87d21a8fdf5052c_dep.md5 deleted file mode 100644 index c5996f2..0000000 --- a/doxygen/html/dir_e01452e30018b7d8a87d21a8fdf5052c_dep.md5 +++ /dev/null @@ -1 +0,0 @@ -bca33cf8013a93380724e70d4ceca46c \ No newline at end of file diff --git a/doxygen/html/dirs.html b/doxygen/html/dirs.html deleted file mode 100644 index 48ba941..0000000 --- a/doxygen/html/dirs.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - -Cmd2: Directories - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - -
-
- -
-
-
- -
-
-
-
Directories
-
-
-
This directory hierarchy is sorted roughly, but not completely, alphabetically:
-
-
- - - - - diff --git a/doxygen/html/doxygen.css b/doxygen/html/doxygen.css deleted file mode 100644 index 22c7b5c..0000000 --- a/doxygen/html/doxygen.css +++ /dev/null @@ -1,946 +0,0 @@ -/* The standard CSS for doxygen */ - -body, table, div, p, dl { - font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif; - font-size: 12px; -} - -/* @group Heading Levels */ - -h1 { - font-size: 150%; -} - -.title { - font-size: 150%; - font-weight: bold; - margin: 10px 2px; -} - -h2 { - font-size: 120%; -} - -h3 { - font-size: 100%; -} - -dt { - font-weight: bold; -} - -div.multicol { - -moz-column-gap: 1em; - -webkit-column-gap: 1em; - -moz-column-count: 3; - -webkit-column-count: 3; -} - -p.startli, p.startdd, p.starttd { - margin-top: 2px; -} - -p.endli { - margin-bottom: 0px; -} - -p.enddd { - margin-bottom: 4px; -} - -p.endtd { - margin-bottom: 2px; -} - -/* @end */ - -caption { - font-weight: bold; -} - -span.legend { - font-size: 70%; - text-align: center; -} - -h3.version { - font-size: 90%; - text-align: center; -} - -div.qindex, div.navtab{ - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; -} - -div.qindex, div.navpath { - width: 100%; - line-height: 140%; -} - -div.navtab { - margin-right: 15px; -} - -/* @group Link Styling */ - -a { - color: #3D578C; - font-weight: normal; - text-decoration: none; -} - -.contents a:visited { - color: #4665A2; -} - -a:hover { - text-decoration: underline; -} - -a.qindex { - font-weight: bold; -} - -a.qindexHL { - font-weight: bold; - background-color: #9CAFD4; - color: #ffffff; - border: 1px double #869DCA; -} - -.contents a.qindexHL:visited { - color: #ffffff; -} - -a.el { - font-weight: bold; -} - -a.elRef { -} - -a.code { - color: #4665A2; -} - -a.codeRef { - color: #4665A2; -} - -/* @end */ - -dl.el { - margin-left: -1cm; -} - -.fragment { - font-family: monospace, fixed; - font-size: 105%; -} - -pre.fragment { - border: 1px solid #C4CFE5; - background-color: #FBFCFD; - padding: 4px 6px; - margin: 4px 8px 4px 2px; - overflow: auto; - word-wrap: break-word; - font-size: 9pt; - line-height: 125%; -} - -div.ah { - background-color: black; - font-weight: bold; - color: #ffffff; - margin-bottom: 3px; - margin-top: 3px; - padding: 0.2em; - border: solid thin #333; - border-radius: 0.5em; - -webkit-border-radius: .5em; - -moz-border-radius: .5em; - box-shadow: 2px 2px 3px #999; - -webkit-box-shadow: 2px 2px 3px #999; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); - background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); -} - -div.groupHeader { - margin-left: 16px; - margin-top: 12px; - font-weight: bold; -} - -div.groupText { - margin-left: 16px; - font-style: italic; -} - -body { - background-color: white; - color: black; - margin: 0; -} - -div.contents { - margin-top: 10px; - margin-left: 8px; - margin-right: 8px; -} - -td.indexkey { - background-color: #EBEFF6; - font-weight: bold; - border: 1px solid #C4CFE5; - margin: 2px 0px 2px 0; - padding: 2px 10px; -} - -td.indexvalue { - background-color: #EBEFF6; - border: 1px solid #C4CFE5; - padding: 2px 10px; - margin: 2px 0px; -} - -tr.memlist { - background-color: #EEF1F7; -} - -p.formulaDsp { - text-align: center; -} - -img.formulaDsp { - -} - -img.formulaInl { - vertical-align: middle; -} - -div.center { - text-align: center; - margin-top: 0px; - margin-bottom: 0px; - padding: 0px; -} - -div.center img { - border: 0px; -} - -address.footer { - text-align: right; - padding-right: 12px; -} - -img.footer { - border: 0px; - vertical-align: middle; -} - -/* @group Code Colorization */ - -span.keyword { - color: #008000 -} - -span.keywordtype { - color: #604020 -} - -span.keywordflow { - color: #e08000 -} - -span.comment { - color: #800000 -} - -span.preprocessor { - color: #806020 -} - -span.stringliteral { - color: #002080 -} - -span.charliteral { - color: #008080 -} - -span.vhdldigit { - color: #ff00ff -} - -span.vhdlchar { - color: #000000 -} - -span.vhdlkeyword { - color: #700070 -} - -span.vhdllogic { - color: #ff0000 -} - -/* @end */ - -/* -.search { - color: #003399; - font-weight: bold; -} - -form.search { - margin-bottom: 0px; - margin-top: 0px; -} - -input.search { - font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; -} -*/ - -td.tiny { - font-size: 75%; -} - -.dirtab { - padding: 4px; - border-collapse: collapse; - border: 1px solid #A3B4D7; -} - -th.dirtab { - background: #EBEFF6; - font-weight: bold; -} - -hr { - height: 0px; - border: none; - border-top: 1px solid #4A6AAA; -} - -hr.footer { - height: 1px; -} - -/* @group Member Descriptions */ - -table.memberdecls { - border-spacing: 0px; - padding: 0px; -} - -.mdescLeft, .mdescRight, -.memItemLeft, .memItemRight, -.memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: #F9FAFC; - border: none; - margin: 4px; - padding: 1px 0 0 8px; -} - -.mdescLeft, .mdescRight { - padding: 0px 8px 4px 8px; - color: #555; -} - -.memItemLeft, .memItemRight, .memTemplParams { - border-top: 1px solid #C4CFE5; -} - -.memItemLeft, .memTemplItemLeft { - white-space: nowrap; -} - -.memItemRight { - width: 100%; -} - -.memTemplParams { - color: #4665A2; - white-space: nowrap; -} - -/* @end */ - -/* @group Member Details */ - -/* Styles for detailed member documentation */ - -.memtemplate { - font-size: 80%; - color: #4665A2; - font-weight: normal; - margin-left: 9px; -} - -.memnav { - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} - -.mempage { - width: 100%; -} - -.memitem { - padding: 0; - margin-bottom: 10px; - margin-right: 5px; -} - -.memname { - white-space: nowrap; - font-weight: bold; - margin-left: 6px; -} - -.memproto, dl.reflist dt { - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 6px 0px 6px 0px; - color: #253555; - font-weight: bold; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - /* opera specific markup */ - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - border-top-right-radius: 8px; - border-top-left-radius: 8px; - /* firefox specific markup */ - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - -moz-border-radius-topright: 8px; - -moz-border-radius-topleft: 8px; - /* webkit specific markup */ - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - -webkit-border-top-right-radius: 8px; - -webkit-border-top-left-radius: 8px; - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #E2E8F2; - -} - -.memdoc, dl.reflist dd { - border-bottom: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 2px 5px; - background-color: #FBFCFD; - border-top-width: 0; - /* opera specific markup */ - border-bottom-left-radius: 8px; - border-bottom-right-radius: 8px; - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - /* firefox specific markup */ - -moz-border-radius-bottomleft: 8px; - -moz-border-radius-bottomright: 8px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - background-image: -moz-linear-gradient(center top, #FFFFFF 0%, #FFFFFF 60%, #F7F8FB 95%, #EEF1F7); - /* webkit specific markup */ - -webkit-border-bottom-left-radius: 8px; - -webkit-border-bottom-right-radius: 8px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - background-image: -webkit-gradient(linear,center top,center bottom,from(#FFFFFF), color-stop(0.6,#FFFFFF), color-stop(0.60,#FFFFFF), color-stop(0.95,#F7F8FB), to(#EEF1F7)); -} - -dl.reflist dt { - padding: 5px; -} - -dl.reflist dd { - margin: 0px 0px 10px 0px; - padding: 5px; -} - -.paramkey { - text-align: right; -} - -.paramtype { - white-space: nowrap; -} - -.paramname { - color: #602020; - white-space: nowrap; -} -.paramname em { - font-style: normal; -} - -.params, .retval, .exception, .tparams { - border-spacing: 6px 2px; -} - -.params .paramname, .retval .paramname { - font-weight: bold; - vertical-align: top; -} - -.params .paramtype { - font-style: italic; - vertical-align: top; -} - -.params .paramdir { - font-family: "courier new",courier,monospace; - vertical-align: top; -} - - - - -/* @end */ - -/* @group Directory (tree) */ - -/* for the tree view */ - -.ftvtree { - font-family: sans-serif; - margin: 0px; -} - -/* these are for tree view when used as main index */ - -.directory { - font-size: 9pt; - font-weight: bold; - margin: 5px; -} - -.directory h3 { - margin: 0px; - margin-top: 1em; - font-size: 11pt; -} - -/* -The following two styles can be used to replace the root node title -with an image of your choice. Simply uncomment the next two styles, -specify the name of your image and be sure to set 'height' to the -proper pixel height of your image. -*/ - -/* -.directory h3.swap { - height: 61px; - background-repeat: no-repeat; - background-image: url("yourimage.gif"); -} -.directory h3.swap span { - display: none; -} -*/ - -.directory > h3 { - margin-top: 0; -} - -.directory p { - margin: 0px; - white-space: nowrap; -} - -.directory div { - display: none; - margin: 0px; -} - -.directory img { - vertical-align: -30%; -} - -/* these are for tree view when not used as main index */ - -.directory-alt { - font-size: 100%; - font-weight: bold; -} - -.directory-alt h3 { - margin: 0px; - margin-top: 1em; - font-size: 11pt; -} - -.directory-alt > h3 { - margin-top: 0; -} - -.directory-alt p { - margin: 0px; - white-space: nowrap; -} - -.directory-alt div { - display: none; - margin: 0px; -} - -.directory-alt img { - vertical-align: -30%; -} - -/* @end */ - -div.dynheader { - margin-top: 8px; -} - -address { - font-style: normal; - color: #2A3D61; -} - -table.doxtable { - border-collapse:collapse; -} - -table.doxtable td, table.doxtable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.doxtable th { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; - text-align:left; -} - -table.fieldtable { - width: 100%; - margin-bottom: 10px; - border: 1px solid #A8B8D9; - border-spacing: 0px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); - box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); -} - -.fieldtable td, .fieldtable th { - padding: 3px 7px 2px; -} - -.fieldtable td.fieldtype, .fieldtable td.fieldname { - white-space: nowrap; - border-right: 1px solid #A8B8D9; - border-bottom: 1px solid #A8B8D9; - vertical-align: top; -} - -.fieldtable td.fielddoc { - border-bottom: 1px solid #A8B8D9; - width: 100%; -} - -.fieldtable tr:last-child td { - border-bottom: none; -} - -.fieldtable th { - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #E2E8F2; - font-size: 90%; - color: #253555; - padding-bottom: 4px; - padding-top: 5px; - text-align:left; - -moz-border-radius-topleft: 4px; - -moz-border-radius-topright: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - border-bottom: 1px solid #A8B8D9; -} - - -.tabsearch { - top: 0px; - left: 10px; - height: 36px; - background-image: url('tab_b.png'); - z-index: 101; - overflow: hidden; - font-size: 13px; -} - -.navpath ul -{ - font-size: 11px; - background-image:url('tab_b.png'); - background-repeat:repeat-x; - height:30px; - line-height:30px; - color:#8AA0CC; - border:solid 1px #C2CDE4; - overflow:hidden; - margin:0px; - padding:0px; -} - -.navpath li -{ - list-style-type:none; - float:left; - padding-left:10px; - padding-right:15px; - background-image:url('bc_s.png'); - background-repeat:no-repeat; - background-position:right; - color:#364D7C; -} - -.navpath li.navelem a -{ - height:32px; - display:block; - text-decoration: none; - outline: none; -} - -.navpath li.navelem a:hover -{ - color:#6884BD; -} - -.navpath li.footer -{ - list-style-type:none; - float:right; - padding-left:10px; - padding-right:15px; - background-image:none; - background-repeat:no-repeat; - background-position:right; - color:#364D7C; - font-size: 8pt; -} - - -div.summary -{ - float: right; - font-size: 8pt; - padding-right: 5px; - width: 50%; - text-align: right; -} - -div.summary a -{ - white-space: nowrap; -} - -div.ingroups -{ - margin-left: 5px; - font-size: 8pt; - padding-left: 5px; - width: 50%; - text-align: left; -} - -div.ingroups a -{ - white-space: nowrap; -} - -div.header -{ - background-image:url('nav_h.png'); - background-repeat:repeat-x; - background-color: #F9FAFC; - margin: 0px; - border-bottom: 1px solid #C4CFE5; -} - -div.headertitle -{ - padding: 5px 5px 5px 7px; -} - -dl -{ - padding: 0 0 0 10px; -} - -dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug -{ - border-left:4px solid; - padding: 0 0 0 6px; -} - -dl.note -{ - border-color: #D0C000; -} - -dl.warning, dl.attention -{ - border-color: #FF0000; -} - -dl.pre, dl.post, dl.invariant -{ - border-color: #00D000; -} - -dl.deprecated -{ - border-color: #505050; -} - -dl.todo -{ - border-color: #00C0E0; -} - -dl.test -{ - border-color: #3030E0; -} - -dl.bug -{ - border-color: #C08050; -} - -#projectlogo -{ - text-align: center; - vertical-align: bottom; - border-collapse: separate; -} - -#projectlogo img -{ - border: 0px none; -} - -#projectname -{ - font: 300% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 2px 0px; -} - -#projectbrief -{ - font: 120% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#projectnumber -{ - font: 50% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#titlearea -{ - padding: 0px; - margin: 0px; - width: 100%; - border-bottom: 1px solid #5373B4; -} - -.image -{ - text-align: center; -} - -.dotgraph -{ - text-align: center; -} - -.mscgraph -{ - text-align: center; -} - -.caption -{ - font-weight: bold; -} - -div.zoom -{ - border: 1px solid #90A5CE; -} - -dl.citelist { - margin-bottom:50px; -} - -dl.citelist dt { - color:#334975; - float:left; - font-weight:bold; - margin-right:10px; - padding:5px; -} - -dl.citelist dd { - margin:2px 0; - padding:5px 0; -} - -@media print -{ - #top { display: none; } - #side-nav { display: none; } - #nav-path { display: none; } - body { overflow:visible; } - h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } - .summary { display: none; } - .memitem { page-break-inside: avoid; } - #doc-content - { - margin-left:0 !important; - height:auto !important; - width:auto !important; - overflow:inherit; - display:inline; - } - pre.fragment - { - overflow: visible; - text-wrap: unrestricted; - white-space: -moz-pre-wrap; /* Moz */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - white-space: pre-wrap; /* CSS3 */ - word-wrap: break-word; /* IE 5.5+ */ - } -} - diff --git a/doxygen/html/doxygen.png b/doxygen/html/doxygen.png deleted file mode 100644 index 635ed52..0000000 Binary files a/doxygen/html/doxygen.png and /dev/null differ diff --git a/doxygen/html/example_8py.html b/doxygen/html/example_8py.html deleted file mode 100644 index 4415fb3..0000000 --- a/doxygen/html/example_8py.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/example/example.py File Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
example.py File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - -

-Classes

class  example::CmdLineApp

-Packages

namespace  example

-Variables

tuple example::c = CmdLineApp()
-
-
- - - - - diff --git a/doxygen/html/example_8py_source.html b/doxygen/html/example_8py_source.html deleted file mode 100644 index 842e0de..0000000 --- a/doxygen/html/example_8py_source.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/example/example.py Source File - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
example.py
-
-
-Go to the documentation of this file.
00001 '''A sample application for cmd2.'''
-00002 
-00003 from cmd2 import Cmd, make_option, options
-00004 import unittest, optparse, sys
-00005 
-00006 class CmdLineApp(Cmd):
-00007     multilineCommands = ['orate']
-00008     Cmd.shortcuts.update({'&': 'speak'})
-00009     maxrepeats = 3
-00010     redirector = '->'
-00011     Cmd.settable.append('maxrepeats   Max number of `--repeat`s allowed')
-00012 
-00013     @options([make_option('-p', '--piglatin', action="store_true", help="atinLay"),
-00014               make_option('-s', '--shout', action="store_true", help="N00B EMULATION MODE"),
-00015               make_option('-r', '--repeat', type="int", help="output [n] times")
-00016              ], arg_desc = '(text to say)')
-00017     def do_speak(self, arg, opts=None):
-00018         """Repeats what you tell me to."""
-00019         arg = ''.join(arg)
-00020         if opts.piglatin:
-00021             arg = '%s%say' % (arg[1:].rstrip(), arg[0])
-00022         if opts.shout:
-00023             arg = arg.upper()
-00024         repetitions = opts.repeat or 1
-00025         for i in range(min(repetitions, self.maxrepeats)):
-00026             self.stdout.write(arg)
-00027             self.stdout.write('\n')
-00028             # self.stdout.write is better than "print", because Cmd can be
-00029             # initialized with a non-standard output destination        
-00030 
-00031     do_say = do_speak     # now "say" is a synonym for "speak"
-00032     do_orate = do_speak   # another synonym, but this one takes multi-line input
-00033 
-00034 c = CmdLineApp()
-00035 c.cmdloop()
-
-
- - - - - diff --git a/doxygen/html/files.html b/doxygen/html/files.html deleted file mode 100644 index aa35de3..0000000 --- a/doxygen/html/files.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - -Cmd2: File List - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
File List
-
-
-
Here is a list of all files with brief descriptions:
- - - - - - - - - - - - - - - - -
/Users/amrogers/Developer/Projects/cmd2/cmd2.py [code]
/Users/amrogers/Developer/Projects/cmd2/ignoreBug.py [code]
/Users/amrogers/Developer/Projects/cmd2/setup.py [code]
/Users/amrogers/Developer/Projects/cmd2/docs/conf.py [code]
/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/fileutil.py [code]
/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/graph.py [code]
/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate.py [code]
/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate2.py [code]
/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate3.py [code]
/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate4.py [code]
/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate5.py [code]
/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate6.py [code]
/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py [code]
/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py [code]
/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/schematic.py [code]
/Users/amrogers/Developer/Projects/cmd2/example/example.py [code]
-
-
- - - - - diff --git a/doxygen/html/fileutil_8py.html b/doxygen/html/fileutil_8py.html deleted file mode 100644 index ac963ce..0000000 --- a/doxygen/html/fileutil_8py.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/fileutil.py File Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
fileutil.py File Reference
-
-
- -

Go to the source code of this file.

- - - - - -

-Packages

namespace  fileutil

-Variables

tuple fileutil::stats = os.stat(fullfilename)
-
-
- - - - - diff --git a/doxygen/html/fileutil_8py_source.html b/doxygen/html/fileutil_8py_source.html deleted file mode 100644 index 1a9a8d1..0000000 --- a/doxygen/html/fileutil_8py_source.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/fileutil.py Source File - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
fileutil.py
-
-
-Go to the documentation of this file.
00001 import glob
-00002 import os.path
-00003 
-00004 for fullfilename in glob.glob('/home/cat/proj/cmd2/*.py'):
-00005     (dirpath, fname) = os.path.split(fullfilename)
-00006     stats = os.stat(fullfilename)
-00007     binds['path'] = dirpath
-00008     binds['name'] = fname
-00009     binds['bytes'] = stats.st_size
-00010     cmd("""INSERT INTO cat.files (path, name, bytes)
-00011            VALUES (%(path)s, %(name)s, %(bytes)s)""")
-00012 quit()
-
-
- - - - - diff --git a/doxygen/html/ftv2blank.png b/doxygen/html/ftv2blank.png deleted file mode 100644 index 3b7a29c..0000000 Binary files a/doxygen/html/ftv2blank.png and /dev/null differ diff --git a/doxygen/html/ftv2doc.png b/doxygen/html/ftv2doc.png deleted file mode 100644 index 310e441..0000000 Binary files a/doxygen/html/ftv2doc.png and /dev/null differ diff --git a/doxygen/html/ftv2folderclosed.png b/doxygen/html/ftv2folderclosed.png deleted file mode 100644 index 79aeaf7..0000000 Binary files a/doxygen/html/ftv2folderclosed.png and /dev/null differ diff --git a/doxygen/html/ftv2folderopen.png b/doxygen/html/ftv2folderopen.png deleted file mode 100644 index 1b703dd..0000000 Binary files a/doxygen/html/ftv2folderopen.png and /dev/null differ diff --git a/doxygen/html/ftv2lastnode.png b/doxygen/html/ftv2lastnode.png deleted file mode 100644 index 3b7a29c..0000000 Binary files a/doxygen/html/ftv2lastnode.png and /dev/null differ diff --git a/doxygen/html/ftv2link.png b/doxygen/html/ftv2link.png deleted file mode 100644 index 310e441..0000000 Binary files a/doxygen/html/ftv2link.png and /dev/null differ diff --git a/doxygen/html/ftv2mlastnode.png b/doxygen/html/ftv2mlastnode.png deleted file mode 100644 index ec51f17..0000000 Binary files a/doxygen/html/ftv2mlastnode.png and /dev/null differ diff --git a/doxygen/html/ftv2mnode.png b/doxygen/html/ftv2mnode.png deleted file mode 100644 index ec51f17..0000000 Binary files a/doxygen/html/ftv2mnode.png and /dev/null differ diff --git a/doxygen/html/ftv2node.png b/doxygen/html/ftv2node.png deleted file mode 100644 index 3b7a29c..0000000 Binary files a/doxygen/html/ftv2node.png and /dev/null differ diff --git a/doxygen/html/ftv2plastnode.png b/doxygen/html/ftv2plastnode.png deleted file mode 100644 index 270a965..0000000 Binary files a/doxygen/html/ftv2plastnode.png and /dev/null differ diff --git a/doxygen/html/ftv2pnode.png b/doxygen/html/ftv2pnode.png deleted file mode 100644 index 270a965..0000000 Binary files a/doxygen/html/ftv2pnode.png and /dev/null differ diff --git a/doxygen/html/ftv2splitbar.png b/doxygen/html/ftv2splitbar.png deleted file mode 100644 index f60a527..0000000 Binary files a/doxygen/html/ftv2splitbar.png and /dev/null differ diff --git a/doxygen/html/ftv2vertline.png b/doxygen/html/ftv2vertline.png deleted file mode 100644 index 3b7a29c..0000000 Binary files a/doxygen/html/ftv2vertline.png and /dev/null differ diff --git a/doxygen/html/functions.html b/doxygen/html/functions.html deleted file mode 100644 index 67fc26a..0000000 --- a/doxygen/html/functions.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- _ -

-
-
- - - - - diff --git a/doxygen/html/functions_0x61.html b/doxygen/html/functions_0x61.html deleted file mode 100644 index b6c0084..0000000 --- a/doxygen/html/functions_0x61.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- a -

-
-
- - - - - diff --git a/doxygen/html/functions_0x62.html b/doxygen/html/functions_0x62.html deleted file mode 100644 index 5a86251..0000000 --- a/doxygen/html/functions_0x62.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- b -

-
-
- - - - - diff --git a/doxygen/html/functions_0x63.html b/doxygen/html/functions_0x63.html deleted file mode 100644 index 865f7b9..0000000 --- a/doxygen/html/functions_0x63.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- c -

-
-
- - - - - diff --git a/doxygen/html/functions_0x64.html b/doxygen/html/functions_0x64.html deleted file mode 100644 index 0ebbd85..0000000 --- a/doxygen/html/functions_0x64.html +++ /dev/null @@ -1,299 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- d -

-
-
- - - - - diff --git a/doxygen/html/functions_0x65.html b/doxygen/html/functions_0x65.html deleted file mode 100644 index 9be27fb..0000000 --- a/doxygen/html/functions_0x65.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- e -

-
-
- - - - - diff --git a/doxygen/html/functions_0x66.html b/doxygen/html/functions_0x66.html deleted file mode 100644 index a9c3e86..0000000 --- a/doxygen/html/functions_0x66.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- f -

-
-
- - - - - diff --git a/doxygen/html/functions_0x67.html b/doxygen/html/functions_0x67.html deleted file mode 100644 index c2d523c..0000000 --- a/doxygen/html/functions_0x67.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- g -

-
-
- - - - - diff --git a/doxygen/html/functions_0x68.html b/doxygen/html/functions_0x68.html deleted file mode 100644 index 6fe2187..0000000 --- a/doxygen/html/functions_0x68.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- h -

-
-
- - - - - diff --git a/doxygen/html/functions_0x69.html b/doxygen/html/functions_0x69.html deleted file mode 100644 index 930761f..0000000 --- a/doxygen/html/functions_0x69.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- i -

-
-
- - - - - diff --git a/doxygen/html/functions_0x6b.html b/doxygen/html/functions_0x6b.html deleted file mode 100644 index a470dba..0000000 --- a/doxygen/html/functions_0x6b.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- k -

-
-
- - - - - diff --git a/doxygen/html/functions_0x6c.html b/doxygen/html/functions_0x6c.html deleted file mode 100644 index 533c771..0000000 --- a/doxygen/html/functions_0x6c.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- l -

-
-
- - - - - diff --git a/doxygen/html/functions_0x6d.html b/doxygen/html/functions_0x6d.html deleted file mode 100644 index c501107..0000000 --- a/doxygen/html/functions_0x6d.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- m -

-
-
- - - - - diff --git a/doxygen/html/functions_0x6e.html b/doxygen/html/functions_0x6e.html deleted file mode 100644 index dd4b3a1..0000000 --- a/doxygen/html/functions_0x6e.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- n -

-
-
- - - - - diff --git a/doxygen/html/functions_0x6f.html b/doxygen/html/functions_0x6f.html deleted file mode 100644 index c892c20..0000000 --- a/doxygen/html/functions_0x6f.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- o -

-
-
- - - - - diff --git a/doxygen/html/functions_0x70.html b/doxygen/html/functions_0x70.html deleted file mode 100644 index 065f8f9..0000000 --- a/doxygen/html/functions_0x70.html +++ /dev/null @@ -1,228 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- p -

-
-
- - - - - diff --git a/doxygen/html/functions_0x71.html b/doxygen/html/functions_0x71.html deleted file mode 100644 index 782ce2c..0000000 --- a/doxygen/html/functions_0x71.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- q -

-
-
- - - - - diff --git a/doxygen/html/functions_0x72.html b/doxygen/html/functions_0x72.html deleted file mode 100644 index ad52ed0..0000000 --- a/doxygen/html/functions_0x72.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- r -

-
-
- - - - - diff --git a/doxygen/html/functions_0x73.html b/doxygen/html/functions_0x73.html deleted file mode 100644 index f9ac635..0000000 --- a/doxygen/html/functions_0x73.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- s -

-
-
- - - - - diff --git a/doxygen/html/functions_0x74.html b/doxygen/html/functions_0x74.html deleted file mode 100644 index aab7019..0000000 --- a/doxygen/html/functions_0x74.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- t -

-
-
- - - - - diff --git a/doxygen/html/functions_0x75.html b/doxygen/html/functions_0x75.html deleted file mode 100644 index c580385..0000000 --- a/doxygen/html/functions_0x75.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- u -

-
-
- - - - - diff --git a/doxygen/html/functions_0x77.html b/doxygen/html/functions_0x77.html deleted file mode 100644 index cc66912..0000000 --- a/doxygen/html/functions_0x77.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- w -

-
-
- - - - - diff --git a/doxygen/html/functions_0x7a.html b/doxygen/html/functions_0x7a.html deleted file mode 100644 index 3498a0c..0000000 --- a/doxygen/html/functions_0x7a.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - -Cmd2: Class Members - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- z -

-
-
- - - - - diff --git a/doxygen/html/functions_func.html b/doxygen/html/functions_func.html deleted file mode 100644 index 1a75042..0000000 --- a/doxygen/html/functions_func.html +++ /dev/null @@ -1,491 +0,0 @@ - - - - -Cmd2: Class Members - Functions - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-  - -

- _ -

- - -

- a -

- - -

- c -

- - -

- d -

- - -

- e -

- - -

- f -

- - -

- g -

- - -

- l -

- - -

- o -

- - -

- p -

- - -

- r -

- - -

- s -

- - -

- t -

- - -

- u -

- - -

- w -

- - -

- z -

-
-
- - - - - diff --git a/doxygen/html/functions_vars.html b/doxygen/html/functions_vars.html deleted file mode 100644 index 2559f44..0000000 --- a/doxygen/html/functions_vars.html +++ /dev/null @@ -1,541 +0,0 @@ - - - - -Cmd2: Class Members - Variables - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-  - -

- _ -

- - -

- a -

- - -

- b -

- - -

- c -

- - -

- d -

- - -

- e -

- - -

- f -

- - -

- g -

- - -

- h -

- - -

- i -

- - -

- k -

- - -

- l -

- - -

- m -

- - -

- n -

- - -

- o -

- - -

- p -

- - -

- q -

- - -

- r -

- - -

- s -

- - -

- t -

- - -

- u -

-
-
- - - - - diff --git a/doxygen/html/graph_8py.html b/doxygen/html/graph_8py.html deleted file mode 100644 index ad06755..0000000 --- a/doxygen/html/graph_8py.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/graph.py File Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
graph.py File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - -

-Packages

namespace  graph

-Functions

def graph::label
def graph::line
def graph::tech
-
-
- - - - - diff --git a/doxygen/html/graph_8py_source.html b/doxygen/html/graph_8py_source.html deleted file mode 100644 index ad0f318..0000000 --- a/doxygen/html/graph_8py_source.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/graph.py Source File - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
graph.py
-
-
-Go to the documentation of this file.
00001 from turtle import *
-00002 pu()
-00003 goto(-400,-400)
-00004 
-00005 def label(txt):
-00006     write(txt, font=('Arial', 20, 'italic'))
-00007 hideturtle()
-00008 width(6)
-00009 
-00010 def line(len, _label):
-00011     start = pos()
-00012     pd()
-00013     forward(len)
-00014     pu()
-00015     forward(30)
-00016     pd()
-00017     label(_label)
-00018     pu()
-00019     goto(start)
-00020 
-00021 def tech(x, y, _label):
-00022     pu()
-00023     goto(x, y)
-00024     pd()
-00025     write(_label, font=('Arial', 40, 'bold'))
-00026     pu()
-00027     
-00028 line(600, "Easy to write")
-00029 left(90)
-00030 line(600, "Easy to use")
-00031 
-00032 tech(-360, 160, 'GUI')
-00033 tech(-390, 100, 'AJAX')
-00034 tech(-300, -10, 'webapp')
-00035 tech(190, -380, 'CLU')
-00036 tech(60, -320, 'TUI')
-00037 tech(100, -210, 'cmd')
-00038 tech(80, -80, 'cmd2')
-00039 
-00040 while True:
-00041     pass
-
-
- - - - - diff --git a/doxygen/html/graph_legend.dot b/doxygen/html/graph_legend.dot deleted file mode 100644 index a36be2b..0000000 --- a/doxygen/html/graph_legend.dot +++ /dev/null @@ -1,23 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node9 [shape="box",label="Inherited",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",fillcolor="grey75",style="filled" fontcolor="black"]; - Node10 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node10 [shape="box",label="PublicBase",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="black",URL="$classPublicBase.html"]; - Node11 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node11 [shape="box",label="Truncated",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="red",URL="$classTruncated.html"]; - Node13 -> Node9 [dir="back",color="darkgreen",fontsize="10",style="solid",fontname="Helvetica"]; - Node13 [shape="box",label="ProtectedBase",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="black",URL="$classProtectedBase.html"]; - Node14 -> Node9 [dir="back",color="firebrick4",fontsize="10",style="solid",fontname="Helvetica"]; - Node14 [shape="box",label="PrivateBase",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="black",URL="$classPrivateBase.html"]; - Node15 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node15 [shape="box",label="Undocumented",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="grey75"]; - Node16 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node16 [shape="box",label="Templ< int >",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="black",URL="$classTempl.html"]; - Node17 -> Node16 [dir="back",color="orange",fontsize="10",style="dashed",label="< int >",fontname="Helvetica"]; - Node17 [shape="box",label="Templ< T >",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="black",URL="$classTempl.html"]; - Node18 -> Node9 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label="m_usedClass",fontname="Helvetica"]; - Node18 [shape="box",label="Used",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="black",URL="$classUsed.html"]; -} diff --git a/doxygen/html/graph_legend.html b/doxygen/html/graph_legend.html deleted file mode 100644 index a37be99..0000000 --- a/doxygen/html/graph_legend.html +++ /dev/null @@ -1,183 +0,0 @@ - - - - -Cmd2: Graph Legend - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - -
-
- -
-
-
- -
-
-
-
Graph Legend
-
-
-

This page explains how to interpret the graphs that are generated by doxygen.

-

Consider the following example:

-
/*! Invisible class because of truncation */
-class Invisible { };
-
-/*! Truncated class, inheritance relation is hidden */
-class Truncated : public Invisible { };
-
-/* Class not documented with doxygen comments */
-class Undocumented { };
-
-/*! Class that is inherited using public inheritance */
-class PublicBase : public Truncated { };
-
-/*! A template class */
-template<class T> class Templ { };
-
-/*! Class that is inherited using protected inheritance */
-class ProtectedBase { };
-
-/*! Class that is inherited using private inheritance */
-class PrivateBase { };
-
-/*! Class that is used by the Inherited class */
-class Used { };
-
-/*! Super class that inherits a number of other classes */
-class Inherited : public PublicBase,
-                  protected ProtectedBase,
-                  private PrivateBase,
-                  public Undocumented,
-                  public Templ<int>
-{
-  private:
-    Used *m_usedClass;
-};
-

This will result in the following graph:

-
[!-- SVG 0 --]

The boxes in the above graph have the following meaning:

-
    -
  • -A filled gray box represents the struct or class for which the graph is generated.
  • -
  • -A box with a black border denotes a documented struct or class.
  • -
  • -A box with a grey border denotes an undocumented struct or class.
  • -
  • -A box with a red border denotes a documented struct or class forwhich not all inheritance/containment relations are shown. A graph is truncated if it does not fit within the specified boundaries.
  • -
-

The arrows have the following meaning:

-
    -
  • -A dark blue arrow is used to visualize a public inheritance relation between two classes.
  • -
  • -A dark green arrow is used for protected inheritance.
  • -
  • -A dark red arrow is used for private inheritance.
  • -
  • -A purple dashed arrow is used if a class is contained or used by another class. The arrow is labeled with the variable(s) through which the pointed class or struct is accessible.
  • -
  • -A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labeled with the template parameters of the instance.
  • -
-
-
- - - - - diff --git a/doxygen/html/graph_legend.md5 b/doxygen/html/graph_legend.md5 deleted file mode 100644 index 37c554f..0000000 --- a/doxygen/html/graph_legend.md5 +++ /dev/null @@ -1 +0,0 @@ -91f5b97ff366c2dec3a0bdb81eacfe0f \ No newline at end of file diff --git a/doxygen/html/hierarchy.html b/doxygen/html/hierarchy.html deleted file mode 100644 index 8ac7693..0000000 --- a/doxygen/html/hierarchy.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - -Cmd2: Class Hierarchy - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- - - - - - - diff --git a/doxygen/html/ignoreBug_8py.html b/doxygen/html/ignoreBug_8py.html deleted file mode 100644 index 38fe3cf..0000000 --- a/doxygen/html/ignoreBug_8py.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/ignoreBug.py File Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
ignoreBug.py File Reference
-
-
- -

Go to the source code of this file.

- - - - - - -

-Packages

namespace  ignoreBug

-Variables

tuple ignoreBug::parser = Word(printables)
string ignoreBug::teststr = 'please /* ignoreme: | oops */ findme: | kthx'
-
-
- - - - - diff --git a/doxygen/html/ignoreBug_8py_source.html b/doxygen/html/ignoreBug_8py_source.html deleted file mode 100644 index 3813b20..0000000 --- a/doxygen/html/ignoreBug_8py_source.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/ignoreBug.py Source File - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
ignoreBug.py
-
-
-Go to the documentation of this file.
00001 from pyparsing import *
-00002 
-00003 teststr = 'please /* ignoreme: | oops */ findme: | kthx'
-00004 parser = Word(printables)('leadWord') + SkipTo('|')('statement')
-00005 print parser.parseString(teststr).statement
-00006 parser.ignore(cStyleComment)
-00007 print parser.parseString(teststr).statement
-00008 parser = Combine(parser)
-00009 print parser.parseString(teststr).statement
-00010 parser.ignore(cStyleComment)
-00011 print parser.parseString(teststr).statement
-
-
- - - - - diff --git a/doxygen/html/ignore_bug_8py.html b/doxygen/html/ignore_bug_8py.html deleted file mode 100644 index 30b301a..0000000 --- a/doxygen/html/ignore_bug_8py.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/ignoreBug.py File Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
/Users/amrogers/Developer/Projects/cmd2/ignoreBug.py File Reference
-
-
- -

Go to the source code of this file.

- - - - - - -

-Packages

namespace  ignoreBug

-Variables

string ignoreBug::teststr = 'please /* ignoreme: | oops */ findme: | kthx'
tuple ignoreBug::parser = Word(printables)
-
-
- - - - - diff --git a/doxygen/html/ignore_bug_8py_source.html b/doxygen/html/ignore_bug_8py_source.html deleted file mode 100644 index 3962a7d..0000000 --- a/doxygen/html/ignore_bug_8py_source.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/ignoreBug.py Source File - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
/Users/amrogers/Developer/Projects/cmd2/ignoreBug.py
-
-
-Go to the documentation of this file.
00001 from pyparsing import *
-00002 
-00003 teststr = 'please /* ignoreme: | oops */ findme: | kthx'
-00004 parser = Word(printables)('leadWord') + SkipTo('|')('statement')
-00005 print parser.parseString(teststr).statement
-00006 parser.ignore(cStyleComment)
-00007 print parser.parseString(teststr).statement
-00008 parser = Combine(parser)
-00009 print parser.parseString(teststr).statement
-00010 parser.ignore(cStyleComment)
-00011 print parser.parseString(teststr).statement
-
-
- - - - - diff --git a/doxygen/html/index.html b/doxygen/html/index.html deleted file mode 100644 index 37726c5..0000000 --- a/doxygen/html/index.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - -Cmd2: Main Page - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - -
-
- -
-
-
- -
-
-
-
Cmd2 Documentation
-
-
-
-
- - - - - diff --git a/doxygen/html/inherit_graph_0.dot b/doxygen/html/inherit_graph_0.dot deleted file mode 100644 index 296e1b5..0000000 --- a/doxygen/html/inherit_graph_0.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir="LR"; - Node1 [label="cmd2::Borg",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1Borg.html"]; - Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node2 [label="cmd2::OutputTrap",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1OutputTrap.html"]; -} diff --git a/doxygen/html/inherit_graph_0.md5 b/doxygen/html/inherit_graph_0.md5 deleted file mode 100644 index 8ac7fa9..0000000 --- a/doxygen/html/inherit_graph_0.md5 +++ /dev/null @@ -1 +0,0 @@ -605b6c1a169582c821167068a87f0e05 \ No newline at end of file diff --git a/doxygen/html/inherit_graph_1.dot b/doxygen/html/inherit_graph_1.dot deleted file mode 100644 index f658050..0000000 --- a/doxygen/html/inherit_graph_1.dot +++ /dev/null @@ -1,16 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir="LR"; - Node1 [label="cmd2::Cmd",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1Cmd.html"]; - Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node2 [label="example::CmdLineApp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classexample_1_1CmdLineApp.html"]; - Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node3 [label="pirate6::Pirate",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classpirate6_1_1Pirate.html"]; - Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node4 [label="pirate7::Pirate",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classpirate7_1_1Pirate.html"]; - Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; - Node5 [label="pirate8::Pirate",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classpirate8_1_1Pirate.html"]; -} diff --git a/doxygen/html/inherit_graph_1.md5 b/doxygen/html/inherit_graph_1.md5 deleted file mode 100644 index b2c7e05..0000000 --- a/doxygen/html/inherit_graph_1.md5 +++ /dev/null @@ -1 +0,0 @@ -7eac0f4d579ff04279d696d56f494c6f \ No newline at end of file diff --git a/doxygen/html/inherit_graph_10.dot b/doxygen/html/inherit_graph_10.dot deleted file mode 100644 index 5aea240..0000000 --- a/doxygen/html/inherit_graph_10.dot +++ /dev/null @@ -1,8 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir="LR"; - Node1 [label="cmd2::PasteBufferError",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1PasteBufferError.html"]; -} diff --git a/doxygen/html/inherit_graph_10.md5 b/doxygen/html/inherit_graph_10.md5 deleted file mode 100644 index d158033..0000000 --- a/doxygen/html/inherit_graph_10.md5 +++ /dev/null @@ -1 +0,0 @@ -5f09ddd5a000505bb32a697652322365 \ No newline at end of file diff --git a/doxygen/html/inherit_graph_11.dot b/doxygen/html/inherit_graph_11.dot deleted file mode 100644 index 70d1a62..0000000 --- a/doxygen/html/inherit_graph_11.dot +++ /dev/null @@ -1,8 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir="LR"; - Node1 [label="cmd2::Statekeeper",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1Statekeeper.html"]; -} diff --git a/doxygen/html/inherit_graph_11.md5 b/doxygen/html/inherit_graph_11.md5 deleted file mode 100644 index 3006e74..0000000 --- a/doxygen/html/inherit_graph_11.md5 +++ /dev/null @@ -1 +0,0 @@ -dd912c9264b852a353108fcd71d24cd5 \ No newline at end of file diff --git a/doxygen/html/inherit_graph_12.dot b/doxygen/html/inherit_graph_12.dot deleted file mode 100644 index 3ac3b05..0000000 --- a/doxygen/html/inherit_graph_12.dot +++ /dev/null @@ -1,8 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir="LR"; - Node1 [label="cmd2::StubbornDict",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1StubbornDict.html"]; -} diff --git a/doxygen/html/inherit_graph_12.md5 b/doxygen/html/inherit_graph_12.md5 deleted file mode 100644 index e0a89b2..0000000 --- a/doxygen/html/inherit_graph_12.md5 +++ /dev/null @@ -1 +0,0 @@ -2b895ea4b6208926092fed26078b959a \ No newline at end of file diff --git a/doxygen/html/inherit_graph_13.dot b/doxygen/html/inherit_graph_13.dot deleted file mode 100644 index ee51792..0000000 --- a/doxygen/html/inherit_graph_13.dot +++ /dev/null @@ -1,8 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir="LR"; - Node1 [label="pirate2::Pirate",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classpirate2_1_1Pirate.html"]; -} diff --git a/doxygen/html/inherit_graph_13.md5 b/doxygen/html/inherit_graph_13.md5 deleted file mode 100644 index 914e97d..0000000 --- a/doxygen/html/inherit_graph_13.md5 +++ /dev/null @@ -1 +0,0 @@ -b136ab98c6b50e389aa70cb0234eeb42 \ No newline at end of file diff --git a/doxygen/html/inherit_graph_14.dot b/doxygen/html/inherit_graph_14.dot deleted file mode 100644 index 86e87fc..0000000 --- a/doxygen/html/inherit_graph_14.dot +++ /dev/null @@ -1,8 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir="LR"; - Node1 [label="pirate3::Pirate",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classpirate3_1_1Pirate.html"]; -} diff --git a/doxygen/html/inherit_graph_14.md5 b/doxygen/html/inherit_graph_14.md5 deleted file mode 100644 index 6a89a43..0000000 --- a/doxygen/html/inherit_graph_14.md5 +++ /dev/null @@ -1 +0,0 @@ -c8383aa14f50d575cac3fdbfb9dfb85c \ No newline at end of file diff --git a/doxygen/html/inherit_graph_15.dot b/doxygen/html/inherit_graph_15.dot deleted file mode 100644 index 9384cd9..0000000 --- a/doxygen/html/inherit_graph_15.dot +++ /dev/null @@ -1,8 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir="LR"; - Node1 [label="pirate4::Pirate",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classpirate4_1_1Pirate.html"]; -} diff --git a/doxygen/html/inherit_graph_15.md5 b/doxygen/html/inherit_graph_15.md5 deleted file mode 100644 index 3e61b8b..0000000 --- a/doxygen/html/inherit_graph_15.md5 +++ /dev/null @@ -1 +0,0 @@ -1f1dd76a68c8586cb4fcce1d1e303bfc \ No newline at end of file diff --git a/doxygen/html/inherit_graph_16.dot b/doxygen/html/inherit_graph_16.dot deleted file mode 100644 index 7afa29c..0000000 --- a/doxygen/html/inherit_graph_16.dot +++ /dev/null @@ -1,8 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir="LR"; - Node1 [label="pirate5::Pirate",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classpirate5_1_1Pirate.html"]; -} diff --git a/doxygen/html/inherit_graph_16.md5 b/doxygen/html/inherit_graph_16.md5 deleted file mode 100644 index 34e37e7..0000000 --- a/doxygen/html/inherit_graph_16.md5 +++ /dev/null @@ -1 +0,0 @@ -521959e49a1cba9e1a75dbca581ad002 \ No newline at end of file diff --git a/doxygen/html/inherit_graph_17.dot b/doxygen/html/inherit_graph_17.dot deleted file mode 100644 index fd7cdd9..0000000 --- a/doxygen/html/inherit_graph_17.dot +++ /dev/null @@ -1,8 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir="LR"; - Node1 [label="pirate::Pirate",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classpirate_1_1Pirate.html"]; -} diff --git a/doxygen/html/inherit_graph_17.md5 b/doxygen/html/inherit_graph_17.md5 deleted file mode 100644 index c3f00f1..0000000 --- a/doxygen/html/inherit_graph_17.md5 +++ /dev/null @@ -1 +0,0 @@ -5496ee0b6de8f927e6ee003613f9fbc9 \ No newline at end of file diff --git a/doxygen/html/inherit_graph_2.dot b/doxygen/html/inherit_graph_2.dot deleted file mode 100644 index 0d1a091..0000000 --- a/doxygen/html/inherit_graph_2.dot +++ /dev/null @@ -1,8 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir="LR"; - Node1 [label="cmd2::Cmd2TestCase",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1Cmd2TestCase.html"]; -} diff --git a/doxygen/html/inherit_graph_2.md5 b/doxygen/html/inherit_graph_2.md5 deleted file mode 100644 index b16d417..0000000 --- a/doxygen/html/inherit_graph_2.md5 +++ /dev/null @@ -1 +0,0 @@ -979d0141dd3288461d6f217466a70cc7 \ No newline at end of file diff --git a/doxygen/html/inherit_graph_3.dot b/doxygen/html/inherit_graph_3.dot deleted file mode 100644 index fc473a6..0000000 --- a/doxygen/html/inherit_graph_3.dot +++ /dev/null @@ -1,8 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir="LR"; - Node1 [label="cmd2::EmbeddedConsoleExit",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1EmbeddedConsoleExit.html"]; -} diff --git a/doxygen/html/inherit_graph_3.md5 b/doxygen/html/inherit_graph_3.md5 deleted file mode 100644 index e157b4d..0000000 --- a/doxygen/html/inherit_graph_3.md5 +++ /dev/null @@ -1 +0,0 @@ -2b35b4a9d505d9a9aa1f3d5caabee86a \ No newline at end of file diff --git a/doxygen/html/inherit_graph_4.dot b/doxygen/html/inherit_graph_4.dot deleted file mode 100644 index 7e789f3..0000000 --- a/doxygen/html/inherit_graph_4.dot +++ /dev/null @@ -1,8 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir="LR"; - Node1 [label="cmd2::EmptyStatement",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1EmptyStatement.html"]; -} diff --git a/doxygen/html/inherit_graph_4.md5 b/doxygen/html/inherit_graph_4.md5 deleted file mode 100644 index 680d54b..0000000 --- a/doxygen/html/inherit_graph_4.md5 +++ /dev/null @@ -1 +0,0 @@ -8559c3de0da0e962919829d2485763a6 \ No newline at end of file diff --git a/doxygen/html/inherit_graph_5.dot b/doxygen/html/inherit_graph_5.dot deleted file mode 100644 index 8ad1a33..0000000 --- a/doxygen/html/inherit_graph_5.dot +++ /dev/null @@ -1,8 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir="LR"; - Node1 [label="cmd2::History",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1History.html"]; -} diff --git a/doxygen/html/inherit_graph_5.md5 b/doxygen/html/inherit_graph_5.md5 deleted file mode 100644 index e156c7b..0000000 --- a/doxygen/html/inherit_graph_5.md5 +++ /dev/null @@ -1 +0,0 @@ -ad89a83aa46bb18be19cdc669d4dd6da \ No newline at end of file diff --git a/doxygen/html/inherit_graph_6.dot b/doxygen/html/inherit_graph_6.dot deleted file mode 100644 index a57f5bc..0000000 --- a/doxygen/html/inherit_graph_6.dot +++ /dev/null @@ -1,8 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir="LR"; - Node1 [label="cmd2::HistoryItem",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1HistoryItem.html"]; -} diff --git a/doxygen/html/inherit_graph_6.md5 b/doxygen/html/inherit_graph_6.md5 deleted file mode 100644 index baaa08a..0000000 --- a/doxygen/html/inherit_graph_6.md5 +++ /dev/null @@ -1 +0,0 @@ -c2053284b63384a9ca315f5e1c543788 \ No newline at end of file diff --git a/doxygen/html/inherit_graph_7.dot b/doxygen/html/inherit_graph_7.dot deleted file mode 100644 index 1264958..0000000 --- a/doxygen/html/inherit_graph_7.dot +++ /dev/null @@ -1,8 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir="LR"; - Node1 [label="cmd2::NotSettableError",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1NotSettableError.html"]; -} diff --git a/doxygen/html/inherit_graph_7.md5 b/doxygen/html/inherit_graph_7.md5 deleted file mode 100644 index 3470220..0000000 --- a/doxygen/html/inherit_graph_7.md5 +++ /dev/null @@ -1 +0,0 @@ -30d32b8af2389a9a59527704ebfb9944 \ No newline at end of file diff --git a/doxygen/html/inherit_graph_8.dot b/doxygen/html/inherit_graph_8.dot deleted file mode 100644 index ebbdd5a..0000000 --- a/doxygen/html/inherit_graph_8.dot +++ /dev/null @@ -1,8 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir="LR"; - Node1 [label="cmd2::OptionParser",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1OptionParser.html"]; -} diff --git a/doxygen/html/inherit_graph_8.md5 b/doxygen/html/inherit_graph_8.md5 deleted file mode 100644 index e9cccdd..0000000 --- a/doxygen/html/inherit_graph_8.md5 +++ /dev/null @@ -1 +0,0 @@ -249d67c084c4f4ec91b7ee7b6d42db64 \ No newline at end of file diff --git a/doxygen/html/inherit_graph_9.dot b/doxygen/html/inherit_graph_9.dot deleted file mode 100644 index 987b4e9..0000000 --- a/doxygen/html/inherit_graph_9.dot +++ /dev/null @@ -1,8 +0,0 @@ -digraph G -{ - // INTERACTIVE_SVG=YES - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir="LR"; - Node1 [label="cmd2::ParsedString",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcmd2_1_1ParsedString.html"]; -} diff --git a/doxygen/html/inherit_graph_9.md5 b/doxygen/html/inherit_graph_9.md5 deleted file mode 100644 index 10f3ad6..0000000 --- a/doxygen/html/inherit_graph_9.md5 +++ /dev/null @@ -1 +0,0 @@ -805cac9921b423092c15dab7ed5a55f4 \ No newline at end of file diff --git a/doxygen/html/inherits.html b/doxygen/html/inherits.html deleted file mode 100644 index 452875b..0000000 --- a/doxygen/html/inherits.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - -Cmd2: Class Hierarchy - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
Class Hierarchy
-
-
- - - - - - - - - - - - - - - - - - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - - - - diff --git a/doxygen/html/installdox b/doxygen/html/installdox deleted file mode 100755 index edf5bbf..0000000 --- a/doxygen/html/installdox +++ /dev/null @@ -1,112 +0,0 @@ -#!/usr/bin/perl - -%subst = ( ); -$quiet = 0; - -while ( @ARGV ) { - $_ = shift @ARGV; - if ( s/^-// ) { - if ( /^l(.*)/ ) { - $v = ($1 eq "") ? shift @ARGV : $1; - ($v =~ /\/$/) || ($v .= "/"); - $_ = $v; - if ( /(.+)\@(.+)/ ) { - if ( exists $subst{$1} ) { - $subst{$1} = $2; - } else { - print STDERR "Unknown tag file $1 given with option -l\n"; - &usage(); - } - } else { - print STDERR "Argument $_ is invalid for option -l\n"; - &usage(); - } - } - elsif ( /^q/ ) { - $quiet = 1; - } - elsif ( /^\?|^h/ ) { - &usage(); - } - else { - print STDERR "Illegal option -$_\n"; - &usage(); - } - } - else { - push (@files, $_ ); - } -} - -foreach $sub (keys %subst) -{ - if ( $subst{$sub} eq "" ) - { - print STDERR "No substitute given for tag file `$sub'\n"; - &usage(); - } - elsif ( ! $quiet && $sub ne "_doc" && $sub ne "_cgi" ) - { - print "Substituting $subst{$sub} for each occurrence of tag file $sub\n"; - } -} - -if ( ! @files ) { - if (opendir(D,".")) { - foreach $file ( readdir(D) ) { - $match = ".html"; - next if ( $file =~ /^\.\.?$/ ); - ($file =~ /$match/) && (push @files, $file); - ($file =~ /\.svg/) && (push @files, $file); - ($file =~ "navtree.js") && (push @files, $file); - } - closedir(D); - } -} - -if ( ! @files ) { - print STDERR "Warning: No input files given and none found!\n"; -} - -foreach $f (@files) -{ - if ( ! $quiet ) { - print "Editing: $f...\n"; - } - $oldf = $f; - $f .= ".bak"; - unless (rename $oldf,$f) { - print STDERR "Error: cannot rename file $oldf\n"; - exit 1; - } - if (open(F,"<$f")) { - unless (open(G,">$oldf")) { - print STDERR "Error: opening file $oldf for writing\n"; - exit 1; - } - if ($oldf ne "tree.js") { - while () { - s/doxygen\=\"([^ \"\:\t\>\<]*)\:([^ \"\t\>\<]*)\" (xlink:href|href|src)=\"\2/doxygen\=\"$1:$subst{$1}\" \3=\"$subst{$1}/g; - print G "$_"; - } - } - else { - while () { - s/\"([^ \"\:\t\>\<]*)\:([^ \"\t\>\<]*)\", \"\2/\"$1:$subst{$1}\" ,\"$subst{$1}/g; - print G "$_"; - } - } - } - else { - print STDERR "Warning file $f does not exist\n"; - } - unlink $f; -} - -sub usage { - print STDERR "Usage: installdox [options] [html-file [html-file ...]]\n"; - print STDERR "Options:\n"; - print STDERR " -l tagfile\@linkName tag file + URL or directory \n"; - print STDERR " -q Quiet mode\n\n"; - exit 1; -} diff --git a/doxygen/html/jquery.js b/doxygen/html/jquery.js deleted file mode 100644 index c052173..0000000 --- a/doxygen/html/jquery.js +++ /dev/null @@ -1,54 +0,0 @@ -/* - * jQuery JavaScript Library v1.3.2 - * http://jquery.com/ - * - * Copyright (c) 2009 John Resig - * Dual licensed under the MIT and GPL licenses. - * http://docs.jquery.com/License - * - * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009) - * Revision: 6246 - */ -(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F==="string"){if(H===g){return this[0]&&o[G||"attr"](this[0],F)}else{E={};E[F]=H}}return this.each(function(I){for(F in E){o.attr(G?this.style:this,F,o.prop(this,E[F],G,I,F))}})},css:function(E,F){if((E=="width"||E=="height")&&parseFloat(F)<0){F=g}return this.attr(E,F,"curCSS")},text:function(F){if(typeof F!=="object"&&F!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(F))}var E="";o.each(F||this,function(){o.each(this.childNodes,function(){if(this.nodeType!=8){E+=this.nodeType!=1?this.nodeValue:o.fn.text([this])}})});return E},wrapAll:function(E){if(this[0]){var F=o(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBefore(this[0])}F.map(function(){var G=this;while(G.firstChild){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(E){return this.each(function(){o(this).contents().wrapAll(E)})},wrap:function(E){return this.each(function(){o(this).wrapAll(E)})},append:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.appendChild(E)}})},prepend:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.insertBefore(E,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this)})},after:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.nextSibling)})},end:function(){return this.prevObject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:function(E){if(this.length===1){var F=this.pushStack([],"find",E);F.length=0;o.find(E,this[0],F);return F}else{return this.pushStack(o.unique(o.map(this,function(G){return o.find(E,G)})),"find",E)}},clone:function(G){var E=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var I=this.outerHTML;if(!I){var J=this.ownerDocument.createElement("div");J.appendChild(this.cloneNode(true));I=J.innerHTML}return o.clean([I.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(G===true){var H=this.find("*").andSelf(),F=0;E.find("*").andSelf().each(function(){if(this.nodeName!==H[F].nodeName){return}var I=o.data(H[F],"events");for(var K in I){for(var J in I[K]){o.event.add(this,K,I[K][J],I[K][J].data)}}F++})}return E},filter:function(E){return this.pushStack(o.isFunction(E)&&o.grep(this,function(G,F){return E.call(G,F)})||o.multiFilter(E,o.grep(this,function(F){return F.nodeType===1})),"filter",E)},closest:function(E){var G=o.expr.match.POS.test(E)?o(E):null,F=0;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(G?G.index(H)>-1:o(H).is(E)){o.data(H,"closest",F);return H}H=H.parentNode;F++}})},not:function(E){if(typeof E==="string"){if(f.test(E)){return this.pushStack(o.multiFilter(E,this,true),"not",E)}else{E=o.multiFilter(E,this)}}var F=E.length&&E[E.length-1]!==g&&!E.nodeType;return this.filter(function(){return F?o.inArray(this,E)<0:this!=E})},add:function(E){return this.pushStack(o.unique(o.merge(this.get(),typeof E==="string"?o(E):o.makeArray(E))))},is:function(E){return !!E&&o.multiFilter(E,this).length>0},hasClass:function(E){return !!E&&this.is("."+E)},val:function(K){if(K===g){var E=this[0];if(E){if(o.nodeName(E,"option")){return(E.attributes.value||{}).specified?E.value:E.text}if(o.nodeName(E,"select")){var I=E.selectedIndex,L=[],M=E.options,H=E.type=="select-one";if(I<0){return null}for(var F=H?I:0,J=H?I+1:M.length;F=0||o.inArray(this.name,K)>=0)}else{if(o.nodeName(this,"select")){var N=o.makeArray(K);o("option",this).each(function(){this.selected=(o.inArray(this.value,N)>=0||o.inArray(this.text,N)>=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=K}}})},html:function(E){return E===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(E){return this.pushStack(o.map(this,function(G,F){return E.call(G,F,G)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=o.clean(J,(this[0].ownerDocument||this[0]),I),H=I.firstChild;if(H){for(var G=0,E=this.length;G1||G>0?I.cloneNode(true):I)}}if(F){o.each(F,z)}}return this;function K(N,O){return M&&o.nodeName(N,"table")&&o.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};o.fn.init.prototype=o.fn;function z(E,F){if(F.src){o.ajax({url:F.src,async:false,dataType:"script"})}else{o.globalEval(F.text||F.textContent||F.innerHTML||"")}if(F.parentNode){F.parentNode.removeChild(F)}}function e(){return +new Date}o.extend=o.fn.extend=function(){var J=arguments[0]||{},H=1,I=arguments.length,E=false,G;if(typeof J==="boolean"){E=J;J=arguments[1]||{};H=2}if(typeof J!=="object"&&!o.isFunction(J)){J={}}if(I==H){J=this;--H}for(;H-1}},swap:function(H,G,I){var E={};for(var F in G){E[F]=H.style[F];H.style[F]=G[F]}I.call(H);for(var F in G){H.style[F]=E[F]}},css:function(H,F,J,E){if(F=="width"||F=="height"){var L,G={position:"absolute",visibility:"hidden",display:"block"},K=F=="width"?["Left","Right"]:["Top","Bottom"];function I(){L=F=="width"?H.offsetWidth:H.offsetHeight;if(E==="border"){return}o.each(K,function(){if(!E){L-=parseFloat(o.curCSS(H,"padding"+this,true))||0}if(E==="margin"){L+=parseFloat(o.curCSS(H,"margin"+this,true))||0}else{L-=parseFloat(o.curCSS(H,"border"+this+"Width",true))||0}})}if(H.offsetWidth!==0){I()}else{o.swap(H,G,I)}return Math.max(0,Math.round(L))}return o.curCSS(H,F,J)},curCSS:function(I,F,G){var L,E=I.style;if(F=="opacity"&&!o.support.opacity){L=o.attr(E,"opacity");return L==""?"1":L}if(F.match(/float/i)){F=w}if(!G&&E&&E[F]){L=E[F]}else{if(q.getComputedStyle){if(F.match(/float/i)){F="float"}F=F.replace(/([A-Z])/g,"-$1").toLowerCase();var M=q.getComputedStyle(I,null);if(M){L=M.getPropertyValue(F)}if(F=="opacity"&&L==""){L="1"}}else{if(I.currentStyle){var J=F.replace(/\-(\w)/g,function(N,O){return O.toUpperCase()});L=I.currentStyle[F]||I.currentStyle[J];if(!/^\d+(px)?$/i.test(L)&&/^\d/.test(L)){var H=E.left,K=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;E.left=L||0;L=E.pixelLeft+"px";E.left=H;I.runtimeStyle.left=K}}}}return L},clean:function(F,K,I){K=K||document;if(typeof K.createElement==="undefined"){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!I&&F.length===1&&typeof F[0]==="string"){var H=/^<(\w+)\s*\/?>$/.exec(F[0]);if(H){return[K.createElement(H[1])]}}var G=[],E=[],L=K.createElement("div");o.each(F,function(P,S){if(typeof S==="number"){S+=""}if(!S){return}if(typeof S==="string"){S=S.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+">"});var O=S.replace(/^\s+/,"").substring(0,10).toLowerCase();var Q=!O.indexOf("",""]||!O.indexOf("",""]||O.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"","
"]||!O.indexOf("",""]||(!O.indexOf("",""]||!O.indexOf("",""]||!o.support.htmlSerialize&&[1,"div
","
"]||[0,"",""];L.innerHTML=Q[1]+S+Q[2];while(Q[0]--){L=L.lastChild}if(!o.support.tbody){var R=/"&&!R?L.childNodes:[];for(var M=N.length-1;M>=0;--M){if(o.nodeName(N[M],"tbody")&&!N[M].childNodes.length){N[M].parentNode.removeChild(N[M])}}}if(!o.support.leadingWhitespace&&/^\s/.test(S)){L.insertBefore(K.createTextNode(S.match(/^\s*/)[0]),L.firstChild)}S=o.makeArray(L.childNodes)}if(S.nodeType){G.push(S)}else{G=o.merge(G,S)}});if(I){for(var J=0;G[J];J++){if(o.nodeName(G[J],"script")&&(!G[J].type||G[J].type.toLowerCase()==="text/javascript")){E.push(G[J].parentNode?G[J].parentNode.removeChild(G[J]):G[J])}else{if(G[J].nodeType===1){G.splice.apply(G,[J+1,0].concat(o.makeArray(G[J].getElementsByTagName("script"))))}I.appendChild(G[J])}}return E}return G},attr:function(J,G,K){if(!J||J.nodeType==3||J.nodeType==8){return g}var H=!o.isXMLDoc(J),L=K!==g;G=H&&o.props[G]||G;if(J.tagName){var F=/href|src|style/.test(G);if(G=="selected"&&J.parentNode){J.parentNode.selectedIndex}if(G in J&&H&&!F){if(L){if(G=="type"&&o.nodeName(J,"input")&&J.parentNode){throw"type property can't be changed"}J[G]=K}if(o.nodeName(J,"form")&&J.getAttributeNode(G)){return J.getAttributeNode(G).nodeValue}if(G=="tabIndex"){var I=J.getAttributeNode("tabIndex");return I&&I.specified?I.value:J.nodeName.match(/(button|input|object|select|textarea)/i)?0:J.nodeName.match(/^(a|area)$/i)&&J.href?0:g}return J[G]}if(!o.support.style&&H&&G=="style"){return o.attr(J.style,"cssText",K)}if(L){J.setAttribute(G,""+K)}var E=!o.support.hrefNormalized&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}if(!o.support.opacity&&G=="opacity"){if(L){J.zoom=1;J.filter=(J.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(K)+""=="NaN"?"":"alpha(opacity="+K*100+")")}return J.filter&&J.filter.indexOf("opacity=")>=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}G=G.replace(/-([a-z])/ig,function(M,N){return N.toUpperCase()});if(L){J[G]=K}return J[G]},trim:function(E){return(E||"").replace(/^\s+|\s+$/g,"")},makeArray:function(G){var E=[];if(G!=null){var F=G.length;if(F==null||typeof G==="string"||o.isFunction(G)||G.setInterval){E[0]=G}else{while(F){E[--F]=G[F]}}}return E},inArray:function(G,H){for(var E=0,F=H.length;E0?this.clone(true):this).get();o.fn[F].apply(o(L[K]),I);J=J.concat(I)}return this.pushStack(J,E,G)}});o.each({removeAttr:function(E){o.attr(this,E,"");if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){o.className.add(this,E)},removeClass:function(E){o.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!=="boolean"){E=!o.className.has(this,F)}o.className[E?"add":"remove"](this,F)},remove:function(E){if(!E||o.filter(E,[this]).length){o("*",this).add([this]).each(function(){o.event.remove(this);o.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){o(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(E,F){o.fn[E]=function(){return this.each(F,arguments)}});function j(E,F){return E[0]&&parseInt(o.curCSS(E[0],F,true),10)||0}var h="jQuery"+e(),v=0,A={};o.extend({cache:{},data:function(F,E,G){F=F==l?A:F;var H=F[h];if(!H){H=F[h]=++v}if(E&&!o.cache[H]){o.cache[H]={}}if(G!==g){o.cache[H][E]=G}return E?o.cache[H][E]:H},removeData:function(F,E){F=F==l?A:F;var H=F[h];if(E){if(o.cache[H]){delete o.cache[H][E];E="";for(E in o.cache[H]){break}if(!E){o.removeData(F)}}}else{try{delete F[h]}catch(G){if(F.removeAttribute){F.removeAttribute(h)}}delete o.cache[H]}},queue:function(F,E,H){if(F){E=(E||"fx")+"queue";var G=o.data(F,E);if(!G||o.isArray(H)){G=o.data(F,E,o.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(H,G){var E=o.queue(H,G),F=E.shift();if(!G||G==="fx"){F=E[0]}if(F!==g){F.call(H)}}});o.fn.extend({data:function(E,G){var H=E.split(".");H[1]=H[1]?"."+H[1]:"";if(G===g){var F=this.triggerHandler("getData"+H[1]+"!",[H[0]]);if(F===g&&this.length){F=o.data(this[0],E)}return F===g&&H[1]?this.data(H[0]):F}else{return this.trigger("setData"+H[1]+"!",[H[0],G]).each(function(){o.data(this,E,G)})}},removeData:function(E){return this.each(function(){o.removeData(this,E)})},queue:function(E,F){if(typeof E!=="string"){F=E;E="fx"}if(F===g){return o.queue(this[0],E)}return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){o.dequeue(this,E)})}}); -/* - * Sizzle CSS Selector Engine - v0.9.3 - * Copyright 2009, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * More information: http://sizzlejs.com/ - */ -(function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,L=0,H=Object.prototype.toString;var F=function(Y,U,ab,ac){ab=ab||[];U=U||document;if(U.nodeType!==1&&U.nodeType!==9){return[]}if(!Y||typeof Y!=="string"){return ab}var Z=[],W,af,ai,T,ad,V,X=true;R.lastIndex=0;while((W=R.exec(Y))!==null){Z.push(W[1]);if(W[2]){V=RegExp.rightContext;break}}if(Z.length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]?[U]:F(Z.shift(),U);while(Z.length){Y=Z.shift();if(I.relative[Y]){Y+=Z.shift()}af=J(Y,af)}}}else{var ae=ac?{expr:Z.pop(),set:E(ac)}:F.find(Z.pop(),Z.length===1&&U.parentNode?U.parentNode:U,Q(U));af=F.filter(ae.expr,ae.set);if(Z.length>0){ai=E(af)}else{X=false}while(Z.length){var ah=Z.pop(),ag=ah;if(!I.relative[ah]){ah=""}else{ag=Z.pop()}if(ag==null){ag=U}I.relative[ah](ai,ag,Q(U))}}if(!ai){ai=af}if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}if(H.call(ai)==="[object Array]"){if(!X){ab.push.apply(ab,ai)}else{if(U.nodeType===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodeType===1&&K(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{E(ai,ab)}if(V){F(V,U,ab,ac);if(G){hasDuplicate=false;ab.sort(G);if(hasDuplicate){for(var aa=1;aa":function(Z,U,aa){var X=typeof U==="string";if(X&&!/\W/.test(U)){U=aa?U:U.toUpperCase();for(var V=0,T=Z.length;V=0)){if(!V){T.push(Y)}}else{if(V){U[X]=false}}}}return false},ID:function(T){return T[1].replace(/\\/g,"")},TAG:function(U,T){for(var V=0;T[V]===false;V++){}return T[V]&&Q(T[V])?U[1]:U[1].toUpperCase()},CHILD:function(T){if(T[1]=="nth"){var U=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2]=="even"&&"2n"||T[2]=="odd"&&"2n+1"||!/\D/.test(T[2])&&"0n+"+T[2]||T[2]);T[2]=(U[1]+(U[2]||1))-0;T[3]=U[3]-0}T[0]=L++;return T},ATTR:function(X,U,V,T,Y,Z){var W=X[1].replace(/\\/g,"");if(!Z&&I.attrMap[W]){X[1]=I.attrMap[W]}if(X[2]==="~="){X[4]=" "+X[4]+" "}return X},PSEUDO:function(X,U,V,T,Y){if(X[1]==="not"){if(X[3].match(R).length>1||/^\w/.test(X[3])){X[3]=F(X[3],null,null,U)}else{var W=F.filter(X[3],U,V,true^Y);if(!V){T.push.apply(T,W)}return false}}else{if(I.match.POS.test(X[0])||I.match.CHILD.test(X[0])){return true}}return X},POS:function(T){T.unshift(true);return T}},filters:{enabled:function(T){return T.disabled===false&&T.type!=="hidden"},disabled:function(T){return T.disabled===true},checked:function(T){return T.checked===true},selected:function(T){T.parentNode.selectedIndex;return T.selected===true},parent:function(T){return !!T.firstChild},empty:function(T){return !T.firstChild},has:function(V,U,T){return !!F(T[3],V).length},header:function(T){return/h\d/i.test(T.nodeName)},text:function(T){return"text"===T.type},radio:function(T){return"radio"===T.type},checkbox:function(T){return"checkbox"===T.type},file:function(T){return"file"===T.type},password:function(T){return"password"===T.type},submit:function(T){return"submit"===T.type},image:function(T){return"image"===T.type},reset:function(T){return"reset"===T.type},button:function(T){return"button"===T.type||T.nodeName.toUpperCase()==="BUTTON"},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)}},setFilters:{first:function(U,T){return T===0},last:function(V,U,T,W){return U===W.length-1},even:function(U,T){return T%2===0},odd:function(U,T){return T%2===1},lt:function(V,U,T){return UT[3]-0},nth:function(V,U,T){return T[3]-0==U},eq:function(V,U,T){return T[3]-0==U}},filter:{PSEUDO:function(Z,V,W,aa){var U=V[1],X=I.filters[U];if(X){return X(Z,W,V,aa)}else{if(U==="contains"){return(Z.textContent||Z.innerText||"").indexOf(V[3])>=0}else{if(U==="not"){var Y=V[3];for(var W=0,T=Y.length;W=0)}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1},ATTR:function(Y,W){var V=W[1],T=I.attrHandle[V]?I.attrHandle[V](Y):Y[V]!=null?Y[V]:Y.getAttribute(V),Z=T+"",X=W[2],U=W[4];return T==null?X==="!=":X==="="?Z===U:X==="*="?Z.indexOf(U)>=0:X==="~="?(" "+Z+" ").indexOf(U)>=0:!U?Z&&T!==false:X==="!="?Z!=U:X==="^="?Z.indexOf(U)===0:X==="$="?Z.substr(Z.length-U.length)===U:X==="|="?Z===U||Z.substr(0,U.length+1)===U+"-":false},POS:function(X,U,V,Y){var T=U[2],W=I.setFilters[T];if(W){return W(X,V,U,Y)}}}};var M=I.match.POS;for(var O in I.match){I.match[O]=RegExp(I.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var E=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(N){E=function(X,W){var U=W||[];if(H.call(X)==="[object Array]"){Array.prototype.push.apply(U,X)}else{if(typeof X.length==="number"){for(var V=0,T=X.length;V";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){I.find.ID=function(X,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){var W=Y.getElementById(X[1]);return W?W.id===X[1]||typeof W.getAttributeNode!=="undefined"&&W.getAttributeNode("id").nodeValue===X[1]?[W]:g:[]}};I.filter.ID=function(Y,W){var X=typeof Y.getAttributeNode!=="undefined"&&Y.getAttributeNode("id");return Y.nodeType===1&&X&&X.nodeValue===W}}T.removeChild(U)})();(function(){var T=document.createElement("div");T.appendChild(document.createComment(""));if(T.getElementsByTagName("*").length>0){I.find.TAG=function(U,Y){var X=Y.getElementsByTagName(U[1]);if(U[1]==="*"){var W=[];for(var V=0;X[V];V++){if(X[V].nodeType===1){W.push(X[V])}}X=W}return X}}T.innerHTML="";if(T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"){I.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=F,U=document.createElement("div");U.innerHTML="

";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}F=function(Y,X,V,W){X=X||document;if(!W&&X.nodeType===9&&!Q(X)){try{return E(X.querySelectorAll(Y),V)}catch(Z){}}return T(Y,X,V,W)};F.find=T.find;F.filter=T.filter;F.selectors=T.selectors;F.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var T=document.createElement("div");T.innerHTML="
";if(T.getElementsByClassName("e").length===0){return}T.lastChild.className="e";if(T.getElementsByClassName("e").length===1){return}I.order.splice(1,0,"CLASS");I.find.CLASS=function(U,V,W){if(typeof V.getElementsByClassName!=="undefined"&&!W){return V.getElementsByClassName(U[1])}}})()}function P(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W0){X=T;break}}}T=T[U]}ad[W]=X}}}var K=document.compareDocumentPosition?function(U,T){return U.compareDocumentPosition(T)&16}:function(U,T){return U!==T&&(U.contains?U.contains(T):true)};var Q=function(T){return T.nodeType===9&&T.documentElement.nodeName!=="HTML"||!!T.ownerDocument&&Q(T.ownerDocument)};var J=function(T,aa){var W=[],X="",Y,V=aa.nodeType?[aa]:aa;while((Y=I.match.PSEUDO.exec(T))){X+=Y[0];T=T.replace(I.match.PSEUDO,"")}T=I.relative[T]?T+"*":T;for(var Z=0,U=V.length;Z0||T.offsetHeight>0};F.selectors.filters.animated=function(T){return o.grep(o.timers,function(U){return T===U.elem}).length};o.multiFilter=function(V,T,U){if(U){V=":not("+V+")"}return F.matches(V,T)};o.dir=function(V,U){var T=[],W=V[U];while(W&&W!=document){if(W.nodeType==1){T.push(W)}W=W[U]}return T};o.nth=function(X,T,V,W){T=T||1;var U=0;for(;X;X=X[V]){if(X.nodeType==1&&++U==T){break}}return X};o.sibling=function(V,U){var T=[];for(;V;V=V.nextSibling){if(V.nodeType==1&&V!=U){T.push(V)}}return T};return;l.Sizzle=F})();o.event={add:function(I,F,H,K){if(I.nodeType==3||I.nodeType==8){return}if(I.setInterval&&I!=l){I=l}if(!H.guid){H.guid=this.guid++}if(K!==g){var G=H;H=this.proxy(G);H.data=K}var E=o.data(I,"events")||o.data(I,"events",{}),J=o.data(I,"handle")||o.data(I,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.callee.elem,arguments):g});J.elem=I;o.each(F.split(/\s+/),function(M,N){var O=N.split(".");N=O.shift();H.type=O.slice().sort().join(".");var L=E[N];if(o.event.specialAll[N]){o.event.specialAll[N].setup.call(I,K,O)}if(!L){L=E[N]={};if(!o.event.special[N]||o.event.special[N].setup.call(I,K,O)===false){if(I.addEventListener){I.addEventListener(N,J,false)}else{if(I.attachEvent){I.attachEvent("on"+N,J)}}}}L[H.guid]=H;o.event.global[N]=true});I=null},guid:1,global:{},remove:function(K,H,J){if(K.nodeType==3||K.nodeType==8){return}var G=o.data(K,"events"),F,E;if(G){if(H===g||(typeof H==="string"&&H.charAt(0)==".")){for(var I in G){this.remove(K,I+(H||""))}}else{if(H.type){J=H.handler;H=H.type}o.each(H.split(/\s+/),function(M,O){var Q=O.split(".");O=Q.shift();var N=RegExp("(^|\\.)"+Q.slice().sort().join(".*\\.")+"(\\.|$)");if(G[O]){if(J){delete G[O][J.guid]}else{for(var P in G[O]){if(N.test(G[O][P].type)){delete G[O][P]}}}if(o.event.specialAll[O]){o.event.specialAll[O].teardown.call(K,Q)}for(F in G[O]){break}if(!F){if(!o.event.special[O]||o.event.special[O].teardown.call(K,Q)===false){if(K.removeEventListener){K.removeEventListener(O,o.data(K,"handle"),false)}else{if(K.detachEvent){K.detachEvent("on"+O,o.data(K,"handle"))}}}F=null;delete G[O]}}})}for(F in G){break}if(!F){var L=o.data(K,"handle");if(L){L.elem=null}o.removeData(K,"events");o.removeData(K,"handle")}}},trigger:function(I,K,H,E){var G=I.type||I;if(!E){I=typeof I==="object"?I[h]?I:o.extend(o.Event(G),I):o.Event(G);if(G.indexOf("!")>=0) -{I.type=G=G.slice(0,-1);I.exclusive=true}if(!H){I.stopPropagation();if(this.global[G]){o.each(o.cache,function(){if(this.events&&this.events[G]){o.event.trigger(I,K,this.handle.elem)}})}}if(!H||H.nodeType==3||H.nodeType==8){return g}I.result=g;I.target=H;K=o.makeArray(K);K.unshift(I)}I.currentTarget=H;var J=o.data(H,"handle");if(J){J.apply(H,K)}if((!H[G]||(o.nodeName(H,"a")&&G=="click"))&&H["on"+G]&&H["on"+G].apply(H,K)===false){I.result=false}if(!E&&H[G]&&!I.isDefaultPrevented()&&!(o.nodeName(H,"a")&&G=="click")){this.triggered=true;try{H[G]()}catch(L){}}this.triggered=false;if(!I.isPropagationStopped()){var F=H.parentNode||H.ownerDocument;if(F){o.event.trigger(I,K,F,true)}}},handle:function(K){var J,E;K=arguments[0]=o.event.fix(K||l.event);K.currentTarget=this;var L=K.type.split(".");K.type=L.shift();J=!L.length&&!K.exclusive;var I=RegExp("(^|\\.)"+L.slice().sort().join(".*\\.")+"(\\.|$)");E=(o.data(this,"events")||{})[K.type];for(var G in E){var H=E[G];if(J||I.test(H.type)){K.handler=H;K.data=H.data;var F=H.apply(this,arguments);if(F!==g){K.result=F;if(F===false){K.preventDefault();K.stopPropagation()}}if(K.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(H){if(H[h]){return H}var F=H;H=o.Event(F);for(var G=this.props.length,J;G;){J=this.props[--G];H[J]=F[J]}if(!H.target){H.target=H.srcElement||document}if(H.target.nodeType==3){H.target=H.target.parentNode}if(!H.relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if(H.pageX==null&&H.clientX!=null){var I=document.documentElement,E=document.body;H.pageX=H.clientX+(I&&I.scrollLeft||E&&E.scrollLeft||0)-(I.clientLeft||0);H.pageY=H.clientY+(I&&I.scrollTop||E&&E.scrollTop||0)-(I.clientTop||0)}if(!H.which&&((H.charCode||H.charCode===0)?H.charCode:H.keyCode)){H.which=H.charCode||H.keyCode}if(!H.metaKey&&H.ctrlKey){H.metaKey=H.ctrlKey}if(!H.which&&H.button){H.which=(H.button&1?1:(H.button&2?3:(H.button&4?2:0)))}return H},proxy:function(F,E){E=E||function(){return F.apply(this,arguments)};E.guid=F.guid=F.guid||E.guid||this.guid++;return E},special:{ready:{setup:B,teardown:function(){}}},specialAll:{live:{setup:function(E,F){o.event.add(this,F[0],c)},teardown:function(G){if(G.length){var E=0,F=RegExp("(^|\\.)"+G[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(F.test(this.type)){E++}});if(E<1){o.event.remove(this,G[0],c)}}}}}};o.Event=function(E){if(!this.preventDefault){return new o.Event(E)}if(E&&E.type){this.originalEvent=E;this.type=E.type}else{this.type=E}this.timeStamp=e();this[h]=true};function k(){return false}function u(){return true}o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=u;var E=this.originalEvent;if(!E){return}if(E.preventDefault){E.preventDefault()}E.returnValue=false},stopPropagation:function(){this.isPropagationStopped=u;var E=this.originalEvent;if(!E){return}if(E.stopPropagation){E.stopPropagation()}E.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=u;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=function(F){var E=F.relatedTarget;while(E&&E!=this){try{E=E.parentNode}catch(G){E=this}}if(E!=this){F.type=F.data;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(F,E){o.event.special[E]={setup:function(){o.event.add(this,F,a,E)},teardown:function(){o.event.remove(this,F,a)}}});o.fn.extend({bind:function(F,G,E){return F=="unload"?this.one(F,G,E):this.each(function(){o.event.add(this,F,E||G,E&&G)})},one:function(G,H,F){var E=o.event.proxy(F||H,function(I){o(this).unbind(I,E);return(F||H).apply(this,arguments)});return this.each(function(){o.event.add(this,G,E,F&&H)})},unbind:function(F,E){return this.each(function(){o.event.remove(this,F,E)})},trigger:function(E,F){return this.each(function(){o.event.trigger(E,F,this)})},triggerHandler:function(E,G){if(this[0]){var F=o.Event(E);F.preventDefault();F.stopPropagation();o.event.trigger(F,G,this[0]);return F.result}},toggle:function(G){var E=arguments,F=1;while(F=0){var E=G.slice(I,G.length);G=G.slice(0,I)}var H="GET";if(J){if(o.isFunction(J)){K=J;J=null}else{if(typeof J==="object"){J=o.param(J);H="POST"}}}var F=this;o.ajax({url:G,type:H,dataType:"html",data:J,complete:function(M,L){if(L=="success"||L=="notmodified"){F.html(E?o("
").append(M.responseText.replace(//g,"")).find(E):M.responseText)}if(K){F.each(K,[M.responseText,L,M])}}});return this},serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(E,F){var G=o(this).val();return G==null?null:o.isArray(G)?o.map(G,function(I,H){return{name:F.name,value:I}}):{name:F.name,value:G}}).get()}});o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(E,F){o.fn[F]=function(G){return this.bind(F,G)}});var r=e();o.extend({get:function(E,G,H,F){if(o.isFunction(G)){H=G;G=null}return o.ajax({type:"GET",url:E,data:G,success:H,dataType:F})},getScript:function(E,F){return o.get(E,null,F,"script")},getJSON:function(E,F,G){return o.get(E,F,G,"json")},post:function(E,G,H,F){if(o.isFunction(G)){H=G;G={}}return o.ajax({type:"POST",url:E,data:G,success:H,dataType:F})},ajaxSetup:function(E){o.extend(o.ajaxSettings,E)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return l.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(M){M=o.extend(true,M,o.extend(true,{},o.ajaxSettings,M));var W,F=/=\?(&|$)/g,R,V,G=M.type.toUpperCase();if(M.data&&M.processData&&typeof M.data!=="string"){M.data=o.param(M.data)}if(M.dataType=="jsonp"){if(G=="GET"){if(!M.url.match(F)){M.url+=(M.url.match(/\?/)?"&":"?")+(M.jsonp||"callback")+"=?"}}else{if(!M.data||!M.data.match(F)){M.data=(M.data?M.data+"&":"")+(M.jsonp||"callback")+"=?"}}M.dataType="json"}if(M.dataType=="json"&&(M.data&&M.data.match(F)||M.url.match(F))){W="jsonp"+r++;if(M.data){M.data=(M.data+"").replace(F,"="+W+"$1")}M.url=M.url.replace(F,"="+W+"$1");M.dataType="script";l[W]=function(X){V=X;I();L();l[W]=g;try{delete l[W]}catch(Y){}if(H){H.removeChild(T)}}}if(M.dataType=="script"&&M.cache==null){M.cache=false}if(M.cache===false&&G=="GET"){var E=e();var U=M.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+E+"$2");M.url=U+((U==M.url)?(M.url.match(/\?/)?"&":"?")+"_="+E:"")}if(M.data&&G=="GET"){M.url+=(M.url.match(/\?/)?"&":"?")+M.data;M.data=null}if(M.global&&!o.active++){o.event.trigger("ajaxStart")}var Q=/^(\w+:)?\/\/([^\/?#]+)/.exec(M.url);if(M.dataType=="script"&&G=="GET"&&Q&&(Q[1]&&Q[1]!=location.protocol||Q[2]!=location.host)){var H=document.getElementsByTagName("head")[0];var T=document.createElement("script");T.src=M.url;if(M.scriptCharset){T.charset=M.scriptCharset}if(!W){var O=false;T.onload=T.onreadystatechange=function(){if(!O&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){O=true;I();L();T.onload=T.onreadystatechange=null;H.removeChild(T)}}}H.appendChild(T);return g}var K=false;var J=M.xhr();if(M.username){J.open(G,M.url,M.async,M.username,M.password)}else{J.open(G,M.url,M.async)}try{if(M.data){J.setRequestHeader("Content-Type",M.contentType)}if(M.ifModified){J.setRequestHeader("If-Modified-Since",o.lastModified[M.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}J.setRequestHeader("X-Requested-With","XMLHttpRequest");J.setRequestHeader("Accept",M.dataType&&M.accepts[M.dataType]?M.accepts[M.dataType]+", */*":M.accepts._default)}catch(S){}if(M.beforeSend&&M.beforeSend(J,M)===false){if(M.global&&!--o.active){o.event.trigger("ajaxStop")}J.abort();return false}if(M.global){o.event.trigger("ajaxSend",[J,M])}var N=function(X){if(J.readyState==0){if(P){clearInterval(P);P=null;if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}}else{if(!K&&J&&(J.readyState==4||X=="timeout")){K=true;if(P){clearInterval(P);P=null}R=X=="timeout"?"timeout":!o.httpSuccess(J)?"error":M.ifModified&&o.httpNotModified(J,M.url)?"notmodified":"success";if(R=="success"){try{V=o.httpData(J,M.dataType,M)}catch(Z){R="parsererror"}}if(R=="success"){var Y;try{Y=J.getResponseHeader("Last-Modified")}catch(Z){}if(M.ifModified&&Y){o.lastModified[M.url]=Y}if(!W){I()}}else{o.handleError(M,J,R)}L();if(X){J.abort()}if(M.async){J=null}}}};if(M.async){var P=setInterval(N,13);if(M.timeout>0){setTimeout(function(){if(J&&!K){N("timeout")}},M.timeout)}}try{J.send(M.data)}catch(S){o.handleError(M,J,null,S)}if(!M.async){N()}function I(){if(M.success){M.success(V,R)}if(M.global){o.event.trigger("ajaxSuccess",[J,M])}}function L(){if(M.complete){M.complete(J,R)}if(M.global){o.event.trigger("ajaxComplete",[J,M])}if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}return J},handleError:function(F,H,E,G){if(F.error){F.error(H,E,G)}if(F.global){o.event.trigger("ajaxError",[H,F,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol=="file:"||(F.status>=200&&F.status<300)||F.status==304||F.status==1223}catch(E){}return false},httpNotModified:function(G,E){try{var H=G.getResponseHeader("Last-Modified");return G.status==304||H==o.lastModified[E]}catch(F){}return false},httpData:function(J,H,G){var F=J.getResponseHeader("content-type"),E=H=="xml"||!H&&F&&F.indexOf("xml")>=0,I=E?J.responseXML:J.responseText;if(E&&I.documentElement.tagName=="parsererror"){throw"parsererror"}if(G&&G.dataFilter){I=G.dataFilter(I,H)}if(typeof I==="string"){if(H=="script"){o.globalEval(I)}if(H=="json"){I=l["eval"]("("+I+")")}}return I},param:function(E){var G=[];function H(I,J){G[G.length]=encodeURIComponent(I)+"="+encodeURIComponent(J)}if(o.isArray(E)||E.jquery){o.each(E,function(){H(this.name,this.value)})}else{for(var F in E){if(o.isArray(E[F])){o.each(E[F],function(){H(F,this)})}else{H(F,o.isFunction(E[F])?E[F]():E[F])}}}return G.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function t(F,E){var G={};o.each(d.concat.apply([],d.slice(0,E)),function() -{G[this]=F});return G}o.fn.extend({show:function(J,L){if(J){return this.animate(t("show",3),J,L)}else{for(var H=0,F=this.length;H").appendTo("body");K=I.css("display");if(K==="none"){K="block"}I.remove();m[G]=K}o.data(this[H],"olddisplay",K)}}for(var H=0,F=this.length;H=0;H--){if(G[H].elem==this){if(E){G[H](true)}G.splice(H,1)}}});if(!E){this.dequeue()}return this}});o.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(E,F){o.fn[E]=function(G,H){return this.animate(F,G,H)}});o.extend({speed:function(G,H,F){var E=typeof G==="object"?G:{complete:F||!F&&H||o.isFunction(G)&&G,duration:G,easing:F&&H||H&&!o.isFunction(H)&&H};E.duration=o.fx.off?0:typeof E.duration==="number"?E.duration:o.fx.speeds[E.duration]||o.fx.speeds._default;E.old=E.complete;E.complete=function(){if(E.queue!==false){o(this).dequeue()}if(o.isFunction(E.old)){E.old.call(this)}};return E},easing:{linear:function(G,H,E,F){return E+F*G},swing:function(G,H,E,F){return((-Math.cos(G*Math.PI)/2)+0.5)*F+E}},timers:[],fx:function(F,E,G){this.options=E;this.elem=F;this.prop=G;if(!E.orig){E.orig={}}}});o.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(F){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var E=parseFloat(o.css(this.elem,this.prop,F));return E&&E>-10000?E:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(I,H,G){this.startTime=e();this.start=I;this.end=H;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var E=this;function F(J){return E.step(J)}F.elem=this.elem;if(F()&&o.timers.push(F)&&!n){n=setInterval(function(){var K=o.timers;for(var J=0;J=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var E=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){E=false}}if(E){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(o.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||this.options.show){for(var I in this.options.curAnim){o.attr(this.elem.style,I,this.options.orig[I])}}this.options.complete.call(this.elem)}return false}else{var J=G-this.startTime;this.state=J/this.options.duration;this.pos=o.easing[this.options.easing||(o.easing.swing?"swing":"linear")](this.state,J,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};o.extend(o.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(E){o.attr(E.elem.style,"opacity",E.now)},_default:function(E){if(E.elem.style&&E.elem.style[E.prop]!=null){E.elem.style[E.prop]=E.now+E.unit}else{E.elem[E.prop]=E.now}}}});if(document.documentElement.getBoundingClientRect){o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}var G=this[0].getBoundingClientRect(),J=this[0].ownerDocument,F=J.body,E=J.documentElement,L=E.clientTop||F.clientTop||0,K=E.clientLeft||F.clientLeft||0,I=G.top+(self.pageYOffset||o.boxModel&&E.scrollTop||F.scrollTop)-L,H=G.left+(self.pageXOffset||o.boxModel&&E.scrollLeft||F.scrollLeft)-K;return{top:I,left:H}}}else{o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}o.offset.initialized||o.offset.initialize();var J=this[0],G=J.offsetParent,F=J,O=J.ownerDocument,M,H=O.documentElement,K=O.body,L=O.defaultView,E=L.getComputedStyle(J,null),N=J.offsetTop,I=J.offsetLeft;while((J=J.parentNode)&&J!==K&&J!==H){M=L.getComputedStyle(J,null);N-=J.scrollTop,I-=J.scrollLeft;if(J===G){N+=J.offsetTop,I+=J.offsetLeft;if(o.offset.doesNotAddBorder&&!(o.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(J.tagName))){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}F=G,G=J.offsetParent}if(o.offset.subtractsBorderForOverflowNotVisible&&M.overflow!=="visible"){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}E=M}if(E.position==="relative"||E.position==="static"){N+=K.offsetTop,I+=K.offsetLeft}if(E.position==="fixed"){N+=Math.max(H.scrollTop,K.scrollTop),I+=Math.max(H.scrollLeft,K.scrollLeft)}return{top:N,left:I}}}o.offset={initialize:function(){if(this.initialized){return}var L=document.body,F=document.createElement("div"),H,G,N,I,M,E,J=L.style.marginTop,K='
';M={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(E in M){F.style[E]=M[E]}F.innerHTML=K;L.insertBefore(F,L.firstChild);H=F.firstChild,G=H.firstChild,I=H.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(G.offsetTop!==5);this.doesAddBorderForTableAndCells=(I.offsetTop===5);H.style.overflow="hidden",H.style.position="relative";this.subtractsBorderForOverflowNotVisible=(G.offsetTop===-5);L.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(L.offsetTop===0);L.style.marginTop=J;L.removeChild(F);this.initialized=true},bodyOffset:function(E){o.offset.initialized||o.offset.initialize();var G=E.offsetTop,F=E.offsetLeft;if(o.offset.doesNotIncludeMarginInBodyOffset){G+=parseInt(o.curCSS(E,"marginTop",true),10)||0,F+=parseInt(o.curCSS(E,"marginLeft",true),10)||0}return{top:G,left:F}}};o.fn.extend({position:function(){var I=0,H=0,F;if(this[0]){var G=this.offsetParent(),J=this.offset(),E=/^body|html$/i.test(G[0].tagName)?{top:0,left:0}:G.offset();J.top-=j(this,"marginTop");J.left-=j(this,"marginLeft");E.top+=j(G,"borderTopWidth");E.left+=j(G,"borderLeftWidth");F={top:J.top-E.top,left:J.left-E.left}}return F},offsetParent:function(){var E=this[0].offsetParent||document.body;while(E&&(!/^body|html$/i.test(E.tagName)&&o.css(E,"position")=="static")){E=E.offsetParent}return o(E)}});o.each(["Left","Top"],function(F,E){var G="scroll"+E;o.fn[G]=function(H){if(!this[0]){return null}return H!==g?this.each(function(){this==l||this==document?l.scrollTo(!F?H:o(l).scrollLeft(),F?H:o(l).scrollTop()):this[G]=H}):this[0]==l||this[0]==document?self[F?"pageYOffset":"pageXOffset"]||o.boxModel&&document.documentElement[G]||document.body[G]:this[0][G]}});o.each(["Height","Width"],function(I,G){var E=I?"Left":"Top",H=I?"Right":"Bottom",F=G.toLowerCase();o.fn["inner"+G]=function(){return this[0]?o.css(this[0],F,false,"padding"):null};o.fn["outer"+G]=function(K){return this[0]?o.css(this[0],F,false,K?"margin":"border"):null};var J=G.toLowerCase();o.fn[J]=function(K){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+G]||document.body["client"+G]:this[0]==document?Math.max(document.documentElement["client"+G],document.body["scroll"+G],document.documentElement["scroll"+G],document.body["offset"+G],document.documentElement["offset"+G]):K===g?(this.length?o.css(this[0],J):null):this.css(J,typeof K==="string"?K:K+"px")}})})(); -/* - * jQuery UI 1.7.2 - * - * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT (MIT-LICENSE.txt) - * and GPL (GPL-LICENSE.txt) licenses. - * - * http://docs.jquery.com/UI - */ -jQuery.ui||(function(c){var i=c.fn.remove,d=c.browser.mozilla&&(parseFloat(c.browser.version)<1.9);c.ui={version:"1.7.2",plugin:{add:function(k,l,n){var m=c.ui[k].prototype;for(var j in n){m.plugins[j]=m.plugins[j]||[];m.plugins[j].push([l,n[j]])}},call:function(j,l,k){var n=j.plugins[l];if(!n||!j.element[0].parentNode){return}for(var m=0;m0){return true}m[j]=1;l=(m[j]>0);m[j]=0;return l},isOverAxis:function(k,j,l){return(k>j)&&(k<(j+l))},isOver:function(o,k,n,m,j,l){return c.ui.isOverAxis(o,n,j)&&c.ui.isOverAxis(k,m,l)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(d){var f=c.attr,e=c.fn.removeAttr,h="http://www.w3.org/2005/07/aaa",a=/^aria-/,b=/^wairole:/;c.attr=function(k,j,l){var m=l!==undefined;return(j=="role"?(m?f.call(this,k,j,"wairole:"+l):(f.apply(this,arguments)||"").replace(b,"")):(a.test(j)?(m?k.setAttributeNS(h,j.replace(a,"aaa:"),l):f.call(this,k,j.replace(a,"aaa:"))):f.apply(this,arguments)))};c.fn.removeAttr=function(j){return(a.test(j)?this.each(function(){this.removeAttributeNS(h,j.replace(a,""))}):e.call(this,j))}}c.fn.extend({remove:function(){c("*",this).add(this).each(function(){c(this).triggerHandler("remove")});return i.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var j;if((c.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){j=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(c.curCSS(this,"position",1))&&(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}else{j=this.parents().filter(function(){return(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!j.length?c(document):j}});c.extend(c.expr[":"],{data:function(l,k,j){return !!c.data(l,j[3])},focusable:function(k){var l=k.nodeName.toLowerCase(),j=c.attr(k,"tabindex");return(/input|select|textarea|button|object/.test(l)?!k.disabled:"a"==l||"area"==l?k.href||!isNaN(j):!isNaN(j))&&!c(k)["area"==l?"parents":"closest"](":hidden").length},tabbable:function(k){var j=c.attr(k,"tabindex");return(isNaN(j)||j>=0)&&c(k).is(":focusable")}});function g(m,n,o,l){function k(q){var p=c[m][n][q]||[];return(typeof p=="string"?p.split(/,?\s+/):p)}var j=k("getter");if(l.length==1&&typeof l[0]=="string"){j=j.concat(k("getterSetter"))}return(c.inArray(o,j)!=-1)}c.widget=function(k,j){var l=k.split(".")[0];k=k.split(".")[1];c.fn[k]=function(p){var n=(typeof p=="string"),o=Array.prototype.slice.call(arguments,1);if(n&&p.substring(0,1)=="_"){return this}if(n&&g(l,k,p,o)){var m=c.data(this[0],k);return(m?m[p].apply(m,o):undefined)}return this.each(function(){var q=c.data(this,k);(!q&&!n&&c.data(this,k,new c[l][k](this,p))._init());(q&&n&&c.isFunction(q[p])&&q[p].apply(q,o))})};c[l]=c[l]||{};c[l][k]=function(o,n){var m=this;this.namespace=l;this.widgetName=k;this.widgetEventPrefix=c[l][k].eventPrefix||k;this.widgetBaseClass=l+"-"+k;this.options=c.extend({},c.widget.defaults,c[l][k].defaults,c.metadata&&c.metadata.get(o)[k],n);this.element=c(o).bind("setData."+k,function(q,p,r){if(q.target==o){return m._setData(p,r)}}).bind("getData."+k,function(q,p){if(q.target==o){return m._getData(p)}}).bind("remove",function(){return m.destroy()})};c[l][k].prototype=c.extend({},c.widget.prototype,j);c[l][k].getterSetter="option"};c.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(l,m){var k=l,j=this;if(typeof l=="string"){if(m===undefined){return this._getData(l)}k={};k[l]=m}c.each(k,function(n,o){j._setData(n,o)})},_getData:function(j){return this.options[j]},_setData:function(j,k){this.options[j]=k;if(j=="disabled"){this.element[k?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",k)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(l,m,n){var p=this.options[l],j=(l==this.widgetEventPrefix?l:this.widgetEventPrefix+l);m=c.Event(m);m.type=j;if(m.originalEvent){for(var k=c.event.props.length,o;k;){o=c.event.props[--k];m[o]=m.originalEvent[o]}}this.element.trigger(m,n);return !(c.isFunction(p)&&p.call(this.element[0],m,n)===false||m.isDefaultPrevented())}};c.widget.defaults={disabled:false};c.ui.mouse={_mouseInit:function(){var j=this;this.element.bind("mousedown."+this.widgetName,function(k){return j._mouseDown(k)}).bind("click."+this.widgetName,function(k){if(j._preventClickEvent){j._preventClickEvent=false;k.stopImmediatePropagation();return false}});if(c.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(c.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(l){l.originalEvent=l.originalEvent||{};if(l.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(l));this._mouseDownEvent=l;var k=this,m=(l.which==1),j=(typeof this.options.cancel=="string"?c(l.target).parents().add(l.target).filter(this.options.cancel).length:false);if(!m||j||!this._mouseCapture(l)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){k.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(l)&&this._mouseDelayMet(l)){this._mouseStarted=(this._mouseStart(l)!==false);if(!this._mouseStarted){l.preventDefault();return true}}this._mouseMoveDelegate=function(n){return k._mouseMove(n)};this._mouseUpDelegate=function(n){return k._mouseUp(n)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(c.browser.safari||l.preventDefault());l.originalEvent.mouseHandled=true;return true},_mouseMove:function(j){if(c.browser.msie&&!j.button){return this._mouseUp(j)}if(this._mouseStarted){this._mouseDrag(j);return j.preventDefault()}if(this._mouseDistanceMet(j)&&this._mouseDelayMet(j)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,j)!==false);(this._mouseStarted?this._mouseDrag(j):this._mouseUp(j))}return !this._mouseStarted},_mouseUp:function(j){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(j.target==this._mouseDownEvent.target);this._mouseStop(j)}return false},_mouseDistanceMet:function(j){return(Math.max(Math.abs(this._mouseDownEvent.pageX-j.pageX),Math.abs(this._mouseDownEvent.pageY-j.pageY))>=this.options.distance)},_mouseDelayMet:function(j){return this.mouseDelayMet},_mouseStart:function(j){},_mouseDrag:function(j){},_mouseStop:function(j){},_mouseCapture:function(j){return true}};c.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);;/* * jQuery UI Resizable 1.7.2 - * - * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT (MIT-LICENSE.txt) - * and GPL (GPL-LICENSE.txt) licenses. - * - * http://docs.jquery.com/UI/Resizables - * - * Depends: - * ui.core.js - */ -(function(c){c.widget("ui.resizable",c.extend({},c.ui.mouse,{_init:function(){var e=this,j=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(j.aspectRatio),aspectRatio:j.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:j.helper||j.ghost||j.animate?j.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){if(/relative/.test(this.element.css("position"))&&c.browser.opera){this.element.css({position:"relative",top:"auto",left:"auto"})}this.element.wrap(c('
').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=j.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var k=this.handles.split(",");this.handles={};for(var f=0;f
');if(/sw|se|ne|nw/.test(h)){g.css({zIndex:++j.zIndex})}if("se"==h){g.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[h]=".ui-resizable-"+h;this.element.append(g)}}this._renderAxis=function(p){p=p||this.element;for(var m in this.handles){if(this.handles[m].constructor==String){this.handles[m]=c(this.handles[m],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var n=c(this.handles[m],this.element),o=0;o=/sw|ne|nw|se|n|s/.test(m)?n.outerHeight():n.outerWidth();var l=["padding",/ne|nw|n/.test(m)?"Top":/se|sw|s/.test(m)?"Bottom":/^e$/.test(m)?"Right":"Left"].join("");p.css(l,o);this._proportionallyResize()}if(!c(this.handles[m]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!e.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}e.axis=i&&i[1]?i[1]:"se"}});if(j.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){c(this).removeClass("ui-resizable-autohide");e._handles.show()},function(){if(!e.resizing){c(this).addClass("ui-resizable-autohide");e._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var d=function(f){c(f).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){d(this.element);var e=this.element;e.parent().append(this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")})).end().remove()}this.originalElement.css("resize",this.originalResizeStyle);d(this.originalElement)},_mouseCapture:function(e){var f=false;for(var d in this.handles){if(c(this.handles[d])[0]==e.target){f=true}}return this.options.disabled||!!f},_mouseStart:function(f){var i=this.options,e=this.element.position(),d=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(d.is(".ui-draggable")||(/absolute/).test(d.css("position"))){d.css({position:"absolute",top:e.top,left:e.left})}if(c.browser.opera&&(/relative/).test(d.css("position"))){d.css({position:"relative",top:"auto",left:"auto"})}this._renderProxy();var j=b(this.helper.css("left")),g=b(this.helper.css("top"));if(i.containment){j+=c(i.containment).scrollLeft()||0;g+=c(i.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:j,top:g};this.size=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalPosition={left:j,top:g};this.sizeDiff={width:d.outerWidth()-d.width(),height:d.outerHeight()-d.height()};this.originalMousePosition={left:f.pageX,top:f.pageY};this.aspectRatio=(typeof i.aspectRatio=="number")?i.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var h=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",h=="auto"?this.axis+"-resize":h);d.addClass("ui-resizable-resizing");this._propagate("start",f);return true},_mouseDrag:function(d){var g=this.helper,f=this.options,l={},p=this,i=this.originalMousePosition,m=this.axis;var q=(d.pageX-i.left)||0,n=(d.pageY-i.top)||0;var h=this._change[m];if(!h){return false}var k=h.apply(this,[d,q,n]),j=c.browser.msie&&c.browser.version<7,e=this.sizeDiff;if(this._aspectRatio||d.shiftKey){k=this._updateRatio(k,d)}k=this._respectSize(k,d);this._propagate("resize",d);g.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(k);this._trigger("resize",d,this.ui());return false},_mouseStop:function(g){this.resizing=false;var h=this.options,l=this;if(this._helper){var f=this._proportionallyResizeElements,d=f.length&&(/textarea/i).test(f[0].nodeName),e=d&&c.ui.hasScroll(f[0],"left")?0:l.sizeDiff.height,j=d?0:l.sizeDiff.width;var m={width:(l.size.width-j),height:(l.size.height-e)},i=(parseInt(l.element.css("left"),10)+(l.position.left-l.originalPosition.left))||null,k=(parseInt(l.element.css("top"),10)+(l.position.top-l.originalPosition.top))||null;if(!h.animate){this.element.css(c.extend(m,{top:k,left:i}))}l.helper.height(l.size.height);l.helper.width(l.size.width);if(this._helper&&!h.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",g);if(this._helper){this.helper.remove()}return false},_updateCache:function(d){var e=this.options;this.offset=this.helper.offset();if(a(d.left)){this.position.left=d.left}if(a(d.top)){this.position.top=d.top}if(a(d.height)){this.size.height=d.height}if(a(d.width)){this.size.width=d.width}},_updateRatio:function(g,f){var h=this.options,i=this.position,e=this.size,d=this.axis;if(g.height){g.width=(e.height*this.aspectRatio)}else{if(g.width){g.height=(e.width/this.aspectRatio)}}if(d=="sw"){g.left=i.left+(e.width-g.width);g.top=null}if(d=="nw"){g.top=i.top+(e.height-g.height);g.left=i.left+(e.width-g.width)}return g},_respectSize:function(k,f){var i=this.helper,h=this.options,q=this._aspectRatio||f.shiftKey,p=this.axis,s=a(k.width)&&h.maxWidth&&(h.maxWidthk.width),r=a(k.height)&&h.minHeight&&(h.minHeight>k.height);if(g){k.width=h.minWidth}if(r){k.height=h.minHeight}if(s){k.width=h.maxWidth}if(l){k.height=h.maxHeight}var e=this.originalPosition.left+this.originalSize.width,n=this.position.top+this.size.height;var j=/sw|nw|w/.test(p),d=/nw|ne|n/.test(p);if(g&&j){k.left=e-h.minWidth}if(s&&j){k.left=e-h.maxWidth}if(r&&d){k.top=n-h.minHeight}if(l&&d){k.top=n-h.maxHeight}var m=!k.width&&!k.height;if(m&&!k.left&&k.top){k.top=null}else{if(m&&!k.top&&k.left){k.left=null}}return k},_proportionallyResize:function(){var j=this.options;if(!this._proportionallyResizeElements.length){return}var f=this.helper||this.element;for(var e=0;e');var d=c.browser.msie&&c.browser.version<7,f=(d?1:0),g=(d?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+g,height:this.element.outerHeight()+g,position:"absolute",left:this.elementOffset.left-f+"px",top:this.elementOffset.top-f+"px",zIndex:++h.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(f,e,d){return{width:this.originalSize.width+e}},w:function(g,e,d){var i=this.options,f=this.originalSize,h=this.originalPosition;return{left:h.left+e,width:f.width-e}},n:function(g,e,d){var i=this.options,f=this.originalSize,h=this.originalPosition;return{top:h.top+d,height:f.height-d}},s:function(f,e,d){return{height:this.originalSize.height+d}},se:function(f,e,d){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[f,e,d]))},sw:function(f,e,d){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[f,e,d]))},ne:function(f,e,d){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[f,e,d]))},nw:function(f,e,d){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[f,e,d]))}},_propagate:function(e,d){c.ui.plugin.call(this,e,[d,this.ui()]);(e!="resize"&&this._trigger(e,d,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}));c.extend(c.ui.resizable,{version:"1.7.2",eventPrefix:"resize",defaults:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,cancel:":input,option",containment:false,delay:0,distance:1,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000}});c.ui.plugin.add("resizable","alsoResize",{start:function(e,f){var d=c(this).data("resizable"),g=d.options;_store=function(h){c(h).each(function(){c(this).data("resizable-alsoresize",{width:parseInt(c(this).width(),10),height:parseInt(c(this).height(),10),left:parseInt(c(this).css("left"),10),top:parseInt(c(this).css("top"),10)})})};if(typeof(g.alsoResize)=="object"&&!g.alsoResize.parentNode){if(g.alsoResize.length){g.alsoResize=g.alsoResize[0];_store(g.alsoResize)}else{c.each(g.alsoResize,function(h,i){_store(h)})}}else{_store(g.alsoResize)}},resize:function(f,h){var e=c(this).data("resizable"),i=e.options,g=e.originalSize,k=e.originalPosition;var j={height:(e.size.height-g.height)||0,width:(e.size.width-g.width)||0,top:(e.position.top-k.top)||0,left:(e.position.left-k.left)||0},d=function(l,m){c(l).each(function(){var p=c(this),q=c(this).data("resizable-alsoresize"),o={},n=m&&m.length?m:["width","height","top","left"];c.each(n||["width","height","top","left"],function(r,t){var s=(q[t]||0)+(j[t]||0);if(s&&s>=0){o[t]=s||null}});if(/relative/.test(p.css("position"))&&c.browser.opera){e._revertToRelativePosition=true;p.css({position:"absolute",top:"auto",left:"auto"})}p.css(o)})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.nodeType){c.each(i.alsoResize,function(l,m){d(l,m)})}else{d(i.alsoResize)}},stop:function(e,f){var d=c(this).data("resizable");if(d._revertToRelativePosition&&c.browser.opera){d._revertToRelativePosition=false;el.css({position:"relative"})}c(this).removeData("resizable-alsoresize-start")}});c.ui.plugin.add("resizable","animate",{stop:function(h,m){var n=c(this).data("resizable"),i=n.options;var g=n._proportionallyResizeElements,d=g.length&&(/textarea/i).test(g[0].nodeName),e=d&&c.ui.hasScroll(g[0],"left")?0:n.sizeDiff.height,k=d?0:n.sizeDiff.width;var f={width:(n.size.width-k),height:(n.size.height-e)},j=(parseInt(n.element.css("left"),10)+(n.position.left-n.originalPosition.left))||null,l=(parseInt(n.element.css("top"),10)+(n.position.top-n.originalPosition.top))||null;n.element.animate(c.extend(f,l&&j?{top:l,left:j}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var o={width:parseInt(n.element.css("width"),10),height:parseInt(n.element.css("height"),10),top:parseInt(n.element.css("top"),10),left:parseInt(n.element.css("left"),10)};if(g&&g.length){c(g[0]).css({width:o.width,height:o.height})}n._updateCache(o);n._propagate("resize",h)}})}});c.ui.plugin.add("resizable","containment",{start:function(e,q){var s=c(this).data("resizable"),i=s.options,k=s.element;var f=i.containment,j=(f instanceof c)?f.get(0):(/parent/.test(f))?k.parent().get(0):f;if(!j){return}s.containerElement=c(j);if(/document/.test(f)||f==document){s.containerOffset={left:0,top:0};s.containerPosition={left:0,top:0};s.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var m=c(j),h=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){h[p]=b(m.css("padding"+o))});s.containerOffset=m.offset();s.containerPosition=m.position();s.containerSize={height:(m.innerHeight()-h[3]),width:(m.innerWidth()-h[1])};var n=s.containerOffset,d=s.containerSize.height,l=s.containerSize.width,g=(c.ui.hasScroll(j,"left")?j.scrollWidth:l),r=(c.ui.hasScroll(j)?j.scrollHeight:d);s.parentData={element:j,left:n.left,top:n.top,width:g,height:r}}},resize:function(f,p){var s=c(this).data("resizable"),h=s.options,e=s.containerSize,n=s.containerOffset,l=s.size,m=s.position,q=s._aspectRatio||f.shiftKey,d={top:0,left:0},g=s.containerElement;if(g[0]!=document&&(/static/).test(g.css("position"))){d=n}if(m.left<(s._helper?n.left:0)){s.size.width=s.size.width+(s._helper?(s.position.left-n.left):(s.position.left-d.left));if(q){s.size.height=s.size.width/h.aspectRatio}s.position.left=h.helper?n.left:0}if(m.top<(s._helper?n.top:0)) -{s.size.height=s.size.height+(s._helper?(s.position.top-n.top):s.position.top);if(q){s.size.width=s.size.height*h.aspectRatio}s.position.top=s._helper?n.top:0}s.offset.left=s.parentData.left+s.position.left;s.offset.top=s.parentData.top+s.position.top;var k=Math.abs((s._helper?s.offset.left-d.left:(s.offset.left-d.left))+s.sizeDiff.width),r=Math.abs((s._helper?s.offset.top-d.top:(s.offset.top-n.top))+s.sizeDiff.height);var j=s.containerElement.get(0)==s.element.parent().get(0),i=/relative|absolute/.test(s.containerElement.css("position"));if(j&&i){k-=s.parentData.left}if(k+s.size.width>=s.parentData.width){s.size.width=s.parentData.width-k;if(q){s.size.height=s.size.width/s.aspectRatio}}if(r+s.size.height>=s.parentData.height){s.size.height=s.parentData.height-r;if(q){s.size.width=s.size.height*s.aspectRatio}}},stop:function(e,m){var p=c(this).data("resizable"),f=p.options,k=p.position,l=p.containerOffset,d=p.containerPosition,g=p.containerElement;var i=c(p.helper),q=i.offset(),n=i.outerWidth()-p.sizeDiff.width,j=i.outerHeight()-p.sizeDiff.height;if(p._helper&&!f.animate&&(/relative/).test(g.css("position"))){c(this).css({left:q.left-d.left-l.left,width:n,height:j})}if(p._helper&&!f.animate&&(/static/).test(g.css("position"))){c(this).css({left:q.left-d.left-l.left,width:n,height:j})}}});c.ui.plugin.add("resizable","ghost",{start:function(f,g){var d=c(this).data("resizable"),h=d.options,e=d.size;d.ghost=d.originalElement.clone();d.ghost.css({opacity:0.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof h.ghost=="string"?h.ghost:"");d.ghost.appendTo(d.helper)},resize:function(e,f){var d=c(this).data("resizable"),g=d.options;if(d.ghost){d.ghost.css({position:"relative",height:d.size.height,width:d.size.width})}},stop:function(e,f){var d=c(this).data("resizable"),g=d.options;if(d.ghost&&d.helper){d.helper.get(0).removeChild(d.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(d,l){var n=c(this).data("resizable"),g=n.options,j=n.size,h=n.originalSize,i=n.originalPosition,m=n.axis,k=g._aspectRatio||d.shiftKey;g.grid=typeof g.grid=="number"?[g.grid,g.grid]:g.grid;var f=Math.round((j.width-h.width)/(g.grid[0]||1))*(g.grid[0]||1),e=Math.round((j.height-h.height)/(g.grid[1]||1))*(g.grid[1]||1);if(/^(se|s|e)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e}else{if(/^(ne)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e;n.position.top=i.top-e}else{if(/^(sw)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e;n.position.left=i.left-f}else{n.size.width=h.width+f;n.size.height=h.height+e;n.position.top=i.top-e;n.position.left=i.left-f}}}}});var b=function(d){return parseInt(d,10)||0};var a=function(d){return !isNaN(parseInt(d,10))}})(jQuery);; -/** - * jQuery.ScrollTo - Easy element scrolling using jQuery. - * Copyright (c) 2008 Ariel Flesler - aflesler(at)gmail(dot)com - * Licensed under GPL license (http://www.opensource.org/licenses/gpl-license.php). - * Date: 2/8/2008 - * @author Ariel Flesler - * @version 1.3.2 - */ -;(function($){var o=$.scrollTo=function(a,b,c){o.window().scrollTo(a,b,c)};o.defaults={axis:'y',duration:1};o.window=function(){return $($.browser.safari?'body':'html')};$.fn.scrollTo=function(l,m,n){if(typeof m=='object'){n=m;m=0}n=$.extend({},o.defaults,n);m=m||n.speed||n.duration;n.queue=n.queue&&n.axis.length>1;if(n.queue)m/=2;n.offset=j(n.offset);n.over=j(n.over);return this.each(function(){var a=this,b=$(a),t=l,c,d={},w=b.is('html,body');switch(typeof t){case'number':case'string':if(/^([+-]=)?\d+(px)?$/.test(t)){t=j(t);break}t=$(t,this);case'object':if(t.is||t.style)c=(t=$(t)).offset()}$.each(n.axis.split(''),function(i,f){var P=f=='x'?'Left':'Top',p=P.toLowerCase(),k='scroll'+P,e=a[k],D=f=='x'?'Width':'Height';if(c){d[k]=c[p]+(w?0:e-b.offset()[p]);if(n.margin){d[k]-=parseInt(t.css('margin'+P))||0;d[k]-=parseInt(t.css('border'+P+'Width'))||0}d[k]+=n.offset[p]||0;if(n.over[p])d[k]+=t[D.toLowerCase()]()*n.over[p]}else d[k]=t[p];if(/^\d+$/.test(d[k]))d[k]=d[k]<=0?0:Math.min(d[k],h(D));if(!i&&n.queue){if(e!=d[k])g(n.onAfterFirst);delete d[k]}});g(n.onAfter);function g(a){b.animate(d,m,n.easing,a&&function(){a.call(this,l)})};function h(D){var b=w?$.browser.opera?document.body:document.documentElement:a;return b['scroll'+D]-b['client'+D]}})};function j(a){return typeof a=='object'?a:{top:a,left:a}}})(jQuery); - diff --git a/doxygen/html/namespacecmd2.html b/doxygen/html/namespacecmd2.html deleted file mode 100644 index 7e27756..0000000 --- a/doxygen/html/namespacecmd2.html +++ /dev/null @@ -1,771 +0,0 @@ - - - - -Cmd2: cmd2 Namespace Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
cmd2 Namespace Reference
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Classes

class  Borg
class  Cmd
class  Cmd2TestCase
class  EmbeddedConsoleExit
class  EmptyStatement
class  History
class  HistoryItem
class  NotSettableError
class  OptionParser
class  OutputTrap
class  ParsedString
class  PasteBufferError
class  Statekeeper
class  StubbornDict

-Functions

def _attr_get_
def cast
def get_paste_buffer
def get_paste_buffer
def ljust
def options
def remaining_args
def replace_with_file_contents
def stubbornDict
def write_to_paste_buffer

-Variables

string __version__ = '0.6.4'
 can_clip = False
list options_defined = []
string pastebufferr
string teststring = 'Testing for presence of xclip.'
 write_to_paste_buffer = get_paste_buffer
tuple xclipproc = subprocess.Popen('xclip -sel clip', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE)
-

Detailed Description

-
Variant on standard library's cmd with extra features.
-
-To use, simply import cmd2.Cmd instead of cmd.Cmd; use precisely as though you
-were using the standard library's cmd, while enjoying the extra features.
-
-Searchable command history (commands: "hi", "li", "run")
-Load commands from file, save to file, edit commands in file
-Multi-line commands
-Case-insensitive commands
-Special-character shortcut commands (beyond cmd's "@" and "!")
-Settable environment parameters
-Optional _onchange_{paramname} called when environment parameter changes
-Parsing commands with `optparse` options (flags)
-Redirection to file with >, >>; input from file with <
-Easy transcript-based testing of applications (see example/example.py)
-Bash-style ``select`` available
-
-Note that redirection with > and | will only work if `self.stdout.write()`
-is used in place of `print`.  The standard library's `cmd` module is 
-written to use `self.stdout.write()`, 
-
-- Catherine Devlin, Jan 03 2008 - catherinedevlin.blogspot.com
-
-mercurial repository at http://www.assembla.com/wiki/show/python-cmd2
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::_attr_get_ ( obj,
 attr 
) [private]
-
-
-
Returns an attribute's value, or None (no error) if undefined.
-   Analagous to .get() for dictionaries.  Useful when checking for
-   value of options that may not have been defined on a given
-   method.
-

Definition at line 98 of file cmd2.py.

-
00098 
-00099 def _attr_get_(obj, attr):
-00100     '''Returns an attribute's value, or None (no error) if undefined.
-00101        Analagous to .get() for dictionaries.  Useful when checking for
-00102        value of options that may not have been defined on a given
-00103        method.'''
-00104     try:
-00105         return getattr(obj, attr)
-00106     except AttributeError:
-00107         return None
-00108     
-00109 optparse.Values.get = _attr_get_
-    
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::cast ( current,
 new 
)
-
-
-
Tries to force a new value into the same type as the current.
-

Definition at line 1412 of file cmd2.py.

- -

Referenced by cmd2::Cmd::do_set().

-
01412 
-01413 def cast(current, new):
-01414     """Tries to force a new value into the same type as the current."""
-01415     typ = type(current)
-01416     if typ == bool:
-01417         try:
-01418             return bool(int(new))
-01419         except (ValueError, TypeError):
-01420             pass
-01421         try:
-01422             new = new.lower()    
-01423         except:
-01424             pass
-01425         if (new=='on') or (new[0] in ('y','t')):
-01426             return True
-01427         if (new=='off') or (new[0] in ('n','f')):
-01428             return False
-01429     else:
-01430         try:
-01431             return typ(new)
-01432         except:
-01433             pass
-01434     print ("Problem setting parameter (now %s) to %s; incorrect type?" % (current, new))
-01435     return current
-        
-
-
-
- -
-
- - - - - - - -
def cmd2::get_paste_buffer ()
-
-
- -

Definition at line 184 of file cmd2.py.

- -

Referenced by get_paste_buffer(), cmd2::Cmd::redirect_output(), and replace_with_file_contents().

-
00184 
-00185         def get_paste_buffer():
-00186             win32clipboard.OpenClipboard(0)
-00187             try:
-00188                 result = win32clipboard.GetClipboardData()
-00189             except TypeError:
-00190                 result = ''  #non-text
-00191             win32clipboard.CloseClipboard()
-            return result            
-
-
-
- -
-
- - - - - - - - -
def cmd2::get_paste_buffer ( args)
-
-
- -

Definition at line 198 of file cmd2.py.

- -

References get_paste_buffer().

-
00198 
-00199         def get_paste_buffer(*args):
-            raise OSError, pastebufferr % ('pywin32', 'Download from http://sourceforge.net/projects/pywin32/')
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def cmd2::ljust ( x,
 width,
 fillchar = ' ' 
)
-
-
- -

Definition at line 352 of file cmd2.py.

- -

Referenced by cmd2::Cmd::do_show().

-
00352 
-00353 def ljust(x, width, fillchar=' '):
-00354     'analogous to str.ljust, but works for lists'
-00355     if hasattr(x, 'ljust'):
-00356         return x.ljust(width, fillchar)
-00357     else:
-00358         if len(x) < width:
-00359             x = (x + [fillchar] * width)[:width]
-00360         return x
-    
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::options ( option_list,
 arg_desc = "arg" 
)
-
-
-
Used as a decorator and passed a list of optparse-style options,
-   alters a cmd2 method to populate its ``opts`` argument from its
-   raw text argument.
-
-   Example: transform
-   def do_something(self, arg):
-
-   into
-   @options([make_option('-q', '--quick', action="store_true",
-             help="Makes things fast")],
-             "source dest")
-   def do_something(self, arg, opts):
-       if opts.quick:
-           self.fast_button = True
-   
-

Definition at line 112 of file cmd2.py.

- -

References remaining_args().

- -

Referenced by cmd2::Cmd::do_py(), pirate8::Pirate::do_sing(), and cmd2::Cmd::select().

-
00112 
-00113 def options(option_list, arg_desc="arg"):
-00114     '''Used as a decorator and passed a list of optparse-style options,
-00115        alters a cmd2 method to populate its ``opts`` argument from its
-00116        raw text argument.
-00117 
-00118        Example: transform
-00119        def do_something(self, arg):
-00120 
-00121        into
-00122        @options([make_option('-q', '--quick', action="store_true",
-00123                  help="Makes things fast")],
-00124                  "source dest")
-00125        def do_something(self, arg, opts):
-00126            if opts.quick:
-00127                self.fast_button = True
-00128        '''
-00129     if not isinstance(option_list, list):
-00130         option_list = [option_list]
-00131     for opt in option_list:
-00132         options_defined.append(pyparsing.Literal(opt.get_opt_string()))
-00133     def option_setup(func):
-00134         optionParser = OptionParser()
-00135         for opt in option_list:
-00136             optionParser.add_option(opt)
-00137         optionParser.set_usage("%s [options] %s" % (func.__name__[3:], arg_desc))
-00138         optionParser._func = func
-00139         def new_func(instance, arg):
-00140             try:
-00141                 opts, newArgList = optionParser.parse_args(arg.split())
-00142                 # Must find the remaining args in the original argument list, but 
-00143                 # mustn't include the command itself
-00144                 #if hasattr(arg, 'parsed') and newArgList[0] == arg.parsed.command:
-00145                 #    newArgList = newArgList[1:]
-00146                 newArgs = remaining_args(arg, newArgList)
-00147                 if isinstance(arg, ParsedString):
-00148                     arg = arg.with_args_replaced(newArgs)
-00149                 else:
-00150                     arg = newArgs
-00151             except optparse.OptParseError, e:
-00152                 print (e)
-00153                 optionParser.print_help()
-00154                 return
-00155             if hasattr(opts, '_exit'):
-00156                 return None
-00157             result = func(instance, arg, opts)                            
-00158             return result        
-00159         new_func.__doc__ = '%s\n%s' % (func.__doc__, optionParser.format_help())
-00160         return new_func
-00161     return option_setup
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::remaining_args ( oldArgs,
 newArgList 
)
-
-
-
-Preserves the spacing originally in the argument after
-the removal of options.
-
->>> remaining_args('-f bar   bar   cow', ['bar', 'cow'])
-'bar   cow'
-
-

Definition at line 86 of file cmd2.py.

- -

Referenced by options().

-
00086 
-00087 def remaining_args(oldArgs, newArgList):
-00088     '''
-00089     Preserves the spacing originally in the argument after
-00090     the removal of options.
-00091     
-00092     >>> remaining_args('-f bar   bar   cow', ['bar', 'cow'])
-00093     'bar   cow'
-00094     '''
-00095     pattern = '\s+'.join(re.escape(a) for a in newArgList) + '\s*$'
-00096     matchObj = re.search(pattern, oldArgs)
-00097     return oldArgs[matchObj.start():]
-   
-
-
-
- -
-
- - - - - - - - -
def cmd2::replace_with_file_contents ( fname)
-
-
- -

Definition at line 336 of file cmd2.py.

- -

References get_paste_buffer().

-
00336 
-00337 def replace_with_file_contents(fname):
-00338     if fname:
-00339         try:
-00340             result = open(os.path.expanduser(fname[0])).read()
-00341         except IOError:
-00342             result = '< %s' % fname[0]  # wasn't a file after all
-00343     else:
-00344         result = get_paste_buffer()
-00345     return result      
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def cmd2::stubbornDict ( arg,
 kwarg 
)
-
-
-
->>> sorted(stubbornDict('cow a bovine\\nhorse an equine').items())
-[('cow', 'a bovine'), ('horse', 'an equine')]
->>> sorted(stubbornDict(['badger', 'porcupine a poky creature']).items())
-[('badger', ''), ('porcupine', 'a poky creature')]
->>> sorted(stubbornDict(turtle='has shell', frog='jumpy').items())
-[('frog', 'jumpy'), ('turtle', 'has shell')]
-
-

Definition at line 321 of file cmd2.py.

- -

Referenced by cmd2::StubbornDict::__add__(), and cmd2::StubbornDict::__radd__().

-
00321 
-00322 def stubbornDict(*arg, **kwarg):
-00323     '''
-00324     >>> sorted(stubbornDict('cow a bovine\\nhorse an equine').items())
-00325     [('cow', 'a bovine'), ('horse', 'an equine')]
-00326     >>> sorted(stubbornDict(['badger', 'porcupine a poky creature']).items())
-00327     [('badger', ''), ('porcupine', 'a poky creature')]
-00328     >>> sorted(stubbornDict(turtle='has shell', frog='jumpy').items())
-00329     [('frog', 'jumpy'), ('turtle', 'has shell')]
-00330     '''
-00331     result = {}
-00332     for a in arg:
-00333         result.update(StubbornDict.to_dict(a))
-00334     result.update(kwarg)                      
-00335     return StubbornDict(result)
-        
-
-
-
- -
-
- - - - - - - - -
def cmd2::write_to_paste_buffer ( txt)
-
-
- -

Definition at line 192 of file cmd2.py.

- -

References write_to_paste_buffer.

-
00192 
-00193         def write_to_paste_buffer(txt):
-00194             win32clipboard.OpenClipboard(0)
-00195             win32clipboard.EmptyClipboard()
-00196             win32clipboard.SetClipboardText(txt)
-            win32clipboard.CloseClipboard()        
-
-
-
-

Variable Documentation

- -
-
- - - - -
string cmd2::__version__ = '0.6.4'
-
-
- -

Definition at line 45 of file cmd2.py.

- -
-
- -
-
- - - - -
cmd2::can_clip = False
-
-
- -

Definition at line 202 of file cmd2.py.

- -
-
- -
-
- - - - -
list cmd2::options_defined = []
-
-
- -

Definition at line 110 of file cmd2.py.

- -
-
- -
-
- - - - -
string cmd2::pastebufferr
-
-
-Initial value:
00001 """Redirecting to or from paste buffer requires %s
-00002 to be installed on operating system.
-00003 %s"""
-
-

Definition at line 177 of file cmd2.py.

- -
-
- -
-
- - - - -
string cmd2::teststring = 'Testing for presence of xclip.'
-
-
- -

Definition at line 227 of file cmd2.py.

- -
-
- -
-
- - - - -
def cmd2::write_to_paste_buffer = get_paste_buffer
-
-
- -

Definition at line 200 of file cmd2.py.

- -

Referenced by cmd2::Cmd::restore_output(), and write_to_paste_buffer().

- -
-
- -
-
- - - - -
tuple cmd2::xclipproc = subprocess.Popen('xclip -sel clip', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE)
-
-
- -

Definition at line 228 of file cmd2.py.

- -
-
-
-
- - - - - diff --git a/doxygen/html/namespaceconf.html b/doxygen/html/namespaceconf.html deleted file mode 100644 index 62bb627..0000000 --- a/doxygen/html/namespaceconf.html +++ /dev/null @@ -1,380 +0,0 @@ - - - - -Cmd2: conf Namespace Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
conf Namespace Reference
-
-
- - - - - - - - - - - - - - - - - -

-Variables

string copyright = u'2010, Catherine Devlin'
list exclude_trees = ['_build']
list extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo']
list html_static_path = ['_static']
string html_theme = 'default'
string htmlhelp_basename = 'cmd2doc'
dictionary intersphinx_mapping = {'http://docs.python.org/': None}
list latex_documents
string master_doc = 'index'
string project = u'cmd2'
string pygments_style = 'sphinx'
string release = '0.6.0'
string source_suffix = '.rst'
list templates_path = ['_templates']
string version = '0.6.0'
-

Variable Documentation

- -
-
- - - - -
string conf::copyright = u'2010, Catherine Devlin'
-
-
- -

Definition at line 41 of file conf.py.

- -
-
- -
-
- - - - -
list conf::exclude_trees = ['_build']
-
-
- -

Definition at line 67 of file conf.py.

- -
-
- -
-
- - - - -
list conf::extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo']
-
-
- -

Definition at line 25 of file conf.py.

- -
-
- -
-
- - - - -
list conf::html_static_path = ['_static']
-
-
- -

Definition at line 123 of file conf.py.

- -
-
- -
-
- - - - -
string conf::html_theme = 'default'
-
-
- -

Definition at line 94 of file conf.py.

- -
-
- -
-
- - - - -
string conf::htmlhelp_basename = 'cmd2doc'
-
-
- -

Definition at line 161 of file conf.py.

- -
-
- -
-
- - - - -
dictionary conf::intersphinx_mapping = {'http://docs.python.org/': None}
-
-
- -

Definition at line 198 of file conf.py.

- -
-
- -
-
- - - - -
list conf::latex_documents
-
-
-Initial value:
00001 [
-00002   ('index', 'cmd2.tex', u'cmd2 Documentation',
-00003    u'Catherine Devlin', 'manual'),
-00004 ]
-
-

Definition at line 174 of file conf.py.

- -
-
- -
-
- - - - -
string conf::master_doc = 'index'
-
-
- -

Definition at line 37 of file conf.py.

- -
-
- -
-
- - - - -
string conf::project = u'cmd2'
-
-
- -

Definition at line 40 of file conf.py.

- -
-
- -
-
- - - - -
string conf::pygments_style = 'sphinx'
-
-
- -

Definition at line 84 of file conf.py.

- -
-
- -
-
- - - - -
string conf::release = '0.6.0'
-
-
- -

Definition at line 50 of file conf.py.

- -
-
- -
-
- - - - -
string conf::source_suffix = '.rst'
-
-
- -

Definition at line 31 of file conf.py.

- -
-
- -
-
- - - - -
list conf::templates_path = ['_templates']
-
-
- -

Definition at line 28 of file conf.py.

- -
-
- -
-
- - - - -
string conf::version = '0.6.0'
-
-
- -

Definition at line 48 of file conf.py.

- -
-
-
-
- - - - - diff --git a/doxygen/html/namespaceexample.html b/doxygen/html/namespaceexample.html deleted file mode 100644 index fbe863a..0000000 --- a/doxygen/html/namespaceexample.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - -Cmd2: example Namespace Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
example Namespace Reference
-
-
- - - - - -

-Classes

class  CmdLineApp

-Variables

tuple c = CmdLineApp()
-

Detailed Description

-
A sample application for cmd2.

Variable Documentation

- -
-
- - - - -
tuple example::c = CmdLineApp()
-
-
- -

Definition at line 34 of file example.py.

- -
-
-
-
- - - - - diff --git a/doxygen/html/namespacefileutil.html b/doxygen/html/namespacefileutil.html deleted file mode 100644 index 16515ec..0000000 --- a/doxygen/html/namespacefileutil.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - -Cmd2: fileutil Namespace Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
fileutil Namespace Reference
-
-
- - - -

-Variables

tuple stats = os.stat(fullfilename)
-

Variable Documentation

- -
-
- - - - -
tuple fileutil::stats = os.stat(fullfilename)
-
-
- -

Definition at line 6 of file fileutil.py.

- -
-
-
-
- - - - - diff --git a/doxygen/html/namespacegraph.html b/doxygen/html/namespacegraph.html deleted file mode 100644 index 75351eb..0000000 --- a/doxygen/html/namespacegraph.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - -Cmd2: graph Namespace Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
graph Namespace Reference
-
-
- - - - - -

-Functions

def label
def line
def tech
-

Function Documentation

- -
-
- - - - - - - - -
def graph::label ( txt)
-
-
- -

Definition at line 5 of file graph.py.

- -

Referenced by line().

-
00005 
-00006 def label(txt):
-00007     write(txt, font=('Arial', 20, 'italic'))
-00008 hideturtle()
-00009 width(6)
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def graph::line ( len,
 _label 
)
-
-
- -

Definition at line 10 of file graph.py.

- -

References label().

- -

Referenced by tech().

-
00010 
-00011 def line(len, _label):
-00012     start = pos()
-00013     pd()
-00014     forward(len)
-00015     pu()
-00016     forward(30)
-00017     pd()
-00018     label(_label)
-00019     pu()
-00020     goto(start)
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def graph::tech ( x,
 y,
 _label 
)
-
-
- -

Definition at line 21 of file graph.py.

- -

References line().

-
00021 
-00022 def tech(x, y, _label):
-00023     pu()
-00024     goto(x, y)
-00025     pd()
-00026     write(_label, font=('Arial', 40, 'bold'))
-00027     pu()
-00028     
-00029 line(600, "Easy to write")
-00030 left(90)
-00031 line(600, "Easy to use")
-00032 
-00033 tech(-360, 160, 'GUI')
-00034 tech(-390, 100, 'AJAX')
-00035 tech(-300, -10, 'webapp')
-00036 tech(190, -380, 'CLU')
-00037 tech(60, -320, 'TUI')
-00038 tech(100, -210, 'cmd')
-00039 tech(80, -80, 'cmd2')
-
-
-
-
-
-
- - - - - diff --git a/doxygen/html/namespaceignoreBug.html b/doxygen/html/namespaceignoreBug.html deleted file mode 100644 index 6ee8d3b..0000000 --- a/doxygen/html/namespaceignoreBug.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - -Cmd2: ignoreBug Namespace Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
ignoreBug Namespace Reference
-
-
- - - - -

-Variables

tuple parser = Word(printables)
string teststr = 'please /* ignoreme: | oops */ findme: | kthx'
-

Variable Documentation

- -
-
- - - - -
tuple ignoreBug::parser = Word(printables)
-
-
- -

Definition at line 4 of file ignoreBug.py.

- -
-
- -
-
- - - - -
string ignoreBug::teststr = 'please /* ignoreme: | oops */ findme: | kthx'
-
-
- -

Definition at line 3 of file ignoreBug.py.

- -
-
-
-
- - - - - diff --git a/doxygen/html/namespaceignore_bug.html b/doxygen/html/namespaceignore_bug.html deleted file mode 100644 index 347debc..0000000 --- a/doxygen/html/namespaceignore_bug.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - -Cmd2: ignoreBug Namespace Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
ignoreBug Namespace Reference
-
-
- - - - -

-Variables

string teststr = 'please /* ignoreme: | oops */ findme: | kthx'
tuple parser = Word(printables)
-

Variable Documentation

- -
-
- - - - -
tuple ignoreBug::parser = Word(printables)
-
-
- -

Definition at line 4 of file ignoreBug.py.

- -
-
- -
-
- - - - -
string ignoreBug::teststr = 'please /* ignoreme: | oops */ findme: | kthx'
-
-
- -

Definition at line 3 of file ignoreBug.py.

- -
-
-
-
- - - - - diff --git a/doxygen/html/namespacemembers.html b/doxygen/html/namespacemembers.html deleted file mode 100644 index 357cdb1..0000000 --- a/doxygen/html/namespacemembers.html +++ /dev/null @@ -1,412 +0,0 @@ - - - - -Cmd2: Package Functions - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-
Here is a list of all namespace members with links to the namespace documentation for each member:
- -

- _ -

    -
  • __version__ -: cmd2 -
  • -
  • _attr_get_() -: cmd2 -
  • -
- - -

- a -

- - -

- c -

- - -

- d -

    -
  • description -: setup -
  • -
- - -

- e -

    -
  • exclude_trees -: conf -
  • -
  • extensions -: conf -
  • -
- - -

- f -

    -
  • find_packages() -: setup -
  • -
- - -

- g -

    -
  • get_paste_buffer() -: cmd2 -
  • -
- - -

- h -

    -
  • html_static_path -: conf -
  • -
  • html_theme -: conf -
  • -
  • htmlhelp_basename -: conf -
  • -
- - -

- i -

    -
  • install_requires -: setup -
  • -
  • intersphinx_mapping -: conf -
  • -
- - -

- k -

- - -

- l -

- - -

- m -

    -
  • master_doc -: conf -
  • -
- - -

- n -

- - -

- o -

    -
  • options() -: cmd2 -
  • -
  • options_defined -: cmd2 -
  • -
- - -

- p -

- - -

- r -

    -
  • rectangle() -: schematic -
  • -
  • release -: conf -
  • -
  • remaining_args() -: cmd2 -
  • -
  • replace_with_file_contents() -: cmd2 -
  • -
- - -

- s -

- - -

- t -

- - -

- u -

- - -

- v -

- - -

- w -

    -
  • write_to_paste_buffer -: cmd2 -
  • -
- - -

- x -

    -
  • xclipproc -: cmd2 -
  • -
-
-
- - - - - diff --git a/doxygen/html/namespacemembers_func.html b/doxygen/html/namespacemembers_func.html deleted file mode 100644 index ee6add6..0000000 --- a/doxygen/html/namespacemembers_func.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - -Cmd2: Package Functions - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - -
-
- -
-
-
- -
-
    -
  • _attr_get_() -: cmd2 -
  • -
  • cast() -: cmd2 -
  • -
  • find_packages() -: setup -
  • -
  • get_paste_buffer() -: cmd2 -
  • -
  • label() -: graph -
  • -
  • line() -: graph -
  • -
  • ljust() -: cmd2 -
  • -
  • options() -: cmd2 -
  • -
  • rectangle() -: schematic -
  • -
  • remaining_args() -: cmd2 -
  • -
  • replace_with_file_contents() -: cmd2 -
  • -
  • stubbornDict() -: cmd2 -
  • -
  • tech() -: graph -
  • -
  • write_to_paste_buffer() -: cmd2 -
  • -
-
-
- - - - - diff --git a/doxygen/html/namespacemembers_vars.html b/doxygen/html/namespacemembers_vars.html deleted file mode 100644 index a62daa6..0000000 --- a/doxygen/html/namespacemembers_vars.html +++ /dev/null @@ -1,363 +0,0 @@ - - - - -Cmd2: Package Functions - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - - - -
-
- -
-
-
- -
-
-  - -

- _ -

    -
  • __version__ -: cmd2 -
  • -
- - -

- a -

- - -

- c -

- - -

- d -

    -
  • description -: setup -
  • -
- - -

- e -

    -
  • exclude_trees -: conf -
  • -
  • extensions -: conf -
  • -
- - -

- h -

    -
  • html_static_path -: conf -
  • -
  • html_theme -: conf -
  • -
  • htmlhelp_basename -: conf -
  • -
- - -

- i -

    -
  • install_requires -: setup -
  • -
  • intersphinx_mapping -: conf -
  • -
- - -

- k -

- - -

- l -

    -
  • latex_documents -: conf -
  • -
  • license -: setup -
  • -
  • long_description -: setup -
  • -
- - -

- m -

    -
  • master_doc -: conf -
  • -
- - -

- n -

- - -

- o -

    -
  • options_defined -: cmd2 -
  • -
- - -

- p -

- - -

- r -

    -
  • release -: conf -
  • -
- - -

- s -

- - -

- t -

- - -

- u -

- - -

- v -

- - -

- w -

    -
  • write_to_paste_buffer -: cmd2 -
  • -
- - -

- x -

    -
  • xclipproc -: cmd2 -
  • -
-
-
- - - - - diff --git a/doxygen/html/namespacepirate.html b/doxygen/html/namespacepirate.html deleted file mode 100644 index e582c3e..0000000 --- a/doxygen/html/namespacepirate.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - -Cmd2: pirate Namespace Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate Namespace Reference
-
-
- - - - - -

-Classes

class  Pirate

-Variables

tuple pirate = Pirate()
-

Variable Documentation

- -
-
- - - - -
tuple pirate::pirate = Pirate()
-
-
- -

Definition at line 6 of file pirate.py.

- -
-
-
-
- - - - - diff --git a/doxygen/html/namespacepirate2.html b/doxygen/html/namespacepirate2.html deleted file mode 100644 index 9ac335e..0000000 --- a/doxygen/html/namespacepirate2.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - -Cmd2: pirate2 Namespace Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate2 Namespace Reference
-
-
- - - - - -

-Classes

class  Pirate

-Variables

tuple pirate = Pirate()
-

Variable Documentation

- -
-
- - - - -
tuple pirate2::pirate = Pirate()
-
-
- -

Definition at line 17 of file pirate2.py.

- -
-
-
-
- - - - - diff --git a/doxygen/html/namespacepirate3.html b/doxygen/html/namespacepirate3.html deleted file mode 100644 index ae7737a..0000000 --- a/doxygen/html/namespacepirate3.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - -Cmd2: pirate3 Namespace Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate3 Namespace Reference
-
-
- - - - - -

-Classes

class  Pirate

-Variables

tuple pirate = Pirate()
-

Variable Documentation

- -
-
- - - - -
tuple pirate3::pirate = Pirate()
-
-
- -

Definition at line 20 of file pirate3.py.

- -
-
-
-
- - - - - diff --git a/doxygen/html/namespacepirate4.html b/doxygen/html/namespacepirate4.html deleted file mode 100644 index 911cc26..0000000 --- a/doxygen/html/namespacepirate4.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - -Cmd2: pirate4 Namespace Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate4 Namespace Reference
-
-
- - - - - -

-Classes

class  Pirate

-Variables

tuple pirate = Pirate()
-

Variable Documentation

- -
-
- - - - -
tuple pirate4::pirate = Pirate()
-
-
- -

Definition at line 26 of file pirate4.py.

- -
-
-
-
- - - - - diff --git a/doxygen/html/namespacepirate5.html b/doxygen/html/namespacepirate5.html deleted file mode 100644 index ea391ae..0000000 --- a/doxygen/html/namespacepirate5.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - -Cmd2: pirate5 Namespace Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate5 Namespace Reference
-
-
- - - - - -

-Classes

class  Pirate

-Variables

tuple pirate = Pirate()
-

Variable Documentation

- -
-
- - - - -
tuple pirate5::pirate = Pirate()
-
-
- -

Definition at line 34 of file pirate5.py.

- -
-
-
-
- - - - - diff --git a/doxygen/html/namespacepirate6.html b/doxygen/html/namespacepirate6.html deleted file mode 100644 index f70345f..0000000 --- a/doxygen/html/namespacepirate6.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - -Cmd2: pirate6 Namespace Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate6 Namespace Reference
-
-
- - - - - -

-Classes

class  Pirate

-Variables

tuple pirate = Pirate()
-

Variable Documentation

- -
-
- - - - -
tuple pirate6::pirate = Pirate()
-
-
- -

Definition at line 38 of file pirate6.py.

- -
-
-
-
- - - - - diff --git a/doxygen/html/namespacepirate7.html b/doxygen/html/namespacepirate7.html deleted file mode 100644 index 6ea2a7f..0000000 --- a/doxygen/html/namespacepirate7.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - -Cmd2: pirate7 Namespace Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate7 Namespace Reference
-
-
- - - - - -

-Classes

class  Pirate

-Variables

tuple pirate = Pirate()
-

Variable Documentation

- -
-
- - - - -
tuple pirate7::pirate = Pirate()
-
-
- -

Definition at line 45 of file pirate7.py.

- -
-
-
-
- - - - - diff --git a/doxygen/html/namespacepirate8.html b/doxygen/html/namespacepirate8.html deleted file mode 100644 index bca8e11..0000000 --- a/doxygen/html/namespacepirate8.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - -Cmd2: pirate8 Namespace Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate8 Namespace Reference
-
-
- - - - - -

-Classes

class  Pirate

-Variables

tuple pirate = Pirate()
-

Variable Documentation

- -
-
- - - - -
tuple pirate8::pirate = Pirate()
-
-
- -

Definition at line 56 of file pirate8.py.

- -
-
-
-
- - - - - diff --git a/doxygen/html/namespaces.html b/doxygen/html/namespaces.html deleted file mode 100644 index 3ecfaa0..0000000 --- a/doxygen/html/namespaces.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - -Cmd2: Packages - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
Packages
-
-
-
Here are the packages with brief descriptions (if available):
- - - - - - - - - - - - - - - - -
cmd2
conf
example
fileutil
graph
ignoreBug
pirate
pirate2
pirate3
pirate4
pirate5
pirate6
pirate7
pirate8
schematic
setup
-
-
- - - - - diff --git a/doxygen/html/namespaceschematic.html b/doxygen/html/namespaceschematic.html deleted file mode 100644 index 1705906..0000000 --- a/doxygen/html/namespaceschematic.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - -Cmd2: schematic Namespace Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
schematic Namespace Reference
-
-
- - - - - -

-Functions

def rectangle

-Variables

int pensize = 10
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def schematic::rectangle ( x,
 y,
 _label 
)
-
-
- -

Definition at line 8 of file schematic.py.

-
00008 
-00009 def rectangle(x, y, _label):
-00010     pu()
-00011     seth(0)
-00012     backward(x / 2)
-00013     fontsize = 40
-00014     pd()
-00015     for i in range(2):
-00016         forward(x)
-00017         left(90)
-00018         forward(y)
-00019         left(90)
-00020     pu()
-00021     forward(x / 2)
-00022     left(90)
-00023     forward(y / 2 - fontsize)
-00024     pd()
-00025     write(_label, align='center', font=('Arial', fontsize, 'bold'))    
-00026 
-00027 rectangle(800, 80, 'cmd')
-00028 pu()
-00029 forward(80)
-00030 rectangle(200, 400, 'cmd2')
-
-
-
-
-

Variable Documentation

- -
-
- - - - -
int schematic::pensize = 10
-
-
- -

Definition at line 4 of file schematic.py.

- -
-
-
-
- - - - - diff --git a/doxygen/html/namespacesetup.html b/doxygen/html/namespacesetup.html deleted file mode 100644 index f3412bc..0000000 --- a/doxygen/html/namespacesetup.html +++ /dev/null @@ -1,405 +0,0 @@ - - - - -Cmd2: setup Namespace Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
setup Namespace Reference
-
-
- - - - - - - - - - - - - - - - - -

-Functions

def find_packages

-Variables

string author = 'Catherine Devlin'
string author_email = 'catherine.devlin@gmail.com'
list classifiers
string description = "Extra features for standard library's cmd module"
list install_requires = ['pyparsing>=1.5.6']
string keywords = 'command prompt console cmd'
string license = 'MIT'
string long_description
string name = "cmd2"
list py_modules = ["cmd2"]
string url = 'http://packages.python.org/cmd2/'
 use_2to3 = True,
string version = "0.6.4"
-

Function Documentation

- -
-
- - - - - - - -
def setup::find_packages ()
-
-
- -

Definition at line 6 of file setup.py.

-
00006 
-00007     def find_packages():
-        return ['sqlpython']
-
-
-
-

Variable Documentation

- -
-
- - - - -
string setup::author = 'Catherine Devlin'
-
-
- -

Definition at line 18 of file setup.py.

- -
-
- -
-
- - - - -
string setup::author_email = 'catherine.devlin@gmail.com'
-
-
- -

Definition at line 19 of file setup.py.

- -
-
- -
-
- - - - -
list setup::classifiers
-
-
-Initial value:
00001 [
-00002         'Development Status :: 4 - Beta',
-00003         'Environment :: Console',
-00004         'Operating System :: OS Independent',
-00005         'Intended Audience :: Developers',
-00006         'Intended Audience :: System Administrators',
-00007         'Programming Language :: Python',
-00008         'License :: OSI Approved :: MIT License',
-00009         'Topic :: Software Development :: Libraries :: Python Modules',
-00010     ]
-
-

Definition at line 51 of file setup.py.

- -
-
- -
-
- - - - -
string setup::description = "Extra features for standard library's cmd module"
-
-
- -

Definition at line 20 of file setup.py.

- -
-
- -
-
- - - - -
setup::install_requires = ['pyparsing>=1.5.6']
-
-
- -

Definition at line 10 of file setup.py.

- -
-
- -
-
- - - - -
string setup::keywords = 'command prompt console cmd'
-
-
- -

Definition at line 22 of file setup.py.

- -
-
- -
-
- - - - -
string setup::license = 'MIT'
-
-
- -

Definition at line 21 of file setup.py.

- -
-
- -
-
- - - - -
string setup::long_description
-
-
-Initial value:
00001 """Enhancements for standard library's cmd module.
-00002 
-00003 Drop-in replacement adds several features for command-prompt tools:
-00004 
-00005     * Searchable command history (commands: "hi", "li", "run")
-00006     * Load commands from file, save to file, edit commands in file
-00007     * Multi-line commands
-00008     * Case-insensitive commands
-00009     * Special-character shortcut commands (beyond cmd's "@" and "!")
-00010     * Settable environment parameters
-00011     * Parsing commands with flags
-00012     * > (filename), >> (filename) redirect output to file
-00013     * < (filename) gets input from file
-00014     * bare >, >>, < redirect to/from paste buffer
-00015     * accepts abbreviated commands when unambiguous
-00016     * `py` enters interactive Python console
-00017     * test apps against sample session transcript (see example/example.py)
-00018 
-00019 Useable without modification anywhere cmd is used; simply import cmd2.Cmd in place of cmd.Cmd.
-00020 
-00021 Running `2to3 <http://docs.python.org/library/2to3.html>` against ``cmd2.py`` 
-00022 generates working, Python3-based code.
-00023 
-00024 See docs at http://packages.python.org/cmd2/
-00025 """
-
-

Definition at line 25 of file setup.py.

- -
-
- -
-
- - - - -
string setup::name = "cmd2"
-
-
- -

Definition at line 12 of file setup.py.

- -
-
- -
-
- - - - -
list setup::py_modules = ["cmd2"]
-
-
- -

Definition at line 14 of file setup.py.

- -
-
- -
-
- - - - -
string setup::url = 'http://packages.python.org/cmd2/'
-
-
- -

Definition at line 23 of file setup.py.

- -
-
- -
-
- - - - -
setup::use_2to3 = True,
-
-
- -

Definition at line 15 of file setup.py.

- -
-
- -
-
- - - - -
string setup::version = "0.6.4"
-
-
- -

Definition at line 13 of file setup.py.

- -
-
-
-
- - - - - diff --git a/doxygen/html/nav_f.png b/doxygen/html/nav_f.png deleted file mode 100644 index 1b07a16..0000000 Binary files a/doxygen/html/nav_f.png and /dev/null differ diff --git a/doxygen/html/nav_h.png b/doxygen/html/nav_h.png deleted file mode 100644 index 01f5fa6..0000000 Binary files a/doxygen/html/nav_h.png and /dev/null differ diff --git a/doxygen/html/navtree.css b/doxygen/html/navtree.css deleted file mode 100644 index e46ffcd..0000000 --- a/doxygen/html/navtree.css +++ /dev/null @@ -1,123 +0,0 @@ -#nav-tree .children_ul { - margin:0; - padding:4px; -} - -#nav-tree ul { - list-style:none outside none; - margin:0px; - padding:0px; -} - -#nav-tree li { - white-space:nowrap; - margin:0px; - padding:0px; -} - -#nav-tree .plus { - margin:0px; -} - -#nav-tree .selected { - background-image: url('tab_a.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); -} - -#nav-tree img { - margin:0px; - padding:0px; - border:0px; - vertical-align: middle; -} - -#nav-tree a { - text-decoration:none; - padding:0px; - margin:0px; - outline:none; -} - -#nav-tree .label { - margin:0px; - padding:0px; -} - -#nav-tree .label a { - padding:2px; -} - -#nav-tree .selected a { - text-decoration:none; - padding:2px; - margin:0px; - color:#fff; -} - -#nav-tree .children_ul { - margin:0px; - padding:0px; -} - -#nav-tree .item { - margin:0px; - padding:0px; -} - -#nav-tree { - padding: 0px 0px; - background-color: #FAFAFF; - font-size:14px; - overflow:auto; -} - -#doc-content { - overflow:auto; - display:block; - padding:0px; - margin:0px; -} - -#side-nav { - padding:0 6px 0 0; - margin: 0px; - display:block; - position: absolute; - left: 0px; - width: 300px; -} - -.ui-resizable .ui-resizable-handle { - display:block; -} - -.ui-resizable-e { - background:url("ftv2splitbar.png") repeat scroll right center transparent; - cursor:e-resize; - height:100%; - right:0; - top:0; - width:6px; -} - -.ui-resizable-handle { - display:none; - font-size:0.1px; - position:absolute; - z-index:1; -} - -#nav-tree-contents { - margin: 6px 0px 0px 0px; -} - -#nav-tree { - background-image:url('nav_h.png'); - background-repeat:repeat-x; - background-color: #F9FAFC; -} - - - diff --git a/doxygen/html/navtree.js b/doxygen/html/navtree.js deleted file mode 100644 index d34ea31..0000000 --- a/doxygen/html/navtree.js +++ /dev/null @@ -1,352 +0,0 @@ -var NAVTREE = -[ - [ "Cmd2", "index.html", [ - [ "Class List", "annotated.html", [ - [ "cmd2::Borg", "classcmd2_1_1Borg.html", null ], - [ "cmd2::Cmd", "classcmd2_1_1Cmd.html", null ], - [ "cmd2::Cmd2TestCase", "classcmd2_1_1Cmd2TestCase.html", null ], - [ "cmd2::EmbeddedConsoleExit", "classcmd2_1_1EmbeddedConsoleExit.html", null ], - [ "cmd2::EmptyStatement", "classcmd2_1_1EmptyStatement.html", null ], - [ "cmd2::History", "classcmd2_1_1History.html", null ], - [ "cmd2::HistoryItem", "classcmd2_1_1HistoryItem.html", null ], - [ "cmd2::NotSettableError", "classcmd2_1_1NotSettableError.html", null ], - [ "cmd2::OptionParser", "classcmd2_1_1OptionParser.html", null ], - [ "cmd2::OutputTrap", "classcmd2_1_1OutputTrap.html", null ], - [ "cmd2::ParsedString", "classcmd2_1_1ParsedString.html", null ], - [ "cmd2::PasteBufferError", "classcmd2_1_1PasteBufferError.html", null ], - [ "cmd2::Statekeeper", "classcmd2_1_1Statekeeper.html", null ], - [ "cmd2::StubbornDict", "classcmd2_1_1StubbornDict.html", null ], - [ "example::CmdLineApp", "classexample_1_1CmdLineApp.html", null ], - [ "pirate2::Pirate", "classpirate2_1_1Pirate.html", null ], - [ "pirate3::Pirate", "classpirate3_1_1Pirate.html", null ], - [ "pirate4::Pirate", "classpirate4_1_1Pirate.html", null ], - [ "pirate5::Pirate", "classpirate5_1_1Pirate.html", null ], - [ "pirate6::Pirate", "classpirate6_1_1Pirate.html", null ], - [ "pirate7::Pirate", "classpirate7_1_1Pirate.html", null ], - [ "pirate8::Pirate", "classpirate8_1_1Pirate.html", null ], - [ "pirate::Pirate", "classpirate_1_1Pirate.html", null ] - ] ], - [ "Class Index", "classes.html", null ], - [ "Class Hierarchy", "hierarchy.html", [ - [ "cmd2::Borg", "classcmd2_1_1Borg.html", [ - [ "cmd2::OutputTrap", "classcmd2_1_1OutputTrap.html", null ] - ] ], - [ "cmd2::Cmd", "classcmd2_1_1Cmd.html", [ - [ "example::CmdLineApp", "classexample_1_1CmdLineApp.html", null ], - [ "pirate6::Pirate", "classpirate6_1_1Pirate.html", null ], - [ "pirate7::Pirate", "classpirate7_1_1Pirate.html", null ], - [ "pirate8::Pirate", "classpirate8_1_1Pirate.html", null ] - ] ], - [ "cmd2::Cmd2TestCase", "classcmd2_1_1Cmd2TestCase.html", null ], - [ "cmd2::EmbeddedConsoleExit", "classcmd2_1_1EmbeddedConsoleExit.html", null ], - [ "cmd2::EmptyStatement", "classcmd2_1_1EmptyStatement.html", null ], - [ "cmd2::History", "classcmd2_1_1History.html", null ], - [ "cmd2::HistoryItem", "classcmd2_1_1HistoryItem.html", null ], - [ "cmd2::NotSettableError", "classcmd2_1_1NotSettableError.html", null ], - [ "cmd2::OptionParser", "classcmd2_1_1OptionParser.html", null ], - [ "cmd2::ParsedString", "classcmd2_1_1ParsedString.html", null ], - [ "cmd2::PasteBufferError", "classcmd2_1_1PasteBufferError.html", null ], - [ "cmd2::Statekeeper", "classcmd2_1_1Statekeeper.html", null ], - [ "cmd2::StubbornDict", "classcmd2_1_1StubbornDict.html", null ], - [ "pirate2::Pirate", "classpirate2_1_1Pirate.html", null ], - [ "pirate3::Pirate", "classpirate3_1_1Pirate.html", null ], - [ "pirate4::Pirate", "classpirate4_1_1Pirate.html", null ], - [ "pirate5::Pirate", "classpirate5_1_1Pirate.html", null ], - [ "pirate::Pirate", "classpirate_1_1Pirate.html", null ] - ] ], - [ "Class Members", "functions.html", null ], - [ "Packages", "namespaces.html", [ - [ "cmd2", "namespacecmd2.html", null ], - [ "conf", "namespaceconf.html", null ], - [ "example", "namespaceexample.html", null ], - [ "fileutil", "namespacefileutil.html", null ], - [ "graph", "namespacegraph.html", null ], - [ "ignoreBug", "namespaceignoreBug.html", null ], - [ "pirate", "namespacepirate.html", null ], - [ "pirate2", "namespacepirate2.html", null ], - [ "pirate3", "namespacepirate3.html", null ], - [ "pirate4", "namespacepirate4.html", null ], - [ "pirate5", "namespacepirate5.html", null ], - [ "pirate6", "namespacepirate6.html", null ], - [ "pirate7", "namespacepirate7.html", null ], - [ "pirate8", "namespacepirate8.html", null ], - [ "schematic", "namespaceschematic.html", null ], - [ "setup", "namespacesetup.html", null ] - ] ], - [ "Package Functions", "namespacemembers.html", null ], - [ "File List", "files.html", [ - [ "/Users/amrogers/Developer/Projects/cmd2/cmd2.py", "cmd2_8py.html", null ], - [ "/Users/amrogers/Developer/Projects/cmd2/ignoreBug.py", "ignoreBug_8py.html", null ], - [ "/Users/amrogers/Developer/Projects/cmd2/setup.py", "setup_8py.html", null ], - [ "/Users/amrogers/Developer/Projects/cmd2/docs/conf.py", "conf_8py.html", null ], - [ "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/fileutil.py", "fileutil_8py.html", null ], - [ "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/graph.py", "graph_8py.html", null ], - [ "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate.py", "pirate_8py.html", null ], - [ "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate2.py", "pirate2_8py.html", null ], - [ "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate3.py", "pirate3_8py.html", null ], - [ "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate4.py", "pirate4_8py.html", null ], - [ "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate5.py", "pirate5_8py.html", null ], - [ "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate6.py", "pirate6_8py.html", null ], - [ "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py", "pirate7_8py.html", null ], - [ "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py", "pirate8_8py.html", null ], - [ "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/schematic.py", "schematic_8py.html", null ], - [ "/Users/amrogers/Developer/Projects/cmd2/example/example.py", "example_8py.html", null ] - ] ], - [ "Directories", "dirs.html", [ - [ "Projects", "dir_e01452e30018b7d8a87d21a8fdf5052c.html", [ - [ "cmd2", "dir_bfedb8cf204bc52dab598c696b63c3d6.html", [ - [ "docs", "dir_5185d8a4f3d34c6a54b85ae5904b80ec.html", [ - [ "pycon2010", "dir_a94d11e7025bc9c49b19e92232c5c310.html", null ] - ] ], - [ "example", "dir_9c53eb36d53ed9f246f40760bdb65b6a.html", null ] - ] ] - ] ] - ] ] - ] ] -]; - -function createIndent(o,domNode,node,level) -{ - if (node.parentNode && node.parentNode.parentNode) - { - createIndent(o,domNode,node.parentNode,level+1); - } - var imgNode = document.createElement("img"); - if (level==0 && node.childrenData) - { - node.plus_img = imgNode; - node.expandToggle = document.createElement("a"); - node.expandToggle.href = "javascript:void(0)"; - node.expandToggle.onclick = function() - { - if (node.expanded) - { - $(node.getChildrenUL()).slideUp("fast"); - if (node.isLast) - { - node.plus_img.src = node.relpath+"ftv2plastnode.png"; - } - else - { - node.plus_img.src = node.relpath+"ftv2pnode.png"; - } - node.expanded = false; - } - else - { - expandNode(o, node, false); - } - } - node.expandToggle.appendChild(imgNode); - domNode.appendChild(node.expandToggle); - } - else - { - domNode.appendChild(imgNode); - } - if (level==0) - { - if (node.isLast) - { - if (node.childrenData) - { - imgNode.src = node.relpath+"ftv2plastnode.png"; - } - else - { - imgNode.src = node.relpath+"ftv2lastnode.png"; - domNode.appendChild(imgNode); - } - } - else - { - if (node.childrenData) - { - imgNode.src = node.relpath+"ftv2pnode.png"; - } - else - { - imgNode.src = node.relpath+"ftv2node.png"; - domNode.appendChild(imgNode); - } - } - } - else - { - if (node.isLast) - { - imgNode.src = node.relpath+"ftv2blank.png"; - } - else - { - imgNode.src = node.relpath+"ftv2vertline.png"; - } - } - imgNode.border = "0"; -} - -function newNode(o, po, text, link, childrenData, lastNode) -{ - var node = new Object(); - node.children = Array(); - node.childrenData = childrenData; - node.depth = po.depth + 1; - node.relpath = po.relpath; - node.isLast = lastNode; - - node.li = document.createElement("li"); - po.getChildrenUL().appendChild(node.li); - node.parentNode = po; - - node.itemDiv = document.createElement("div"); - node.itemDiv.className = "item"; - - node.labelSpan = document.createElement("span"); - node.labelSpan.className = "label"; - - createIndent(o,node.itemDiv,node,0); - node.itemDiv.appendChild(node.labelSpan); - node.li.appendChild(node.itemDiv); - - var a = document.createElement("a"); - node.labelSpan.appendChild(a); - node.label = document.createTextNode(text); - a.appendChild(node.label); - if (link) - { - a.href = node.relpath+link; - } - else - { - if (childrenData != null) - { - a.className = "nolink"; - a.href = "javascript:void(0)"; - a.onclick = node.expandToggle.onclick; - node.expanded = false; - } - } - - node.childrenUL = null; - node.getChildrenUL = function() - { - if (!node.childrenUL) - { - node.childrenUL = document.createElement("ul"); - node.childrenUL.className = "children_ul"; - node.childrenUL.style.display = "none"; - node.li.appendChild(node.childrenUL); - } - return node.childrenUL; - }; - - return node; -} - -function showRoot() -{ - var headerHeight = $("#top").height(); - var footerHeight = $("#nav-path").height(); - var windowHeight = $(window).height() - headerHeight - footerHeight; - navtree.scrollTo('#selected',0,{offset:-windowHeight/2}); -} - -function expandNode(o, node, imm) -{ - if (node.childrenData && !node.expanded) - { - if (!node.childrenVisited) - { - getNode(o, node); - } - if (imm) - { - $(node.getChildrenUL()).show(); - } - else - { - $(node.getChildrenUL()).slideDown("fast",showRoot); - } - if (node.isLast) - { - node.plus_img.src = node.relpath+"ftv2mlastnode.png"; - } - else - { - node.plus_img.src = node.relpath+"ftv2mnode.png"; - } - node.expanded = true; - } -} - -function getNode(o, po) -{ - po.childrenVisited = true; - var l = po.childrenData.length-1; - for (var i in po.childrenData) - { - var nodeData = po.childrenData[i]; - po.children[i] = newNode(o, po, nodeData[0], nodeData[1], nodeData[2], - i==l); - } -} - -function findNavTreePage(url, data) -{ - var nodes = data; - var result = null; - for (var i in nodes) - { - var d = nodes[i]; - if (d[1] == url) - { - return new Array(i); - } - else if (d[2] != null) // array of children - { - result = findNavTreePage(url, d[2]); - if (result != null) - { - return (new Array(i).concat(result)); - } - } - } - return null; -} - -function initNavTree(toroot,relpath) -{ - var o = new Object(); - o.toroot = toroot; - o.node = new Object(); - o.node.li = document.getElementById("nav-tree-contents"); - o.node.childrenData = NAVTREE; - o.node.children = new Array(); - o.node.childrenUL = document.createElement("ul"); - o.node.getChildrenUL = function() { return o.node.childrenUL; }; - o.node.li.appendChild(o.node.childrenUL); - o.node.depth = 0; - o.node.relpath = relpath; - - getNode(o, o.node); - - o.breadcrumbs = findNavTreePage(toroot, NAVTREE); - if (o.breadcrumbs == null) - { - o.breadcrumbs = findNavTreePage("index.html",NAVTREE); - } - if (o.breadcrumbs != null && o.breadcrumbs.length>0) - { - var p = o.node; - for (var i in o.breadcrumbs) - { - var j = o.breadcrumbs[i]; - p = p.children[j]; - expandNode(o,p,true); - } - p.itemDiv.className = p.itemDiv.className + " selected"; - p.itemDiv.id = "selected"; - $(window).load(showRoot); - } -} - diff --git a/doxygen/html/open.png b/doxygen/html/open.png deleted file mode 100644 index 7b35d2c..0000000 Binary files a/doxygen/html/open.png and /dev/null differ diff --git a/doxygen/html/pirate2_8py.html b/doxygen/html/pirate2_8py.html deleted file mode 100644 index 8306dc5..0000000 --- a/doxygen/html/pirate2_8py.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate2.py File Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate2.py File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - -

-Classes

class  pirate2::Pirate

-Packages

namespace  pirate2

-Variables

tuple pirate2::pirate = Pirate()
-
-
- - - - - diff --git a/doxygen/html/pirate2_8py_source.html b/doxygen/html/pirate2_8py_source.html deleted file mode 100644 index 29bf0d1..0000000 --- a/doxygen/html/pirate2_8py_source.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate2.py Source File - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate2.py
-
-
-Go to the documentation of this file.
00001 from cmd import Cmd
-00002 # using ``do_`` methods
-00003 
-00004 class Pirate(Cmd):
-00005     gold = 3
-00006     def do_loot(self, arg):
-00007         'Seize booty from a passing ship.'
-00008         self.gold += 1
-00009         print('Now we gots {0} doubloons'
-00010               .format(self.gold))
-00011     def do_drink(self, arg):
-00012         'Drown your sorrrows in rrrum.'
-00013         self.gold -= 1
-00014         print('Now we gots {0} doubloons'
-00015               .format(self.gold))
-00016 
-00017 pirate = Pirate()
-00018 pirate.cmdloop()
-
-
- - - - - diff --git a/doxygen/html/pirate3_8py.html b/doxygen/html/pirate3_8py.html deleted file mode 100644 index 830b63c..0000000 --- a/doxygen/html/pirate3_8py.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate3.py File Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate3.py File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - -

-Classes

class  pirate3::Pirate

-Packages

namespace  pirate3

-Variables

tuple pirate3::pirate = Pirate()
-
-
- - - - - diff --git a/doxygen/html/pirate3_8py_source.html b/doxygen/html/pirate3_8py_source.html deleted file mode 100644 index 99122bc..0000000 --- a/doxygen/html/pirate3_8py_source.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate3.py Source File - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate3.py
-
-
-Go to the documentation of this file.
00001 from cmd import Cmd
-00002 # using hook
-00003 
-00004 class Pirate(Cmd):
-00005     gold = 3
-00006     def do_loot(self, arg):
-00007         'Seize booty from a passing ship.'
-00008         self.gold += 1
-00009     def do_drink(self, arg):
-00010         'Drown your sorrrows in rrrum.'        
-00011         self.gold -= 1
-00012     def precmd(self, line):
-00013         self.initial_gold = self.gold
-00014         return line
-00015     def postcmd(self, stop, line):   
-00016         if self.gold != self.initial_gold:
-00017             print('Now we gots {0} doubloons'
-00018                   .format(self.gold))
-00019 
-00020 pirate = Pirate()
-00021 pirate.cmdloop()
-
-
- - - - - diff --git a/doxygen/html/pirate4_8py.html b/doxygen/html/pirate4_8py.html deleted file mode 100644 index 6b05b77..0000000 --- a/doxygen/html/pirate4_8py.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate4.py File Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate4.py File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - -

-Classes

class  pirate4::Pirate

-Packages

namespace  pirate4

-Variables

tuple pirate4::pirate = Pirate()
-
-
- - - - - diff --git a/doxygen/html/pirate4_8py_source.html b/doxygen/html/pirate4_8py_source.html deleted file mode 100644 index a6bc071..0000000 --- a/doxygen/html/pirate4_8py_source.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate4.py Source File - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate4.py
-
-
-Go to the documentation of this file.
00001 from cmd import Cmd
-00002 # using arguments
-00003 
-00004 class Pirate(Cmd):
-00005     gold = 3
-00006     def do_loot(self, arg):
-00007         'Seize booty from a passing ship.'
-00008         self.gold += 1
-00009     def do_drink(self, arg):
-00010         '''Drown your sorrrows in rrrum.
-00011         
-00012         drink [n] - drink [n] barrel[s] o' rum.'''  
-00013         try:
-00014             self.gold -= int(arg)
-00015         except:
-00016             if arg:
-00017                 print('''What's "{0}"?  I'll take rrrum.'''.format(arg))
-00018             self.gold -= 1            
-00019     def precmd(self, line):
-00020         self.initial_gold = self.gold
-00021         return line
-00022     def postcmd(self, stop, line):   
-00023         if self.gold != self.initial_gold:
-00024             print('Now we gots {0} doubloons'.format(self.gold))
-00025 
-00026 pirate = Pirate()
-00027 pirate.cmdloop()
-
-
- - - - - diff --git a/doxygen/html/pirate5_8py.html b/doxygen/html/pirate5_8py.html deleted file mode 100644 index 0855fdc..0000000 --- a/doxygen/html/pirate5_8py.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate5.py File Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate5.py File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - -

-Classes

class  pirate5::Pirate

-Packages

namespace  pirate5

-Variables

tuple pirate5::pirate = Pirate()
-
-
- - - - - diff --git a/doxygen/html/pirate5_8py_source.html b/doxygen/html/pirate5_8py_source.html deleted file mode 100644 index 8ee5fb2..0000000 --- a/doxygen/html/pirate5_8py_source.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate5.py Source File - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate5.py
-
-
-Go to the documentation of this file.
00001 from cmd import Cmd
-00002 # quitting
-00003 
-00004 class Pirate(Cmd):
-00005     gold = 3
-00006     def do_loot(self, arg):
-00007         'Seize booty from a passing ship.'
-00008         self.gold += 1
-00009     def do_drink(self, arg):
-00010         '''Drown your sorrrows in rrrum.
-00011         
-00012         drink [n] - drink [n] barrel[s] o' rum.'''          
-00013         try:
-00014             self.gold -= int(arg)
-00015         except:
-00016             if arg:
-00017                 print('''What's "{0}"?  I'll take rrrum.'''.format(arg))
-00018             self.gold -= 1                  
-00019     def precmd(self, line):
-00020         self.initial_gold = self.gold
-00021         return line
-00022     def postcmd(self, stop, line):   
-00023         if self.gold != self.initial_gold:
-00024             print('Now we gots {0} doubloons'
-00025                   .format(self.gold))
-00026         if self.gold < 0:
-00027             print("Off to debtorrr's prison.")
-00028             stop = True
-00029         return stop
-00030     def do_quit(self, arg):
-00031         print("Quiterrr!")
-00032         return True    
-00033 
-00034 pirate = Pirate()
-00035 pirate.cmdloop()
-
-
- - - - - diff --git a/doxygen/html/pirate6_8py.html b/doxygen/html/pirate6_8py.html deleted file mode 100644 index 386f0c4..0000000 --- a/doxygen/html/pirate6_8py.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate6.py File Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate6.py File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - -

-Classes

class  pirate6::Pirate

-Packages

namespace  pirate6

-Variables

tuple pirate6::pirate = Pirate()
-
-
- - - - - diff --git a/doxygen/html/pirate6_8py_source.html b/doxygen/html/pirate6_8py_source.html deleted file mode 100644 index 20d738a..0000000 --- a/doxygen/html/pirate6_8py_source.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate6.py Source File - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate6.py
-
-
-Go to the documentation of this file.
00001 from cmd2 import Cmd
-00002 # prompts and defaults
-00003 
-00004 class Pirate(Cmd):
-00005     gold = 3
-00006     prompt = 'arrr> '
-00007     def default(self, line):
-00008         print('What mean ye by "{0}"?'
-00009               .format(line))
-00010     def do_loot(self, arg):
-00011         'Seize booty from a passing ship.'
-00012         self.gold += 1
-00013     def do_drink(self, arg):
-00014         '''Drown your sorrrows in rrrum.
-00015         
-00016         drink [n] - drink [n] barrel[s] o' rum.'''          
-00017         try:
-00018             self.gold -= int(arg)
-00019         except:
-00020             if arg:
-00021                 print('''What's "{0}"?  I'll take rrrum.'''.format(arg))
-00022             self.gold -= 1            
-00023     def precmd(self, line):
-00024         self.initial_gold = self.gold
-00025         return line
-00026     def postcmd(self, stop, line):   
-00027         if self.gold != self.initial_gold:
-00028             print('Now we gots {0} doubloons'
-00029                   .format(self.gold))
-00030         if self.gold < 0:
-00031             print("Off to debtorrr's prison.")
-00032             stop = True
-00033         return stop
-00034     def do_quit(self, arg):
-00035         print("Quiterrr!")
-00036         return True    
-00037 
-00038 pirate = Pirate()
-00039 pirate.cmdloop()
-
-
- - - - - diff --git a/doxygen/html/pirate7_8py.html b/doxygen/html/pirate7_8py.html deleted file mode 100644 index eb17b81..0000000 --- a/doxygen/html/pirate7_8py.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py File Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate7.py File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - -

-Classes

class  pirate7::Pirate

-Packages

namespace  pirate7

-Variables

tuple pirate7::pirate = Pirate()
-
-
- - - - - diff --git a/doxygen/html/pirate7_8py_source.html b/doxygen/html/pirate7_8py_source.html deleted file mode 100644 index 9fad93e..0000000 --- a/doxygen/html/pirate7_8py_source.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py Source File - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate7.py
-
-
-Go to the documentation of this file.
00001 from cmd2 import Cmd
-00002 # prompts and defaults
-00003 
-00004 class Pirate(Cmd):
-00005     gold = 3
-00006     prompt = 'arrr> '
-00007     def default(self, line):
-00008         print('What mean ye by "{0}"?'.format(line))
-00009     def do_loot(self, arg):
-00010         'Seize booty from a passing ship.'
-00011         self.gold += 1
-00012     def do_drink(self, arg):
-00013         '''Drown your sorrrows in rrrum.
-00014         
-00015         drink [n] - drink [n] barrel[s] o' rum.'''          
-00016         try:
-00017             self.gold -= int(arg)
-00018         except:
-00019             if arg:
-00020                 print('''What's "{0}"?  I'll take rrrum.'''.format(arg))
-00021             self.gold -= 1            
-00022     def precmd(self, line):
-00023         self.initial_gold = self.gold
-00024         return line
-00025     def postcmd(self, stop, line):   
-00026         if self.gold != self.initial_gold:
-00027             print('Now we gots {0} doubloons'
-00028                   .format(self.gold))
-00029         if self.gold < 0:
-00030             print("Off to debtorrr's prison.")
-00031             stop = True
-00032         return stop
-00033     def do_quit(self, arg):
-00034         print("Quiterrr!")
-00035         return True    
-00036     default_to_shell = True
-00037     multilineCommands = ['sing']
-00038     terminators = Cmd.terminators + ['...']
-00039     songcolor = 'blue'
-00040     settable = Cmd.settable + 'songcolor Color to ``sing`` in (red/blue/green/cyan/magenta, bold, underline)'
-00041     Cmd.shortcuts.update({'~': 'sing'})
-00042     def do_sing(self, arg):
-00043         print(self.colorize(arg, self.songcolor))
-00044 
-00045 pirate = Pirate()
-00046 pirate.cmdloop()
-
-
- - - - - diff --git a/doxygen/html/pirate8_8py.html b/doxygen/html/pirate8_8py.html deleted file mode 100644 index 08eae70..0000000 --- a/doxygen/html/pirate8_8py.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py File Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate8.py File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - -

-Classes

class  pirate8::Pirate

-Packages

namespace  pirate8

-Variables

tuple pirate8::pirate = Pirate()
-
-
- - - - - diff --git a/doxygen/html/pirate8_8py_source.html b/doxygen/html/pirate8_8py_source.html deleted file mode 100644 index 9ef6a1e..0000000 --- a/doxygen/html/pirate8_8py_source.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py Source File - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate8.py
-
-
-Go to the documentation of this file.
00001 from cmd2 import Cmd, options, make_option
-00002 # prompts and defaults
-00003 
-00004 class Pirate(Cmd):
-00005     gold = 3
-00006     prompt = 'arrr> '
-00007     def default(self, line):
-00008         print('What mean ye by "{0}"?'.format(line))
-00009     def do_loot(self, arg):
-00010         'Seize booty from a passing ship.'
-00011         self.gold += 1
-00012     def do_drink(self, arg):
-00013         '''Drown your sorrrows in rrrum.
-00014         
-00015         drink [n] - drink [n] barrel[s] o' rum.'''          
-00016         try:
-00017             self.gold -= int(arg)
-00018         except:
-00019             if arg:
-00020                 print('''What's "{0}"?  I'll take rrrum.'''.format(arg))
-00021             self.gold -= 1            
-00022     def precmd(self, line):
-00023         self.initial_gold = self.gold
-00024         return line
-00025     def postcmd(self, stop, line):   
-00026         if self.gold != self.initial_gold:
-00027             print('Now we gots {0} doubloons'
-00028                   .format(self.gold))
-00029         if self.gold < 0:
-00030             print("Off to debtorrr's prison.")
-00031             stop = True
-00032         return stop
-00033     def do_quit(self, arg):
-00034         print("Quiterrr!")
-00035         return True    
-00036     default_to_shell = True
-00037     multilineCommands = ['sing']
-00038     terminators = Cmd.terminators + ['...']
-00039     songcolor = 'blue'
-00040     settable = Cmd.settable + 'songcolor Color to ``sing`` in (red/blue/green/cyan/magenta, bold, underline)'
-00041     Cmd.shortcuts.update({'~': 'sing'})
-00042     def do_sing(self, arg):
-00043         print(self.colorize(arg, self.songcolor))
-00044     @options([make_option('--ho', type='int', default=2,
-00045                           help="How often to chant 'ho'"),
-00046               make_option('-c', '--commas',
-00047                           action="store_true", 
-00048                           help="Intersperse commas")])
-00049     def do_yo(self, arg, opts):
-00050         chant = ['yo'] + ['ho'] * opts.ho
-00051         separator = ', ' if opts.commas else ' '
-00052         chant = separator.join(chant)
-00053         print('{0} and a bottle of {1}'
-00054               .format(chant, arg))
-00055 
-00056 pirate = Pirate()
-00057 pirate.cmdloop()
-
-
- - - - - diff --git a/doxygen/html/pirate_8py.html b/doxygen/html/pirate_8py.html deleted file mode 100644 index 32c07f6..0000000 --- a/doxygen/html/pirate_8py.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate.py File Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate.py File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - -

-Classes

class  pirate::Pirate

-Packages

namespace  pirate

-Variables

tuple pirate::pirate = Pirate()
-
-
- - - - - diff --git a/doxygen/html/pirate_8py_source.html b/doxygen/html/pirate_8py_source.html deleted file mode 100644 index 29e2670..0000000 --- a/doxygen/html/pirate_8py_source.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate.py Source File - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate.py
-
-
-Go to the documentation of this file.
00001 from cmd import Cmd
-00002 
-00003 class Pirate(Cmd):
-00004     pass
-00005 
-00006 pirate = Pirate()
-00007 pirate.cmdloop()
-
-
- - - - - diff --git a/doxygen/html/resize.js b/doxygen/html/resize.js deleted file mode 100644 index 04fa95c..0000000 --- a/doxygen/html/resize.js +++ /dev/null @@ -1,81 +0,0 @@ -var cookie_namespace = 'doxygen'; -var sidenav,navtree,content,header; - -function readCookie(cookie) -{ - var myCookie = cookie_namespace+"_"+cookie+"="; - if (document.cookie) - { - var index = document.cookie.indexOf(myCookie); - if (index != -1) - { - var valStart = index + myCookie.length; - var valEnd = document.cookie.indexOf(";", valStart); - if (valEnd == -1) - { - valEnd = document.cookie.length; - } - var val = document.cookie.substring(valStart, valEnd); - return val; - } - } - return 0; -} - -function writeCookie(cookie, val, expiration) -{ - if (val==undefined) return; - if (expiration == null) - { - var date = new Date(); - date.setTime(date.getTime()+(10*365*24*60*60*1000)); // default expiration is one week - expiration = date.toGMTString(); - } - document.cookie = cookie_namespace + "_" + cookie + "=" + val + "; expires=" + expiration+"; path=/"; -} - -function resizeWidth() -{ - var windowWidth = $(window).width() + "px"; - var sidenavWidth = $(sidenav).width(); - content.css({marginLeft:parseInt(sidenavWidth)+6+"px"}); //account for 6px-wide handle-bar - writeCookie('width',sidenavWidth, null); -} - -function restoreWidth(navWidth) -{ - var windowWidth = $(window).width() + "px"; - content.css({marginLeft:parseInt(navWidth)+6+"px"}); - sidenav.css({width:navWidth + "px"}); -} - -function resizeHeight() -{ - var headerHeight = header.height(); - var footerHeight = footer.height(); - var windowHeight = $(window).height() - headerHeight - footerHeight; - content.css({height:windowHeight + "px"}); - navtree.css({height:windowHeight + "px"}); - sidenav.css({height:windowHeight + "px",top: headerHeight+"px"}); -} - -function initResizable() -{ - header = $("#top"); - sidenav = $("#side-nav"); - content = $("#doc-content"); - navtree = $("#nav-tree"); - footer = $("#nav-path"); - $(".side-nav-resizable").resizable({resize: function(e, ui) { resizeWidth(); } }); - $(window).resize(function() { resizeHeight(); }); - var width = readCookie('width'); - if (width) { restoreWidth(width); } else { resizeWidth(); } - resizeHeight(); - var url = location.href; - var i=url.indexOf("#"); - if (i>=0) window.location.hash=url.substr(i); - var _preventDefault = function(evt) { evt.preventDefault(); }; - $("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault); -} - - diff --git a/doxygen/html/schematic_8py.html b/doxygen/html/schematic_8py.html deleted file mode 100644 index 2bd52b9..0000000 --- a/doxygen/html/schematic_8py.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/schematic.py File Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
schematic.py File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - -

-Packages

namespace  schematic

-Functions

def schematic::rectangle

-Variables

int schematic::pensize = 10
-
-
- - - - - diff --git a/doxygen/html/schematic_8py_source.html b/doxygen/html/schematic_8py_source.html deleted file mode 100644 index 7a21fc1..0000000 --- a/doxygen/html/schematic_8py_source.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/schematic.py Source File - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
schematic.py
-
-
-Go to the documentation of this file.
00001 from turtle import *
-00002 hideturtle()
-00003 width(6)
-00004 pensize = 10
-00005 pu()
-00006 goto(0,-400)
-00007 
-00008 def rectangle(x, y, _label):
-00009     pu()
-00010     seth(0)
-00011     backward(x / 2)
-00012     fontsize = 40
-00013     pd()
-00014     for i in range(2):
-00015         forward(x)
-00016         left(90)
-00017         forward(y)
-00018         left(90)
-00019     pu()
-00020     forward(x / 2)
-00021     left(90)
-00022     forward(y / 2 - fontsize)
-00023     pd()
-00024     write(_label, align='center', font=('Arial', fontsize, 'bold'))    
-00025 
-00026 rectangle(800, 80, 'cmd')
-00027 pu()
-00028 forward(80)
-00029 rectangle(200, 400, 'cmd2')
-00030 
-00031 while True:
-00032     pass
-
-
- - - - - diff --git a/doxygen/html/search/all_5f.html b/doxygen/html/search/all_5f.html deleted file mode 100644 index 71e2ba7..0000000 --- a/doxygen/html/search/all_5f.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- __add__ - cmd2::StubbornDict -
-
-
-
- __iadd__ - cmd2::StubbornDict -
-
- -
-
- __new__ - cmd2::Borg -
-
-
-
- __radd__ - cmd2::StubbornDict -
-
-
-
- __version__ - cmd2 -
-
-
-
- _attr_get_ - cmd2 -
-
-
-
- _cmdloop - cmd2::Cmd -
-
-
-
- _default - cmd2::Cmd -
-
-
-
- _init_parser - cmd2::Cmd -
-
-
-
- _shared_state - cmd2::Borg -
-
-
-
- _STOP_AND_EXIT - cmd2::Cmd -
-
-
-
- _STOP_SCRIPT_NO_EXIT - cmd2::Cmd -
-
-
-
- _test_transcript - cmd2::Cmd2TestCase -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_61.html b/doxygen/html/search/all_61.html deleted file mode 100644 index aa4bea6..0000000 --- a/doxygen/html/search/all_61.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- abbrev - cmd2::Cmd -
-
-
-
- action - pirate8::Pirate -
-
-
-
- anyWhitespace - cmd2::Cmd2TestCase -
-
- -
-
- attribs - cmd2::Statekeeper -
-
-
-
- author - setup -
-
-
-
- author_email - setup -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_62.html b/doxygen/html/search/all_62.html deleted file mode 100644 index 1979c78..0000000 --- a/doxygen/html/search/all_62.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- blankLinesAllowed - cmd2::Cmd -
-
-
-
- blankLineTerminationParser - cmd2::Cmd -
-
-
-
- blankLineTerminator - cmd2::Cmd -
-
-
-
- Borg - cmd2 -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_63.html b/doxygen/html/search/all_63.html deleted file mode 100644 index 262ec7c..0000000 --- a/doxygen/html/search/all_63.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- c - example -
-
-
-
- can_clip - cmd2 -
-
-
-
- case_insensitive - cmd2::Cmd -
-
-
-
- cast - cmd2 -
-
-
-
- classifiers - setup -
-
-
-
- Cmd - cmd2 -
-
-
-
- cmd2 -
-
-
-
- cmd2.py -
-
-
-
- Cmd2TestCase - cmd2 -
-
- -
-
- CmdLineApp - example -
-
-
-
- cmdloop - cmd2::Cmd -
-
-
-
- colorcodes - cmd2::Cmd -
-
-
-
- colorize - cmd2::Cmd -
-
-
-
- colors - cmd2::Cmd -
-
-
-
- commentGrammars - cmd2::Cmd -
-
-
-
- commentInProgress - cmd2::Cmd -
-
-
-
- complete_statement - cmd2::Cmd -
-
-
-
- conf -
-
-
-
- conf.py -
-
-
-
- contents - cmd2::OutputTrap -
-
- - -
-
- current_script_dir - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_64.html b/doxygen/html/search/all_64.html deleted file mode 100644 index 95bf079..0000000 --- a/doxygen/html/search/all_64.html +++ /dev/null @@ -1,284 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- debug - cmd2::Cmd -
-
- -
-
- default_file_name - cmd2::Cmd -
-
- -
-
- defaultExtension - cmd2::Cmd -
-
-
-
- description - setup -
-
-
-
- do__load - cmd2::Cmd -
-
-
-
- do__relative_load - cmd2::Cmd -
-
-
-
- do_cmdenvironment - cmd2::Cmd -
-
- -
-
- do_ed - cmd2::Cmd -
-
-
-
- do_edit - cmd2::Cmd -
-
- -
-
- do_exit - cmd2::Cmd -
-
-
-
- do_help - cmd2::Cmd -
-
-
-
- do_hi - cmd2::Cmd -
-
-
-
- do_history - cmd2::Cmd -
-
-
-
- do_l - cmd2::Cmd -
-
-
-
- do_li - cmd2::Cmd -
-
-
-
- do_list - cmd2::Cmd -
-
-
-
- do_load - cmd2::Cmd -
-
- -
-
- do_orate - example::CmdLineApp -
-
-
-
- do_pause - cmd2::Cmd -
-
-
-
- do_py - cmd2::Cmd -
-
-
-
- do_q - cmd2::Cmd -
-
- -
-
- do_r - cmd2::Cmd -
-
-
-
- do_run - cmd2::Cmd -
-
-
-
- do_save - cmd2::Cmd -
-
-
-
- do_say - example::CmdLineApp -
-
-
-
- do_set - cmd2::Cmd -
-
-
-
- do_shell - cmd2::Cmd -
-
-
-
- do_shortcuts - cmd2::Cmd -
-
-
-
- do_show - cmd2::Cmd -
-
- -
-
- do_speak - example::CmdLineApp -
-
-
-
- do_yo - pirate8::Pirate -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_65.html b/doxygen/html/search/all_65.html deleted file mode 100644 index 62168e6..0000000 --- a/doxygen/html/search/all_65.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- echo - cmd2::Cmd -
-
- -
-
- EmbeddedConsoleExit - cmd2 -
-
-
-
- EmptyStatement - cmd2 -
-
-
-
- errmsg - cmd2::PasteBufferError -
-
-
-
- error - cmd2::OptionParser -
-
-
-
- example -
-
-
- -
-
-
- exclude_trees - conf -
-
-
-
- excludeFromHistory - cmd2::Cmd -
-
-
-
- exit - cmd2::OptionParser -
-
-
-
- expectationParser - cmd2::Cmd2TestCase -
-
-
-
- extend - cmd2::History -
-
-
-
- extensions - conf -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_66.html b/doxygen/html/search/all_66.html deleted file mode 100644 index 738e246..0000000 --- a/doxygen/html/search/all_66.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- feedback_to_output - cmd2::Cmd -
-
-
-
- fetchTranscripts - cmd2::Cmd2TestCase -
-
-
-
- fileimport - cmd2::Cmd -
-
-
-
- fileutil -
-
-
- -
-
-
- find_packages - setup -
-
-
-
- full_parsed_statement - cmd2::ParsedString -
-
-
-
- func_named - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_67.html b/doxygen/html/search/all_67.html deleted file mode 100644 index 9c69b05..0000000 --- a/doxygen/html/search/all_67.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- get - cmd2::History -
-
- - -
-
- graph -
-
-
-
- graph.py -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_68.html b/doxygen/html/search/all_68.html deleted file mode 100644 index bc06f62..0000000 --- a/doxygen/html/search/all_68.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - -
-
Loading...
- -
-
- history - cmd2::Cmd -
-
-
-
- History - cmd2 -
-
-
-
- HistoryItem - cmd2 -
-
-
-
- html_static_path - conf -
-
-
-
- html_theme - conf -
-
-
-
- htmlhelp_basename - conf -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_69.html b/doxygen/html/search/all_69.html deleted file mode 100644 index 372bd5d..0000000 --- a/doxygen/html/search/all_69.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- idx - cmd2::HistoryItem -
-
-
-
- ignoreBug -
-
-
- -
- -
-
- initial_stdout - cmd2::Cmd -
-
-
-
- inputParser - cmd2::Cmd -
-
-
-
- install_requires - setup -
-
-
-
- intersphinx_mapping - conf -
-
-
-
- intro - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_6b.html b/doxygen/html/search/all_6b.html deleted file mode 100644 index 954b9ab..0000000 --- a/doxygen/html/search/all_6b.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- kept_state - cmd2::Cmd -
-
-
-
- kept_sys - cmd2::Cmd -
-
- -
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_6c.html b/doxygen/html/search/all_6c.html deleted file mode 100644 index 7d88420..0000000 --- a/doxygen/html/search/all_6c.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- label - graph -
-
-
-
- last_matching - cmd2::Cmd -
-
-
-
- lastcmd - cmd2::Cmd -
-
-
-
- latex_documents - conf -
-
-
-
- legalChars - cmd2::Cmd -
-
-
-
- license - setup -
-
-
-
- line - graph -
-
-
-
- listformat - cmd2::HistoryItem -
-
-
-
- ljust - cmd2 -
-
-
-
- locals_in_py - cmd2::Cmd -
-
-
-
- long_description - setup -
-
-
-
- lowercase - cmd2::HistoryItem -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_6d.html b/doxygen/html/search/all_6d.html deleted file mode 100644 index 5160ab1..0000000 --- a/doxygen/html/search/all_6d.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- master_doc - conf -
-
-
-
- maxrepeats - example::CmdLineApp -
-
-
-
- multilineCommand - cmd2::Cmd -
-
- -
-
- multilineParser - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_6e.html b/doxygen/html/search/all_6e.html deleted file mode 100644 index 8b93d48..0000000 --- a/doxygen/html/search/all_6e.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- name - setup -
-
-
-
- noSpecialParse - cmd2::Cmd -
-
-
-
- notRegexPattern - cmd2::Cmd2TestCase -
-
-
-
- NotSettableError - cmd2 -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_6f.html b/doxygen/html/search/all_6f.html deleted file mode 100644 index 1f72507..0000000 --- a/doxygen/html/search/all_6f.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- obj - cmd2::Statekeeper -
-
-
-
- old_completer - cmd2::Cmd -
-
-
-
- old_stdout - cmd2::OutputTrap -
-
-
-
- onecmd - cmd2::Cmd -
-
-
-
- onecmd_plus_hooks - cmd2::Cmd -
-
-
-
- OptionParser - cmd2 -
-
-
-
- options - cmd2 -
-
-
-
- options_defined - cmd2 -
-
-
-
- outputTrap - cmd2::Cmd2TestCase -
-
-
-
- OutputTrap - cmd2 -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_70.html b/doxygen/html/search/all_70.html deleted file mode 100644 index f238770..0000000 --- a/doxygen/html/search/all_70.html +++ /dev/null @@ -1,325 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- parsed - cmd2::Cmd -
-
-
-
- ParsedString - cmd2 -
-
- -
-
- PasteBufferError - cmd2 -
-
-
-
- pastebufferr - cmd2 -
-
-
-
- pensize - schematic -
-
-
-
- perror - cmd2::Cmd -
-
-
-
- pfeedback - cmd2::Cmd -
-
-
-
- Pirate - pirate3 -
-
-
-
- Pirate - pirate7 -
-
-
-
- Pirate - pirate8 -
-
-
-
- Pirate - pirate -
-
-
-
- Pirate - pirate4 -
-
- -
-
- Pirate - pirate2 -
-
-
-
- Pirate - pirate5 -
-
-
-
- Pirate - pirate6 -
-
-
-
- pirate.py -
-
-
-
- pirate2 -
-
-
- -
-
-
- pirate3 -
-
-
- -
-
-
- pirate4 -
-
-
- -
-
-
- pirate5 -
-
-
- -
-
-
- pirate6 -
-
-
- -
-
-
- pirate7 -
-
-
- -
-
-
- pirate8 -
-
-
- -
- -
-
- postparse - cmd2::Cmd -
-
-
-
- postparsing_postcmd - cmd2::Cmd -
-
-
-
- postparsing_precmd - cmd2::Cmd -
-
-
-
- poutput - cmd2::Cmd -
-
-
-
- pr - cmd2::HistoryItem -
-
- -
-
- prefixParser - cmd2::Cmd -
-
-
-
- preparse - cmd2::Cmd -
-
-
-
- print_help - cmd2::OptionParser -
-
-
-
- project - conf -
-
- -
-
- pseudo_raw_input - cmd2::Cmd -
-
-
-
- py_modules - setup -
-
-
-
- pygments_style - conf -
-
-
-
- pystate - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_71.html b/doxygen/html/search/all_71.html deleted file mode 100644 index 678051c..0000000 --- a/doxygen/html/search/all_71.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- quiet - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_72.html b/doxygen/html/search/all_72.html deleted file mode 100644 index 25d873e..0000000 --- a/doxygen/html/search/all_72.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- rangePattern - cmd2::History -
-
-
-
- read - cmd2::OutputTrap -
-
-
-
- read_file_or_url - cmd2::Cmd -
-
-
-
- rectangle - schematic -
-
-
-
- redirect - cmd2::Cmd -
-
-
-
- redirect_output - cmd2::Cmd -
-
- -
-
- regexPattern - cmd2::Cmd2TestCase -
-
-
-
- release - conf -
-
-
-
- remaining_args - cmd2 -
-
- -
-
- reserved_words - cmd2::Cmd -
-
-
-
- restore - cmd2::Statekeeper -
-
-
-
- restore_output - cmd2::Cmd -
-
-
-
- run_commands_at_invocation - cmd2::Cmd -
-
-
-
- runTest - cmd2::Cmd2TestCase -
-
-
-
- runTranscriptTests - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_73.html b/doxygen/html/search/all_73.html deleted file mode 100644 index ad25869..0000000 --- a/doxygen/html/search/all_73.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- save - cmd2::Statekeeper -
-
-
-
- saveparser - cmd2::Cmd -
-
-
-
- schematic -
-
-
- -
- -
-
- select - cmd2::Cmd -
-
- - -
-
- setup.py -
-
- -
-
- singleLineParser - cmd2::Cmd -
-
- -
-
- source_suffix - conf -
-
-
-
- span - cmd2::History -
-
-
-
- spanpattern - cmd2::History -
-
-
-
- Statekeeper - cmd2 -
-
-
-
- stats - fileutil -
-
-
-
- stdin - cmd2::Cmd -
-
-
-
- stdout - cmd2::Cmd -
-
-
-
- stubbornDict - cmd2 -
-
-
-
- StubbornDict - cmd2 -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_74.html b/doxygen/html/search/all_74.html deleted file mode 100644 index 5f908ee..0000000 --- a/doxygen/html/search/all_74.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - -
-
Loading...
- -
-
- tech - graph -
-
-
-
- templates_path - conf -
-
- -
-
- teststr - ignoreBug -
-
-
-
- teststring - cmd2 -
-
-
-
- timing - cmd2::Cmd -
-
-
-
- to_dict - cmd2::StubbornDict -
-
-
-
- to_index - cmd2::History -
-
-
-
- transcripts - cmd2::Cmd2TestCase -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_75.html b/doxygen/html/search/all_75.html deleted file mode 100644 index a718ba1..0000000 --- a/doxygen/html/search/all_75.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- update - cmd2::StubbornDict -
-
-
-
- url - setup -
-
-
-
- urlre - cmd2::Cmd -
-
-
-
- use_2to3 - setup -
-
-
-
- use_rawinput - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_76.html b/doxygen/html/search/all_76.html deleted file mode 100644 index d7f1e1c..0000000 --- a/doxygen/html/search/all_76.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - -
-
Loading...
- -
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_77.html b/doxygen/html/search/all_77.html deleted file mode 100644 index 7c81497..0000000 --- a/doxygen/html/search/all_77.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- with_args_replaced - cmd2::ParsedString -
-
-
-
- write - cmd2::OutputTrap -
-
- -
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_78.html b/doxygen/html/search/all_78.html deleted file mode 100644 index 23a51e3..0000000 --- a/doxygen/html/search/all_78.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- xclipproc - cmd2 -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/all_7a.html b/doxygen/html/search/all_7a.html deleted file mode 100644 index 2cfdf20..0000000 --- a/doxygen/html/search/all_7a.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- zero_based_index - cmd2::History -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/classes_62.html b/doxygen/html/search/classes_62.html deleted file mode 100644 index 4124bca..0000000 --- a/doxygen/html/search/classes_62.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- Borg - cmd2 -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/classes_63.html b/doxygen/html/search/classes_63.html deleted file mode 100644 index 94a7fe8..0000000 --- a/doxygen/html/search/classes_63.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- Cmd - cmd2 -
-
-
-
- Cmd2TestCase - cmd2 -
-
-
-
- CmdLineApp - example -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/classes_65.html b/doxygen/html/search/classes_65.html deleted file mode 100644 index ca057c3..0000000 --- a/doxygen/html/search/classes_65.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- EmbeddedConsoleExit - cmd2 -
-
-
-
- EmptyStatement - cmd2 -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/classes_68.html b/doxygen/html/search/classes_68.html deleted file mode 100644 index 82f4f15..0000000 --- a/doxygen/html/search/classes_68.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- History - cmd2 -
-
-
-
- HistoryItem - cmd2 -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/classes_6e.html b/doxygen/html/search/classes_6e.html deleted file mode 100644 index c3b342e..0000000 --- a/doxygen/html/search/classes_6e.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- NotSettableError - cmd2 -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/classes_6f.html b/doxygen/html/search/classes_6f.html deleted file mode 100644 index fcb09dd..0000000 --- a/doxygen/html/search/classes_6f.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- OptionParser - cmd2 -
-
-
-
- OutputTrap - cmd2 -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/classes_70.html b/doxygen/html/search/classes_70.html deleted file mode 100644 index 13df87d..0000000 --- a/doxygen/html/search/classes_70.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- ParsedString - cmd2 -
-
-
-
- PasteBufferError - cmd2 -
-
-
-
- Pirate - pirate8 -
-
-
-
- Pirate - pirate7 -
-
-
-
- Pirate - pirate6 -
-
-
-
- Pirate - pirate5 -
-
-
-
- Pirate - pirate4 -
-
-
-
- Pirate - pirate3 -
-
-
-
- Pirate - pirate2 -
-
-
-
- Pirate - pirate -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/classes_73.html b/doxygen/html/search/classes_73.html deleted file mode 100644 index 1344a18..0000000 --- a/doxygen/html/search/classes_73.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- Statekeeper - cmd2 -
-
-
-
- StubbornDict - cmd2 -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/close.png b/doxygen/html/search/close.png deleted file mode 100644 index 9342d3d..0000000 Binary files a/doxygen/html/search/close.png and /dev/null differ diff --git a/doxygen/html/search/files_63.html b/doxygen/html/search/files_63.html deleted file mode 100644 index 60f5e9b..0000000 --- a/doxygen/html/search/files_63.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- cmd2.py -
-
-
-
- conf.py -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/files_65.html b/doxygen/html/search/files_65.html deleted file mode 100644 index 0e1538b..0000000 --- a/doxygen/html/search/files_65.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - -
-
Loading...
-
- -
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/files_66.html b/doxygen/html/search/files_66.html deleted file mode 100644 index 1555287..0000000 --- a/doxygen/html/search/files_66.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - -
-
Loading...
-
- -
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/files_67.html b/doxygen/html/search/files_67.html deleted file mode 100644 index 997b64a..0000000 --- a/doxygen/html/search/files_67.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- graph.py -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/files_69.html b/doxygen/html/search/files_69.html deleted file mode 100644 index 7dde80f..0000000 --- a/doxygen/html/search/files_69.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - -
-
Loading...
-
- -
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/files_70.html b/doxygen/html/search/files_70.html deleted file mode 100644 index 94d6ce0..0000000 --- a/doxygen/html/search/files_70.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- pirate.py -
-
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/files_73.html b/doxygen/html/search/files_73.html deleted file mode 100644 index d86fe34..0000000 --- a/doxygen/html/search/files_73.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - -
-
Loading...
-
- -
-
-
- setup.py -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/functions_5f.html b/doxygen/html/search/functions_5f.html deleted file mode 100644 index eabf911..0000000 --- a/doxygen/html/search/functions_5f.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- __add__ - cmd2::StubbornDict -
-
-
-
- __iadd__ - cmd2::StubbornDict -
-
- -
-
- __new__ - cmd2::Borg -
-
-
-
- __radd__ - cmd2::StubbornDict -
-
-
-
- _attr_get_ - cmd2 -
-
-
-
- _cmdloop - cmd2::Cmd -
-
-
-
- _default - cmd2::Cmd -
-
-
-
- _init_parser - cmd2::Cmd -
-
-
-
- _test_transcript - cmd2::Cmd2TestCase -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/functions_61.html b/doxygen/html/search/functions_61.html deleted file mode 100644 index 20717d3..0000000 --- a/doxygen/html/search/functions_61.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- append - cmd2::History -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/functions_63.html b/doxygen/html/search/functions_63.html deleted file mode 100644 index 42f0b91..0000000 --- a/doxygen/html/search/functions_63.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- cast - cmd2 -
-
-
-
- cmdloop - cmd2::Cmd -
-
-
-
- colorize - cmd2::Cmd -
-
-
-
- complete_statement - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/functions_64.html b/doxygen/html/search/functions_64.html deleted file mode 100644 index f20a7b3..0000000 --- a/doxygen/html/search/functions_64.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - - -
-
Loading...
- -
-
- do__relative_load - cmd2::Cmd -
-
-
-
- do_cmdenvironment - cmd2::Cmd -
-
- -
-
- do_ed - cmd2::Cmd -
-
-
-
- do_EOF - cmd2::Cmd -
-
-
-
- do_help - cmd2::Cmd -
-
-
-
- do_history - cmd2::Cmd -
-
-
-
- do_list - cmd2::Cmd -
-
-
-
- do_load - cmd2::Cmd -
-
- -
-
- do_pause - cmd2::Cmd -
-
-
-
- do_py - cmd2::Cmd -
-
- -
-
- do_run - cmd2::Cmd -
-
-
-
- do_save - cmd2::Cmd -
-
-
-
- do_set - cmd2::Cmd -
-
-
-
- do_shell - cmd2::Cmd -
-
-
-
- do_shortcuts - cmd2::Cmd -
-
-
-
- do_show - cmd2::Cmd -
-
- -
-
- do_speak - example::CmdLineApp -
-
-
-
- do_yo - pirate8::Pirate -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/functions_65.html b/doxygen/html/search/functions_65.html deleted file mode 100644 index cd12e01..0000000 --- a/doxygen/html/search/functions_65.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- error - cmd2::OptionParser -
-
-
-
- exit - cmd2::OptionParser -
-
-
-
- extend - cmd2::History -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/functions_66.html b/doxygen/html/search/functions_66.html deleted file mode 100644 index 3c0d7d9..0000000 --- a/doxygen/html/search/functions_66.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- fetchTranscripts - cmd2::Cmd2TestCase -
-
-
-
- fileimport - cmd2::Cmd -
-
-
-
- find_packages - setup -
-
-
-
- full_parsed_statement - cmd2::ParsedString -
-
-
-
- func_named - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/functions_67.html b/doxygen/html/search/functions_67.html deleted file mode 100644 index 04c8478..0000000 --- a/doxygen/html/search/functions_67.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- get - cmd2::History -
-
- -
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/functions_6c.html b/doxygen/html/search/functions_6c.html deleted file mode 100644 index 1778cb9..0000000 --- a/doxygen/html/search/functions_6c.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- label - graph -
-
-
-
- last_matching - cmd2::Cmd -
-
-
-
- line - graph -
-
-
-
- ljust - cmd2 -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/functions_6f.html b/doxygen/html/search/functions_6f.html deleted file mode 100644 index bf98d95..0000000 --- a/doxygen/html/search/functions_6f.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- onecmd - cmd2::Cmd -
-
-
-
- onecmd_plus_hooks - cmd2::Cmd -
-
-
-
- options - cmd2 -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/functions_70.html b/doxygen/html/search/functions_70.html deleted file mode 100644 index 93baca9..0000000 --- a/doxygen/html/search/functions_70.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- parsed - cmd2::Cmd -
-
-
-
- perror - cmd2::Cmd -
-
-
-
- pfeedback - cmd2::Cmd -
-
- -
-
- postparse - cmd2::Cmd -
-
-
-
- postparsing_postcmd - cmd2::Cmd -
-
-
-
- postparsing_precmd - cmd2::Cmd -
-
-
-
- poutput - cmd2::Cmd -
-
-
-
- pr - cmd2::HistoryItem -
-
- -
-
- preparse - cmd2::Cmd -
-
-
-
- print_help - cmd2::OptionParser -
-
-
-
- pseudo_raw_input - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/functions_72.html b/doxygen/html/search/functions_72.html deleted file mode 100644 index a29bf90..0000000 --- a/doxygen/html/search/functions_72.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- read - cmd2::OutputTrap -
-
-
-
- read_file_or_url - cmd2::Cmd -
-
-
-
- rectangle - schematic -
-
-
-
- redirect_output - cmd2::Cmd -
-
-
-
- remaining_args - cmd2 -
-
- -
-
- restore - cmd2::Statekeeper -
-
-
-
- restore_output - cmd2::Cmd -
-
-
-
- run_commands_at_invocation - cmd2::Cmd -
-
-
-
- runTest - cmd2::Cmd2TestCase -
-
-
-
- runTranscriptTests - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/functions_73.html b/doxygen/html/search/functions_73.html deleted file mode 100644 index 546d3e3..0000000 --- a/doxygen/html/search/functions_73.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- save - cmd2::Statekeeper -
-
- -
-
- select - cmd2::Cmd -
-
-
-
- setUp - cmd2::Cmd2TestCase -
-
-
-
- span - cmd2::History -
-
-
-
- stubbornDict - cmd2 -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/functions_74.html b/doxygen/html/search/functions_74.html deleted file mode 100644 index 4b2f901..0000000 --- a/doxygen/html/search/functions_74.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - -
-
Loading...
- -
-
- tech - graph -
-
-
-
- to_dict - cmd2::StubbornDict -
-
-
-
- to_index - cmd2::History -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/functions_75.html b/doxygen/html/search/functions_75.html deleted file mode 100644 index c862dc9..0000000 --- a/doxygen/html/search/functions_75.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- update - cmd2::StubbornDict -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/functions_77.html b/doxygen/html/search/functions_77.html deleted file mode 100644 index e0a0f42..0000000 --- a/doxygen/html/search/functions_77.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- with_args_replaced - cmd2::ParsedString -
-
-
-
- write - cmd2::OutputTrap -
-
-
- -
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/functions_7a.html b/doxygen/html/search/functions_7a.html deleted file mode 100644 index 2cfdf20..0000000 --- a/doxygen/html/search/functions_7a.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- zero_based_index - cmd2::History -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/mag_sel.png b/doxygen/html/search/mag_sel.png deleted file mode 100644 index 81f6040..0000000 Binary files a/doxygen/html/search/mag_sel.png and /dev/null differ diff --git a/doxygen/html/search/namespaces_63.html b/doxygen/html/search/namespaces_63.html deleted file mode 100644 index 62d9f18..0000000 --- a/doxygen/html/search/namespaces_63.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- cmd2 -
-
-
-
- conf -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/namespaces_65.html b/doxygen/html/search/namespaces_65.html deleted file mode 100644 index dbe3ec8..0000000 --- a/doxygen/html/search/namespaces_65.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- example -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/namespaces_66.html b/doxygen/html/search/namespaces_66.html deleted file mode 100644 index 952c924..0000000 --- a/doxygen/html/search/namespaces_66.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- fileutil -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/namespaces_67.html b/doxygen/html/search/namespaces_67.html deleted file mode 100644 index f4b71fd..0000000 --- a/doxygen/html/search/namespaces_67.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- graph -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/namespaces_69.html b/doxygen/html/search/namespaces_69.html deleted file mode 100644 index 61a3623..0000000 --- a/doxygen/html/search/namespaces_69.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- ignoreBug -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/namespaces_70.html b/doxygen/html/search/namespaces_70.html deleted file mode 100644 index 53afd33..0000000 --- a/doxygen/html/search/namespaces_70.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- pirate -
-
-
-
- pirate2 -
-
-
-
- pirate3 -
-
-
-
- pirate4 -
-
-
-
- pirate5 -
-
-
-
- pirate6 -
-
-
-
- pirate7 -
-
-
-
- pirate8 -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/namespaces_73.html b/doxygen/html/search/namespaces_73.html deleted file mode 100644 index 5d0321c..0000000 --- a/doxygen/html/search/namespaces_73.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- schematic -
-
-
-
- setup -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/nomatches.html b/doxygen/html/search/nomatches.html deleted file mode 100644 index b1ded27..0000000 --- a/doxygen/html/search/nomatches.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - -
-
No Matches
-
- - diff --git a/doxygen/html/search/search.css b/doxygen/html/search/search.css deleted file mode 100644 index dae426e..0000000 --- a/doxygen/html/search/search.css +++ /dev/null @@ -1,233 +0,0 @@ -/*---------------- Search Box */ - -#FSearchBox { - float: left; -} - -#MSearchBox { - white-space : nowrap; - position: absolute; - float: none; - display: inline; - margin-top: 8px; - right: 0px; - width: 170px; - z-index: 102; -} - -#MSearchBox .left -{ - display:block; - position:absolute; - left:10px; - width:20px; - height:19px; - background:url('search_l.png') no-repeat; - background-position:right; -} - -#MSearchSelect { - display:block; - position:absolute; - width:20px; - height:19px; -} - -.left #MSearchSelect { - left:4px; -} - -.right #MSearchSelect { - right:5px; -} - -#MSearchField { - display:block; - position:absolute; - height:19px; - background:url('search_m.png') repeat-x; - border:none; - width:116px; - margin-left:20px; - padding-left:4px; - color: #909090; - outline: none; - font: 9pt Arial, Verdana, sans-serif; -} - -#FSearchBox #MSearchField { - margin-left:15px; -} - -#MSearchBox .right { - display:block; - position:absolute; - right:10px; - top:0px; - width:20px; - height:19px; - background:url('search_r.png') no-repeat; - background-position:left; -} - -#MSearchClose { - display: none; - position: absolute; - top: 4px; - background : none; - border: none; - margin: 0px 4px 0px 0px; - padding: 0px 0px; - outline: none; -} - -.left #MSearchClose { - left: 6px; -} - -.right #MSearchClose { - right: 2px; -} - -.MSearchBoxActive #MSearchField { - color: #000000; -} - -/*---------------- Search filter selection */ - -#MSearchSelectWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid #90A5CE; - background-color: #F9FAFC; - z-index: 1; - padding-top: 4px; - padding-bottom: 4px; - -moz-border-radius: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -.SelectItem { - font: 8pt Arial, Verdana, sans-serif; - padding-left: 2px; - padding-right: 12px; - border: 0px; -} - -span.SelectionMark { - margin-right: 4px; - font-family: monospace; - outline-style: none; - text-decoration: none; -} - -a.SelectItem { - display: block; - outline-style: none; - color: #000000; - text-decoration: none; - padding-left: 6px; - padding-right: 12px; -} - -a.SelectItem:focus, -a.SelectItem:active { - color: #000000; - outline-style: none; - text-decoration: none; -} - -a.SelectItem:hover { - color: #FFFFFF; - background-color: #3D578C; - outline-style: none; - text-decoration: none; - cursor: pointer; - display: block; -} - -/*---------------- Search results window */ - -iframe#MSearchResults { - width: 60ex; - height: 15em; -} - -#MSearchResultsWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid #000; - background-color: #EEF1F7; -} - -/* ----------------------------------- */ - - -#SRIndex { - clear:both; - padding-bottom: 15px; -} - -.SREntry { - font-size: 10pt; - padding-left: 1ex; -} - -.SRPage .SREntry { - font-size: 8pt; - padding: 1px 5px; -} - -body.SRPage { - margin: 5px 2px; -} - -.SRChildren { - padding-left: 3ex; padding-bottom: .5em -} - -.SRPage .SRChildren { - display: none; -} - -.SRSymbol { - font-weight: bold; - color: #425E97; - font-family: Arial, Verdana, sans-serif; - text-decoration: none; - outline: none; -} - -a.SRScope { - display: block; - color: #425E97; - font-family: Arial, Verdana, sans-serif; - text-decoration: none; - outline: none; -} - -a.SRSymbol:focus, a.SRSymbol:active, -a.SRScope:focus, a.SRScope:active { - text-decoration: underline; -} - -.SRPage .SRStatus { - padding: 2px 5px; - font-size: 8pt; - font-style: italic; -} - -.SRResult { - display: none; -} - -DIV.searchresults { - margin-left: 10px; - margin-right: 10px; -} diff --git a/doxygen/html/search/search.js b/doxygen/html/search/search.js deleted file mode 100644 index 650a7f0..0000000 --- a/doxygen/html/search/search.js +++ /dev/null @@ -1,736 +0,0 @@ -// Search script generated by doxygen -// Copyright (C) 2009 by Dimitri van Heesch. - -// The code in this file is loosly based on main.js, part of Natural Docs, -// which is Copyright (C) 2003-2008 Greg Valure -// Natural Docs is licensed under the GPL. - -var indexSectionsWithContent = -{ - 0: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010111111111011111111111111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 1: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011010010000011100100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 2: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001011101000000100100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 3: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001011101000000100100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 4: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010101111100001001101111010010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 5: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010111111111011111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" -}; - -var indexSectionNames = -{ - 0: "all", - 1: "classes", - 2: "namespaces", - 3: "files", - 4: "functions", - 5: "variables" -}; - -function convertToId(search) -{ - var result = ''; - for (i=0;i do a search - { - this.Search(); - } - } - - this.OnSearchSelectKey = function(evt) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==40 && this.searchIndex0) // Up - { - this.searchIndex--; - this.OnSelectItem(this.searchIndex); - } - else if (e.keyCode==13 || e.keyCode==27) - { - this.OnSelectItem(this.searchIndex); - this.CloseSelectionWindow(); - this.DOMSearchField().focus(); - } - return false; - } - - // --------- Actions - - // Closes the results window. - this.CloseResultsWindow = function() - { - this.DOMPopupSearchResultsWindow().style.display = 'none'; - this.DOMSearchClose().style.display = 'none'; - this.Activate(false); - } - - this.CloseSelectionWindow = function() - { - this.DOMSearchSelectWindow().style.display = 'none'; - } - - // Performs a search. - this.Search = function() - { - this.keyTimeout = 0; - - // strip leading whitespace - var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); - - var code = searchValue.toLowerCase().charCodeAt(0); - var hexCode; - if (code<16) - { - hexCode="0"+code.toString(16); - } - else - { - hexCode=code.toString(16); - } - - var resultsPage; - var resultsPageWithSearch; - var hasResultsPage; - - if (indexSectionsWithContent[this.searchIndex].charAt(code) == '1') - { - resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; - resultsPageWithSearch = resultsPage+'?'+escape(searchValue); - hasResultsPage = true; - } - else // nothing available for this search term - { - resultsPage = this.resultsPath + '/nomatches.html'; - resultsPageWithSearch = resultsPage; - hasResultsPage = false; - } - - window.frames.MSearchResults.location = resultsPageWithSearch; - var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); - - if (domPopupSearchResultsWindow.style.display!='block') - { - var domSearchBox = this.DOMSearchBox(); - this.DOMSearchClose().style.display = 'inline'; - if (this.insideFrame) - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - domPopupSearchResultsWindow.style.position = 'relative'; - domPopupSearchResultsWindow.style.display = 'block'; - var width = document.body.clientWidth - 8; // the -8 is for IE :-( - domPopupSearchResultsWindow.style.width = width + 'px'; - domPopupSearchResults.style.width = width + 'px'; - } - else - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; - var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; - domPopupSearchResultsWindow.style.display = 'block'; - left -= domPopupSearchResults.offsetWidth; - domPopupSearchResultsWindow.style.top = top + 'px'; - domPopupSearchResultsWindow.style.left = left + 'px'; - } - } - - this.lastSearchValue = searchValue; - this.lastResultsPage = resultsPage; - } - - // -------- Activation Functions - - // Activates or deactivates the search panel, resetting things to - // their default values if necessary. - this.Activate = function(isActive) - { - if (isActive || // open it - this.DOMPopupSearchResultsWindow().style.display == 'block' - ) - { - this.DOMSearchBox().className = 'MSearchBoxActive'; - - var searchField = this.DOMSearchField(); - - if (searchField.value == this.searchLabel) // clear "Search" term upon entry - { - searchField.value = ''; - this.searchActive = true; - } - } - else if (!isActive) // directly remove the panel - { - this.DOMSearchBox().className = 'MSearchBoxInactive'; - this.DOMSearchField().value = this.searchLabel; - this.searchActive = false; - this.lastSearchValue = '' - this.lastResultsPage = ''; - } - } -} - -// ----------------------------------------------------------------------- - -// The class that handles everything on the search results page. -function SearchResults(name) -{ - // The number of matches from the last run of . - this.lastMatchCount = 0; - this.lastKey = 0; - this.repeatOn = false; - - // Toggles the visibility of the passed element ID. - this.FindChildElement = function(id) - { - var parentElement = document.getElementById(id); - var element = parentElement.firstChild; - - while (element && element!=parentElement) - { - if (element.nodeName == 'DIV' && element.className == 'SRChildren') - { - return element; - } - - if (element.nodeName == 'DIV' && element.hasChildNodes()) - { - element = element.firstChild; - } - else if (element.nextSibling) - { - element = element.nextSibling; - } - else - { - do - { - element = element.parentNode; - } - while (element && element!=parentElement && !element.nextSibling); - - if (element && element!=parentElement) - { - element = element.nextSibling; - } - } - } - } - - this.Toggle = function(id) - { - var element = this.FindChildElement(id); - if (element) - { - if (element.style.display == 'block') - { - element.style.display = 'none'; - } - else - { - element.style.display = 'block'; - } - } - } - - // Searches for the passed string. If there is no parameter, - // it takes it from the URL query. - // - // Always returns true, since other documents may try to call it - // and that may or may not be possible. - this.Search = function(search) - { - if (!search) // get search word from URL - { - search = window.location.search; - search = search.substring(1); // Remove the leading '?' - search = unescape(search); - } - - search = search.replace(/^ +/, ""); // strip leading spaces - search = search.replace(/ +$/, ""); // strip trailing spaces - search = search.toLowerCase(); - search = convertToId(search); - - var resultRows = document.getElementsByTagName("div"); - var matches = 0; - - var i = 0; - while (i < resultRows.length) - { - var row = resultRows.item(i); - if (row.className == "SRResult") - { - var rowMatchName = row.id.toLowerCase(); - rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' - - if (search.length<=rowMatchName.length && - rowMatchName.substr(0, search.length)==search) - { - row.style.display = 'block'; - matches++; - } - else - { - row.style.display = 'none'; - } - } - i++; - } - document.getElementById("Searching").style.display='none'; - if (matches == 0) // no results - { - document.getElementById("NoMatches").style.display='block'; - } - else // at least one result - { - document.getElementById("NoMatches").style.display='none'; - } - this.lastMatchCount = matches; - return true; - } - - // return the first item with index index or higher that is visible - this.NavNext = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index++; - } - return focusItem; - } - - this.NavPrev = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index--; - } - return focusItem; - } - - this.ProcessKeys = function(e) - { - if (e.type == "keydown") - { - this.repeatOn = false; - this.lastKey = e.keyCode; - } - else if (e.type == "keypress") - { - if (!this.repeatOn) - { - if (this.lastKey) this.repeatOn = true; - return false; // ignore first keypress after keydown - } - } - else if (e.type == "keyup") - { - this.lastKey = 0; - this.repeatOn = false; - } - return this.lastKey!=0; - } - - this.Nav = function(evt,itemIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - var newIndex = itemIndex-1; - var focusItem = this.NavPrev(newIndex); - if (focusItem) - { - var child = this.FindChildElement(focusItem.parentNode.parentNode.id); - if (child && child.style.display == 'block') // children visible - { - var n=0; - var tmpElem; - while (1) // search for last child - { - tmpElem = document.getElementById('Item'+newIndex+'_c'+n); - if (tmpElem) - { - focusItem = tmpElem; - } - else // found it! - { - break; - } - n++; - } - } - } - if (focusItem) - { - focusItem.focus(); - } - else // return focus to search field - { - parent.document.getElementById("MSearchField").focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = itemIndex+1; - var focusItem; - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem && elem.style.display == 'block') // children visible - { - focusItem = document.getElementById('Item'+itemIndex+'_c0'); - } - if (!focusItem) focusItem = this.NavNext(newIndex); - if (focusItem) focusItem.focus(); - } - else if (this.lastKey==39) // Right - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'block'; - } - else if (this.lastKey==37) // Left - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'none'; - } - else if (this.lastKey==27) // Escape - { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } - - this.NavChild = function(evt,itemIndex,childIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - if (childIndex>0) - { - var newIndex = childIndex-1; - document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); - } - else // already at first child, jump to parent - { - document.getElementById('Item'+itemIndex).focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = childIndex+1; - var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); - if (!elem) // last child, jump to parent next parent - { - elem = this.NavNext(itemIndex+1); - } - if (elem) - { - elem.focus(); - } - } - else if (this.lastKey==27) // Escape - { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } -} diff --git a/doxygen/html/search/search_l.png b/doxygen/html/search/search_l.png deleted file mode 100644 index c872f4d..0000000 Binary files a/doxygen/html/search/search_l.png and /dev/null differ diff --git a/doxygen/html/search/search_m.png b/doxygen/html/search/search_m.png deleted file mode 100644 index b429a16..0000000 Binary files a/doxygen/html/search/search_m.png and /dev/null differ diff --git a/doxygen/html/search/search_r.png b/doxygen/html/search/search_r.png deleted file mode 100644 index 97ee8b4..0000000 Binary files a/doxygen/html/search/search_r.png and /dev/null differ diff --git a/doxygen/html/search/variables_5f.html b/doxygen/html/search/variables_5f.html deleted file mode 100644 index fbec8ec..0000000 --- a/doxygen/html/search/variables_5f.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- __version__ - cmd2 -
-
-
-
- _shared_state - cmd2::Borg -
-
-
-
- _STOP_AND_EXIT - cmd2::Cmd -
-
-
-
- _STOP_SCRIPT_NO_EXIT - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_61.html b/doxygen/html/search/variables_61.html deleted file mode 100644 index c0a43fa..0000000 --- a/doxygen/html/search/variables_61.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- abbrev - cmd2::Cmd -
-
-
-
- action - pirate8::Pirate -
-
-
-
- anyWhitespace - cmd2::Cmd2TestCase -
-
-
-
- append - cmd2::StubbornDict -
-
-
-
- attribs - cmd2::Statekeeper -
-
-
-
- author - setup -
-
-
-
- author_email - setup -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_62.html b/doxygen/html/search/variables_62.html deleted file mode 100644 index b45c0e0..0000000 --- a/doxygen/html/search/variables_62.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- blankLinesAllowed - cmd2::Cmd -
-
-
-
- blankLineTerminationParser - cmd2::Cmd -
-
-
-
- blankLineTerminator - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_63.html b/doxygen/html/search/variables_63.html deleted file mode 100644 index 9732d38..0000000 --- a/doxygen/html/search/variables_63.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- c - example -
-
-
-
- can_clip - cmd2 -
-
-
-
- case_insensitive - cmd2::Cmd -
-
-
-
- classifiers - setup -
-
- -
-
- colorcodes - cmd2::Cmd -
-
-
-
- colors - cmd2::Cmd -
-
-
-
- commentGrammars - cmd2::Cmd -
-
-
-
- commentInProgress - cmd2::Cmd -
-
-
-
- contents - cmd2::OutputTrap -
-
- - -
-
- current_script_dir - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_64.html b/doxygen/html/search/variables_64.html deleted file mode 100644 index e0f50c5..0000000 --- a/doxygen/html/search/variables_64.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- debug - cmd2::Cmd -
-
-
-
- default_file_name - cmd2::Cmd -
-
- -
-
- defaultExtension - cmd2::Cmd -
-
-
-
- description - setup -
-
-
-
- do__load - cmd2::Cmd -
-
-
-
- do_edit - cmd2::Cmd -
-
-
-
- do_eof - cmd2::Cmd -
-
-
-
- do_exit - cmd2::Cmd -
-
-
-
- do_hi - cmd2::Cmd -
-
-
-
- do_l - cmd2::Cmd -
-
-
-
- do_li - cmd2::Cmd -
-
-
-
- do_orate - example::CmdLineApp -
-
-
-
- do_q - cmd2::Cmd -
-
-
-
- do_r - cmd2::Cmd -
-
-
-
- do_say - example::CmdLineApp -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_65.html b/doxygen/html/search/variables_65.html deleted file mode 100644 index 3e5833f..0000000 --- a/doxygen/html/search/variables_65.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- echo - cmd2::Cmd -
-
- -
-
- errmsg - cmd2::PasteBufferError -
-
-
-
- exclude_trees - conf -
-
-
-
- excludeFromHistory - cmd2::Cmd -
-
-
-
- expectationParser - cmd2::Cmd2TestCase -
-
-
-
- extensions - conf -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_66.html b/doxygen/html/search/variables_66.html deleted file mode 100644 index 6875571..0000000 --- a/doxygen/html/search/variables_66.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- feedback_to_output - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_67.html b/doxygen/html/search/variables_67.html deleted file mode 100644 index d13c19f..0000000 --- a/doxygen/html/search/variables_67.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - -
-
Loading...
- -
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_68.html b/doxygen/html/search/variables_68.html deleted file mode 100644 index 2c30b90..0000000 --- a/doxygen/html/search/variables_68.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - -
-
Loading...
- -
-
- history - cmd2::Cmd -
-
-
-
- html_static_path - conf -
-
-
-
- html_theme - conf -
-
-
-
- htmlhelp_basename - conf -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_69.html b/doxygen/html/search/variables_69.html deleted file mode 100644 index 395712f..0000000 --- a/doxygen/html/search/variables_69.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- idx - cmd2::HistoryItem -
-
- -
-
- initial_stdout - cmd2::Cmd -
-
-
-
- inputParser - cmd2::Cmd -
-
-
-
- install_requires - setup -
-
-
-
- intersphinx_mapping - conf -
-
-
-
- intro - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_6b.html b/doxygen/html/search/variables_6b.html deleted file mode 100644 index 954b9ab..0000000 --- a/doxygen/html/search/variables_6b.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- kept_state - cmd2::Cmd -
-
-
-
- kept_sys - cmd2::Cmd -
-
- -
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_6c.html b/doxygen/html/search/variables_6c.html deleted file mode 100644 index f41dbd3..0000000 --- a/doxygen/html/search/variables_6c.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- lastcmd - cmd2::Cmd -
-
-
-
- latex_documents - conf -
-
-
-
- legalChars - cmd2::Cmd -
-
-
-
- license - setup -
-
-
-
- listformat - cmd2::HistoryItem -
-
-
-
- locals_in_py - cmd2::Cmd -
-
-
-
- long_description - setup -
-
-
-
- lowercase - cmd2::HistoryItem -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_6d.html b/doxygen/html/search/variables_6d.html deleted file mode 100644 index 5160ab1..0000000 --- a/doxygen/html/search/variables_6d.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- master_doc - conf -
-
-
-
- maxrepeats - example::CmdLineApp -
-
-
-
- multilineCommand - cmd2::Cmd -
-
- -
-
- multilineParser - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_6e.html b/doxygen/html/search/variables_6e.html deleted file mode 100644 index 6e55567..0000000 --- a/doxygen/html/search/variables_6e.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- name - setup -
-
-
-
- noSpecialParse - cmd2::Cmd -
-
-
-
- notRegexPattern - cmd2::Cmd2TestCase -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_6f.html b/doxygen/html/search/variables_6f.html deleted file mode 100644 index 29cf6af..0000000 --- a/doxygen/html/search/variables_6f.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- obj - cmd2::Statekeeper -
-
-
-
- old_completer - cmd2::Cmd -
-
-
-
- old_stdout - cmd2::OutputTrap -
-
-
-
- options_defined - cmd2 -
-
-
-
- outputTrap - cmd2::Cmd2TestCase -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_70.html b/doxygen/html/search/variables_70.html deleted file mode 100644 index e877c53..0000000 --- a/doxygen/html/search/variables_70.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - -
-
Loading...
- -
-
- pastebufferr - cmd2 -
-
-
-
- pensize - schematic -
-
- -
-
- prefixParser - cmd2::Cmd -
-
-
-
- project - conf -
-
- -
-
- py_modules - setup -
-
-
-
- pygments_style - conf -
-
-
-
- pystate - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_71.html b/doxygen/html/search/variables_71.html deleted file mode 100644 index 678051c..0000000 --- a/doxygen/html/search/variables_71.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- quiet - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_72.html b/doxygen/html/search/variables_72.html deleted file mode 100644 index ff1675c..0000000 --- a/doxygen/html/search/variables_72.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- rangePattern - cmd2::History -
-
-
-
- redirect - cmd2::Cmd -
-
- -
-
- regexPattern - cmd2::Cmd2TestCase -
-
-
-
- release - conf -
-
-
-
- reserved_words - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_73.html b/doxygen/html/search/variables_73.html deleted file mode 100644 index 9676371..0000000 --- a/doxygen/html/search/variables_73.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- saveparser - cmd2::Cmd -
-
- - -
-
- singleLineParser - cmd2::Cmd -
-
- -
-
- source_suffix - conf -
-
-
-
- spanpattern - cmd2::History -
-
-
-
- stats - fileutil -
-
-
-
- stdin - cmd2::Cmd -
-
-
-
- stdout - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_74.html b/doxygen/html/search/variables_74.html deleted file mode 100644 index d0affb3..0000000 --- a/doxygen/html/search/variables_74.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- templates_path - conf -
-
- -
-
- teststr - ignoreBug -
-
-
-
- teststring - cmd2 -
-
-
-
- timing - cmd2::Cmd -
-
-
-
- transcripts - cmd2::Cmd2TestCase -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_75.html b/doxygen/html/search/variables_75.html deleted file mode 100644 index c9c2e99..0000000 --- a/doxygen/html/search/variables_75.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- url - setup -
-
-
-
- urlre - cmd2::Cmd -
-
-
-
- use_2to3 - setup -
-
-
-
- use_rawinput - cmd2::Cmd -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_76.html b/doxygen/html/search/variables_76.html deleted file mode 100644 index d7f1e1c..0000000 --- a/doxygen/html/search/variables_76.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - -
-
Loading...
- -
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_77.html b/doxygen/html/search/variables_77.html deleted file mode 100644 index fe87350..0000000 --- a/doxygen/html/search/variables_77.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
- -
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/search/variables_78.html b/doxygen/html/search/variables_78.html deleted file mode 100644 index 23a51e3..0000000 --- a/doxygen/html/search/variables_78.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- xclipproc - cmd2 -
-
-
Searching...
-
No Matches
- -
- - diff --git a/doxygen/html/setup_8py.html b/doxygen/html/setup_8py.html deleted file mode 100644 index d99765a..0000000 --- a/doxygen/html/setup_8py.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/setup.py File Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
setup.py File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - -

-Packages

namespace  setup

-Functions

def setup::find_packages

-Variables

string setup::author = 'Catherine Devlin'
string setup::author_email = 'catherine.devlin@gmail.com'
list setup::classifiers
string setup::description = "Extra features for standard library's cmd module"
list setup::install_requires = ['pyparsing>=1.5.6']
string setup::keywords = 'command prompt console cmd'
string setup::license = 'MIT'
string setup::long_description
string setup::name = "cmd2"
list setup::py_modules = ["cmd2"]
string setup::url = 'http://packages.python.org/cmd2/'
 setup::use_2to3 = True,
string setup::version = "0.6.4"
-
-
- - - - - diff --git a/doxygen/html/setup_8py_source.html b/doxygen/html/setup_8py_source.html deleted file mode 100644 index 7287d10..0000000 --- a/doxygen/html/setup_8py_source.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/setup.py Source File - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
setup.py
-
-
-Go to the documentation of this file.
00001 #!/usr/bin/python
-00002 try:
-00003     from setuptools import setup, find_packages
-00004 except ImportError:
-00005     from distutils.core import setup
-00006     def find_packages():
-00007         return ['sqlpython']
-00008 import sys
-00009 
-00010 install_requires = ['pyparsing>=1.5.6']
-00011 setup(
-00012     name="cmd2",
-00013     version="0.6.4",
-00014     py_modules=["cmd2"],
-00015     use_2to3=True,
-00016     
-00017     # metadata for upload to PyPI
-00018     author = 'Catherine Devlin',
-00019     author_email = 'catherine.devlin@gmail.com',
-00020     description = "Extra features for standard library's cmd module",
-00021     license = 'MIT',
-00022     keywords = 'command prompt console cmd',
-00023     url = 'http://packages.python.org/cmd2/',
-00024     install_requires = install_requires,
-00025     long_description = """Enhancements for standard library's cmd module.
-00026 
-00027 Drop-in replacement adds several features for command-prompt tools:
-00028 
-00029     * Searchable command history (commands: "hi", "li", "run")
-00030     * Load commands from file, save to file, edit commands in file
-00031     * Multi-line commands
-00032     * Case-insensitive commands
-00033     * Special-character shortcut commands (beyond cmd's "@" and "!")
-00034     * Settable environment parameters
-00035     * Parsing commands with flags
-00036     * > (filename), >> (filename) redirect output to file
-00037     * < (filename) gets input from file
-00038     * bare >, >>, < redirect to/from paste buffer
-00039     * accepts abbreviated commands when unambiguous
-00040     * `py` enters interactive Python console
-00041     * test apps against sample session transcript (see example/example.py)
-00042 
-00043 Useable without modification anywhere cmd is used; simply import cmd2.Cmd in place of cmd.Cmd.
-00044 
-00045 Running `2to3 <http://docs.python.org/library/2to3.html>` against ``cmd2.py`` 
-00046 generates working, Python3-based code.
-00047 
-00048 See docs at http://packages.python.org/cmd2/
-00049 """,
-00050 
-00051     classifiers=[
-00052         'Development Status :: 4 - Beta',
-00053         'Environment :: Console',
-00054         'Operating System :: OS Independent',
-00055         'Intended Audience :: Developers',
-00056         'Intended Audience :: System Administrators',
-00057         'Programming Language :: Python',
-00058         'License :: OSI Approved :: MIT License',
-00059         'Topic :: Software Development :: Libraries :: Python Modules',
-00060     ],
-00061     )
-00062 
-
-
- - - - - diff --git a/doxygen/html/svgpan.js b/doxygen/html/svgpan.js deleted file mode 100644 index da381fd..0000000 --- a/doxygen/html/svgpan.js +++ /dev/null @@ -1,295 +0,0 @@ -/** - * The code below is based on SVGPan Library 1.2 and was modified for doxygen - * to support both zooming and panning via the mouse and via embedded bottons. - * - * This code is licensed under the following BSD license: - * - * Copyright 2009-2010 Andrea Leofreddi . All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, are - * permitted provided that the following conditions are met: - * - * 1. Redistributions of source code must retain the above copyright notice, this list of - * conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright notice, this list - * of conditions and the following disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY Andrea Leofreddi ``AS IS'' AND ANY EXPRESS OR IMPLIED - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Andrea Leofreddi OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * The views and conclusions contained in the software and documentation are those of the - * authors and should not be interpreted as representing official policies, either expressed - * or implied, of Andrea Leofreddi. - */ - -var root = document.documentElement; -var state = 'none'; -var stateOrigin; -var stateTf = root.createSVGMatrix(); -var cursorGrab = ' url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAMAAAAolt3jAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAlQTFRFAAAA////////c3ilYwAAAAN0Uk5T//8A18oNQQAAAD1JREFUeNp0zlEKACAIA9Bt9z90bZBZkQj29qFBEuBOzQHSnWTTyckEfqUuZgFvslH4ch3qLCO/Kr8cAgwATw4Ax6XRCcoAAAAASUVORK5CYII="), move'; -var zoomSteps = 10; -var zoomInFactor; -var zoomOutFactor; -var windowWidth; -var windowHeight; -var svgDoc; -var minZoom; -var maxZoom; -if (!window) window=this; - -/** - * Show the graph in the middle of the view, scaled to fit - */ -function show() -{ - if (window.innerHeight) // Firefox - { - windowWidth = window.innerWidth; - windowHeight = window.innerHeight; - } - else if (document.documentElement.clientWidth) // Chrome/Safari - { - windowWidth = document.documentElement.clientWidth - windowHeight = document.documentElement.clientHeight - } - if (!windowWidth || !windowHeight) // failsafe - { - windowWidth = 800; - windowHeight = 600; - } - minZoom = Math.min(windowHeight/viewHeight,windowWidth/viewWidth); - maxZoom = minZoom+1.5; - zoomInFactor = Math.pow(maxZoom/minZoom,1.0/zoomSteps); - zoomOutFactor = 1.0/zoomInFactor; - - var g = svgDoc.getElementById('viewport'); - try - { - var bb = g.getBBox(); // this can throw an exception if css { display: none } - var tx = (windowWidth-viewWidth*minZoom+8)/(2*minZoom); - var ty = viewHeight+(windowHeight-viewHeight*minZoom)/(2*minZoom); - var a = 'scale('+minZoom+') rotate(0) translate('+tx+' '+ty+')'; - g.setAttribute('transform',a); - } - catch(e) {} -} - -/** - * Register handlers - */ -function init(evt) -{ - svgDoc = evt.target.ownerDocument; - if (top.window && top.window.registerShow) // register show function in html doc for dynamic sections - { - top.window.registerShow(sectionId,show); - } - show(); - - setAttributes(root, { - "onmousedown" : "handleMouseDown(evt)", - "onmousemove" : "handleMouseMove(evt)", - "onmouseup" : "handleMouseUp(evt)" - }); - - if (window.addEventListener) - { - if (navigator.userAgent.toLowerCase().indexOf('webkit') >= 0 || - navigator.userAgent.toLowerCase().indexOf("opera") >= 0 || - navigator.appVersion.indexOf("MSIE") != -1) - { - window.addEventListener('mousewheel', handleMouseWheel, false); // Chrome/Safari/IE9 - } - else - { - window.addEventListener('DOMMouseScroll', handleMouseWheel, false); // Others - } - } -} - -window.onresize=function() -{ - if (svgDoc) { show(); } -} - -/** - * Instance an SVGPoint object with given event coordinates. - */ -function getEventPoint(evt) -{ - var p = root.createSVGPoint(); - p.x = evt.clientX; - p.y = evt.clientY; - return p; -} - -/** - * Sets the current transform matrix of an element. - */ -function setCTM(element, matrix) -{ - var s = "matrix(" + matrix.a + "," + matrix.b + "," + matrix.c + "," + matrix.d + "," + matrix.e + "," + matrix.f + ")"; - element.setAttribute("transform", s); -} - -/** - * Sets attributes of an element. - */ -function setAttributes(element, attributes) -{ - for (i in attributes) - element.setAttributeNS(null, i, attributes[i]); -} - -function doZoom(g,point,zoomFactor) -{ - var p = point.matrixTransform(g.getCTM().inverse()); - var k = root.createSVGMatrix().translate(p.x, p.y).scale(zoomFactor).translate(-p.x, -p.y); - var n = g.getCTM().multiply(k); - var s = Math.max(n.a,n.d); - if (s>maxZoom) n=n.translate(p.x,p.y).scale(maxZoom/s).translate(-p.x,-p.y); - else if (s -1 || - navigator.appVersion.indexOf("MSIE") != -1) - { - delta = evt.wheelDelta / 7200; // Chrome/IE9 - } - else - { - delta = evt.wheelDelta / 72000; // Safari - } - } - else - { - delta = evt.detail / -180; // Mozilla - } - - var svgDoc = evt.target.ownerDocument; - var g = svgDoc.getElementById("viewport"); - var p = getEventPoint(evt); - doZoom(g,p,1+delta); - } -} - -/** - * Handle mouse move event. - */ -function handleMouseMove(evt) -{ - if(evt.preventDefault) - evt.preventDefault(); - - evt.returnValue = false; - - var g = svgDoc.getElementById("viewport"); - - if (state == 'pan') - { - // Pan mode - var p = getEventPoint(evt).matrixTransform(stateTf); - setCTM(g,stateTf.inverse().translate(p.x - stateOrigin.x, p.y - stateOrigin.y)); - } -} - -/** - * Handle click event. - */ -function handleMouseDown(evt) -{ - if(evt.preventDefault) - evt.preventDefault(); - evt.returnValue = false; - var g = svgDoc.getElementById("viewport"); - state = 'pan'; - stateTf = g.getCTM().inverse(); - stateOrigin = getEventPoint(evt).matrixTransform(stateTf); - g.style.cursor = cursorGrab; -} - -/** - * Handle mouse button release event. - */ -function handleMouseUp(evt) -{ - if (evt.preventDefault) evt.preventDefault(); - evt.returnValue = false; - var g = svgDoc.getElementById("viewport"); - g.style.cursor = "default"; - // Quit pan mode - state = ''; -} - -/** - * Dumps a matrix to a string (useful for debug). - */ -function dumpMatrix(matrix) -{ - var s = "[ " + matrix.a + ", " + matrix.c + ", " + matrix.e + "\n " + matrix.b + ", " + matrix.d + ", " + matrix.f + "\n 0, 0, 1 ]"; - return s; -} - -/** - * Handler for pan buttons - */ -function handlePan(x,y) -{ - var g = svgDoc.getElementById("viewport"); - setCTM(g,g.getCTM().translate(x*20/minZoom,y*20/minZoom)); -} - -/** - * Handle reset button - */ -function handleReset() -{ - show(); -} - -/** - * Handler for zoom buttons - */ -function handleZoom(evt,direction) -{ - var g = svgDoc.getElementById("viewport"); - var factor = direction=='in' ? zoomInFactor : zoomOutFactor; - var m = g.getCTM(); - var p = root.createSVGPoint(); - p.x = windowWidth/2; - p.y = windowHeight/2; - doZoom(g,p,factor); -} - - diff --git a/doxygen/html/tab_a.png b/doxygen/html/tab_a.png deleted file mode 100644 index 2d99ef2..0000000 Binary files a/doxygen/html/tab_a.png and /dev/null differ diff --git a/doxygen/html/tab_b.png b/doxygen/html/tab_b.png deleted file mode 100644 index b2c3d2b..0000000 Binary files a/doxygen/html/tab_b.png and /dev/null differ diff --git a/doxygen/html/tab_h.png b/doxygen/html/tab_h.png deleted file mode 100644 index c11f48f..0000000 Binary files a/doxygen/html/tab_h.png and /dev/null differ diff --git a/doxygen/html/tab_s.png b/doxygen/html/tab_s.png deleted file mode 100644 index 978943a..0000000 Binary files a/doxygen/html/tab_s.png and /dev/null differ diff --git a/doxygen/html/tabs.css b/doxygen/html/tabs.css deleted file mode 100644 index 2192056..0000000 --- a/doxygen/html/tabs.css +++ /dev/null @@ -1,59 +0,0 @@ -.tabs, .tabs2, .tabs3 { - background-image: url('tab_b.png'); - width: 100%; - z-index: 101; - font-size: 13px; -} - -.tabs2 { - font-size: 10px; -} -.tabs3 { - font-size: 9px; -} - -.tablist { - margin: 0; - padding: 0; - display: table; -} - -.tablist li { - float: left; - display: table-cell; - background-image: url('tab_b.png'); - line-height: 36px; - list-style: none; -} - -.tablist a { - display: block; - padding: 0 20px; - font-weight: bold; - background-image:url('tab_s.png'); - background-repeat:no-repeat; - background-position:right; - color: #283A5D; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - text-decoration: none; - outline: none; -} - -.tabs3 .tablist a { - padding: 0 10px; -} - -.tablist a:hover { - background-image: url('tab_h.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); - text-decoration: none; -} - -.tablist li.current a { - background-image: url('tab_a.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); -} diff --git a/doxygen/man/man3/_Users_amrogers_Developer_Projects_.3 b/doxygen/man/man3/_Users_amrogers_Developer_Projects_.3 deleted file mode 100644 index 43d18f1..0000000 --- a/doxygen/man/man3/_Users_amrogers_Developer_Projects_.3 +++ /dev/null @@ -1,15 +0,0 @@ -.TH "/Users/amrogers/Developer/Projects/ Directory Reference" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -/Users/amrogers/Developer/Projects/ Directory Reference \- -.SH SYNOPSIS -.br -.PP -.SS "Directories" - -.in +1c -.ti -1c -.RI "directory \fBcmd2\fP" -.br -.in -1c diff --git a/doxygen/man/man3/_Users_amrogers_Developer_Projects_cmd2_.3 b/doxygen/man/man3/_Users_amrogers_Developer_Projects_cmd2_.3 deleted file mode 100644 index 05c1bc8..0000000 --- a/doxygen/man/man3/_Users_amrogers_Developer_Projects_cmd2_.3 +++ /dev/null @@ -1,31 +0,0 @@ -.TH "/Users/amrogers/Developer/Projects/cmd2/ Directory Reference" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -/Users/amrogers/Developer/Projects/cmd2/ Directory Reference \- -.SH SYNOPSIS -.br -.PP -.SS "Directories" - -.in +1c -.ti -1c -.RI "directory \fBdocs\fP" -.br -.ti -1c -.RI "directory \fBexample\fP" -.br -.in -1c -.SS "Files" - -.in +1c -.ti -1c -.RI "file \fBcmd2\&.py\fP" -.br -.ti -1c -.RI "file \fBignoreBug\&.py\fP" -.br -.ti -1c -.RI "file \fBsetup\&.py\fP" -.br -.in -1c diff --git a/doxygen/man/man3/_Users_amrogers_Developer_Projects_cmd2_docs_.3 b/doxygen/man/man3/_Users_amrogers_Developer_Projects_cmd2_docs_.3 deleted file mode 100644 index 014ba43..0000000 --- a/doxygen/man/man3/_Users_amrogers_Developer_Projects_cmd2_docs_.3 +++ /dev/null @@ -1,22 +0,0 @@ -.TH "/Users/amrogers/Developer/Projects/cmd2/docs/ Directory Reference" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -/Users/amrogers/Developer/Projects/cmd2/docs/ Directory Reference \- -.SH SYNOPSIS -.br -.PP -.SS "Directories" - -.in +1c -.ti -1c -.RI "directory \fBpycon2010\fP" -.br -.in -1c -.SS "Files" - -.in +1c -.ti -1c -.RI "file \fBconf\&.py\fP" -.br -.in -1c diff --git a/doxygen/man/man3/_Users_amrogers_Developer_Projects_cmd2_docs_pycon2010_.3 b/doxygen/man/man3/_Users_amrogers_Developer_Projects_cmd2_docs_pycon2010_.3 deleted file mode 100644 index 6da21a7..0000000 --- a/doxygen/man/man3/_Users_amrogers_Developer_Projects_cmd2_docs_pycon2010_.3 +++ /dev/null @@ -1,45 +0,0 @@ -.TH "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/ Directory Reference" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/ Directory Reference \- -.SH SYNOPSIS -.br -.PP -.SS "Files" - -.in +1c -.ti -1c -.RI "file \fBfileutil\&.py\fP" -.br -.ti -1c -.RI "file \fBgraph\&.py\fP" -.br -.ti -1c -.RI "file \fBpirate\&.py\fP" -.br -.ti -1c -.RI "file \fBpirate2\&.py\fP" -.br -.ti -1c -.RI "file \fBpirate3\&.py\fP" -.br -.ti -1c -.RI "file \fBpirate4\&.py\fP" -.br -.ti -1c -.RI "file \fBpirate5\&.py\fP" -.br -.ti -1c -.RI "file \fBpirate6\&.py\fP" -.br -.ti -1c -.RI "file \fBpirate7\&.py\fP" -.br -.ti -1c -.RI "file \fBpirate8\&.py\fP" -.br -.ti -1c -.RI "file \fBschematic\&.py\fP" -.br -.in -1c diff --git a/doxygen/man/man3/_Users_amrogers_Developer_Projects_cmd2_example_.3 b/doxygen/man/man3/_Users_amrogers_Developer_Projects_cmd2_example_.3 deleted file mode 100644 index 2da496e..0000000 --- a/doxygen/man/man3/_Users_amrogers_Developer_Projects_cmd2_example_.3 +++ /dev/null @@ -1,15 +0,0 @@ -.TH "/Users/amrogers/Developer/Projects/cmd2/example/ Directory Reference" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -/Users/amrogers/Developer/Projects/cmd2/example/ Directory Reference \- -.SH SYNOPSIS -.br -.PP -.SS "Files" - -.in +1c -.ti -1c -.RI "file \fBexample\&.py\fP" -.br -.in -1c diff --git a/doxygen/man/man3/cmd2.3 b/doxygen/man/man3/cmd2.3 deleted file mode 100644 index 099fd47..0000000 --- a/doxygen/man/man3/cmd2.3 +++ /dev/null @@ -1,467 +0,0 @@ -.TH "cmd2" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -cmd2 \- -.SH SYNOPSIS -.br -.PP -.SS "Classes" - -.in +1c -.ti -1c -.RI "class \fBBorg\fP" -.br -.ti -1c -.RI "class \fBCmd\fP" -.br -.ti -1c -.RI "class \fBCmd2TestCase\fP" -.br -.ti -1c -.RI "class \fBEmbeddedConsoleExit\fP" -.br -.ti -1c -.RI "class \fBEmptyStatement\fP" -.br -.ti -1c -.RI "class \fBHistory\fP" -.br -.ti -1c -.RI "class \fBHistoryItem\fP" -.br -.ti -1c -.RI "class \fBNotSettableError\fP" -.br -.ti -1c -.RI "class \fBOptionParser\fP" -.br -.ti -1c -.RI "class \fBOutputTrap\fP" -.br -.ti -1c -.RI "class \fBParsedString\fP" -.br -.ti -1c -.RI "class \fBPasteBufferError\fP" -.br -.ti -1c -.RI "class \fBStatekeeper\fP" -.br -.ti -1c -.RI "class \fBStubbornDict\fP" -.br -.in -1c -.SS "Functions" - -.in +1c -.ti -1c -.RI "def \fB_attr_get_\fP" -.br -.ti -1c -.RI "def \fBcast\fP" -.br -.ti -1c -.RI "def \fBget_paste_buffer\fP" -.br -.ti -1c -.RI "def \fBget_paste_buffer\fP" -.br -.ti -1c -.RI "def \fBljust\fP" -.br -.ti -1c -.RI "def \fBoptions\fP" -.br -.ti -1c -.RI "def \fBremaining_args\fP" -.br -.ti -1c -.RI "def \fBreplace_with_file_contents\fP" -.br -.ti -1c -.RI "def \fBstubbornDict\fP" -.br -.ti -1c -.RI "def \fBwrite_to_paste_buffer\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "string \fB__version__\fP = '0\&.6\&.4'" -.br -.ti -1c -.RI "\fBcan_clip\fP = False" -.br -.ti -1c -.RI "list \fBoptions_defined\fP = []" -.br -.ti -1c -.RI "string \fBpastebufferr\fP" -.br -.ti -1c -.RI "string \fBteststring\fP = 'Testing for presence of xclip\&.'" -.br -.ti -1c -.RI "\fBwrite_to_paste_buffer\fP = get_paste_buffer" -.br -.ti -1c -.RI "tuple \fBxclipproc\fP = subprocess\&.Popen('xclip -sel clip', shell=True, stdout=subprocess\&.PIPE, stdin=subprocess\&.PIPE)" -.br -.in -1c -.SH "Detailed Description" -.PP -.PP -.nf -Variant on standard library's cmd with extra features. - -To use, simply import cmd2.Cmd instead of cmd.Cmd; use precisely as though you -were using the standard library's cmd, while enjoying the extra features. - -Searchable command history (commands: "hi", "li", "run") -Load commands from file, save to file, edit commands in file -Multi-line commands -Case-insensitive commands -Special-character shortcut commands (beyond cmd's "@" and "!") -Settable environment parameters -Optional _onchange_{paramname} called when environment parameter changes -Parsing commands with `optparse` options (flags) -Redirection to file with >, >>; input from file with < -Easy transcript-based testing of applications (see example/example.py) -Bash-style ``select`` available - -Note that redirection with > and | will only work if `self.stdout.write()` -is used in place of `print`. The standard library's `cmd` module is -written to use `self.stdout.write()`, - -- Catherine Devlin, Jan 03 2008 - catherinedevlin.blogspot.com - -mercurial repository at http://www.assembla.com/wiki/show/python-cmd2 -.fi -.PP - -.SH "Function Documentation" -.PP -.SS "def cmd2::_attr_get_ (obj, attr)\fC [private]\fP".PP -.nf -Returns an attribute's value, or None (no error) if undefined. - Analagous to .get() for dictionaries. Useful when checking for - value of options that may not have been defined on a given - method..fi -.PP - -.PP -Definition at line 98 of file cmd2\&.py'\&. -.PP -.nf -98 -99 def _attr_get_(obj, attr): -100 '''Returns an attribute's value, or None (no error) if undefined\&. -101 Analagous to \&.get() for dictionaries\&. Useful when checking for -102 value of options that may not have been defined on a given -103 method\&.''' -104 try: -105 return getattr(obj, attr) -106 except AttributeError: -107 return None -108 -109 optparse\&.Values\&.get = _attr_get_ - -.fi -.SS "def cmd2::cast (current, new)".PP -.nf -Tries to force a new value into the same type as the current..fi -.PP - -.PP -Definition at line 1412 of file cmd2\&.py'\&. -.PP -Referenced by cmd2::Cmd::do_set()\&. -.PP -.nf -1412 -1413 def cast(current, new): -1414 '''Tries to force a new value into the same type as the current\&.''' -1415 typ = type(current) -1416 if typ == bool: -1417 try: -1418 return bool(int(new)) -1419 except (ValueError, TypeError): -1420 pass -1421 try: -1422 new = new\&.lower() -1423 except: -1424 pass -1425 if (new=='on') or (new[0] in ('y','t')): -1426 return True -1427 if (new=='off') or (new[0] in ('n','f')): -1428 return False -1429 else: -1430 try: -1431 return typ(new) -1432 except: -1433 pass -1434 print ('Problem setting parameter (now %s) to %s; incorrect type?' % (current, new)) -1435 return current - -.fi -.SS "def cmd2::get_paste_buffer ()" -.PP -Definition at line 184 of file cmd2\&.py'\&. -.PP -Referenced by get_paste_buffer(), cmd2::Cmd::redirect_output(), and replace_with_file_contents()\&. -.PP -.nf -184 -185 def get_paste_buffer(): -186 win32clipboard\&.OpenClipboard(0) -187 try: -188 result = win32clipboard\&.GetClipboardData() -189 except TypeError: -190 result = '' #non-text -191 win32clipboard\&.CloseClipboard() - return result -.fi -.SS "def cmd2::get_paste_buffer (args)" -.PP -Definition at line 198 of file cmd2\&.py'\&. -.PP -References get_paste_buffer()\&. -.PP -.nf -198 -199 def get_paste_buffer(*args): - raise OSError, pastebufferr % ('pywin32', 'Download from http://sourceforge\&.net/projects/pywin32/') -.fi -.SS "def cmd2::ljust (x, width, fillchar = \fC' '\fP)" -.PP -Definition at line 352 of file cmd2\&.py'\&. -.PP -Referenced by cmd2::Cmd::do_show()\&. -.PP -.nf -352 -353 def ljust(x, width, fillchar=' '): -354 'analogous to str\&.ljust, but works for lists' -355 if hasattr(x, 'ljust'): -356 return x\&.ljust(width, fillchar) -357 else: -358 if len(x) < width: -359 x = (x + [fillchar] * width)[:width] -360 return x - -.fi -.SS "def cmd2::options (option_list, arg_desc = \fC'arg'\fP)".PP -.nf -Used as a decorator and passed a list of optparse-style options, - alters a cmd2 method to populate its ``opts`` argument from its - raw text argument. - - Example: transform - def do_something(self, arg): - - into - @options([make_option('-q', '--quick', action="store_true", - help="Makes things fast")], - "source dest") - def do_something(self, arg, opts): - if opts.quick: - self.fast_button = True - .fi -.PP - -.PP -Definition at line 112 of file cmd2\&.py'\&. -.PP -References remaining_args()\&. -.PP -Referenced by cmd2::Cmd::do_py(), pirate8::Pirate::do_sing(), and cmd2::Cmd::select()\&. -.PP -.nf -112 -113 def options(option_list, arg_desc='arg'): -114 '''Used as a decorator and passed a list of optparse-style options, -115 alters a cmd2 method to populate its ``opts`` argument from its -116 raw text argument\&. -117 -118 Example: transform -119 def do_something(self, arg): -120 -121 into -122 @options([make_option('-q', '--quick', action='store_true', -123 help='Makes things fast')], -124 'source dest') -125 def do_something(self, arg, opts): -126 if opts\&.quick: -127 self\&.fast_button = True -128 ''' -129 if not isinstance(option_list, list): -130 option_list = [option_list] -131 for opt in option_list: -132 options_defined\&.append(pyparsing\&.Literal(opt\&.get_opt_string())) -133 def option_setup(func): -134 optionParser = OptionParser() -135 for opt in option_list: -136 optionParser\&.add_option(opt) -137 optionParser\&.set_usage('%s [options] %s' % (func\&.__name__[3:], arg_desc)) -138 optionParser\&._func = func -139 def new_func(instance, arg): -140 try: -141 opts, newArgList = optionParser\&.parse_args(arg\&.split()) -142 # Must find the remaining args in the original argument list, but -143 # mustn't include the command itself -144 #if hasattr(arg, 'parsed') and newArgList[0] == arg\&.parsed\&.command: -145 # newArgList = newArgList[1:] -146 newArgs = remaining_args(arg, newArgList) -147 if isinstance(arg, ParsedString): -148 arg = arg\&.with_args_replaced(newArgs) -149 else: -150 arg = newArgs -151 except optparse\&.OptParseError, e: -152 print (e) -153 optionParser\&.print_help() -154 return -155 if hasattr(opts, '_exit'): -156 return None -157 result = func(instance, arg, opts) -158 return result -159 new_func\&.__doc__ = '%s\n%s' % (func\&.__doc__, optionParser\&.format_help()) -160 return new_func -161 return option_setup - -.fi -.SS "def cmd2::remaining_args (oldArgs, newArgList)".PP -.nf - -Preserves the spacing originally in the argument after -the removal of options. - ->>> remaining_args('-f bar bar cow', ['bar', 'cow']) -'bar cow' -.fi -.PP - -.PP -Definition at line 86 of file cmd2\&.py'\&. -.PP -Referenced by options()\&. -.PP -.nf -86 -87 def remaining_args(oldArgs, newArgList): -88 ''' -89 Preserves the spacing originally in the argument after -90 the removal of options\&. -91 -92 >>> remaining_args('-f bar bar cow', ['bar', 'cow']) -93 'bar cow' -94 ''' -95 pattern = '\s+'\&.join(re\&.escape(a) for a in newArgList) + '\s*$' -96 matchObj = re\&.search(pattern, oldArgs) -97 return oldArgs[matchObj\&.start():] - -.fi -.SS "def cmd2::replace_with_file_contents (fname)" -.PP -Definition at line 336 of file cmd2\&.py'\&. -.PP -References get_paste_buffer()\&. -.PP -.nf -336 -337 def replace_with_file_contents(fname): -338 if fname: -339 try: -340 result = open(os\&.path\&.expanduser(fname[0]))\&.read() -341 except IOError: -342 result = '< %s' % fname[0] # wasn't a file after all -343 else: -344 result = get_paste_buffer() -345 return result - -.fi -.SS "def cmd2::stubbornDict (arg, kwarg)".PP -.nf - ->>> sorted(stubbornDict('cow a bovine\\nhorse an equine').items()) -[('cow', 'a bovine'), ('horse', 'an equine')] ->>> sorted(stubbornDict(['badger', 'porcupine a poky creature']).items()) -[('badger', ''), ('porcupine', 'a poky creature')] ->>> sorted(stubbornDict(turtle='has shell', frog='jumpy').items()) -[('frog', 'jumpy'), ('turtle', 'has shell')] -.fi -.PP - -.PP -Definition at line 321 of file cmd2\&.py'\&. -.PP -Referenced by cmd2::StubbornDict::__add__(), and cmd2::StubbornDict::__radd__()\&. -.PP -.nf -321 -322 def stubbornDict(*arg, **kwarg): -323 ''' -324 >>> sorted(stubbornDict('cow a bovine\\nhorse an equine')\&.items()) -325 [('cow', 'a bovine'), ('horse', 'an equine')] -326 >>> sorted(stubbornDict(['badger', 'porcupine a poky creature'])\&.items()) -327 [('badger', ''), ('porcupine', 'a poky creature')] -328 >>> sorted(stubbornDict(turtle='has shell', frog='jumpy')\&.items()) -329 [('frog', 'jumpy'), ('turtle', 'has shell')] -330 ''' -331 result = {} -332 for a in arg: -333 result\&.update(StubbornDict\&.to_dict(a)) -334 result\&.update(kwarg) -335 return StubbornDict(result) - -.fi -.SS "def \fBcmd2::write_to_paste_buffer\fP (txt)" -.PP -Definition at line 192 of file cmd2\&.py'\&. -.PP -References write_to_paste_buffer\&. -.PP -.nf -192 -193 def write_to_paste_buffer(txt): -194 win32clipboard\&.OpenClipboard(0) -195 win32clipboard\&.EmptyClipboard() -196 win32clipboard\&.SetClipboardText(txt) - win32clipboard\&.CloseClipboard() -.fi -.SH "Variable Documentation" -.PP -.SS "string \fBcmd2::__version__\fP = '0\&.6\&.4'" -.PP -Definition at line 45 of file cmd2\&.py'\&. -.SS "\fBcmd2::can_clip\fP = False" -.PP -Definition at line 202 of file cmd2\&.py'\&. -.SS "list \fBcmd2::options_defined\fP = []" -.PP -Definition at line 110 of file cmd2\&.py'\&. -.SS "string \fBcmd2::pastebufferr\fP"\fBInitial value:\fP -.PP -.nf -1 '''Redirecting to or from paste buffer requires %s -2 to be installed on operating system\&. -3 %s''' -.fi -.PP -Definition at line 177 of file cmd2\&.py'\&. -.SS "string \fBcmd2::teststring\fP = 'Testing for presence of xclip\&.'" -.PP -Definition at line 227 of file cmd2\&.py'\&. -.SS "def \fBcmd2::write_to_paste_buffer\fP = get_paste_buffer" -.PP -Definition at line 200 of file cmd2\&.py'\&. -.PP -Referenced by cmd2::Cmd::restore_output(), and write_to_paste_buffer()\&. -.SS "tuple \fBcmd2::xclipproc\fP = subprocess\&.Popen('xclip -sel clip', shell=True, stdout=subprocess\&.PIPE, stdin=subprocess\&.PIPE)" -.PP -Definition at line 228 of file cmd2\&.py'\&. -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/cmd2.py.3 b/doxygen/man/man3/cmd2.py.3 deleted file mode 100644 index 90c3b1c..0000000 --- a/doxygen/man/man3/cmd2.py.3 +++ /dev/null @@ -1,123 +0,0 @@ -.TH "/Users/amrogers/Developer/Projects/cmd2/cmd2.py" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -/Users/amrogers/Developer/Projects/cmd2/cmd2.py \- -.SH SYNOPSIS -.br -.PP -.SS "Classes" - -.in +1c -.ti -1c -.RI "class \fBcmd2::Borg\fP" -.br -.ti -1c -.RI "class \fBcmd2::Cmd\fP" -.br -.ti -1c -.RI "class \fBcmd2::Cmd2TestCase\fP" -.br -.ti -1c -.RI "class \fBcmd2::EmbeddedConsoleExit\fP" -.br -.ti -1c -.RI "class \fBcmd2::EmptyStatement\fP" -.br -.ti -1c -.RI "class \fBcmd2::History\fP" -.br -.ti -1c -.RI "class \fBcmd2::HistoryItem\fP" -.br -.ti -1c -.RI "class \fBcmd2::NotSettableError\fP" -.br -.ti -1c -.RI "class \fBcmd2::OptionParser\fP" -.br -.ti -1c -.RI "class \fBcmd2::OutputTrap\fP" -.br -.ti -1c -.RI "class \fBcmd2::ParsedString\fP" -.br -.ti -1c -.RI "class \fBcmd2::PasteBufferError\fP" -.br -.ti -1c -.RI "class \fBcmd2::Statekeeper\fP" -.br -.ti -1c -.RI "class \fBcmd2::StubbornDict\fP" -.br -.in -1c -.SS "Packages" - -.in +1c -.ti -1c -.RI "namespace \fBcmd2\fP" -.br -.in -1c -.SS "Functions" - -.in +1c -.ti -1c -.RI "def \fBcmd2::_attr_get_\fP" -.br -.ti -1c -.RI "def \fBcmd2::cast\fP" -.br -.ti -1c -.RI "def \fBcmd2::get_paste_buffer\fP" -.br -.ti -1c -.RI "def \fBcmd2::get_paste_buffer\fP" -.br -.ti -1c -.RI "def \fBcmd2::ljust\fP" -.br -.ti -1c -.RI "def \fBcmd2::options\fP" -.br -.ti -1c -.RI "def \fBcmd2::remaining_args\fP" -.br -.ti -1c -.RI "def \fBcmd2::replace_with_file_contents\fP" -.br -.ti -1c -.RI "def \fBcmd2::stubbornDict\fP" -.br -.ti -1c -.RI "def \fBcmd2::write_to_paste_buffer\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "string \fBcmd2::__version__\fP = '0\&.6\&.4'" -.br -.ti -1c -.RI "\fBcmd2::can_clip\fP = False" -.br -.ti -1c -.RI "list \fBcmd2::options_defined\fP = []" -.br -.ti -1c -.RI "string \fBcmd2::pastebufferr\fP" -.br -.ti -1c -.RI "string \fBcmd2::teststring\fP = 'Testing for presence of xclip\&.'" -.br -.ti -1c -.RI "\fBcmd2::write_to_paste_buffer\fP = get_paste_buffer" -.br -.ti -1c -.RI "tuple \fBcmd2::xclipproc\fP = subprocess\&.Popen('xclip -sel clip', shell=True, stdout=subprocess\&.PIPE, stdin=subprocess\&.PIPE)" -.br -.in -1c -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/cmd2_Borg.3 b/doxygen/man/man3/cmd2_Borg.3 deleted file mode 100644 index d6a9d01..0000000 --- a/doxygen/man/man3/cmd2_Borg.3 +++ /dev/null @@ -1,56 +0,0 @@ -.TH "cmd2::Borg" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -cmd2::Borg \- -.SH SYNOPSIS -.br -.PP -.PP -Inherited by \fBcmd2::OutputTrap\fP'\&. -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "def \fB__new__\fP" -.br -.in -1c -.SS "Static Private Attributes" - -.in +1c -.ti -1c -.RI "dictionary \fB_shared_state\fP = {}" -.br -.in -1c -.SH "Detailed Description" -.PP -.PP -.nf -All instances of any Borg subclass will share state. -from Python Cookbook, 2nd Ed., recipe 6.16.fi -.PP - -.PP -Definition at line 1450 of file cmd2\&.py'\&. -.SH "Member Function Documentation" -.PP -.SS "def cmd2::Borg::__new__ (cls, a, k)" -.PP -Definition at line 1454 of file cmd2\&.py'\&. -.PP -.nf -1454 -1455 def __new__(cls, *a, **k): -1456 obj = object\&.__new__(cls, *a, **k) -1457 obj\&.__dict__ = cls\&._shared_state - return obj -.fi -.SH "Member Data Documentation" -.PP -.SS "dictionary \fBcmd2::Borg::_shared_state\fP = {}\fC [static, private]\fP" -.PP -Definition at line 1453 of file cmd2\&.py'\&. - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/cmd2_Cmd.3 b/doxygen/man/man3/cmd2_Cmd.3 deleted file mode 100644 index cd5c11d..0000000 --- a/doxygen/man/man3/cmd2_Cmd.3 +++ /dev/null @@ -1,2098 +0,0 @@ -.TH "cmd2::Cmd" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -cmd2::Cmd \- -.SH SYNOPSIS -.br -.PP -.PP -Inherited by \fBexample::CmdLineApp\fP, \fBpirate6::Pirate\fP, \fBpirate7::Pirate\fP, and \fBpirate8::Pirate\fP'\&. -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "def \fB__init__\fP" -.br -.ti -1c -.RI "def \fBcmdloop\fP" -.br -.ti -1c -.RI "def \fBcolorize\fP" -.br -.ti -1c -.RI "def \fBcomplete_statement\fP" -.br -.ti -1c -.RI "def \fBdo__relative_load\fP" -.br -.ti -1c -.RI "def \fBdo_cmdenvironment\fP" -.br -.ti -1c -.RI "def \fBdo_ed\fP" -.br -.ti -1c -.RI "def \fBdo_EOF\fP" -.br -.ti -1c -.RI "def \fBdo_help\fP" -.br -.ti -1c -.RI "def \fBdo_history\fP" -.br -.ti -1c -.RI "def \fBdo_list\fP" -.br -.ti -1c -.RI "def \fBdo_load\fP" -.br -.ti -1c -.RI "def \fBdo_pause\fP" -.br -.ti -1c -.RI "def \fBdo_py\fP" -.br -.ti -1c -.RI "def \fBdo_quit\fP" -.br -.ti -1c -.RI "def \fBdo_run\fP" -.br -.ti -1c -.RI "def \fBdo_save\fP" -.br -.ti -1c -.RI "def \fBdo_set\fP" -.br -.ti -1c -.RI "def \fBdo_shell\fP" -.br -.ti -1c -.RI "def \fBdo_shortcuts\fP" -.br -.ti -1c -.RI "def \fBdo_show\fP" -.br -.ti -1c -.RI "def \fBfileimport\fP" -.br -.ti -1c -.RI "def \fBfunc_named\fP" -.br -.ti -1c -.RI "def \fBlast_matching\fP" -.br -.ti -1c -.RI "def \fBonecmd\fP" -.br -.ti -1c -.RI "def \fBonecmd_plus_hooks\fP" -.br -.ti -1c -.RI "def \fBparsed\fP" -.br -.ti -1c -.RI "def \fBperror\fP" -.br -.ti -1c -.RI "def \fBpfeedback\fP" -.br -.ti -1c -.RI "def \fBpostparse\fP" -.br -.ti -1c -.RI "def \fBpostparsing_postcmd\fP" -.br -.ti -1c -.RI "def \fBpostparsing_precmd\fP" -.br -.ti -1c -.RI "def \fBpoutput\fP" -.br -.ti -1c -.RI "def \fBpreparse\fP" -.br -.ti -1c -.RI "def \fBpseudo_raw_input\fP" -.br -.ti -1c -.RI "def \fBread_file_or_url\fP" -.br -.ti -1c -.RI "def \fBredirect_output\fP" -.br -.ti -1c -.RI "def \fBrestore_output\fP" -.br -.ti -1c -.RI "def \fBrun_commands_at_invocation\fP" -.br -.ti -1c -.RI "def \fBrunTranscriptTests\fP" -.br -.ti -1c -.RI "def \fBselect\fP" -.br -.in -1c -.SS "Public Attributes" - -.in +1c -.ti -1c -.RI "\fBblankLineTerminationParser\fP" -.br -.ti -1c -.RI "\fBblankLineTerminator\fP" -.br -.ti -1c -.RI "\fBcontinuation_prompt\fP" -.br -.ti -1c -.RI "\fBhistory\fP" -.br -.ti -1c -.RI "\fBinitial_stdout\fP" -.br -.ti -1c -.RI "\fBinputParser\fP" -.br -.ti -1c -.RI "\fBintro\fP" -.br -.ti -1c -.RI "\fBkept_sys\fP" -.br -.ti -1c -.RI "\fBkeywords\fP" -.br -.ti -1c -.RI "\fBlastcmd\fP" -.br -.ti -1c -.RI "\fBmultilineCommand\fP" -.br -.ti -1c -.RI "\fBmultilineParser\fP" -.br -.ti -1c -.RI "\fBold_completer\fP" -.br -.ti -1c -.RI "\fBparser\fP" -.br -.ti -1c -.RI "\fBprompt\fP" -.br -.ti -1c -.RI "\fBpystate\fP" -.br -.ti -1c -.RI "\fBredirect\fP" -.br -.ti -1c -.RI "\fBshortcuts\fP" -.br -.ti -1c -.RI "\fBsingleLineParser\fP" -.br -.ti -1c -.RI "\fBstdin\fP" -.br -.ti -1c -.RI "\fBstdout\fP" -.br -.ti -1c -.RI "\fBuse_rawinput\fP" -.br -.in -1c -.SS "Static Public Attributes" - -.in +1c -.ti -1c -.RI "\fBabbrev\fP = True" -.br -.ti -1c -.RI "\fBblankLinesAllowed\fP = False" -.br -.ti -1c -.RI "\fBcase_insensitive\fP = True" -.br -.ti -1c -.RI "dictionary \fBcolorcodes\fP" -.br -.ti -1c -.RI "tuple \fBcolors\fP = (platform\&.system() != 'Windows')" -.br -.ti -1c -.RI "tuple \fBcommentGrammars\fP = pyparsing\&.Or([pyparsing\&.pythonStyleComment, pyparsing\&.cStyleComment])" -.br -.ti -1c -.RI "tuple \fBcommentInProgress\fP = pyparsing\&.Literal('/*')" -.br -.ti -1c -.RI "string \fBcontinuation_prompt\fP = '> '" -.br -.ti -1c -.RI "\fBcurrent_script_dir\fP = None" -.br -.ti -1c -.RI "\fBdebug\fP = False" -.br -.ti -1c -.RI "string \fBdefault_file_name\fP = 'command\&.txt'" -.br -.ti -1c -.RI "\fBdefault_to_shell\fP = False" -.br -.ti -1c -.RI "string \fBdefaultExtension\fP = 'txt'" -.br -.ti -1c -.RI "\fBdo__load\fP = do_load" -.br -.ti -1c -.RI "\fBdo_edit\fP = do_ed" -.br -.ti -1c -.RI "\fBdo_eof\fP = do_EOF" -.br -.ti -1c -.RI "\fBdo_exit\fP = do_quit" -.br -.ti -1c -.RI "\fBdo_hi\fP = do_history" -.br -.ti -1c -.RI "\fBdo_l\fP = do_list" -.br -.ti -1c -.RI "\fBdo_li\fP = do_list" -.br -.ti -1c -.RI "\fBdo_q\fP = do_quit" -.br -.ti -1c -.RI "\fBdo_r\fP = do_run" -.br -.ti -1c -.RI "\fBecho\fP = False" -.br -.ti -1c -.RI "tuple \fBeditor\fP = os\&.environ\&.get('EDITOR')" -.br -.ti -1c -.RI "string \fBeditor\fP = 'notepad'" -.br -.ti -1c -.RI "string \fBexcludeFromHistory\fP = '''run r list l \fBhistory\fP hi ed edit li eof'''" -.br -.ti -1c -.RI "\fBfeedback_to_output\fP = False" -.br -.ti -1c -.RI "string \fBhelp\fP = 'describe function of parameter'" -.br -.ti -1c -.RI "\fBkept_state\fP = None" -.br -.ti -1c -.RI "string \fBlegalChars\fP = u'!#$%\&.:?@_'" -.br -.ti -1c -.RI "\fBlocals_in_py\fP = True" -.br -.ti -1c -.RI "list \fBmultilineCommands\fP = []" -.br -.ti -1c -.RI "string \fBnoSpecialParse\fP = 'set ed edit exit'" -.br -.ti -1c -.RI "tuple \fBprefixParser\fP = pyparsing\&.Empty()" -.br -.ti -1c -.RI "\fBquiet\fP = False" -.br -.ti -1c -.RI "string \fBredirector\fP = '>'" -.br -.ti -1c -.RI "list \fBreserved_words\fP = []" -.br -.ti -1c -.RI "tuple \fBsaveparser\fP" -.br -.ti -1c -.RI "tuple \fBsettable\fP" -.br -.ti -1c -.RI "dictionary \fBshortcuts\fP = {'?': '\fBhelp\fP', '!': 'shell', '@': 'load', '@@': '_relative_load'}" -.br -.ti -1c -.RI "list \fBterminators\fP = [';']" -.br -.ti -1c -.RI "\fBtiming\fP = False" -.br -.ti -1c -.RI "tuple \fBurlre\fP = re\&.compile('(https?://[-\\\\w\\\\\&./]+)')" -.br -.in -1c -.SS "Private Member Functions" - -.in +1c -.ti -1c -.RI "def \fB_cmdloop\fP" -.br -.ti -1c -.RI "def \fB_default\fP" -.br -.ti -1c -.RI "def \fB_init_parser\fP" -.br -.in -1c -.SS "Static Private Attributes" - -.in +1c -.ti -1c -.RI "\fB_STOP_AND_EXIT\fP = True" -.br -.ti -1c -.RI "int \fB_STOP_SCRIPT_NO_EXIT\fP = 999" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 361 of file cmd2\&.py'\&. -.SH "Constructor & Destructor Documentation" -.PP -.SS "def cmd2::Cmd::__init__ (self, args, kwargs)" -.PP -Definition at line 469 of file cmd2\&.py'\&. -.PP -.nf -469 -470 def __init__(self, *args, **kwargs): -471 cmd\&.Cmd\&.__init__(self, *args, **kwargs) -472 self\&.initial_stdout = sys\&.stdout -473 self\&.history = History() -474 self\&.pystate = {} -475 self\&.shortcuts = sorted(self\&.shortcuts\&.items(), reverse=True) -476 self\&.keywords = self\&.reserved_words + [fname[3:] for fname in dir(self) -477 if fname\&.startswith('do_')] -478 self\&._init_parser() - -.fi -.SH "Member Function Documentation" -.PP -.SS "def cmd2::Cmd::_cmdloop (self, intro = \fCNone\fP)\fC [private]\fP".PP -.nf -Repeatedly issue a prompt, accept input, parse an initial prefix -off the received input, and dispatch to action methods, passing them -the remainder of the line as argument. -.fi -.PP - -.PP -Definition at line 895 of file cmd2\&.py'\&. -.PP -Referenced by cmdloop()\&. -.PP -.nf -895 -896 def _cmdloop(self, intro=None): -897 '''Repeatedly issue a prompt, accept input, parse an initial prefix -898 off the received input, and dispatch to action methods, passing them -899 the remainder of the line as argument\&. -900 ''' -901 -902 # An almost perfect copy from Cmd; however, the pseudo_raw_input portion -903 # has been split out so that it can be called separately -904 -905 self\&.preloop() -906 if self\&.use_rawinput and self\&.completekey: -907 try: -908 import readline -909 self\&.old_completer = readline\&.get_completer() -910 readline\&.set_completer(self\&.complete) -911 readline\&.parse_and_bind(self\&.completekey+': complete') -912 except ImportError: -913 pass -914 try: -915 if intro is not None: -916 self\&.intro = intro -917 if self\&.intro: -918 self\&.stdout\&.write(str(self\&.intro)+'\n') -919 stop = None -920 while not stop: -921 if self\&.cmdqueue: -922 line = self\&.cmdqueue\&.pop(0) -923 else: -924 line = self\&.pseudo_raw_input(self\&.prompt) -925 if (self\&.echo) and (isinstance(self\&.stdin, file)): -926 self\&.stdout\&.write(line + '\n') -927 stop = self\&.onecmd_plus_hooks(line) -928 self\&.postloop() -929 finally: -930 if self\&.use_rawinput and self\&.completekey: -931 try: -932 import readline -933 readline\&.set_completer(self\&.old_completer) -934 except ImportError: -935 pass -936 return stop - -.fi -.SS "def cmd2::Cmd::_default (self, statement)\fC [private]\fP" -.PP -Definition at line 868 of file cmd2\&.py'\&. -.PP -References pirate6::Pirate::default(), pirate8::Pirate::default(), pirate7::Pirate::default(), default_to_shell, and postparsing_postcmd()\&. -.PP -.nf -868 -869 def _default(self, statement): -870 arg = statement\&.full_parsed_statement() -871 if self\&.default_to_shell: -872 result = os\&.system(arg) -873 if not result: -874 return self\&.postparsing_postcmd(None) -875 return self\&.postparsing_postcmd(self\&.default(arg)) - -.fi -.SS "def cmd2::Cmd::_init_parser (self)\fC [private]\fP" -.PP -Definition at line 493 of file cmd2\&.py'\&. -.PP -.nf -493 -494 def _init_parser(self): -495 r''' -496 >>> c = Cmd() -497 >>> c\&.multilineCommands = ['multiline'] -498 >>> c\&.case_insensitive = True -499 >>> c\&._init_parser() -500 >>> print (c\&.parser\&.parseString('')\&.dump()) -501 [] -502 >>> print (c\&.parser\&.parseString('')\&.dump()) -503 [] -504 >>> print (c\&.parser\&.parseString('/* empty command */')\&.dump()) -505 [] -506 >>> print (c\&.parser\&.parseString('plainword')\&.dump()) -507 ['plainword', ''] -508 - command: plainword -509 - statement: ['plainword', ''] -510 - command: plainword -511 >>> print (c\&.parser\&.parseString('termbare;')\&.dump()) -512 ['termbare', '', ';', ''] -513 - command: termbare -514 - statement: ['termbare', '', ';'] -515 - command: termbare -516 - terminator: ; -517 - terminator: ; -518 >>> print (c\&.parser\&.parseString('termbare; suffx')\&.dump()) -519 ['termbare', '', ';', 'suffx'] -520 - command: termbare -521 - statement: ['termbare', '', ';'] -522 - command: termbare -523 - terminator: ; -524 - suffix: suffx -525 - terminator: ; -526 >>> print (c\&.parser\&.parseString('barecommand')\&.dump()) -527 ['barecommand', ''] -528 - command: barecommand -529 - statement: ['barecommand', ''] -530 - command: barecommand -531 >>> print (c\&.parser\&.parseString('COMmand with args')\&.dump()) -532 ['command', 'with args'] -533 - args: with args -534 - command: command -535 - statement: ['command', 'with args'] -536 - args: with args -537 - command: command -538 >>> print (c\&.parser\&.parseString('command with args and terminator; and suffix')\&.dump()) -539 ['command', 'with args and terminator', ';', 'and suffix'] -540 - args: with args and terminator -541 - command: command -542 - statement: ['command', 'with args and terminator', ';'] -543 - args: with args and terminator -544 - command: command -545 - terminator: ; -546 - suffix: and suffix -547 - terminator: ; -548 >>> print (c\&.parser\&.parseString('simple | piped')\&.dump()) -549 ['simple', '', '|', ' piped'] -550 - command: simple -551 - pipeTo: piped -552 - statement: ['simple', ''] -553 - command: simple -554 >>> print (c\&.parser\&.parseString('double-pipe || is not a pipe')\&.dump()) -555 ['double', '-pipe || is not a pipe'] -556 - args: -pipe || is not a pipe -557 - command: double -558 - statement: ['double', '-pipe || is not a pipe'] -559 - args: -pipe || is not a pipe -560 - command: double -561 >>> print (c\&.parser\&.parseString('command with args, terminator;sufx | piped')\&.dump()) -562 ['command', 'with args, terminator', ';', 'sufx', '|', ' piped'] -563 - args: with args, terminator -564 - command: command -565 - pipeTo: piped -566 - statement: ['command', 'with args, terminator', ';'] -567 - args: with args, terminator -568 - command: command -569 - terminator: ; -570 - suffix: sufx -571 - terminator: ; -572 >>> print (c\&.parser\&.parseString('output into > afile\&.txt')\&.dump()) -573 ['output', 'into', '>', 'afile\&.txt'] -574 - args: into -575 - command: output -576 - output: > -577 - outputTo: afile\&.txt -578 - statement: ['output', 'into'] -579 - args: into -580 - command: output -581 >>> print (c\&.parser\&.parseString('output into;sufx | pipethrume plz > afile\&.txt')\&.dump()) -582 ['output', 'into', ';', 'sufx', '|', ' pipethrume plz', '>', 'afile\&.txt'] -583 - args: into -584 - command: output -585 - output: > -586 - outputTo: afile\&.txt -587 - pipeTo: pipethrume plz -588 - statement: ['output', 'into', ';'] -589 - args: into -590 - command: output -591 - terminator: ; -592 - suffix: sufx -593 - terminator: ; -594 >>> print (c\&.parser\&.parseString('output to paste buffer >> ')\&.dump()) -595 ['output', 'to paste buffer', '>>', ''] -596 - args: to paste buffer -597 - command: output -598 - output: >> -599 - statement: ['output', 'to paste buffer'] -600 - args: to paste buffer -601 - command: output -602 >>> print (c\&.parser\&.parseString('ignore the /* commented | > */ stuff;')\&.dump()) -603 ['ignore', 'the /* commented | > */ stuff', ';', ''] -604 - args: the /* commented | > */ stuff -605 - command: ignore -606 - statement: ['ignore', 'the /* commented | > */ stuff', ';'] -607 - args: the /* commented | > */ stuff -608 - command: ignore -609 - terminator: ; -610 - terminator: ; -611 >>> print (c\&.parser\&.parseString('has > inside;')\&.dump()) -612 ['has', '> inside', ';', ''] -613 - args: > inside -614 - command: has -615 - statement: ['has', '> inside', ';'] -616 - args: > inside -617 - command: has -618 - terminator: ; -619 - terminator: ; -620 >>> print (c\&.parser\&.parseString('multiline has > inside an unfinished command')\&.dump()) -621 ['multiline', ' has > inside an unfinished command'] -622 - multilineCommand: multiline -623 >>> print (c\&.parser\&.parseString('multiline has > inside;')\&.dump()) -624 ['multiline', 'has > inside', ';', ''] -625 - args: has > inside -626 - multilineCommand: multiline -627 - statement: ['multiline', 'has > inside', ';'] -628 - args: has > inside -629 - multilineCommand: multiline -630 - terminator: ; -631 - terminator: ; -632 >>> print (c\&.parser\&.parseString('multiline command /* with comment in progress;')\&.dump()) -633 ['multiline', ' command /* with comment in progress;'] -634 - multilineCommand: multiline -635 >>> print (c\&.parser\&.parseString('multiline command /* with comment complete */ is done;')\&.dump()) -636 ['multiline', 'command /* with comment complete */ is done', ';', ''] -637 - args: command /* with comment complete */ is done -638 - multilineCommand: multiline -639 - statement: ['multiline', 'command /* with comment complete */ is done', ';'] -640 - args: command /* with comment complete */ is done -641 - multilineCommand: multiline -642 - terminator: ; -643 - terminator: ; -644 >>> print (c\&.parser\&.parseString('multiline command ends\n\n')\&.dump()) -645 ['multiline', 'command ends', '\n', '\n'] -646 - args: command ends -647 - multilineCommand: multiline -648 - statement: ['multiline', 'command ends', '\n', '\n'] -649 - args: command ends -650 - multilineCommand: multiline -651 - terminator: ['\n', '\n'] -652 - terminator: ['\n', '\n'] -653 >>> print (c\&.parser\&.parseString('multiline command 'with term; ends' now\n\n')\&.dump()) -654 ['multiline', 'command 'with term; ends' now', '\n', '\n'] -655 - args: command 'with term; ends' now -656 - multilineCommand: multiline -657 - statement: ['multiline', 'command 'with term; ends' now', '\n', '\n'] -658 - args: command 'with term; ends' now -659 - multilineCommand: multiline -660 - terminator: ['\n', '\n'] -661 - terminator: ['\n', '\n'] -662 >>> print (c\&.parser\&.parseString('what if 'quoted strings /* seem to ' start comments?')\&.dump()) -663 ['what', 'if 'quoted strings /* seem to ' start comments?'] -664 - args: if 'quoted strings /* seem to ' start comments? -665 - command: what -666 - statement: ['what', 'if 'quoted strings /* seem to ' start comments?'] -667 - args: if 'quoted strings /* seem to ' start comments? -668 - command: what -669 ''' -670 #outputParser = (pyparsing\&.Literal('>>') | (pyparsing\&.WordStart() + '>') | pyparsing\&.Regex('[^=]>'))('output') -671 outputParser = (pyparsing\&.Literal(self\&.redirector *2) | \ -672 (pyparsing\&.WordStart() + self\&.redirector) | \ -673 pyparsing\&.Regex('[^=]' + self\&.redirector))('output') -674 -675 terminatorParser = pyparsing\&.Or([(hasattr(t, 'parseString') and t) or pyparsing\&.Literal(t) for t in self\&.terminators])('terminator') -676 stringEnd = pyparsing\&.stringEnd ^ '\nEOF' -677 self\&.multilineCommand = pyparsing\&.Or([pyparsing\&.Keyword(c, caseless=self\&.case_insensitive) for c in self\&.multilineCommands])('multilineCommand') -678 oneLineCommand = (~self\&.multilineCommand + pyparsing\&.Word(self\&.legalChars))('command') -679 pipe = pyparsing\&.Keyword('|', identChars='|') -680 self\&.commentGrammars\&.ignore(pyparsing\&.quotedString)\&.setParseAction(lambda x: '') -681 doNotParse = self\&.commentGrammars | self\&.commentInProgress | pyparsing\&.quotedString -682 afterElements = \ -683 pyparsing\&.Optional(pipe + pyparsing\&.SkipTo(outputParser ^ stringEnd, ignore=doNotParse)('pipeTo')) + \ -684 pyparsing\&.Optional(outputParser + pyparsing\&.SkipTo(stringEnd, ignore=doNotParse)\&.setParseAction(lambda x: x[0]\&.strip())('outputTo')) -685 if self\&.case_insensitive: -686 self\&.multilineCommand\&.setParseAction(lambda x: x[0]\&.lower()) -687 oneLineCommand\&.setParseAction(lambda x: x[0]\&.lower()) -688 if self\&.blankLinesAllowed: -689 self\&.blankLineTerminationParser = pyparsing\&.NoMatch -690 else: -691 self\&.blankLineTerminator = (pyparsing\&.lineEnd + pyparsing\&.lineEnd)('terminator') -692 self\&.blankLineTerminator\&.setResultsName('terminator') -693 self\&.blankLineTerminationParser = ((self\&.multilineCommand ^ oneLineCommand) + pyparsing\&.SkipTo(self\&.blankLineTerminator, ignore=doNotParse)\&.setParseAction(lambda x: x[0]\&.strip())('args') + self\&.blankLineTerminator)('statement') -694 self\&.multilineParser = (((self\&.multilineCommand ^ oneLineCommand) + pyparsing\&.SkipTo(terminatorParser, ignore=doNotParse)\&.setParseAction(lambda x: x[0]\&.strip())('args') + terminatorParser)('statement') + -695 pyparsing\&.SkipTo(outputParser ^ pipe ^ stringEnd, ignore=doNotParse)\&.setParseAction(lambda x: x[0]\&.strip())('suffix') + afterElements) -696 self\&.multilineParser\&.ignore(self\&.commentInProgress) -697 self\&.singleLineParser = ((oneLineCommand + pyparsing\&.SkipTo(terminatorParser ^ stringEnd ^ pipe ^ outputParser, ignore=doNotParse)\&.setParseAction(lambda x:x[0]\&.strip())('args'))('statement') + -698 pyparsing\&.Optional(terminatorParser) + afterElements) -699 #self\&.multilineParser = self\&.multilineParser\&.setResultsName('multilineParser') -700 #self\&.singleLineParser = self\&.singleLineParser\&.setResultsName('singleLineParser') -701 self\&.blankLineTerminationParser = self\&.blankLineTerminationParser\&.setResultsName('statement') -702 self\&.parser = self\&.prefixParser + ( -703 stringEnd | -704 self\&.multilineParser | -705 self\&.singleLineParser | -706 self\&.blankLineTerminationParser | -707 self\&.multilineCommand + pyparsing\&.SkipTo(stringEnd, ignore=doNotParse) -708 ) -709 self\&.parser\&.ignore(self\&.commentGrammars) -710 -711 inputMark = pyparsing\&.Literal('<') -712 inputMark\&.setParseAction(lambda x: '') -713 fileName = pyparsing\&.Word(self\&.legalChars + '/\\') -714 inputFrom = fileName('inputFrom') -715 inputFrom\&.setParseAction(replace_with_file_contents) -716 # a not-entirely-satisfactory way of distinguishing < as in 'import from' from < -717 # as in 'lesser than' -718 self\&.inputParser = inputMark + pyparsing\&.Optional(inputFrom) + pyparsing\&.Optional('>') + \ -719 pyparsing\&.Optional(fileName) + (pyparsing\&.stringEnd | '|') -720 self\&.inputParser\&.ignore(self\&.commentInProgress) - -.fi -.SS "def cmd2::Cmd::cmdloop (self)" -.PP -Definition at line 1283 of file cmd2\&.py'\&. -.PP -References _cmdloop(), run_commands_at_invocation(), and runTranscriptTests()\&. -.PP -.nf -1283 -1284 def cmdloop(self): -1285 parser = optparse\&.OptionParser() -1286 parser\&.add_option('-t', '--test', dest='test', -1287 action='store_true', -1288 help='Test against transcript(s) in FILE (wildcards OK)') -1289 (callopts, callargs) = parser\&.parse_args() -1290 if callopts\&.test: -1291 self\&.runTranscriptTests(callargs) -1292 else: -1293 if not self\&.run_commands_at_invocation(callargs): -1294 self\&._cmdloop() - -.fi -.SS "def cmd2::Cmd::colorize (self, val, color)".PP -.nf -Given a string (``val``), returns that string wrapped in UNIX-style - special characters that turn on (and then off) text color and style. - If the ``colors`` environment paramter is ``False``, or the application - is running on Windows, will return ``val`` unchanged. - ``color`` should be one of the supported strings (or styles): - red/blue/green/cyan/magenta, bold, underline.fi -.PP - -.PP -Definition at line 435 of file cmd2\&.py'\&. -.PP -Referenced by pirate7::Pirate::do_sing(), and pirate8::Pirate::do_sing()\&. -.PP -.nf -435 -436 def colorize(self, val, color): -437 '''Given a string (``val``), returns that string wrapped in UNIX-style -438 special characters that turn on (and then off) text color and style\&. -439 If the ``colors`` environment paramter is ``False``, or the application -440 is running on Windows, will return ``val`` unchanged\&. -441 ``color`` should be one of the supported strings (or styles): -442 red/blue/green/cyan/magenta, bold, underline''' -443 if self\&.colors and (self\&.stdout == self\&.initial_stdout): -444 return self\&.colorcodes[color][True] + val + self\&.colorcodes[color][False] -445 return val - -.fi -.SS "def cmd2::Cmd::complete_statement (self, line)".PP -.nf -Keep accepting lines of input until the command is complete..fi -.PP - -.PP -Definition at line 794 of file cmd2\&.py'\&. -.PP -References commentGrammars, continuation_prompt, parsed(), and pseudo_raw_input()\&. -.PP -Referenced by onecmd_plus_hooks()\&. -.PP -.nf -794 -795 def complete_statement(self, line): -796 '''Keep accepting lines of input until the command is complete\&.''' -797 if (not line) or ( -798 not pyparsing\&.Or(self\&.commentGrammars)\&. -799 setParseAction(lambda x: '')\&.transformString(line)): -800 raise EmptyStatement -801 statement = self\&.parsed(line) -802 while statement\&.parsed\&.multilineCommand and (statement\&.parsed\&.terminator == ''): -803 statement = '%s\n%s' % (statement\&.parsed\&.raw, -804 self\&.pseudo_raw_input(self\&.continuation_prompt)) -805 statement = self\&.parsed(statement) -806 if not statement\&.parsed\&.command: -807 raise EmptyStatement -808 return statement - -.fi -.SS "def cmd2::Cmd::do__relative_load (self, arg = \fCNone\fP)".PP -.nf - -Runs commands in script at file or URL; if this is called from within an -already-running script, the filename will be interpreted relative to the -already-running script's directory..fi -.PP - -.PP -Definition at line 1206 of file cmd2\&.py'\&. -.PP -References current_script_dir, and do__load\&. -.PP -.nf -1206 -1207 def do__relative_load(self, arg=None): -1208 ''' -1209 Runs commands in script at file or URL; if this is called from within an -1210 already-running script, the filename will be interpreted relative to the -1211 already-running script's directory\&.''' -1212 if arg: -1213 arg = arg\&.split(None, 1) -1214 targetname, args = arg[0], (arg[1:] or [''])[0] -1215 targetname = os\&.path\&.join(self\&.current_script_dir or '', targetname) -1216 self\&.do__load('%s %s' % (targetname, args)) - -.fi -.SS "def cmd2::Cmd::do_cmdenvironment (self, args)".PP -.nf -Summary report of interactive parameters..fi -.PP - -.PP -Definition at line 446 of file cmd2\&.py'\&. -.PP -References case_insensitive, settable, and terminators\&. -.PP -.nf -446 -447 def do_cmdenvironment(self, args): -448 '''Summary report of interactive parameters\&.''' -449 self\&.stdout\&.write(''' -450 Commands are %(casesensitive)scase-sensitive\&. -451 Commands may be terminated with: %(terminators)s -452 Settable parameters: %(settable)s\n''' % \ -453 { 'casesensitive': (self\&.case_insensitive and 'not ') or '', -454 'terminators': str(self\&.terminators), -455 'settable': ' '\&.join(self\&.settable) -456 }) - -.fi -.SS "def cmd2::Cmd::do_ed (self, arg)".PP -.nf -ed: edit most recent command in text editor -ed [N]: edit numbered command from history -ed [filename]: edit specified file name - -commands are run after editor is closed. -"set edit (program-name)" or set EDITOR environment variable -to control which editing program is used..fi -.PP - -.PP -Definition at line 1128 of file cmd2\&.py'\&. -.PP -References default_file_name, do__load, editor, history, and last_matching()\&. -.PP -.nf -1128 -1129 def do_ed(self, arg): -1130 '''ed: edit most recent command in text editor -1131 ed [N]: edit numbered command from history -1132 ed [filename]: edit specified file name -1133 -1134 commands are run after editor is closed\&. -1135 'set edit (program-name)' or set EDITOR environment variable -1136 to control which editing program is used\&.''' -1137 if not self\&.editor: -1138 raise EnvironmentError('Please use 'set editor' to specify your text editing program of choice\&.') -1139 filename = self\&.default_file_name -1140 if arg: -1141 try: -1142 buffer = self\&.last_matching(int(arg)) -1143 except ValueError: -1144 filename = arg -1145 buffer = '' -1146 else: -1147 buffer = self\&.history[-1] -1148 -1149 if buffer: -1150 f = open(os\&.path\&.expanduser(filename), 'w') -1151 f\&.write(buffer or '') -1152 f\&.close() -1153 -1154 os\&.system('%s %s' % (self\&.editor, filename)) - self\&.do__load(filename) -.fi -.SS "def cmd2::Cmd::do_EOF (self, arg)" -.PP -Definition at line 937 of file cmd2\&.py'\&. -.PP -References _STOP_SCRIPT_NO_EXIT\&. -.PP -.nf -937 -938 def do_EOF(self, arg): - return self\&._STOP_SCRIPT_NO_EXIT # End of script; should not exit app -.fi -.SS "def cmd2::Cmd::do_help (self, arg)" -.PP -Definition at line 457 of file cmd2\&.py'\&. -.PP -References func_named(), and stdout\&. -.PP -.nf -457 -458 def do_help(self, arg): -459 if arg: -460 funcname = self\&.func_named(arg) -461 if funcname: -462 fn = getattr(self, funcname) -463 try: -464 fn\&.optionParser\&.print_help(file=self\&.stdout) -465 except AttributeError: -466 cmd\&.Cmd\&.do_help(self, funcname[3:]) -467 else: -468 cmd\&.Cmd\&.do_help(self, arg) - -.fi -.SS "def cmd2::Cmd::do_history (self, arg, opts)".PP -.nf -history [arg]: lists past commands issued - -| no arg: list all -| arg is integer: list one history item, by index -| arg is string: string search -| arg is /enclosed in forward-slashes/: regular expression search -.fi -.PP - -.PP -Definition at line 1083 of file cmd2\&.py'\&. -.PP -References history, and poutput()\&. -.PP -.nf -1083 -1084 def do_history(self, arg, opts): -1085 '''history [arg]: lists past commands issued -1086 -1087 | no arg: list all -1088 | arg is integer: list one history item, by index -1089 | arg is string: string search -1090 | arg is /enclosed in forward-slashes/: regular expression search -1091 ''' -1092 if arg: -1093 history = self\&.history\&.get(arg) -1094 else: -1095 history = self\&.history -1096 for hi in history: -1097 if opts\&.script: -1098 self\&.poutput(hi) -1099 else: - self\&.stdout\&.write(hi\&.pr()) -.fi -.SS "def cmd2::Cmd::do_list (self, arg)".PP -.nf -list [arg]: lists last command issued - -no arg -> list most recent command -arg is integer -> list one history item, by index -a..b, a:b, a:, ..b -> list spans from a (or start) to b (or end) -arg is string -> list all commands matching string search -arg is /enclosed in forward-slashes/ -> regular expression search -.fi -.PP - -.PP -Definition at line 1108 of file cmd2\&.py'\&. -.PP -References poutput()\&. -.PP -.nf -1108 -1109 def do_list(self, arg): -1110 '''list [arg]: lists last command issued -1111 -1112 no arg -> list most recent command -1113 arg is integer -> list one history item, by index -1114 a\&.\&.b, a:b, a:, \&.\&.b -> list spans from a (or start) to b (or end) -1115 arg is string -> list all commands matching string search -1116 arg is /enclosed in forward-slashes/ -> regular expression search -1117 ''' -1118 try: -1119 history = self\&.history\&.span(arg or '-1') -1120 except IndexError: -1121 history = self\&.history\&.search(arg) -1122 for hi in history: -1123 self\&.poutput(hi\&.pr()) - -.fi -.SS "def cmd2::Cmd::do_load (self, arg = \fCNone\fP)".PP -.nf -Runs script of command(s) from a file or URL..fi -.PP - -.PP -Definition at line 1218 of file cmd2\&.py'\&. -.PP -.nf -1218 -1219 def do_load(self, arg=None): -1220 '''Runs script of command(s) from a file or URL\&.''' -1221 if arg is None: -1222 targetname = self\&.default_file_name -1223 else: -1224 arg = arg\&.split(None, 1) -1225 targetname, args = arg[0], (arg[1:] or [''])[0]\&.strip() -1226 try: -1227 target = self\&.read_file_or_url(targetname) -1228 except IOError, e: -1229 self\&.perror('Problem accessing script from %s: \n%s' % (targetname, e)) -1230 return -1231 keepstate = Statekeeper(self, ('stdin','use_rawinput','prompt', -1232 'continuation_prompt','current_script_dir')) -1233 self\&.stdin = target -1234 self\&.use_rawinput = False -1235 self\&.prompt = self\&.continuation_prompt = '' -1236 self\&.current_script_dir = os\&.path\&.split(targetname)[0] -1237 stop = self\&._cmdloop() -1238 self\&.stdin\&.close() -1239 keepstate\&.restore() -1240 self\&.lastcmd = '' - return stop and (stop != self\&._STOP_SCRIPT_NO_EXIT) -.fi -.SS "def cmd2::Cmd::do_pause (self, arg)" -.PP -Definition at line 1031 of file cmd2\&.py'\&. -.PP -.nf -1031 -1032 def do_pause(self, arg): -1033 'Displays the specified text then waits for the user to press RETURN\&.' -1034 raw_input(arg + '\n') - -.fi -.SS "def cmd2::Cmd::do_py (self, arg)".PP -.nf - -py : Executes a Python command. -py: Enters interactive Python mode. -End with ``Ctrl-D`` (Unix) / ``Ctrl-Z`` (Windows), ``quit()``, '`exit()``. -Non-python commands can be issued with ``cmd("your command")``. -Run python code from external files with ``run("filename.py")`` -.fi -.PP - -.PP -Definition at line 1039 of file cmd2\&.py'\&. -.PP -References do_py(), locals_in_py, onecmd_plus_hooks(), cmd2::options(), perror(), pystate, stdin, and stdout\&. -.PP -Referenced by do_py()\&. -.PP -.nf -1039 -1040 def do_py(self, arg): -1041 ''' -1042 py : Executes a Python command\&. -1043 py: Enters interactive Python mode\&. -1044 End with ``Ctrl-D`` (Unix) / ``Ctrl-Z`` (Windows), ``quit()``, '`exit()``\&. -1045 Non-python commands can be issued with ``cmd('your command')``\&. -1046 Run python code from external files with ``run('filename\&.py')`` -1047 ''' -1048 self\&.pystate['self'] = self -1049 arg = arg\&.parsed\&.raw[2:]\&.strip() -1050 localvars = (self\&.locals_in_py and self\&.pystate) or {} -1051 interp = InteractiveConsole(locals=localvars) -1052 interp\&.runcode('import sys, os;sys\&.path\&.insert(0, os\&.getcwd())') -1053 if arg\&.strip(): -1054 interp\&.runcode(arg) -1055 else: -1056 def quit(): -1057 raise EmbeddedConsoleExit -1058 def onecmd_plus_hooks(arg): -1059 return self\&.onecmd_plus_hooks(arg + '\n') -1060 def run(arg): -1061 try: -1062 file = open(arg) -1063 interp\&.runcode(file\&.read()) -1064 file\&.close() -1065 except IOError, e: -1066 self\&.perror(e) -1067 self\&.pystate['quit'] = quit -1068 self\&.pystate['exit'] = quit -1069 self\&.pystate['cmd'] = onecmd_plus_hooks -1070 self\&.pystate['run'] = run -1071 try: -1072 cprt = 'Type 'help', 'copyright', 'credits' or 'license' for more information\&.' -1073 keepstate = Statekeeper(sys, ('stdin','stdout')) -1074 sys\&.stdout = self\&.stdout -1075 sys\&.stdin = self\&.stdin -1076 interp\&.interact(banner= 'Python %s on %s\n%s\n(%s)\n%s' % -1077 (sys\&.version, sys\&.platform, cprt, self\&.__class__\&.__name__, self\&.do_py\&.__doc__)) -1078 except EmbeddedConsoleExit: -1079 pass -1080 keepstate\&.restore() - -.fi -.SS "def cmd2::Cmd::do_quit (self, arg)" -.PP -Reimplemented in \fBpirate6::Pirate\fP, \fBpirate7::Pirate\fP, and \fBpirate8::Pirate\fP'\&. -.PP -Definition at line 941 of file cmd2\&.py'\&. -.PP -References _STOP_AND_EXIT\&. -.PP -.nf -941 -942 def do_quit(self, arg): - return self\&._STOP_AND_EXIT -.fi -.SS "def cmd2::Cmd::do_run (self, arg)".PP -.nf -run [arg]: re-runs an earlier command - -no arg -> run most recent command -arg is integer -> run one history item, by index -arg is string -> run most recent command by string search -arg is /enclosed in forward-slashes/ -> run most recent by regex -.fi -.PP - -.PP -Definition at line 1243 of file cmd2\&.py'\&. -.PP -References last_matching(), onecmd_plus_hooks(), and pfeedback()\&. -.PP -.nf -1243 -1244 def do_run(self, arg): -1245 '''run [arg]: re-runs an earlier command -1246 -1247 no arg -> run most recent command -1248 arg is integer -> run one history item, by index -1249 arg is string -> run most recent command by string search -1250 arg is /enclosed in forward-slashes/ -> run most recent by regex -1251 ''' -1252 'run [N]: runs the SQL that was run N commands ago' -1253 runme = self\&.last_matching(arg) -1254 self\&.pfeedback(runme) -1255 if runme: - stop = self\&.onecmd_plus_hooks(runme) -.fi -.SS "def cmd2::Cmd::do_save (self, arg)".PP -.nf -`save [N] [filename.ext]` - -Saves command from history to file. - -| N => Number of command (from history), or `*`; -| most recent command if omitted.fi -.PP - -.PP -Definition at line 1160 of file cmd2\&.py'\&. -.PP -References default_file_name, do_save(), history, perror(), and pfeedback()\&. -.PP -Referenced by do_save()\&. -.PP -.nf -1160 -1161 def do_save(self, arg): -1162 '''`save [N] [filename\&.ext]` -1163 -1164 Saves command from history to file\&. -1165 -1166 | N => Number of command (from history), or `*`; -1167 | most recent command if omitted''' -1168 -1169 try: -1170 args = self\&.saveparser\&.parseString(arg) -1171 except pyparsing\&.ParseException: -1172 self\&.perror('Could not understand save target %s' % arg) -1173 raise SyntaxError(self\&.do_save\&.__doc__) -1174 fname = args\&.fname or self\&.default_file_name -1175 if args\&.idx == '*': -1176 saveme = '\n\n'\&.join(self\&.history[:]) -1177 elif args\&.idx: -1178 saveme = self\&.history[int(args\&.idx)-1] -1179 else: -1180 saveme = self\&.history[-1] -1181 try: -1182 f = open(os\&.path\&.expanduser(fname), 'w') -1183 f\&.write(saveme) -1184 f\&.close() -1185 self\&.pfeedback('Saved to %s' % (fname)) -1186 except Exception, e: -1187 self\&.perror('Error saving %s' % (fname)) -1188 raise - -.fi -.SS "def cmd2::Cmd::do_set (self, arg)".PP -.nf - -Sets a cmd2 parameter. Accepts abbreviated parameter names so long -as there is no ambiguity. Call without arguments for a list of -settable parameters with their values..fi -.PP - -.PP -Definition at line 1000 of file cmd2\&.py'\&. -.PP -References cmd2::cast(), do_show(), and settable\&. -.PP -.nf -1000 -1001 def do_set(self, arg): -1002 ''' -1003 Sets a cmd2 parameter\&. Accepts abbreviated parameter names so long -1004 as there is no ambiguity\&. Call without arguments for a list of -1005 settable parameters with their values\&.''' -1006 try: -1007 statement, paramName, val = arg\&.parsed\&.raw\&.split(None, 2) -1008 val = val\&.strip() -1009 paramName = paramName\&.strip()\&.lower() -1010 if paramName not in self\&.settable: -1011 hits = [p for p in self\&.settable if p\&.startswith(paramName)] -1012 if len(hits) == 1: -1013 paramName = hits[0] -1014 else: -1015 return self\&.do_show(paramName) -1016 currentVal = getattr(self, paramName) -1017 if (val[0] == val[-1]) and val[0] in (''', '''): -1018 val = val[1:-1] -1019 else: -1020 val = cast(currentVal, val) -1021 setattr(self, paramName, val) -1022 self\&.stdout\&.write('%s - was: %s\nnow: %s\n' % (paramName, currentVal, val)) -1023 if currentVal != val: -1024 try: -1025 onchange_hook = getattr(self, '_onchange_%s' % paramName) -1026 onchange_hook(old=currentVal, new=val) -1027 except AttributeError: -1028 pass -1029 except (ValueError, AttributeError, NotSettableError), e: -1030 self\&.do_show(arg) - -.fi -.SS "def cmd2::Cmd::do_shell (self, arg)" -.PP -Definition at line 1035 of file cmd2\&.py'\&. -.PP -.nf -1035 -1036 def do_shell(self, arg): -1037 'execute a command as if at the OS prompt\&.' -1038 os\&.system(arg) - -.fi -.SS "def cmd2::Cmd::do_shortcuts (self, args)".PP -.nf -Lists single-key shortcuts available..fi -.PP - -.PP -Definition at line 479 of file cmd2\&.py'\&. -.PP -References shortcuts\&. -.PP -.nf -479 -480 def do_shortcuts(self, args): -481 '''Lists single-key shortcuts available\&.''' -482 result = '\n'\&.join('%s: %s' % (sc[0], sc[1]) for sc in sorted(self\&.shortcuts)) -483 self\&.stdout\&.write('Single-key shortcuts for other commands:\n%s\n' % (result)) - -.fi -.SS "def cmd2::Cmd::do_show (self, arg, opts)".PP -.nf -Shows value of a parameter..fi -.PP - -.PP -Definition at line 982 of file cmd2\&.py'\&. -.PP -References cmd2::ljust(), poutput(), and settable\&. -.PP -Referenced by do_set()\&. -.PP -.nf -982 -983 def do_show(self, arg, opts): -984 '''Shows value of a parameter\&.''' -985 param = arg\&.strip()\&.lower() -986 result = {} -987 maxlen = 0 -988 for p in self\&.settable: -989 if (not param) or p\&.startswith(param): -990 result[p] = '%s: %s' % (p, str(getattr(self, p))) -991 maxlen = max(maxlen, len(result[p])) -992 if result: -993 for p in sorted(result): -994 if opts\&.long: -995 self\&.poutput('%s # %s' % (result[p]\&.ljust(maxlen), self\&.settable[p])) -996 else: -997 self\&.poutput(result[p]) -998 else: -999 raise NotImplementedError('Parameter '%s' not supported (type 'show' for list of parameters)\&.' % param) - -.fi -.SS "def cmd2::Cmd::fileimport (self, statement, source)" -.PP -Definition at line 1258 of file cmd2\&.py'\&. -.PP -.nf -1258 -1259 def fileimport(self, statement, source): -1260 try: -1261 f = open(os\&.path\&.expanduser(source)) -1262 except IOError: -1263 self\&.stdout\&.write('Couldn't read from file %s\n' % source) -1264 return '' -1265 data = f\&.read() -1266 f\&.close() -1267 return data - -.fi -.SS "def cmd2::Cmd::func_named (self, arg)" -.PP -Definition at line 755 of file cmd2\&.py'\&. -.PP -References abbrev, and keywords\&. -.PP -Referenced by do_help()\&. -.PP -.nf -755 -756 def func_named(self, arg): -757 result = None -758 target = 'do_' + arg -759 if target in dir(self): -760 result = target -761 else: -762 if self\&.abbrev: # accept shortened versions of commands -763 funcs = [fname for fname in self\&.keywords if fname\&.startswith(arg)] -764 if len(funcs) == 1: -765 result = 'do_' + funcs[0] - return result -.fi -.SS "def cmd2::Cmd::last_matching (self, arg)" -.PP -Definition at line 1100 of file cmd2\&.py'\&. -.PP -References history\&. -.PP -Referenced by do_ed(), and do_run()\&. -.PP -.nf -1100 -1101 def last_matching(self, arg): -1102 try: -1103 if arg: -1104 return self\&.history\&.get(arg)[-1] -1105 else: -1106 return self\&.history[-1] -1107 except IndexError: - return None -.fi -.SS "def cmd2::Cmd::onecmd (self, line)".PP -.nf -Interpret the argument as though it had been typed in response -to the prompt. - -This may be overridden, but should not normally need to be; -see the precmd() and postcmd() methods for useful execution hooks. -The return value is a flag indicating whether interpretation of -commands by the interpreter should stop. - -This (`cmd2`) version of `onecmd` already override's `cmd`'s `onecmd`. - -.fi -.PP - -.PP -Definition at line 844 of file cmd2\&.py'\&. -.PP -Referenced by onecmd_plus_hooks()\&. -.PP -.nf -844 -845 def onecmd(self, line): -846 '''Interpret the argument as though it had been typed in response -847 to the prompt\&. -848 -849 This may be overridden, but should not normally need to be; -850 see the precmd() and postcmd() methods for useful execution hooks\&. -851 The return value is a flag indicating whether interpretation of -852 commands by the interpreter should stop\&. -853 -854 This (`cmd2`) version of `onecmd` already override's `cmd`'s `onecmd`\&. -855 -856 ''' -857 statement = self\&.parsed(line) -858 self\&.lastcmd = statement\&.parsed\&.raw -859 funcname = self\&.func_named(statement\&.parsed\&.command) -860 if not funcname: -861 return self\&._default(statement) -862 try: -863 func = getattr(self, funcname) -864 except AttributeError: -865 return self\&._default(statement) -866 stop = func(statement) -867 return stop - -.fi -.SS "def cmd2::Cmd::onecmd_plus_hooks (self, line)" -.PP -Definition at line 766 of file cmd2\&.py'\&. -.PP -References complete_statement(), excludeFromHistory, onecmd(), perror(), pfeedback(), pirate3::Pirate::postcmd(), pirate4::Pirate::postcmd(), pirate5::Pirate::postcmd(), pirate7::Pirate::postcmd(), pirate8::Pirate::postcmd(), pirate6::Pirate::postcmd(), postparsing_postcmd(), postparsing_precmd(), pirate3::Pirate::precmd(), pirate4::Pirate::precmd(), pirate5::Pirate::precmd(), pirate7::Pirate::precmd(), pirate8::Pirate::precmd(), pirate6::Pirate::precmd(), redirect_output(), restore_output(), and timing\&. -.PP -Referenced by do_py(), do_run(), and run_commands_at_invocation()\&. -.PP -.nf -766 -767 def onecmd_plus_hooks(self, line): -768 # The outermost level of try/finally nesting can be condensed once -769 # Python 2\&.4 support can be dropped\&. -770 stop = 0 -771 try: -772 try: -773 statement = self\&.complete_statement(line) -774 (stop, statement) = self\&.postparsing_precmd(statement) -775 if stop: -776 return self\&.postparsing_postcmd(stop) -777 if statement\&.parsed\&.command not in self\&.excludeFromHistory: -778 self\&.history\&.append(statement\&.parsed\&.raw) -779 try: -780 self\&.redirect_output(statement) -781 timestart = datetime\&.datetime\&.now() -782 statement = self\&.precmd(statement) -783 stop = self\&.onecmd(statement) -784 stop = self\&.postcmd(stop, statement) -785 if self\&.timing: -786 self\&.pfeedback('Elapsed: %s' % str(datetime\&.datetime\&.now() - timestart)) -787 finally: -788 self\&.restore_output(statement) -789 except EmptyStatement: -790 return 0 -791 except Exception, e: -792 self\&.perror(str(e), statement) -793 finally: - return self\&.postparsing_postcmd(stop) -.fi -.SS "def cmd2::Cmd::parsed (self, raw, kwargs)" -.PP -Definition at line 726 of file cmd2\&.py'\&. -.PP -References parsed(), postparse(), preparse(), and shortcuts\&. -.PP -Referenced by complete_statement(), cmd2::ParsedString::full_parsed_statement(), parsed(), and cmd2::ParsedString::with_args_replaced()\&. -.PP -.nf -726 -727 def parsed(self, raw, **kwargs): -728 if isinstance(raw, ParsedString): -729 p = raw -730 else: -731 # preparse is an overridable hook; default makes no changes -732 s = self\&.preparse(raw, **kwargs) -733 s = self\&.inputParser\&.transformString(s\&.lstrip()) -734 s = self\&.commentGrammars\&.transformString(s) -735 for (shortcut, expansion) in self\&.shortcuts: -736 if s\&.lower()\&.startswith(shortcut): -737 s = s\&.replace(shortcut, expansion + ' ', 1) -738 break -739 result = self\&.parser\&.parseString(s) -740 result['raw'] = raw -741 result['command'] = result\&.multilineCommand or result\&.command -742 result = self\&.postparse(result) -743 p = ParsedString(result\&.args) -744 p\&.parsed = result -745 p\&.parser = self\&.parsed -746 for (key, val) in kwargs\&.items(): -747 p\&.parsed[key] = val -748 return p - -.fi -.SS "def cmd2::Cmd::perror (self, errmsg, statement = \fCNone\fP)" -.PP -Definition at line 404 of file cmd2\&.py'\&. -.PP -References debug\&. -.PP -Referenced by do_py(), do_save(), and onecmd_plus_hooks()\&. -.PP -.nf -404 -405 def perror(self, errmsg, statement=None): -406 if self\&.debug: -407 traceback\&.print_exc() - print (str(errmsg)) -.fi -.SS "def cmd2::Cmd::pfeedback (self, msg)".PP -.nf -For printing nonessential feedback. Can be silenced with `quiet`. - Inclusion in redirected output is controlled by `feedback_to_output`..fi -.PP - -.PP -Definition at line 408 of file cmd2\&.py'\&. -.PP -References feedback_to_output, poutput(), and quiet\&. -.PP -Referenced by do_run(), do_save(), and onecmd_plus_hooks()\&. -.PP -.nf -408 -409 def pfeedback(self, msg): -410 '''For printing nonessential feedback\&. Can be silenced with `quiet`\&. -411 Inclusion in redirected output is controlled by `feedback_to_output`\&.''' -412 if not self\&.quiet: -413 if self\&.feedback_to_output: -414 self\&.poutput(msg) -415 else: - print (msg) -.fi -.SS "def cmd2::Cmd::postparse (self, parseResult)" -.PP -Definition at line 723 of file cmd2\&.py'\&. -.PP -Referenced by parsed()\&. -.PP -.nf -723 -724 def postparse(self, parseResult): -725 return parseResult - -.fi -.SS "def cmd2::Cmd::postparsing_postcmd (self, stop)" -.PP -Definition at line 752 of file cmd2\&.py'\&. -.PP -Referenced by _default(), and onecmd_plus_hooks()\&. -.PP -.nf -752 -753 def postparsing_postcmd(self, stop): -754 return stop - -.fi -.SS "def cmd2::Cmd::postparsing_precmd (self, statement)" -.PP -Definition at line 749 of file cmd2\&.py'\&. -.PP -Referenced by onecmd_plus_hooks()\&. -.PP -.nf -749 -750 def postparsing_precmd(self, statement): -751 stop = 0 - return stop, statement -.fi -.SS "def cmd2::Cmd::poutput (self, msg)".PP -.nf -Convenient shortcut for self.stdout.write(); adds newline if necessary..fi -.PP - -.PP -Definition at line 398 of file cmd2\&.py'\&. -.PP -Referenced by do_history(), do_list(), do_show(), pfeedback(), and select()\&. -.PP -.nf -398 -399 def poutput(self, msg): -400 '''Convenient shortcut for self\&.stdout\&.write(); adds newline if necessary\&.''' -401 if msg: -402 self\&.stdout\&.write(msg) -403 if msg[-1] != '\n': - self\&.stdout\&.write('\n') -.fi -.SS "def cmd2::Cmd::preparse (self, raw, kwargs)" -.PP -Definition at line 721 of file cmd2\&.py'\&. -.PP -Referenced by parsed()\&. -.PP -.nf -721 -722 def preparse(self, raw, **kwargs): - return raw -.fi -.SS "def cmd2::Cmd::pseudo_raw_input (self, prompt)".PP -.nf -copied from cmd's cmdloop; like raw_input, but accounts for changed stdin, stdout.fi -.PP - -.PP -Definition at line 876 of file cmd2\&.py'\&. -.PP -References use_rawinput\&. -.PP -Referenced by complete_statement()\&. -.PP -.nf -876 -877 def pseudo_raw_input(self, prompt): -878 '''copied from cmd's cmdloop; like raw_input, but accounts for changed stdin, stdout''' -879 -880 if self\&.use_rawinput: -881 try: -882 line = raw_input(prompt) -883 except EOFError: -884 line = 'EOF' -885 else: -886 self\&.stdout\&.write(prompt) -887 self\&.stdout\&.flush() -888 line = self\&.stdin\&.readline() -889 if not len(line): -890 line = 'EOF' -891 else: -892 if line[-1] == '\n': # this was always true in Cmd -893 line = line[:-1] -894 return line - -.fi -.SS "def cmd2::Cmd::read_file_or_url (self, fname)" -.PP -Definition at line 1189 of file cmd2\&.py'\&. -.PP -References defaultExtension\&. -.PP -.nf -1189 -1190 def read_file_or_url(self, fname): -1191 # TODO: not working on localhost -1192 if isinstance(fname, file): -1193 result = open(fname, 'r') -1194 else: -1195 match = self\&.urlre\&.match(fname) -1196 if match: -1197 result = urllib\&.urlopen(match\&.group(1)) -1198 else: -1199 fname = os\&.path\&.expanduser(fname) -1200 try: -1201 result = open(os\&.path\&.expanduser(fname), 'r') -1202 except IOError: -1203 result = open('%s\&.%s' % (os\&.path\&.expanduser(fname), -1204 self\&.defaultExtension), 'r') -1205 return result - -.fi -.SS "def cmd2::Cmd::redirect_output (self, statement)" -.PP -Definition at line 809 of file cmd2\&.py'\&. -.PP -References cmd2::get_paste_buffer(), kept_state, kept_sys, redirect, redirector, and stdout\&. -.PP -Referenced by onecmd_plus_hooks()\&. -.PP -.nf -809 -810 def redirect_output(self, statement): -811 if statement\&.parsed\&.pipeTo: -812 self\&.kept_state = Statekeeper(self, ('stdout',)) -813 self\&.kept_sys = Statekeeper(sys, ('stdout',)) -814 self\&.redirect = subprocess\&.Popen(statement\&.parsed\&.pipeTo, shell=True, stdout=subprocess\&.PIPE, stdin=subprocess\&.PIPE) -815 sys\&.stdout = self\&.stdout = self\&.redirect\&.stdin -816 elif statement\&.parsed\&.output: -817 if (not statement\&.parsed\&.outputTo) and (not can_clip): -818 raise EnvironmentError('Cannot redirect to paste buffer; install ``xclip`` and re-run to enable') -819 self\&.kept_state = Statekeeper(self, ('stdout',)) -820 self\&.kept_sys = Statekeeper(sys, ('stdout',)) -821 if statement\&.parsed\&.outputTo: -822 mode = 'w' -823 if statement\&.parsed\&.output == 2 * self\&.redirector: -824 mode = 'a' -825 sys\&.stdout = self\&.stdout = open(os\&.path\&.expanduser(statement\&.parsed\&.outputTo), mode) -826 else: -827 sys\&.stdout = self\&.stdout = tempfile\&.TemporaryFile(mode='w+') -828 if statement\&.parsed\&.output == '>>': -829 self\&.stdout\&.write(get_paste_buffer()) - -.fi -.SS "def cmd2::Cmd::restore_output (self, statement)" -.PP -Definition at line 830 of file cmd2\&.py'\&. -.PP -References kept_state, and cmd2::write_to_paste_buffer\&. -.PP -Referenced by onecmd_plus_hooks()\&. -.PP -.nf -830 -831 def restore_output(self, statement): -832 if self\&.kept_state: -833 if statement\&.parsed\&.output: -834 if not statement\&.parsed\&.outputTo: -835 self\&.stdout\&.seek(0) -836 write_to_paste_buffer(self\&.stdout\&.read()) -837 elif statement\&.parsed\&.pipeTo: -838 for result in self\&.redirect\&.communicate(): -839 self\&.kept_state\&.stdout\&.write(result or '') -840 self\&.stdout\&.close() -841 self\&.kept_state\&.restore() -842 self\&.kept_sys\&.restore() -843 self\&.kept_state = None - -.fi -.SS "def cmd2::Cmd::run_commands_at_invocation (self, callargs)" -.PP -Definition at line 1278 of file cmd2\&.py'\&. -.PP -References _STOP_AND_EXIT, and onecmd_plus_hooks()\&. -.PP -Referenced by cmdloop()\&. -.PP -.nf -1278 -1279 def run_commands_at_invocation(self, callargs): -1280 for initial_command in callargs: -1281 if self\&.onecmd_plus_hooks(initial_command + '\n'): -1282 return self\&._STOP_AND_EXIT - -.fi -.SS "def cmd2::Cmd::runTranscriptTests (self, callargs)" -.PP -Definition at line 1268 of file cmd2\&.py'\&. -.PP -Referenced by cmdloop()\&. -.PP -.nf -1268 -1269 def runTranscriptTests(self, callargs): -1270 class TestMyAppCase(Cmd2TestCase): -1271 CmdApp = self\&.__class__ -1272 self\&.__class__\&.testfiles = callargs -1273 sys\&.argv = [sys\&.argv[0]] # the --test argument upsets unittest\&.main() -1274 testcase = TestMyAppCase() -1275 runner = unittest\&.TextTestRunner() -1276 result = runner\&.run(testcase) -1277 result\&.printErrors() - -.fi -.SS "def cmd2::Cmd::select (self, options, prompt = \fC'Your choice? '\fP)".PP -.nf -Presents a numbered menu to the user. Modelled after - the bash shell's SELECT. Returns the item chosen. - - Argument ``options`` can be: - - | a single string -> will be split into one-word options - | a list of strings -> will be offered as options - | a list of tuples -> interpreted as (value, text), so - that the return value can differ from - the text advertised to the user .fi -.PP - -.PP -Definition at line 946 of file cmd2\&.py'\&. -.PP -References cmd2::options(), and poutput()\&. -.PP -.nf -946 -947 def select(self, options, prompt='Your choice? '): -948 '''Presents a numbered menu to the user\&. Modelled after -949 the bash shell's SELECT\&. Returns the item chosen\&. -950 -951 Argument ``options`` can be: -952 -953 | a single string -> will be split into one-word options -954 | a list of strings -> will be offered as options -955 | a list of tuples -> interpreted as (value, text), so -956 that the return value can differ from -957 the text advertised to the user ''' -958 if isinstance(options, basestring): -959 options = zip(options\&.split(), options\&.split()) -960 fulloptions = [] -961 for opt in options: -962 if isinstance(opt, basestring): -963 fulloptions\&.append((opt, opt)) -964 else: -965 try: -966 fulloptions\&.append((opt[0], opt[1])) -967 except IndexError: -968 fulloptions\&.append((opt[0], opt[0])) -969 for (idx, (value, text)) in enumerate(fulloptions): -970 self\&.poutput(' %2d\&. %s\n' % (idx+1, text)) -971 while True: -972 response = raw_input(prompt) -973 try: -974 response = int(response) -975 result = fulloptions[response - 1][0] -976 break -977 except ValueError: -978 pass # loop and ask again -979 return result - -.fi -.SH "Member Data Documentation" -.PP -.SS "\fBcmd2::Cmd::_STOP_AND_EXIT\fP = True\fC [static, private]\fP" -.PP -Definition at line 416 of file cmd2\&.py'\&. -.PP -Referenced by do_quit(), and run_commands_at_invocation()\&. -.SS "int \fBcmd2::Cmd::_STOP_SCRIPT_NO_EXIT\fP = 999\fC [static, private]\fP" -.PP -Definition at line 417 of file cmd2\&.py'\&. -.PP -Referenced by do_EOF()\&. -.SS "\fBcmd2::Cmd::abbrev\fP = True\fC [static]\fP" -.PP -Definition at line 374 of file cmd2\&.py'\&. -.PP -Referenced by func_named()\&. -.SS "\fBcmd2::Cmd::blankLinesAllowed\fP = False\fC [static]\fP" -.PP -Definition at line 490 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::blankLineTerminationParser\fP" -.PP -Definition at line 667 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::blankLineTerminator\fP" -.PP -Definition at line 667 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::case_insensitive\fP = True\fC [static]\fP" -.PP -Definition at line 363 of file cmd2\&.py'\&. -.PP -Referenced by do_cmdenvironment()\&. -.SS "dictionary \fBcmd2::Cmd::colorcodes\fP\fC [static]\fP"\fBInitial value:\fP -.PP -.nf -{'bold':{True:'\x1b[1m',False:'\x1b[22m'}, - 'cyan':{True:'\x1b[36m',False:'\x1b[39m'}, - 'blue':{True:'\x1b[34m',False:'\x1b[39m'}, - 'red':{True:'\x1b[31m',False:'\x1b[39m'}, - 'magenta':{True:'\x1b[35m',False:'\x1b[39m'}, - 'green':{True:'\x1b[32m',False:'\x1b[39m'}, - 'underline':{True:'\x1b[4m',False:'\x1b[24m'}} -.fi -.PP -Definition at line 427 of file cmd2\&.py'\&. -.SS "tuple \fBcmd2::Cmd::colors\fP = (platform\&.system() != 'Windows')\fC [static]\fP" -.PP -Definition at line 434 of file cmd2\&.py'\&. -.SS "tuple \fBcmd2::Cmd::commentGrammars\fP = pyparsing\&.Or([pyparsing\&.pythonStyleComment, pyparsing\&.cStyleComment])\fC [static]\fP" -.PP -Definition at line 485 of file cmd2\&.py'\&. -.PP -Referenced by complete_statement()\&. -.SS "tuple \fBcmd2::Cmd::commentInProgress\fP = pyparsing\&.Literal('/*')\fC [static]\fP" -.PP -Definition at line 487 of file cmd2\&.py'\&. -.SS "string \fBcmd2::Cmd::continuation_prompt\fP = '> '\fC [static]\fP" -.PP -Definition at line 364 of file cmd2\&.py'\&. -.PP -Referenced by complete_statement()\&. -.SS "\fBcmd2::Cmd::continuation_prompt\fP" -.PP -Definition at line 1218 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::current_script_dir\fP = None\fC [static]\fP" -.PP -Definition at line 375 of file cmd2\&.py'\&. -.PP -Referenced by do__relative_load()\&. -.SS "\fBcmd2::Cmd::debug\fP = False\fC [static]\fP" -.PP -Definition at line 379 of file cmd2\&.py'\&. -.PP -Referenced by perror()\&. -.SS "string \fBcmd2::Cmd::default_file_name\fP = 'command\&.txt'\fC [static]\fP" -.PP -Definition at line 373 of file cmd2\&.py'\&. -.PP -Referenced by do_ed(), and do_save()\&. -.SS "\fBcmd2::Cmd::default_to_shell\fP = False\fC [static]\fP" -.PP -Reimplemented in \fBpirate7::Pirate\fP, and \fBpirate8::Pirate\fP'\&. -.PP -Definition at line 370 of file cmd2\&.py'\&. -.PP -Referenced by _default()\&. -.SS "string \fBcmd2::Cmd::defaultExtension\fP = 'txt'\fC [static]\fP" -.PP -Definition at line 372 of file cmd2\&.py'\&. -.PP -Referenced by read_file_or_url()\&. -.SS "\fBcmd2::Cmd::do__load\fP = do_load\fC [static]\fP" -.PP -Definition at line 1241 of file cmd2\&.py'\&. -.PP -Referenced by do__relative_load(), and do_ed()\&. -.SS "\fBcmd2::Cmd::do_edit\fP = do_ed\fC [static]\fP" -.PP -Definition at line 1155 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::do_eof\fP = do_EOF\fC [static]\fP" -.PP -Definition at line 939 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::do_exit\fP = do_quit\fC [static]\fP" -.PP -Definition at line 943 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::do_hi\fP = do_history\fC [static]\fP" -.PP -Definition at line 1124 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::do_l\fP = do_list\fC [static]\fP" -.PP -Definition at line 1125 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::do_li\fP = do_list\fC [static]\fP" -.PP -Definition at line 1126 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::do_q\fP = do_quit\fC [static]\fP" -.PP -Definition at line 944 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::do_r\fP = do_run\fC [static]\fP" -.PP -Definition at line 1256 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::echo\fP = False\fC [static]\fP" -.PP -Definition at line 362 of file cmd2\&.py'\&. -.SS "tuple \fBcmd2::Cmd::editor\fP = os\&.environ\&.get('EDITOR')\fC [static]\fP" -.PP -Definition at line 418 of file cmd2\&.py'\&. -.PP -Referenced by do_ed()\&. -.SS "string \fBcmd2::Cmd::editor\fP = 'notepad'\fC [static]\fP" -.PP -Definition at line 421 of file cmd2\&.py'\&. -.SS "string \fBcmd2::Cmd::excludeFromHistory\fP = '''run r list l \fBhistory\fP hi ed edit li eof'''\fC [static]\fP" -.PP -Definition at line 369 of file cmd2\&.py'\&. -.PP -Referenced by onecmd_plus_hooks()\&. -.SS "\fBcmd2::Cmd::feedback_to_output\fP = False\fC [static]\fP" -.PP -Definition at line 377 of file cmd2\&.py'\&. -.PP -Referenced by pfeedback()\&. -.SS "string \fBcmd2::Cmd::help\fP = 'describe function of parameter'\fC [static]\fP" -.PP -Reimplemented in \fBpirate8::Pirate\fP'\&. -.PP -Definition at line 981 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::history\fP" -.PP -Definition at line 469 of file cmd2\&.py'\&. -.PP -Referenced by do_ed(), do_history(), do_save(), and last_matching()\&. -.SS "\fBcmd2::Cmd::initial_stdout\fP" -.PP -Definition at line 469 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::inputParser\fP" -.PP -Definition at line 667 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::intro\fP" -.PP -Definition at line 898 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::kept_state\fP = None\fC [static]\fP" -.PP -Definition at line 381 of file cmd2\&.py'\&. -.PP -Referenced by redirect_output(), and restore_output()\&. -.SS "\fBcmd2::Cmd::kept_sys\fP" -.PP -Definition at line 809 of file cmd2\&.py'\&. -.PP -Referenced by redirect_output()\&. -.SS "\fBcmd2::Cmd::keywords\fP" -.PP -Definition at line 469 of file cmd2\&.py'\&. -.PP -Referenced by func_named()\&. -.SS "\fBcmd2::Cmd::lastcmd\fP" -.PP -Definition at line 854 of file cmd2\&.py'\&. -.SS "string \fBcmd2::Cmd::legalChars\fP = u'!#$%\&.:?@_'\fC [static]\fP" -.PP -Definition at line 367 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::locals_in_py\fP = True\fC [static]\fP" -.PP -Definition at line 380 of file cmd2\&.py'\&. -.PP -Referenced by do_py()\&. -.SS "\fBcmd2::Cmd::multilineCommand\fP" -.PP -Definition at line 667 of file cmd2\&.py'\&. -.SS "list \fBcmd2::Cmd::multilineCommands\fP = []\fC [static]\fP" -.PP -Reimplemented in \fBpirate7::Pirate\fP, \fBpirate8::Pirate\fP, and \fBexample::CmdLineApp\fP'\&. -.PP -Definition at line 491 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::multilineParser\fP" -.PP -Definition at line 667 of file cmd2\&.py'\&. -.SS "string \fBcmd2::Cmd::noSpecialParse\fP = 'set ed edit exit'\fC [static]\fP" -.PP -Definition at line 371 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::old_completer\fP" -.PP -Definition at line 898 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::parser\fP" -.PP -Definition at line 667 of file cmd2\&.py'\&. -.PP -Referenced by cmd2::ParsedString::full_parsed_statement(), and cmd2::ParsedString::with_args_replaced()\&. -.SS "tuple \fBcmd2::Cmd::prefixParser\fP = pyparsing\&.Empty()\fC [static]\fP" -.PP -Definition at line 484 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::prompt\fP" -.PP -Reimplemented in \fBpirate6::Pirate\fP, \fBpirate7::Pirate\fP, and \fBpirate8::Pirate\fP'\&. -.PP -Definition at line 1218 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::pystate\fP" -.PP -Definition at line 469 of file cmd2\&.py'\&. -.PP -Referenced by do_py()\&. -.SS "\fBcmd2::Cmd::quiet\fP = False\fC [static]\fP" -.PP -Definition at line 378 of file cmd2\&.py'\&. -.PP -Referenced by pfeedback()\&. -.SS "\fBcmd2::Cmd::redirect\fP" -.PP -Definition at line 809 of file cmd2\&.py'\&. -.PP -Referenced by redirect_output()\&. -.SS "string \fBcmd2::Cmd::redirector\fP = '>'\fC [static]\fP" -.PP -Reimplemented in \fBexample::CmdLineApp\fP'\&. -.PP -Definition at line 382 of file cmd2\&.py'\&. -.PP -Referenced by redirect_output()\&. -.SS "list \fBcmd2::Cmd::reserved_words\fP = []\fC [static]\fP" -.PP -Definition at line 376 of file cmd2\&.py'\&. -.SS "tuple \fBcmd2::Cmd::saveparser\fP\fC [static]\fP"\fBInitial value:\fP -.PP -.nf -(pyparsing\&.Optional(pyparsing\&.Word(pyparsing\&.nums)^'*')('idx') + - pyparsing\&.Optional(pyparsing\&.Word(legalChars + '/\\'))('fname') + - pyparsing\&.stringEnd) -.fi -.PP -Definition at line 1157 of file cmd2\&.py'\&. -.SS "tuple \fBcmd2::Cmd::settable\fP\fC [static]\fP"\fBInitial value:\fP -.PP -.nf -stubbornDict(''' - prompt - colors Colorized output (*nix only) - continuation_prompt On 2nd+ line of input - debug Show full error stack on error - default_file_name for ``save``, ``load``, etc\&. - editor Program used by ``edit`` - case_insensitive upper- and lower-case both OK - feedback_to_output include nonessentials in `|`, `>` results - quiet Don't print nonessential feedback - echo Echo command issued into output - timing Report execution times - abbrev Accept abbreviated commands - ''') -.fi -.PP -Reimplemented in \fBpirate7::Pirate\fP, and \fBpirate8::Pirate\fP'\&. -.PP -Definition at line 383 of file cmd2\&.py'\&. -.PP -Referenced by do_cmdenvironment(), do_set(), and do_show()\&. -.SS "dictionary \fBcmd2::Cmd::shortcuts\fP = {'?': '\fBhelp\fP', '!': 'shell', '@': 'load', '@@': '_relative_load'}\fC [static]\fP" -.PP -Definition at line 368 of file cmd2\&.py'\&. -.PP -Referenced by do_shortcuts(), and parsed()\&. -.SS "\fBcmd2::Cmd::shortcuts\fP" -.PP -Definition at line 469 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::singleLineParser\fP" -.PP -Definition at line 667 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::stdin\fP" -.PP -Definition at line 1218 of file cmd2\&.py'\&. -.PP -Referenced by do_py()\&. -.SS "\fBcmd2::Cmd::stdout\fP" -.PP -Definition at line 440 of file cmd2\&.py'\&. -.PP -Referenced by do_help(), do_py(), and redirect_output()\&. -.SS "list \fBcmd2::Cmd::terminators\fP = [';']\fC [static]\fP" -.PP -Reimplemented in \fBpirate7::Pirate\fP, and \fBpirate8::Pirate\fP'\&. -.PP -Definition at line 489 of file cmd2\&.py'\&. -.PP -Referenced by do_cmdenvironment()\&. -.SS "\fBcmd2::Cmd::timing\fP = False\fC [static]\fP" -.PP -Definition at line 365 of file cmd2\&.py'\&. -.PP -Referenced by onecmd_plus_hooks()\&. -.SS "tuple \fBcmd2::Cmd::urlre\fP = re\&.compile('(https?://[-\\\\w\\\\\&./]+)')\fC [static]\fP" -.PP -Definition at line 1217 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd::use_rawinput\fP" -.PP -Definition at line 1218 of file cmd2\&.py'\&. -.PP -Referenced by pseudo_raw_input()\&. - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/cmd2_Cmd2TestCase.3 b/doxygen/man/man3/cmd2_Cmd2TestCase.3 deleted file mode 100644 index 7df05d2..0000000 --- a/doxygen/man/man3/cmd2_Cmd2TestCase.3 +++ /dev/null @@ -1,239 +0,0 @@ -.TH "cmd2::Cmd2TestCase" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -cmd2::Cmd2TestCase \- -.SH SYNOPSIS -.br -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "def \fBfetchTranscripts\fP" -.br -.ti -1c -.RI "def \fBrunTest\fP" -.br -.ti -1c -.RI "def \fBsetUp\fP" -.br -.ti -1c -.RI "def \fBtearDown\fP" -.br -.in -1c -.SS "Public Attributes" - -.in +1c -.ti -1c -.RI "\fBcmdapp\fP" -.br -.ti -1c -.RI "\fBoutputTrap\fP" -.br -.ti -1c -.RI "\fBtranscripts\fP" -.br -.in -1c -.SS "Static Public Attributes" - -.in +1c -.ti -1c -.RI "tuple \fBanyWhitespace\fP = re\&.compile(r'\\s', re\&.DOTALL | re\&.MULTILINE)" -.br -.ti -1c -.RI "\fBCmdApp\fP = None" -.br -.ti -1c -.RI "\fBexpectationParser\fP = \fBregexPattern\fP|\fBnotRegexPattern\fP" -.br -.ti -1c -.RI "tuple \fBnotRegexPattern\fP = pyparsing\&.Word(pyparsing\&.printables)" -.br -.ti -1c -.RI "tuple \fBregexPattern\fP = pyparsing\&.QuotedString(quoteChar=r'/', escChar='\\\\', multiline=True, unquoteResults=True)" -.br -.in -1c -.SS "Private Member Functions" - -.in +1c -.ti -1c -.RI "def \fB_test_transcript\fP" -.br -.in -1c -.SH "Detailed Description" -.PP -.PP -.nf -Subclass this, setting CmdApp, to make a unittest.TestCase class - that will execute the commands in a transcript file and expect the results shown. - See example.py.fi -.PP - -.PP -Definition at line 1476 of file cmd2\&.py'\&. -.SH "Member Function Documentation" -.PP -.SS "def cmd2::Cmd2TestCase::_test_transcript (self, fname, transcript)\fC [private]\fP" -.PP -Definition at line 1506 of file cmd2\&.py'\&. -.PP -References cmdapp\&. -.PP -Referenced by runTest()\&. -.PP -.nf -1506 -1507 def _test_transcript(self, fname, transcript): -1508 lineNum = 0 -1509 finished = False -1510 line = transcript\&.next() -1511 lineNum += 1 -1512 tests_run = 0 -1513 while not finished: -1514 # Scroll forward to where actual commands begin -1515 while not line\&.startswith(self\&.cmdapp\&.prompt): -1516 try: -1517 line = transcript\&.next() -1518 except StopIteration: -1519 finished = True -1520 break -1521 lineNum += 1 -1522 command = [line[len(self\&.cmdapp\&.prompt):]] -1523 line = transcript\&.next() -1524 # Read the entirety of a multi-line command -1525 while line\&.startswith(self\&.cmdapp\&.continuation_prompt): -1526 command\&.append(line[len(self\&.cmdapp\&.continuation_prompt):]) -1527 try: -1528 line = transcript\&.next() -1529 except StopIteration: -1530 raise (StopIteration, -1531 'Transcript broke off while reading command beginning at line %d with\n%s' -1532 % (command[0])) -1533 lineNum += 1 -1534 command = ''\&.join(command) -1535 # Send the command into the application and capture the resulting output -1536 stop = self\&.cmdapp\&.onecmd_plus_hooks(command) -1537 #TODO: should act on ``stop`` -1538 result = self\&.outputTrap\&.read() -1539 # Read the expected result from transcript -1540 if line\&.startswith(self\&.cmdapp\&.prompt): -1541 message = '\nFile %s, line %d\nCommand was:\n%s\nExpected: (nothing)\nGot:\n%s\n'%\ -1542 (fname, lineNum, command, result) -1543 self\&.assert_(not(result\&.strip()), message) -1544 continue -1545 expected = [] -1546 while not line\&.startswith(self\&.cmdapp\&.prompt): -1547 expected\&.append(line) -1548 try: -1549 line = transcript\&.next() -1550 except StopIteration: -1551 finished = True -1552 break -1553 lineNum += 1 -1554 expected = ''\&.join(expected) -1555 # Compare actual result to expected -1556 message = '\nFile %s, line %d\nCommand was:\n%s\nExpected:\n%s\nGot:\n%s\n'%\ -1557 (fname, lineNum, command, expected, result) -1558 expected = self\&.expectationParser\&.transformString(expected) -1559 # checking whitespace is a pain - let's skip it -1560 expected = self\&.anyWhitespace\&.sub('', expected) -1561 result = self\&.anyWhitespace\&.sub('', result) -1562 self\&.assert_(re\&.match(expected, result, re\&.MULTILINE | re\&.DOTALL), message) - -.fi -.SS "def cmd2::Cmd2TestCase::fetchTranscripts (self)" -.PP -Definition at line 1481 of file cmd2\&.py'\&. -.PP -Referenced by setUp()\&. -.PP -.nf -1481 -1482 def fetchTranscripts(self): -1483 self\&.transcripts = {} -1484 for fileset in self\&.CmdApp\&.testfiles: -1485 for fname in glob\&.glob(fileset): -1486 tfile = open(fname) -1487 self\&.transcripts[fname] = iter(tfile\&.readlines()) -1488 tfile\&.close() -1489 if not len(self\&.transcripts): - raise (StandardError,), 'No test files found - nothing to test\&.' -.fi -.SS "def cmd2::Cmd2TestCase::runTest (self)" -.PP -Definition at line 1495 of file cmd2\&.py'\&. -.PP -References _test_transcript(), and CmdApp\&. -.PP -.nf -1495 -1496 def runTest(self): # was testall -1497 if self\&.CmdApp: -1498 its = sorted(self\&.transcripts\&.items()) -1499 for (fname, transcript) in its: - self\&._test_transcript(fname, transcript) -.fi -.SS "def cmd2::Cmd2TestCase::setUp (self)" -.PP -Definition at line 1490 of file cmd2\&.py'\&. -.PP -References CmdApp, cmdapp, fetchTranscripts(), and outputTrap\&. -.PP -.nf -1490 -1491 def setUp(self): -1492 if self\&.CmdApp: -1493 self\&.outputTrap = OutputTrap() -1494 self\&.cmdapp = self\&.CmdApp() - self\&.fetchTranscripts() -.fi -.SS "def cmd2::Cmd2TestCase::tearDown (self)" -.PP -Definition at line 1563 of file cmd2\&.py'\&. -.PP -References CmdApp\&. -.PP -.nf -1563 -1564 def tearDown(self): -1565 if self\&.CmdApp: -1566 self\&.outputTrap\&.tearDown() - -.fi -.SH "Member Data Documentation" -.PP -.SS "tuple \fBcmd2::Cmd2TestCase::anyWhitespace\fP = re\&.compile(r'\\s', re\&.DOTALL | re\&.MULTILINE)\fC [static]\fP" -.PP -Definition at line 1505 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd2TestCase::CmdApp\fP = None\fC [static]\fP" -.PP -Definition at line 1480 of file cmd2\&.py'\&. -.PP -Referenced by runTest(), setUp(), and tearDown()\&. -.SS "\fBcmd2::Cmd2TestCase::cmdapp\fP" -.PP -Definition at line 1490 of file cmd2\&.py'\&. -.PP -Referenced by _test_transcript(), and setUp()\&. -.SS "\fBcmd2::Cmd2TestCase::expectationParser\fP = \fBregexPattern\fP|\fBnotRegexPattern\fP\fC [static]\fP" -.PP -Definition at line 1504 of file cmd2\&.py'\&. -.SS "tuple \fBcmd2::Cmd2TestCase::notRegexPattern\fP = pyparsing\&.Word(pyparsing\&.printables)\fC [static]\fP" -.PP -Definition at line 1502 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd2TestCase::outputTrap\fP" -.PP -Definition at line 1490 of file cmd2\&.py'\&. -.PP -Referenced by setUp()\&. -.SS "tuple \fBcmd2::Cmd2TestCase::regexPattern\fP = pyparsing\&.QuotedString(quoteChar=r'/', escChar='\\\\', multiline=True, unquoteResults=True)\fC [static]\fP" -.PP -Definition at line 1500 of file cmd2\&.py'\&. -.SS "\fBcmd2::Cmd2TestCase::transcripts\fP" -.PP -Definition at line 1481 of file cmd2\&.py'\&. - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/cmd2_EmbeddedConsoleExit.3 b/doxygen/man/man3/cmd2_EmbeddedConsoleExit.3 deleted file mode 100644 index 409fb9d..0000000 --- a/doxygen/man/man3/cmd2_EmbeddedConsoleExit.3 +++ /dev/null @@ -1,15 +0,0 @@ -.TH "cmd2::EmbeddedConsoleExit" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -cmd2::EmbeddedConsoleExit \- -.SH SYNOPSIS -.br -.PP -.SH "Detailed Description" -.PP -Definition at line 346 of file cmd2\&.py'\&. - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/cmd2_EmptyStatement.3 b/doxygen/man/man3/cmd2_EmptyStatement.3 deleted file mode 100644 index 1c04743..0000000 --- a/doxygen/man/man3/cmd2_EmptyStatement.3 +++ /dev/null @@ -1,15 +0,0 @@ -.TH "cmd2::EmptyStatement" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -cmd2::EmptyStatement \- -.SH SYNOPSIS -.br -.PP -.SH "Detailed Description" -.PP -Definition at line 349 of file cmd2\&.py'\&. - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/cmd2_History.3 b/doxygen/man/man3/cmd2_History.3 deleted file mode 100644 index 90938fa..0000000 --- a/doxygen/man/man3/cmd2_History.3 +++ /dev/null @@ -1,228 +0,0 @@ -.TH "cmd2::History" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -cmd2::History \- -.SH SYNOPSIS -.br -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "def \fBappend\fP" -.br -.ti -1c -.RI "def \fBextend\fP" -.br -.ti -1c -.RI "def \fBget\fP" -.br -.ti -1c -.RI "def \fBsearch\fP" -.br -.ti -1c -.RI "def \fBspan\fP" -.br -.ti -1c -.RI "def \fBto_index\fP" -.br -.ti -1c -.RI "def \fBzero_based_index\fP" -.br -.in -1c -.SS "Static Public Attributes" - -.in +1c -.ti -1c -.RI "tuple \fBrangePattern\fP = re\&.compile(r'^\\s*(?P[\\d]+)?\\s*\\-\\s*(?P[\\d]+)?\\s*$')" -.br -.ti -1c -.RI "tuple \fBspanpattern\fP = re\&.compile(r'^\\s*(?P\\-?\\d+)?\\s*(?P:|(\\\&.{2,}))?\\s*(?P\\-?\\d+)?\\s*$')" -.br -.in -1c -.SH "Detailed Description" -.PP -.PP -.nf -A list of HistoryItems that knows how to respond to user requests. ->>> h = History([HistoryItem('first'), HistoryItem('second'), HistoryItem('third'), HistoryItem('fourth')]) ->>> h.span('-2..') -['third', 'fourth'] ->>> h.span('2..3') -['second', 'third'] ->>> h.span('3') -['third'] ->>> h.span(':') -['first', 'second', 'third', 'fourth'] ->>> h.span('2..') -['second', 'third', 'fourth'] ->>> h.span('-1') -['fourth'] ->>> h.span('-2..-3') -['third', 'second'] ->>> h.search('o') -['second', 'fourth'] ->>> h.search('/IR/') -['first', 'third'] -.fi -.PP - -.PP -Definition at line 1304 of file cmd2\&.py'\&. -.SH "Member Function Documentation" -.PP -.SS "def cmd2::History::append (self, new)" -.PP -Definition at line 1368 of file cmd2\&.py'\&. -.PP -Referenced by extend()\&. -.PP -.nf -1368 -1369 def append(self, new): -1370 new = HistoryItem(new) -1371 list\&.append(self, new) - new\&.idx = len(self) -.fi -.SS "def cmd2::History::extend (self, new)" -.PP -Definition at line 1372 of file cmd2\&.py'\&. -.PP -References cmd2::StubbornDict::append, and append()\&. -.PP -.nf -1372 -1373 def extend(self, new): -1374 for n in new: -1375 self\&.append(n) - -.fi -.SS "def cmd2::History::get (self, getme = \fCNone\fP, fromEnd = \fCFalse\fP)" -.PP -Definition at line 1376 of file cmd2\&.py'\&. -.PP -.nf -1376 -1377 def get(self, getme=None, fromEnd=False): -1378 if not getme: -1379 return self -1380 try: -1381 getme = int(getme) -1382 if getme < 0: -1383 return self[:(-1 * getme)] -1384 else: -1385 return [self[getme-1]] -1386 except IndexError: -1387 return [] -1388 except ValueError: -1389 rangeResult = self\&.rangePattern\&.search(getme) -1390 if rangeResult: -1391 start = rangeResult\&.group('start') or None -1392 end = rangeResult\&.group('start') or None -1393 if start: -1394 start = int(start) - 1 -1395 if end: -1396 end = int(end) -1397 return self[start:end] -1398 -1399 getme = getme\&.strip() -1400 -1401 if getme\&.startswith(r'/') and getme\&.endswith(r'/'): -1402 finder = re\&.compile(getme[1:-1], re\&.DOTALL | re\&.MULTILINE | re\&.IGNORECASE) -1403 def isin(hi): -1404 return finder\&.search(hi) -1405 else: -1406 def isin(hi): -1407 return (getme\&.lower() in hi\&.lowercase) -1408 return [itm for itm in self if isin(itm)] - -.fi -.SS "def cmd2::History::search (self, target)" -.PP -Definition at line 1337 of file cmd2\&.py'\&. -.PP -.nf -1337 -1338 def search(self, target): -1339 target = target\&.strip() -1340 if target[0] == target[-1] == '/' and len(target) > 1: -1341 target = target[1:-1] -1342 else: -1343 target = re\&.escape(target) -1344 pattern = re\&.compile(target, re\&.IGNORECASE) - return [s for s in self if pattern\&.search(s)] -.fi -.SS "def cmd2::History::span (self, raw)" -.PP -Definition at line 1346 of file cmd2\&.py'\&. -.PP -References to_index()\&. -.PP -.nf -1346 -1347 def span(self, raw): -1348 if raw\&.lower() in ('*', '-', 'all'): -1349 raw = ':' -1350 results = self\&.spanpattern\&.search(raw) -1351 if not results: -1352 raise IndexError -1353 if not results\&.group('separator'): -1354 return [self[self\&.to_index(results\&.group('start'))]] -1355 start = self\&.to_index(results\&.group('start')) -1356 end = self\&.to_index(results\&.group('end')) -1357 reverse = False -1358 if end is not None: -1359 if end < start: -1360 (start, end) = (end, start) -1361 reverse = True -1362 end += 1 -1363 result = self[start:end] -1364 if reverse: -1365 result\&.reverse() -1366 return result - -.fi -.SS "def cmd2::History::to_index (self, raw)" -.PP -Definition at line 1331 of file cmd2\&.py'\&. -.PP -References zero_based_index()\&. -.PP -Referenced by span()\&. -.PP -.nf -1331 -1332 def to_index(self, raw): -1333 if raw: -1334 result = self\&.zero_based_index(int(raw)) -1335 else: -1336 result = None - return result -.fi -.SS "def cmd2::History::zero_based_index (self, onebased)" -.PP -Definition at line 1326 of file cmd2\&.py'\&. -.PP -Referenced by to_index()\&. -.PP -.nf -1326 -1327 def zero_based_index(self, onebased): -1328 result = onebased -1329 if result > 0: -1330 result -= 1 - return result -.fi -.SH "Member Data Documentation" -.PP -.SS "tuple \fBcmd2::History::rangePattern\fP = re\&.compile(r'^\\s*(?P[\\d]+)?\\s*\\-\\s*(?P[\\d]+)?\\s*$')\fC [static]\fP" -.PP -Definition at line 1367 of file cmd2\&.py'\&. -.SS "tuple \fBcmd2::History::spanpattern\fP = re\&.compile(r'^\\s*(?P\\-?\\d+)?\\s*(?P:|(\\\&.{2,}))?\\s*(?P\\-?\\d+)?\\s*$')\fC [static]\fP" -.PP -Definition at line 1345 of file cmd2\&.py'\&. - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/cmd2_HistoryItem.3 b/doxygen/man/man3/cmd2_HistoryItem.3 deleted file mode 100644 index 46222aa..0000000 --- a/doxygen/man/man3/cmd2_HistoryItem.3 +++ /dev/null @@ -1,84 +0,0 @@ -.TH "cmd2::HistoryItem" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -cmd2::HistoryItem \- -.SH SYNOPSIS -.br -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "def \fB__init__\fP" -.br -.ti -1c -.RI "def \fBpr\fP" -.br -.in -1c -.SS "Public Attributes" - -.in +1c -.ti -1c -.RI "\fBidx\fP" -.br -.ti -1c -.RI "\fBlowercase\fP" -.br -.in -1c -.SS "Static Public Attributes" - -.in +1c -.ti -1c -.RI "string \fBlistformat\fP = '-------------------------[%d]\\n%s\\n'" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 1295 of file cmd2\&.py'\&. -.SH "Constructor & Destructor Documentation" -.PP -.SS "def cmd2::HistoryItem::__init__ (self, instr)" -.PP -Definition at line 1297 of file cmd2\&.py'\&. -.PP -.nf -1297 -1298 def __init__(self, instr): -1299 str\&.__init__(self) -1300 self\&.lowercase = self\&.lower() - self\&.idx = None -.fi -.SH "Member Function Documentation" -.PP -.SS "def cmd2::HistoryItem::pr (self)" -.PP -Definition at line 1301 of file cmd2\&.py'\&. -.PP -References idx, and listformat\&. -.PP -.nf -1301 -1302 def pr(self): -1303 return self\&.listformat % (self\&.idx, str(self)) - -.fi -.SH "Member Data Documentation" -.PP -.SS "\fBcmd2::HistoryItem::idx\fP" -.PP -Definition at line 1297 of file cmd2\&.py'\&. -.PP -Referenced by pr()\&. -.SS "string \fBcmd2::HistoryItem::listformat\fP = '-------------------------[%d]\\n%s\\n'\fC [static]\fP" -.PP -Definition at line 1296 of file cmd2\&.py'\&. -.PP -Referenced by pr()\&. -.SS "\fBcmd2::HistoryItem::lowercase\fP" -.PP -Definition at line 1297 of file cmd2\&.py'\&. - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/cmd2_NotSettableError.3 b/doxygen/man/man3/cmd2_NotSettableError.3 deleted file mode 100644 index 2a1e3e0..0000000 --- a/doxygen/man/man3/cmd2_NotSettableError.3 +++ /dev/null @@ -1,15 +0,0 @@ -.TH "cmd2::NotSettableError" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -cmd2::NotSettableError \- -.SH SYNOPSIS -.br -.PP -.SH "Detailed Description" -.PP -Definition at line 1409 of file cmd2\&.py'\&. - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/cmd2_OptionParser.3 b/doxygen/man/man3/cmd2_OptionParser.3 deleted file mode 100644 index 15d1f0a..0000000 --- a/doxygen/man/man3/cmd2_OptionParser.3 +++ /dev/null @@ -1,82 +0,0 @@ -.TH "cmd2::OptionParser" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -cmd2::OptionParser \- -.SH SYNOPSIS -.br -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "def \fBerror\fP" -.br -.ti -1c -.RI "def \fBexit\fP" -.br -.ti -1c -.RI "def \fBprint_help\fP" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 64 of file cmd2\&.py'\&. -.SH "Member Function Documentation" -.PP -.SS "def cmd2::OptionParser::error (self, msg)".PP -.nf -error(msg : string) - -Print a usage message incorporating 'msg' to stderr and exit. -If you override this in a subclass, it should not return -- it -should either exit or raise an exception. -.fi -.PP - -.PP -Definition at line 77 of file cmd2\&.py'\&. -.PP -.nf -77 -78 def error(self, msg): -79 '''error(msg : string) -80 -81 Print a usage message incorporating 'msg' to stderr and exit\&. -82 If you override this in a subclass, it should not return -- it -83 should either exit or raise an exception\&. -84 ''' -85 raise optparse\&.OptParseError(msg) - -.fi -.SS "def cmd2::OptionParser::exit (self, status = \fC0\fP, msg = \fCNone\fP)" -.PP -Definition at line 65 of file cmd2\&.py'\&. -.PP -.nf -65 -66 def exit(self, status=0, msg=None): -67 self\&.values\&._exit = True -68 if msg: -69 print (msg) - -.fi -.SS "def cmd2::OptionParser::print_help (self, args, kwargs)" -.PP -Definition at line 70 of file cmd2\&.py'\&. -.PP -.nf -70 -71 def print_help(self, *args, **kwargs): -72 try: -73 print (self\&._func\&.__doc__) -74 except AttributeError: -75 pass -76 optparse\&.OptionParser\&.print_help(self, *args, **kwargs) - -.fi - - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/cmd2_OutputTrap.3 b/doxygen/man/man3/cmd2_OutputTrap.3 deleted file mode 100644 index 8a1a739..0000000 --- a/doxygen/man/man3/cmd2_OutputTrap.3 +++ /dev/null @@ -1,114 +0,0 @@ -.TH "cmd2::OutputTrap" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -cmd2::OutputTrap \- -.SH SYNOPSIS -.br -.PP -.PP -Inherits \fBcmd2::Borg\fP'\&. -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "def \fB__init__\fP" -.br -.ti -1c -.RI "def \fBread\fP" -.br -.ti -1c -.RI "def \fBtearDown\fP" -.br -.ti -1c -.RI "def \fBwrite\fP" -.br -.in -1c -.SS "Public Attributes" - -.in +1c -.ti -1c -.RI "\fBcontents\fP" -.br -.ti -1c -.RI "\fBold_stdout\fP" -.br -.in -1c -.SH "Detailed Description" -.PP -.PP -.nf -Instantiate an OutputTrap to divert/capture ALL stdout output. For use in unit testing. -Call `tearDown()` to return to normal output..fi -.PP - -.PP -Definition at line 1459 of file cmd2\&.py'\&. -.SH "Constructor & Destructor Documentation" -.PP -.SS "def cmd2::OutputTrap::__init__ (self)" -.PP -Definition at line 1462 of file cmd2\&.py'\&. -.PP -.nf -1462 -1463 def __init__(self): -1464 self\&.contents = '' -1465 self\&.old_stdout = sys\&.stdout - sys\&.stdout = self -.fi -.SH "Member Function Documentation" -.PP -.SS "def cmd2::OutputTrap::read (self)" -.PP -Definition at line 1468 of file cmd2\&.py'\&. -.PP -References contents\&. -.PP -.nf -1468 -1469 def read(self): -1470 result = self\&.contents -1471 self\&.contents = '' - return result -.fi -.SS "def cmd2::OutputTrap::tearDown (self)" -.PP -Definition at line 1472 of file cmd2\&.py'\&. -.PP -References contents, and old_stdout\&. -.PP -.nf -1472 -1473 def tearDown(self): -1474 sys\&.stdout = self\&.old_stdout -1475 self\&.contents = '' - -.fi -.SS "def cmd2::OutputTrap::write (self, txt)" -.PP -Definition at line 1466 of file cmd2\&.py'\&. -.PP -References contents\&. -.PP -.nf -1466 -1467 def write(self, txt): - self\&.contents += txt -.fi -.SH "Member Data Documentation" -.PP -.SS "\fBcmd2::OutputTrap::contents\fP" -.PP -Definition at line 1462 of file cmd2\&.py'\&. -.PP -Referenced by read(), tearDown(), and write()\&. -.SS "\fBcmd2::OutputTrap::old_stdout\fP" -.PP -Definition at line 1462 of file cmd2\&.py'\&. -.PP -Referenced by tearDown()\&. - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/cmd2_ParsedString.3 b/doxygen/man/man3/cmd2_ParsedString.3 deleted file mode 100644 index 4713001..0000000 --- a/doxygen/man/man3/cmd2_ParsedString.3 +++ /dev/null @@ -1,59 +0,0 @@ -.TH "cmd2::ParsedString" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -cmd2::ParsedString \- -.SH SYNOPSIS -.br -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "def \fBfull_parsed_statement\fP" -.br -.ti -1c -.RI "def \fBwith_args_replaced\fP" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 257 of file cmd2\&.py'\&. -.SH "Member Function Documentation" -.PP -.SS "def cmd2::ParsedString::full_parsed_statement (self)" -.PP -Definition at line 258 of file cmd2\&.py'\&. -.PP -References cmd2::Cmd::parsed(), and cmd2::Cmd::parser\&. -.PP -.nf -258 -259 def full_parsed_statement(self): -260 new = ParsedString('%s %s' % (self\&.parsed\&.command, self\&.parsed\&.args)) -261 new\&.parsed = self\&.parsed -262 new\&.parser = self\&.parser - return new -.fi -.SS "def cmd2::ParsedString::with_args_replaced (self, newargs)" -.PP -Definition at line 263 of file cmd2\&.py'\&. -.PP -References cmd2::Cmd::parsed(), and cmd2::Cmd::parser\&. -.PP -.nf -263 -264 def with_args_replaced(self, newargs): -265 new = ParsedString(newargs) -266 new\&.parsed = self\&.parsed -267 new\&.parser = self\&.parser -268 new\&.parsed['args'] = newargs -269 new\&.parsed\&.statement['args'] = newargs -270 return new - -.fi - - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/cmd2_PasteBufferError.3 b/doxygen/man/man3/cmd2_PasteBufferError.3 deleted file mode 100644 index c87cc84..0000000 --- a/doxygen/man/man3/cmd2_PasteBufferError.3 +++ /dev/null @@ -1,56 +0,0 @@ -.TH "cmd2::PasteBufferError" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -cmd2::PasteBufferError \- -.SH SYNOPSIS -.br -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "def \fB__init__\fP" -.br -.in -1c -.SS "Static Public Attributes" - -.in +1c -.ti -1c -.RI "string \fBerrmsg\fP" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 162 of file cmd2\&.py'\&. -.SH "Constructor & Destructor Documentation" -.PP -.SS "def cmd2::PasteBufferError::__init__ (self)" -.PP -Definition at line 174 of file cmd2\&.py'\&. -.PP -References errmsg\&. -.PP -.nf -174 -175 def __init__(self): -176 Exception\&.__init__(self, self\&.errmsg) - -.fi -.SH "Member Data Documentation" -.PP -.SS "string \fBcmd2::PasteBufferError::errmsg\fP\fC [static]\fP"\fBInitial value:\fP -.PP -.nf -'''Redirecting to or from paste buffer requires pywin32 -to be installed on operating system\&. -Download from http://sourceforge\&.net/projects/pywin32/''' -.fi -.PP -Definition at line 164 of file cmd2\&.py'\&. -.PP -Referenced by __init__()\&. - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/cmd2_Statekeeper.3 b/doxygen/man/man3/cmd2_Statekeeper.3 deleted file mode 100644 index 4ace3ed..0000000 --- a/doxygen/man/man3/cmd2_Statekeeper.3 +++ /dev/null @@ -1,92 +0,0 @@ -.TH "cmd2::Statekeeper" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -cmd2::Statekeeper \- -.SH SYNOPSIS -.br -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "def \fB__init__\fP" -.br -.ti -1c -.RI "def \fBrestore\fP" -.br -.ti -1c -.RI "def \fBsave\fP" -.br -.in -1c -.SS "Public Attributes" - -.in +1c -.ti -1c -.RI "\fBattribs\fP" -.br -.ti -1c -.RI "\fBobj\fP" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 1436 of file cmd2\&.py'\&. -.SH "Constructor & Destructor Documentation" -.PP -.SS "def cmd2::Statekeeper::__init__ (self, obj, attribs)" -.PP -Definition at line 1437 of file cmd2\&.py'\&. -.PP -.nf -1437 -1438 def __init__(self, obj, attribs): -1439 self\&.obj = obj -1440 self\&.attribs = attribs -1441 if self\&.obj: - self\&.save() -.fi -.SH "Member Function Documentation" -.PP -.SS "def cmd2::Statekeeper::restore (self)" -.PP -Definition at line 1445 of file cmd2\&.py'\&. -.PP -References attribs, and obj\&. -.PP -.nf -1445 -1446 def restore(self): -1447 if self\&.obj: -1448 for attrib in self\&.attribs: -1449 setattr(self\&.obj, attrib, getattr(self, attrib)) - -.fi -.SS "def cmd2::Statekeeper::save (self)" -.PP -Definition at line 1442 of file cmd2\&.py'\&. -.PP -References attribs, and obj\&. -.PP -.nf -1442 -1443 def save(self): -1444 for attrib in self\&.attribs: - setattr(self, attrib, getattr(self\&.obj, attrib)) -.fi -.SH "Member Data Documentation" -.PP -.SS "\fBcmd2::Statekeeper::attribs\fP" -.PP -Definition at line 1437 of file cmd2\&.py'\&. -.PP -Referenced by restore(), and save()\&. -.SS "\fBcmd2::Statekeeper::obj\fP" -.PP -Definition at line 1437 of file cmd2\&.py'\&. -.PP -Referenced by restore(), and save()\&. - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/cmd2_StubbornDict.3 b/doxygen/man/man3/cmd2_StubbornDict.3 deleted file mode 100644 index dcb6892..0000000 --- a/doxygen/man/man3/cmd2_StubbornDict.3 +++ /dev/null @@ -1,145 +0,0 @@ -.TH "cmd2::StubbornDict" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -cmd2::StubbornDict \- -.SH SYNOPSIS -.br -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "def \fB__add__\fP" -.br -.ti -1c -.RI "def \fB__iadd__\fP" -.br -.ti -1c -.RI "def \fB__radd__\fP" -.br -.ti -1c -.RI "def \fBto_dict\fP" -.br -.ti -1c -.RI "def \fBupdate\fP" -.br -.in -1c -.SS "Static Public Attributes" - -.in +1c -.ti -1c -.RI "\fBappend\fP = update" -.br -.in -1c -.SH "Detailed Description" -.PP -.PP -.nf -Dictionary that tolerates many input formats. -Create it with stubbornDict(arg) factory function. - ->>> d = StubbornDict(large='gross', small='klein') ->>> sorted(d.items()) -[('large', 'gross'), ('small', 'klein')] ->>> d.append(['plain', ' plaid']) ->>> sorted(d.items()) -[('large', 'gross'), ('plaid', ''), ('plain', ''), ('small', 'klein')] ->>> d += ' girl Frauelein, Maedchen\\n\\n shoe schuh' ->>> sorted(d.items()) -[('girl', 'Frauelein, Maedchen'), ('large', 'gross'), ('plaid', ''), ('plain', ''), ('shoe', 'schuh'), ('small', 'klein')] -.fi -.PP - -.PP -Definition at line 271 of file cmd2\&.py'\&. -.SH "Member Function Documentation" -.PP -.SS "def cmd2::StubbornDict::__add__ (self, arg)" -.PP -Definition at line 291 of file cmd2\&.py'\&. -.PP -References cmd2::stubbornDict()\&. -.PP -.nf -291 -292 def __add__(self, arg): -293 selfcopy = copy\&.copy(self) -294 selfcopy\&.update(stubbornDict(arg)) - return selfcopy -.fi -.SS "def cmd2::StubbornDict::__iadd__ (self, arg)" -.PP -Definition at line 288 of file cmd2\&.py'\&. -.PP -References update()\&. -.PP -.nf -288 -289 def __iadd__(self, arg): -290 self\&.update(arg) - return self -.fi -.SS "def cmd2::StubbornDict::__radd__ (self, arg)" -.PP -Definition at line 295 of file cmd2\&.py'\&. -.PP -References cmd2::stubbornDict()\&. -.PP -.nf -295 -296 def __radd__(self, arg): -297 selfcopy = copy\&.copy(self) -298 selfcopy\&.update(stubbornDict(arg)) -299 return selfcopy - -.fi -.SS "def cmd2::StubbornDict::to_dict (cls, arg)" -.PP -Definition at line 301 of file cmd2\&.py'\&. -.PP -.nf -301 -302 def to_dict(cls, arg): -303 'Generates dictionary from string or list of strings' -304 if hasattr(arg, 'splitlines'): -305 arg = arg\&.splitlines() -306 if hasattr(arg, '__reversed__'): -307 result = {} -308 for a in arg: -309 a = a\&.strip() -310 if a: -311 key_val = a\&.split(None, 1) -312 key = key_val[0] -313 if len(key_val) > 1: -314 val = key_val[1] -315 else: -316 val = '' -317 result[key] = val -318 else: -319 result = arg -320 return result - -.fi -.SS "def cmd2::StubbornDict::update (self, arg)" -.PP -Definition at line 285 of file cmd2\&.py'\&. -.PP -Referenced by __iadd__()\&. -.PP -.nf -285 -286 def update(self, arg): - dict\&.update(self, StubbornDict\&.to_dict(arg)) -.fi -.SH "Member Data Documentation" -.PP -.SS "\fBcmd2::StubbornDict::append\fP = update\fC [static]\fP" -.PP -Definition at line 287 of file cmd2\&.py'\&. -.PP -Referenced by cmd2::History::extend()\&. - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/conf.3 b/doxygen/man/man3/conf.3 deleted file mode 100644 index b4ef51f..0000000 --- a/doxygen/man/man3/conf.3 +++ /dev/null @@ -1,114 +0,0 @@ -.TH "conf" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -conf \- -.SH SYNOPSIS -.br -.PP -.SS "Variables" - -.in +1c -.ti -1c -.RI "string \fBcopyright\fP = u'2010, Catherine Devlin'" -.br -.ti -1c -.RI "list \fBexclude_trees\fP = ['_build']" -.br -.ti -1c -.RI "list \fBextensions\fP = ['sphinx\&.ext\&.autodoc', 'sphinx\&.ext\&.doctest', 'sphinx\&.ext\&.intersphinx', 'sphinx\&.ext\&.todo']" -.br -.ti -1c -.RI "list \fBhtml_static_path\fP = ['_static']" -.br -.ti -1c -.RI "string \fBhtml_theme\fP = 'default'" -.br -.ti -1c -.RI "string \fBhtmlhelp_basename\fP = 'cmd2doc'" -.br -.ti -1c -.RI "dictionary \fBintersphinx_mapping\fP = {'http://docs\&.python\&.org/': None}" -.br -.ti -1c -.RI "list \fBlatex_documents\fP" -.br -.ti -1c -.RI "string \fBmaster_doc\fP = 'index'" -.br -.ti -1c -.RI "string \fBproject\fP = u'cmd2'" -.br -.ti -1c -.RI "string \fBpygments_style\fP = 'sphinx'" -.br -.ti -1c -.RI "string \fBrelease\fP = '0\&.6\&.0'" -.br -.ti -1c -.RI "string \fBsource_suffix\fP = '\&.rst'" -.br -.ti -1c -.RI "list \fBtemplates_path\fP = ['_templates']" -.br -.ti -1c -.RI "string \fBversion\fP = '0\&.6\&.0'" -.br -.in -1c -.SH "Variable Documentation" -.PP -.SS "string \fBconf::copyright\fP = u'2010, Catherine Devlin'" -.PP -Definition at line 41 of file conf\&.py'\&. -.SS "list \fBconf::exclude_trees\fP = ['_build']" -.PP -Definition at line 67 of file conf\&.py'\&. -.SS "list \fBconf::extensions\fP = ['sphinx\&.ext\&.autodoc', 'sphinx\&.ext\&.doctest', 'sphinx\&.ext\&.intersphinx', 'sphinx\&.ext\&.todo']" -.PP -Definition at line 25 of file conf\&.py'\&. -.SS "list \fBconf::html_static_path\fP = ['_static']" -.PP -Definition at line 123 of file conf\&.py'\&. -.SS "string \fBconf::html_theme\fP = 'default'" -.PP -Definition at line 94 of file conf\&.py'\&. -.SS "string \fBconf::htmlhelp_basename\fP = 'cmd2doc'" -.PP -Definition at line 161 of file conf\&.py'\&. -.SS "dictionary \fBconf::intersphinx_mapping\fP = {'http://docs\&.python\&.org/': None}" -.PP -Definition at line 198 of file conf\&.py'\&. -.SS "list \fBconf::latex_documents\fP"\fBInitial value:\fP -.PP -.nf -1 [ -2 ('index', 'cmd2\&.tex', u'cmd2 Documentation', -3 u'Catherine Devlin', 'manual'), -4 ] -.fi -.PP -Definition at line 174 of file conf\&.py'\&. -.SS "string \fBconf::master_doc\fP = 'index'" -.PP -Definition at line 37 of file conf\&.py'\&. -.SS "string \fBconf::project\fP = u'cmd2'" -.PP -Definition at line 40 of file conf\&.py'\&. -.SS "string \fBconf::pygments_style\fP = 'sphinx'" -.PP -Definition at line 84 of file conf\&.py'\&. -.SS "string \fBconf::release\fP = '0\&.6\&.0'" -.PP -Definition at line 50 of file conf\&.py'\&. -.SS "string \fBconf::source_suffix\fP = '\&.rst'" -.PP -Definition at line 31 of file conf\&.py'\&. -.SS "list \fBconf::templates_path\fP = ['_templates']" -.PP -Definition at line 28 of file conf\&.py'\&. -.SS "string \fBconf::version\fP = '0\&.6\&.0'" -.PP -Definition at line 48 of file conf\&.py'\&. -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/conf.py.3 b/doxygen/man/man3/conf.py.3 deleted file mode 100644 index ac8768d..0000000 --- a/doxygen/man/man3/conf.py.3 +++ /dev/null @@ -1,67 +0,0 @@ -.TH "/Users/amrogers/Developer/Projects/cmd2/docs/conf.py" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -/Users/amrogers/Developer/Projects/cmd2/docs/conf.py \- -.SH SYNOPSIS -.br -.PP -.SS "Packages" - -.in +1c -.ti -1c -.RI "namespace \fBconf\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "string \fBconf::copyright\fP = u'2010, Catherine Devlin'" -.br -.ti -1c -.RI "list \fBconf::exclude_trees\fP = ['_build']" -.br -.ti -1c -.RI "list \fBconf::extensions\fP = ['sphinx\&.ext\&.autodoc', 'sphinx\&.ext\&.doctest', 'sphinx\&.ext\&.intersphinx', 'sphinx\&.ext\&.todo']" -.br -.ti -1c -.RI "list \fBconf::html_static_path\fP = ['_static']" -.br -.ti -1c -.RI "string \fBconf::html_theme\fP = 'default'" -.br -.ti -1c -.RI "string \fBconf::htmlhelp_basename\fP = 'cmd2doc'" -.br -.ti -1c -.RI "dictionary \fBconf::intersphinx_mapping\fP = {'http://docs\&.python\&.org/': None}" -.br -.ti -1c -.RI "list \fBconf::latex_documents\fP" -.br -.ti -1c -.RI "string \fBconf::master_doc\fP = 'index'" -.br -.ti -1c -.RI "string \fBconf::project\fP = u'cmd2'" -.br -.ti -1c -.RI "string \fBconf::pygments_style\fP = 'sphinx'" -.br -.ti -1c -.RI "string \fBconf::release\fP = '0\&.6\&.0'" -.br -.ti -1c -.RI "string \fBconf::source_suffix\fP = '\&.rst'" -.br -.ti -1c -.RI "list \fBconf::templates_path\fP = ['_templates']" -.br -.ti -1c -.RI "string \fBconf::version\fP = '0\&.6\&.0'" -.br -.in -1c -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/example.3 b/doxygen/man/man3/example.3 deleted file mode 100644 index dbc3fd6..0000000 --- a/doxygen/man/man3/example.3 +++ /dev/null @@ -1,37 +0,0 @@ -.TH "example" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -example \- -.SH SYNOPSIS -.br -.PP -.SS "Classes" - -.in +1c -.ti -1c -.RI "class \fBCmdLineApp\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "tuple \fBc\fP = \fBCmdLineApp\fP()" -.br -.in -1c -.SH "Detailed Description" -.PP -.PP -.nf -A sample application for cmd2..fi -.PP - -.SH "Variable Documentation" -.PP -.SS "tuple \fBexample::c\fP = \fBCmdLineApp\fP()" -.PP -Definition at line 34 of file example\&.py'\&. -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/example.py.3 b/doxygen/man/man3/example.py.3 deleted file mode 100644 index 92ecbc1..0000000 --- a/doxygen/man/man3/example.py.3 +++ /dev/null @@ -1,32 +0,0 @@ -.TH "/Users/amrogers/Developer/Projects/cmd2/example/example.py" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -/Users/amrogers/Developer/Projects/cmd2/example/example.py \- -.SH SYNOPSIS -.br -.PP -.SS "Classes" - -.in +1c -.ti -1c -.RI "class \fBexample::CmdLineApp\fP" -.br -.in -1c -.SS "Packages" - -.in +1c -.ti -1c -.RI "namespace \fBexample\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "tuple \fBexample::c\fP = CmdLineApp()" -.br -.in -1c -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/example_CmdLineApp.3 b/doxygen/man/man3/example_CmdLineApp.3 deleted file mode 100644 index 0e6fe2c..0000000 --- a/doxygen/man/man3/example_CmdLineApp.3 +++ /dev/null @@ -1,95 +0,0 @@ -.TH "example::CmdLineApp" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -example::CmdLineApp \- -.SH SYNOPSIS -.br -.PP -.PP -Inherits \fBcmd2::Cmd\fP'\&. -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "def \fBdo_speak\fP" -.br -.in -1c -.SS "Static Public Attributes" - -.in +1c -.ti -1c -.RI "\fBdo_orate\fP = do_speak" -.br -.ti -1c -.RI "\fBdo_say\fP = do_speak" -.br -.ti -1c -.RI "int \fBmaxrepeats\fP = 3" -.br -.ti -1c -.RI "list \fBmultilineCommands\fP = ['orate']" -.br -.ti -1c -.RI "string \fBredirector\fP = '->'" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 6 of file example\&.py'\&. -.SH "Member Function Documentation" -.PP -.SS "def example::CmdLineApp::do_speak (self, arg, opts = \fCNone\fP)".PP -.nf -Repeats what you tell me to..fi -.PP - -.PP -Definition at line 17 of file example\&.py'\&. -.PP -References maxrepeats\&. -.PP -.nf -17 -18 def do_speak(self, arg, opts=None): -19 '''Repeats what you tell me to\&.''' -20 arg = ''\&.join(arg) -21 if opts\&.piglatin: -22 arg = '%s%say' % (arg[1:]\&.rstrip(), arg[0]) -23 if opts\&.shout: -24 arg = arg\&.upper() -25 repetitions = opts\&.repeat or 1 -26 for i in range(min(repetitions, self\&.maxrepeats)): -27 self\&.stdout\&.write(arg) -28 self\&.stdout\&.write('\n') -29 # self\&.stdout\&.write is better than 'print', because Cmd can be -30 # initialized with a non-standard output destination - -.fi -.SH "Member Data Documentation" -.PP -.SS "\fBexample::CmdLineApp::do_orate\fP = do_speak\fC [static]\fP" -.PP -Definition at line 32 of file example\&.py'\&. -.SS "\fBexample::CmdLineApp::do_say\fP = do_speak\fC [static]\fP" -.PP -Definition at line 31 of file example\&.py'\&. -.SS "int \fBexample::CmdLineApp::maxrepeats\fP = 3\fC [static]\fP" -.PP -Definition at line 9 of file example\&.py'\&. -.PP -Referenced by do_speak()\&. -.SS "list \fBexample::CmdLineApp::multilineCommands\fP = ['orate']\fC [static]\fP" -.PP -Reimplemented from \fBcmd2::Cmd\fP'\&. -.PP -Definition at line 7 of file example\&.py'\&. -.SS "string \fBexample::CmdLineApp::redirector\fP = '->'\fC [static]\fP" -.PP -Reimplemented from \fBcmd2::Cmd\fP'\&. -.PP -Definition at line 10 of file example\&.py'\&. - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/fileutil.3 b/doxygen/man/man3/fileutil.3 deleted file mode 100644 index 7168ff2..0000000 --- a/doxygen/man/man3/fileutil.3 +++ /dev/null @@ -1,23 +0,0 @@ -.TH "fileutil" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -fileutil \- -.SH SYNOPSIS -.br -.PP -.SS "Variables" - -.in +1c -.ti -1c -.RI "tuple \fBstats\fP = os\&.stat(fullfilename)" -.br -.in -1c -.SH "Variable Documentation" -.PP -.SS "tuple \fBfileutil::stats\fP = os\&.stat(fullfilename)" -.PP -Definition at line 6 of file fileutil\&.py'\&. -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/fileutil.py.3 b/doxygen/man/man3/fileutil.py.3 deleted file mode 100644 index c908b46..0000000 --- a/doxygen/man/man3/fileutil.py.3 +++ /dev/null @@ -1,25 +0,0 @@ -.TH "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/fileutil.py" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/fileutil.py \- -.SH SYNOPSIS -.br -.PP -.SS "Packages" - -.in +1c -.ti -1c -.RI "namespace \fBfileutil\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "tuple \fBfileutil::stats\fP = os\&.stat(fullfilename)" -.br -.in -1c -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/graph.3 b/doxygen/man/man3/graph.3 deleted file mode 100644 index 62674e3..0000000 --- a/doxygen/man/man3/graph.3 +++ /dev/null @@ -1,90 +0,0 @@ -.TH "graph" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -graph \- -.SH SYNOPSIS -.br -.PP -.SS "Functions" - -.in +1c -.ti -1c -.RI "def \fBlabel\fP" -.br -.ti -1c -.RI "def \fBline\fP" -.br -.ti -1c -.RI "def \fBtech\fP" -.br -.in -1c -.SH "Function Documentation" -.PP -.SS "def graph::label (txt)" -.PP -Definition at line 5 of file graph\&.py'\&. -.PP -Referenced by line()\&. -.PP -.nf -5 -6 def label(txt): -7 write(txt, font=('Arial', 20, 'italic')) -8 hideturtle() -9 width(6) - -.fi -.SS "def graph::line (len, _label)" -.PP -Definition at line 10 of file graph\&.py'\&. -.PP -References label()\&. -.PP -Referenced by tech()\&. -.PP -.nf -10 -11 def line(len, _label): -12 start = pos() -13 pd() -14 forward(len) -15 pu() -16 forward(30) -17 pd() -18 label(_label) -19 pu() -20 goto(start) - -.fi -.SS "def graph::tech (x, y, _label)" -.PP -Definition at line 21 of file graph\&.py'\&. -.PP -References line()\&. -.PP -.nf -21 -22 def tech(x, y, _label): -23 pu() -24 goto(x, y) -25 pd() -26 write(_label, font=('Arial', 40, 'bold')) -27 pu() -28 -29 line(600, 'Easy to write') -30 left(90) -31 line(600, 'Easy to use') -32 -33 tech(-360, 160, 'GUI') -34 tech(-390, 100, 'AJAX') -35 tech(-300, -10, 'webapp') -36 tech(190, -380, 'CLU') -37 tech(60, -320, 'TUI') -38 tech(100, -210, 'cmd') -39 tech(80, -80, 'cmd2') - -.fi -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/graph.py.3 b/doxygen/man/man3/graph.py.3 deleted file mode 100644 index 39a364d..0000000 --- a/doxygen/man/man3/graph.py.3 +++ /dev/null @@ -1,31 +0,0 @@ -.TH "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/graph.py" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/graph.py \- -.SH SYNOPSIS -.br -.PP -.SS "Packages" - -.in +1c -.ti -1c -.RI "namespace \fBgraph\fP" -.br -.in -1c -.SS "Functions" - -.in +1c -.ti -1c -.RI "def \fBgraph::label\fP" -.br -.ti -1c -.RI "def \fBgraph::line\fP" -.br -.ti -1c -.RI "def \fBgraph::tech\fP" -.br -.in -1c -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/ignoreBug.3 b/doxygen/man/man3/ignoreBug.3 deleted file mode 100644 index b0f1206..0000000 --- a/doxygen/man/man3/ignoreBug.3 +++ /dev/null @@ -1,29 +0,0 @@ -.TH "ignoreBug" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -ignoreBug \- -.SH SYNOPSIS -.br -.PP -.SS "Variables" - -.in +1c -.ti -1c -.RI "tuple \fBparser\fP = Word(printables)" -.br -.ti -1c -.RI "string \fBteststr\fP = 'please /* ignoreme: | oops */ findme: | kthx'" -.br -.in -1c -.SH "Variable Documentation" -.PP -.SS "tuple \fBignoreBug::parser\fP = Word(printables)" -.PP -Definition at line 4 of file ignoreBug\&.py'\&. -.SS "string \fBignoreBug::teststr\fP = 'please /* ignoreme: | oops */ findme: | kthx'" -.PP -Definition at line 3 of file ignoreBug\&.py'\&. -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/ignoreBug.py.3 b/doxygen/man/man3/ignoreBug.py.3 deleted file mode 100644 index 0d51e4c..0000000 --- a/doxygen/man/man3/ignoreBug.py.3 +++ /dev/null @@ -1,28 +0,0 @@ -.TH "/Users/amrogers/Developer/Projects/cmd2/ignoreBug.py" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -/Users/amrogers/Developer/Projects/cmd2/ignoreBug.py \- -.SH SYNOPSIS -.br -.PP -.SS "Packages" - -.in +1c -.ti -1c -.RI "namespace \fBignoreBug\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "tuple \fBignoreBug::parser\fP = Word(printables)" -.br -.ti -1c -.RI "string \fBignoreBug::teststr\fP = 'please /* ignoreme: | oops */ findme: | kthx'" -.br -.in -1c -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate.3 b/doxygen/man/man3/pirate.3 deleted file mode 100644 index a0b5957..0000000 --- a/doxygen/man/man3/pirate.3 +++ /dev/null @@ -1,30 +0,0 @@ -.TH "pirate" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -pirate \- -.SH SYNOPSIS -.br -.PP -.SS "Classes" - -.in +1c -.ti -1c -.RI "class \fBPirate\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "tuple \fBpirate\fP = \fBPirate\fP()" -.br -.in -1c -.SH "Variable Documentation" -.PP -.SS "tuple \fBpirate::pirate\fP = \fBPirate\fP()" -.PP -Definition at line 6 of file pirate\&.py'\&. -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate.py.3 b/doxygen/man/man3/pirate.py.3 deleted file mode 100644 index a4c549e..0000000 --- a/doxygen/man/man3/pirate.py.3 +++ /dev/null @@ -1,32 +0,0 @@ -.TH "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate.py" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate.py \- -.SH SYNOPSIS -.br -.PP -.SS "Classes" - -.in +1c -.ti -1c -.RI "class \fBpirate::Pirate\fP" -.br -.in -1c -.SS "Packages" - -.in +1c -.ti -1c -.RI "namespace \fBpirate\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "tuple \fBpirate::pirate\fP = Pirate()" -.br -.in -1c -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate2.3 b/doxygen/man/man3/pirate2.3 deleted file mode 100644 index dae946b..0000000 --- a/doxygen/man/man3/pirate2.3 +++ /dev/null @@ -1,30 +0,0 @@ -.TH "pirate2" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -pirate2 \- -.SH SYNOPSIS -.br -.PP -.SS "Classes" - -.in +1c -.ti -1c -.RI "class \fBPirate\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "tuple \fBpirate\fP = \fBPirate\fP()" -.br -.in -1c -.SH "Variable Documentation" -.PP -.SS "tuple \fBpirate2::pirate\fP = \fBPirate\fP()" -.PP -Definition at line 17 of file pirate2\&.py'\&. -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate2.py.3 b/doxygen/man/man3/pirate2.py.3 deleted file mode 100644 index 985996b..0000000 --- a/doxygen/man/man3/pirate2.py.3 +++ /dev/null @@ -1,32 +0,0 @@ -.TH "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate2.py" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate2.py \- -.SH SYNOPSIS -.br -.PP -.SS "Classes" - -.in +1c -.ti -1c -.RI "class \fBpirate2::Pirate\fP" -.br -.in -1c -.SS "Packages" - -.in +1c -.ti -1c -.RI "namespace \fBpirate2\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "tuple \fBpirate2::pirate\fP = Pirate()" -.br -.in -1c -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate2_Pirate.3 b/doxygen/man/man3/pirate2_Pirate.3 deleted file mode 100644 index f5e8626..0000000 --- a/doxygen/man/man3/pirate2_Pirate.3 +++ /dev/null @@ -1,72 +0,0 @@ -.TH "pirate2::Pirate" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -pirate2::Pirate \- -.SH SYNOPSIS -.br -.PP -.PP -Inherits Cmd'\&. -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "def \fBdo_drink\fP" -.br -.ti -1c -.RI "def \fBdo_loot\fP" -.br -.in -1c -.SS "Static Public Attributes" - -.in +1c -.ti -1c -.RI "int \fBgold\fP = 3" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 4 of file pirate2\&.py'\&. -.SH "Member Function Documentation" -.PP -.SS "def pirate2::Pirate::do_drink (self, arg)" -.PP -Definition at line 11 of file pirate2\&.py'\&. -.PP -References gold\&. -.PP -.nf -11 -12 def do_drink(self, arg): -13 'Drown your sorrrows in rrrum\&.' -14 self\&.gold -= 1 -15 print('Now we gots {0} doubloons' -16 \&.format(self\&.gold)) - -.fi -.SS "def pirate2::Pirate::do_loot (self, arg)" -.PP -Definition at line 6 of file pirate2\&.py'\&. -.PP -References gold\&. -.PP -.nf -6 -7 def do_loot(self, arg): -8 'Seize booty from a passing ship\&.' -9 self\&.gold += 1 -10 print('Now we gots {0} doubloons' - \&.format(self\&.gold)) -.fi -.SH "Member Data Documentation" -.PP -.SS "int \fBpirate2::Pirate::gold\fP = 3\fC [static]\fP" -.PP -Definition at line 5 of file pirate2\&.py'\&. -.PP -Referenced by pirate3::Pirate::do_drink(), pirate4::Pirate::do_drink(), pirate5::Pirate::do_drink(), do_drink(), pirate7::Pirate::do_drink(), pirate8::Pirate::do_drink(), pirate6::Pirate::do_drink(), do_loot(), pirate5::Pirate::do_loot(), pirate3::Pirate::do_loot(), pirate4::Pirate::do_loot(), pirate7::Pirate::do_loot(), pirate8::Pirate::do_loot(), pirate6::Pirate::do_loot(), pirate3::Pirate::postcmd(), pirate4::Pirate::postcmd(), pirate5::Pirate::postcmd(), pirate7::Pirate::postcmd(), pirate8::Pirate::postcmd(), pirate6::Pirate::postcmd(), pirate3::Pirate::precmd(), pirate5::Pirate::precmd(), pirate4::Pirate::precmd(), pirate7::Pirate::precmd(), pirate8::Pirate::precmd(), and pirate6::Pirate::precmd()\&. - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate3.3 b/doxygen/man/man3/pirate3.3 deleted file mode 100644 index 8915fdb..0000000 --- a/doxygen/man/man3/pirate3.3 +++ /dev/null @@ -1,30 +0,0 @@ -.TH "pirate3" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -pirate3 \- -.SH SYNOPSIS -.br -.PP -.SS "Classes" - -.in +1c -.ti -1c -.RI "class \fBPirate\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "tuple \fBpirate\fP = \fBPirate\fP()" -.br -.in -1c -.SH "Variable Documentation" -.PP -.SS "tuple \fBpirate3::pirate\fP = \fBPirate\fP()" -.PP -Definition at line 20 of file pirate3\&.py'\&. -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate3.py.3 b/doxygen/man/man3/pirate3.py.3 deleted file mode 100644 index d93fcc4..0000000 --- a/doxygen/man/man3/pirate3.py.3 +++ /dev/null @@ -1,32 +0,0 @@ -.TH "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate3.py" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate3.py \- -.SH SYNOPSIS -.br -.PP -.SS "Classes" - -.in +1c -.ti -1c -.RI "class \fBpirate3::Pirate\fP" -.br -.in -1c -.SS "Packages" - -.in +1c -.ti -1c -.RI "namespace \fBpirate3\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "tuple \fBpirate3::pirate\fP = Pirate()" -.br -.in -1c -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate3_Pirate.3 b/doxygen/man/man3/pirate3_Pirate.3 deleted file mode 100644 index 93c4745..0000000 --- a/doxygen/man/man3/pirate3_Pirate.3 +++ /dev/null @@ -1,115 +0,0 @@ -.TH "pirate3::Pirate" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -pirate3::Pirate \- -.SH SYNOPSIS -.br -.PP -.PP -Inherits Cmd'\&. -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "def \fBdo_drink\fP" -.br -.ti -1c -.RI "def \fBdo_loot\fP" -.br -.ti -1c -.RI "def \fBpostcmd\fP" -.br -.ti -1c -.RI "def \fBprecmd\fP" -.br -.in -1c -.SS "Public Attributes" - -.in +1c -.ti -1c -.RI "\fBinitial_gold\fP" -.br -.in -1c -.SS "Static Public Attributes" - -.in +1c -.ti -1c -.RI "int \fBgold\fP = 3" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 4 of file pirate3\&.py'\&. -.SH "Member Function Documentation" -.PP -.SS "def pirate3::Pirate::do_drink (self, arg)" -.PP -Definition at line 9 of file pirate3\&.py'\&. -.PP -References pirate2::Pirate::gold, and gold\&. -.PP -.nf -9 -10 def do_drink(self, arg): -11 'Drown your sorrrows in rrrum\&.' - self\&.gold -= 1 -.fi -.SS "def pirate3::Pirate::do_loot (self, arg)" -.PP -Definition at line 6 of file pirate3\&.py'\&. -.PP -References pirate2::Pirate::gold, and gold\&. -.PP -.nf -6 -7 def do_loot(self, arg): -8 'Seize booty from a passing ship\&.' - self\&.gold += 1 -.fi -.SS "def pirate3::Pirate::postcmd (self, stop, line)" -.PP -Definition at line 15 of file pirate3\&.py'\&. -.PP -References pirate2::Pirate::gold, gold, and initial_gold\&. -.PP -Referenced by cmd2::Cmd::onecmd_plus_hooks()\&. -.PP -.nf -15 -16 def postcmd(self, stop, line): -17 if self\&.gold != self\&.initial_gold: -18 print('Now we gots {0} doubloons' -19 \&.format(self\&.gold)) - -.fi -.SS "def pirate3::Pirate::precmd (self, line)" -.PP -Definition at line 12 of file pirate3\&.py'\&. -.PP -References pirate2::Pirate::gold, gold, and initial_gold\&. -.PP -Referenced by cmd2::Cmd::onecmd_plus_hooks()\&. -.PP -.nf -12 -13 def precmd(self, line): -14 self\&.initial_gold = self\&.gold - return line -.fi -.SH "Member Data Documentation" -.PP -.SS "int \fBpirate3::Pirate::gold\fP = 3\fC [static]\fP" -.PP -Definition at line 5 of file pirate3\&.py'\&. -.PP -Referenced by do_drink(), pirate5::Pirate::do_drink(), pirate4::Pirate::do_drink(), pirate7::Pirate::do_drink(), pirate8::Pirate::do_drink(), pirate6::Pirate::do_drink(), pirate5::Pirate::do_loot(), pirate4::Pirate::do_loot(), do_loot(), pirate7::Pirate::do_loot(), pirate8::Pirate::do_loot(), pirate6::Pirate::do_loot(), postcmd(), pirate4::Pirate::postcmd(), pirate5::Pirate::postcmd(), pirate7::Pirate::postcmd(), pirate8::Pirate::postcmd(), pirate6::Pirate::postcmd(), precmd(), pirate5::Pirate::precmd(), pirate4::Pirate::precmd(), pirate8::Pirate::precmd(), pirate7::Pirate::precmd(), and pirate6::Pirate::precmd()\&. -.SS "\fBpirate3::Pirate::initial_gold\fP" -.PP -Definition at line 12 of file pirate3\&.py'\&. -.PP -Referenced by postcmd(), pirate4::Pirate::postcmd(), pirate5::Pirate::postcmd(), pirate7::Pirate::postcmd(), pirate8::Pirate::postcmd(), pirate6::Pirate::postcmd(), precmd(), pirate5::Pirate::precmd(), pirate4::Pirate::precmd(), pirate8::Pirate::precmd(), pirate7::Pirate::precmd(), and pirate6::Pirate::precmd()\&. - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate4.3 b/doxygen/man/man3/pirate4.3 deleted file mode 100644 index 9afadcd..0000000 --- a/doxygen/man/man3/pirate4.3 +++ /dev/null @@ -1,30 +0,0 @@ -.TH "pirate4" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -pirate4 \- -.SH SYNOPSIS -.br -.PP -.SS "Classes" - -.in +1c -.ti -1c -.RI "class \fBPirate\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "tuple \fBpirate\fP = \fBPirate\fP()" -.br -.in -1c -.SH "Variable Documentation" -.PP -.SS "tuple \fBpirate4::pirate\fP = \fBPirate\fP()" -.PP -Definition at line 26 of file pirate4\&.py'\&. -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate4.py.3 b/doxygen/man/man3/pirate4.py.3 deleted file mode 100644 index b4cd9ec..0000000 --- a/doxygen/man/man3/pirate4.py.3 +++ /dev/null @@ -1,32 +0,0 @@ -.TH "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate4.py" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate4.py \- -.SH SYNOPSIS -.br -.PP -.SS "Classes" - -.in +1c -.ti -1c -.RI "class \fBpirate4::Pirate\fP" -.br -.in -1c -.SS "Packages" - -.in +1c -.ti -1c -.RI "namespace \fBpirate4\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "tuple \fBpirate4::pirate\fP = Pirate()" -.br -.in -1c -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate4_Pirate.3 b/doxygen/man/man3/pirate4_Pirate.3 deleted file mode 100644 index d1f6173..0000000 --- a/doxygen/man/man3/pirate4_Pirate.3 +++ /dev/null @@ -1,127 +0,0 @@ -.TH "pirate4::Pirate" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -pirate4::Pirate \- -.SH SYNOPSIS -.br -.PP -.PP -Inherits Cmd'\&. -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "def \fBdo_drink\fP" -.br -.ti -1c -.RI "def \fBdo_loot\fP" -.br -.ti -1c -.RI "def \fBpostcmd\fP" -.br -.ti -1c -.RI "def \fBprecmd\fP" -.br -.in -1c -.SS "Public Attributes" - -.in +1c -.ti -1c -.RI "\fBinitial_gold\fP" -.br -.in -1c -.SS "Static Public Attributes" - -.in +1c -.ti -1c -.RI "int \fBgold\fP = 3" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 4 of file pirate4\&.py'\&. -.SH "Member Function Documentation" -.PP -.SS "def pirate4::Pirate::do_drink (self, arg)".PP -.nf -Drown your sorrrows in rrrum. - -drink [n] - drink [n] barrel[s] o' rum..fi -.PP - -.PP -Definition at line 9 of file pirate4\&.py'\&. -.PP -References pirate2::Pirate::gold, gold, and pirate3::Pirate::gold\&. -.PP -.nf -9 -10 def do_drink(self, arg): -11 '''Drown your sorrrows in rrrum\&. -12 -13 drink [n] - drink [n] barrel[s] o' rum\&.''' -14 try: -15 self\&.gold -= int(arg) -16 except: -17 if arg: -18 print('''What's '{0}'? I'll take rrrum\&.'''\&.format(arg)) - self\&.gold -= 1 -.fi -.SS "def pirate4::Pirate::do_loot (self, arg)" -.PP -Definition at line 6 of file pirate4\&.py'\&. -.PP -References pirate2::Pirate::gold, gold, and pirate3::Pirate::gold\&. -.PP -.nf -6 -7 def do_loot(self, arg): -8 'Seize booty from a passing ship\&.' - self\&.gold += 1 -.fi -.SS "def pirate4::Pirate::postcmd (self, stop, line)" -.PP -Definition at line 22 of file pirate4\&.py'\&. -.PP -References pirate2::Pirate::gold, pirate3::Pirate::gold, gold, pirate3::Pirate::initial_gold, and initial_gold\&. -.PP -Referenced by cmd2::Cmd::onecmd_plus_hooks()\&. -.PP -.nf -22 -23 def postcmd(self, stop, line): -24 if self\&.gold != self\&.initial_gold: -25 print('Now we gots {0} doubloons'\&.format(self\&.gold)) - -.fi -.SS "def pirate4::Pirate::precmd (self, line)" -.PP -Definition at line 19 of file pirate4\&.py'\&. -.PP -References pirate2::Pirate::gold, gold, pirate3::Pirate::gold, pirate3::Pirate::initial_gold, and initial_gold\&. -.PP -Referenced by cmd2::Cmd::onecmd_plus_hooks()\&. -.PP -.nf -19 -20 def precmd(self, line): -21 self\&.initial_gold = self\&.gold - return line -.fi -.SH "Member Data Documentation" -.PP -.SS "int \fBpirate4::Pirate::gold\fP = 3\fC [static]\fP" -.PP -Definition at line 5 of file pirate4\&.py'\&. -.PP -Referenced by do_drink(), pirate5::Pirate::do_drink(), pirate8::Pirate::do_drink(), pirate7::Pirate::do_drink(), pirate6::Pirate::do_drink(), do_loot(), pirate5::Pirate::do_loot(), pirate8::Pirate::do_loot(), pirate7::Pirate::do_loot(), pirate6::Pirate::do_loot(), postcmd(), pirate5::Pirate::postcmd(), pirate7::Pirate::postcmd(), pirate8::Pirate::postcmd(), pirate6::Pirate::postcmd(), pirate5::Pirate::precmd(), precmd(), pirate7::Pirate::precmd(), pirate8::Pirate::precmd(), and pirate6::Pirate::precmd()\&. -.SS "\fBpirate4::Pirate::initial_gold\fP" -.PP -Definition at line 19 of file pirate4\&.py'\&. -.PP -Referenced by postcmd(), pirate5::Pirate::postcmd(), pirate7::Pirate::postcmd(), pirate8::Pirate::postcmd(), pirate6::Pirate::postcmd(), precmd(), pirate5::Pirate::precmd(), pirate7::Pirate::precmd(), pirate8::Pirate::precmd(), and pirate6::Pirate::precmd()\&. - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate5.3 b/doxygen/man/man3/pirate5.3 deleted file mode 100644 index 7861bbe..0000000 --- a/doxygen/man/man3/pirate5.3 +++ /dev/null @@ -1,30 +0,0 @@ -.TH "pirate5" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -pirate5 \- -.SH SYNOPSIS -.br -.PP -.SS "Classes" - -.in +1c -.ti -1c -.RI "class \fBPirate\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "tuple \fBpirate\fP = \fBPirate\fP()" -.br -.in -1c -.SH "Variable Documentation" -.PP -.SS "tuple \fBpirate5::pirate\fP = \fBPirate\fP()" -.PP -Definition at line 34 of file pirate5\&.py'\&. -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate5.py.3 b/doxygen/man/man3/pirate5.py.3 deleted file mode 100644 index a50b2ee..0000000 --- a/doxygen/man/man3/pirate5.py.3 +++ /dev/null @@ -1,32 +0,0 @@ -.TH "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate5.py" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate5.py \- -.SH SYNOPSIS -.br -.PP -.SS "Classes" - -.in +1c -.ti -1c -.RI "class \fBpirate5::Pirate\fP" -.br -.in -1c -.SS "Packages" - -.in +1c -.ti -1c -.RI "namespace \fBpirate5\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "tuple \fBpirate5::pirate\fP = Pirate()" -.br -.in -1c -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate5_Pirate.3 b/doxygen/man/man3/pirate5_Pirate.3 deleted file mode 100644 index f95fcde..0000000 --- a/doxygen/man/man3/pirate5_Pirate.3 +++ /dev/null @@ -1,145 +0,0 @@ -.TH "pirate5::Pirate" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -pirate5::Pirate \- -.SH SYNOPSIS -.br -.PP -.PP -Inherits Cmd'\&. -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "def \fBdo_drink\fP" -.br -.ti -1c -.RI "def \fBdo_loot\fP" -.br -.ti -1c -.RI "def \fBdo_quit\fP" -.br -.ti -1c -.RI "def \fBpostcmd\fP" -.br -.ti -1c -.RI "def \fBprecmd\fP" -.br -.in -1c -.SS "Public Attributes" - -.in +1c -.ti -1c -.RI "\fBinitial_gold\fP" -.br -.in -1c -.SS "Static Public Attributes" - -.in +1c -.ti -1c -.RI "int \fBgold\fP = 3" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 4 of file pirate5\&.py'\&. -.SH "Member Function Documentation" -.PP -.SS "def pirate5::Pirate::do_drink (self, arg)".PP -.nf -Drown your sorrrows in rrrum. - -drink [n] - drink [n] barrel[s] o' rum..fi -.PP - -.PP -Definition at line 9 of file pirate5\&.py'\&. -.PP -References pirate2::Pirate::gold, gold, pirate4::Pirate::gold, and pirate3::Pirate::gold\&. -.PP -.nf -9 -10 def do_drink(self, arg): -11 '''Drown your sorrrows in rrrum\&. -12 -13 drink [n] - drink [n] barrel[s] o' rum\&.''' -14 try: -15 self\&.gold -= int(arg) -16 except: -17 if arg: -18 print('''What's '{0}'? I'll take rrrum\&.'''\&.format(arg)) - self\&.gold -= 1 -.fi -.SS "def pirate5::Pirate::do_loot (self, arg)" -.PP -Definition at line 6 of file pirate5\&.py'\&. -.PP -References pirate2::Pirate::gold, gold, pirate4::Pirate::gold, and pirate3::Pirate::gold\&. -.PP -.nf -6 -7 def do_loot(self, arg): -8 'Seize booty from a passing ship\&.' - self\&.gold += 1 -.fi -.SS "def pirate5::Pirate::do_quit (self, arg)" -.PP -Definition at line 30 of file pirate5\&.py'\&. -.PP -.nf -30 -31 def do_quit(self, arg): -32 print('Quiterrr!') -33 return True - -.fi -.SS "def pirate5::Pirate::postcmd (self, stop, line)" -.PP -Definition at line 22 of file pirate5\&.py'\&. -.PP -References pirate2::Pirate::gold, pirate3::Pirate::gold, gold, pirate4::Pirate::gold, pirate3::Pirate::initial_gold, pirate4::Pirate::initial_gold, and initial_gold\&. -.PP -Referenced by cmd2::Cmd::onecmd_plus_hooks()\&. -.PP -.nf -22 -23 def postcmd(self, stop, line): -24 if self\&.gold != self\&.initial_gold: -25 print('Now we gots {0} doubloons' -26 \&.format(self\&.gold)) -27 if self\&.gold < 0: -28 print('Off to debtorrr's prison\&.') -29 stop = True - return stop -.fi -.SS "def pirate5::Pirate::precmd (self, line)" -.PP -Definition at line 19 of file pirate5\&.py'\&. -.PP -References pirate2::Pirate::gold, gold, pirate3::Pirate::gold, pirate4::Pirate::gold, pirate3::Pirate::initial_gold, initial_gold, and pirate4::Pirate::initial_gold\&. -.PP -Referenced by cmd2::Cmd::onecmd_plus_hooks()\&. -.PP -.nf -19 -20 def precmd(self, line): -21 self\&.initial_gold = self\&.gold - return line -.fi -.SH "Member Data Documentation" -.PP -.SS "int \fBpirate5::Pirate::gold\fP = 3\fC [static]\fP" -.PP -Definition at line 5 of file pirate5\&.py'\&. -.PP -Referenced by do_drink(), pirate7::Pirate::do_drink(), pirate8::Pirate::do_drink(), pirate6::Pirate::do_drink(), do_loot(), pirate7::Pirate::do_loot(), pirate8::Pirate::do_loot(), pirate6::Pirate::do_loot(), postcmd(), pirate8::Pirate::postcmd(), pirate7::Pirate::postcmd(), pirate6::Pirate::postcmd(), precmd(), pirate7::Pirate::precmd(), pirate8::Pirate::precmd(), and pirate6::Pirate::precmd()\&. -.SS "\fBpirate5::Pirate::initial_gold\fP" -.PP -Definition at line 19 of file pirate5\&.py'\&. -.PP -Referenced by postcmd(), pirate8::Pirate::postcmd(), pirate7::Pirate::postcmd(), pirate6::Pirate::postcmd(), precmd(), pirate7::Pirate::precmd(), pirate8::Pirate::precmd(), and pirate6::Pirate::precmd()\&. - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate6.3 b/doxygen/man/man3/pirate6.3 deleted file mode 100644 index fa2cdcd..0000000 --- a/doxygen/man/man3/pirate6.3 +++ /dev/null @@ -1,30 +0,0 @@ -.TH "pirate6" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -pirate6 \- -.SH SYNOPSIS -.br -.PP -.SS "Classes" - -.in +1c -.ti -1c -.RI "class \fBPirate\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "tuple \fBpirate\fP = \fBPirate\fP()" -.br -.in -1c -.SH "Variable Documentation" -.PP -.SS "tuple \fBpirate6::pirate\fP = \fBPirate\fP()" -.PP -Definition at line 38 of file pirate6\&.py'\&. -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate6.py.3 b/doxygen/man/man3/pirate6.py.3 deleted file mode 100644 index caf5b60..0000000 --- a/doxygen/man/man3/pirate6.py.3 +++ /dev/null @@ -1,32 +0,0 @@ -.TH "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate6.py" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate6.py \- -.SH SYNOPSIS -.br -.PP -.SS "Classes" - -.in +1c -.ti -1c -.RI "class \fBpirate6::Pirate\fP" -.br -.in -1c -.SS "Packages" - -.in +1c -.ti -1c -.RI "namespace \fBpirate6\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "tuple \fBpirate6::pirate\fP = Pirate()" -.br -.in -1c -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate6_Pirate.3 b/doxygen/man/man3/pirate6_Pirate.3 deleted file mode 100644 index 6d103d9..0000000 --- a/doxygen/man/man3/pirate6_Pirate.3 +++ /dev/null @@ -1,170 +0,0 @@ -.TH "pirate6::Pirate" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -pirate6::Pirate \- -.SH SYNOPSIS -.br -.PP -.PP -Inherits \fBcmd2::Cmd\fP'\&. -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "def \fBdefault\fP" -.br -.ti -1c -.RI "def \fBdo_drink\fP" -.br -.ti -1c -.RI "def \fBdo_loot\fP" -.br -.ti -1c -.RI "def \fBdo_quit\fP" -.br -.ti -1c -.RI "def \fBpostcmd\fP" -.br -.ti -1c -.RI "def \fBprecmd\fP" -.br -.in -1c -.SS "Public Attributes" - -.in +1c -.ti -1c -.RI "\fBinitial_gold\fP" -.br -.in -1c -.SS "Static Public Attributes" - -.in +1c -.ti -1c -.RI "int \fBgold\fP = 3" -.br -.ti -1c -.RI "string \fBprompt\fP = 'arrr> '" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 4 of file pirate6\&.py'\&. -.SH "Member Function Documentation" -.PP -.SS "def pirate6::Pirate::default (self, line)" -.PP -Definition at line 7 of file pirate6\&.py'\&. -.PP -Referenced by cmd2::Cmd::_default()\&. -.PP -.nf -7 -8 def default(self, line): -9 print('What mean ye by '{0}'?' - \&.format(line)) -.fi -.SS "def pirate6::Pirate::do_drink (self, arg)".PP -.nf -Drown your sorrrows in rrrum. - -drink [n] - drink [n] barrel[s] o' rum..fi -.PP - -.PP -Definition at line 13 of file pirate6\&.py'\&. -.PP -References pirate2::Pirate::gold, gold, pirate5::Pirate::gold, pirate4::Pirate::gold, and pirate3::Pirate::gold\&. -.PP -.nf -13 -14 def do_drink(self, arg): -15 '''Drown your sorrrows in rrrum\&. -16 -17 drink [n] - drink [n] barrel[s] o' rum\&.''' -18 try: -19 self\&.gold -= int(arg) -20 except: -21 if arg: -22 print('''What's '{0}'? I'll take rrrum\&.'''\&.format(arg)) - self\&.gold -= 1 -.fi -.SS "def pirate6::Pirate::do_loot (self, arg)" -.PP -Definition at line 10 of file pirate6\&.py'\&. -.PP -References pirate2::Pirate::gold, gold, pirate5::Pirate::gold, pirate4::Pirate::gold, and pirate3::Pirate::gold\&. -.PP -.nf -10 -11 def do_loot(self, arg): -12 'Seize booty from a passing ship\&.' - self\&.gold += 1 -.fi -.SS "def pirate6::Pirate::do_quit (self, arg)" -.PP -Reimplemented from \fBcmd2::Cmd\fP'\&. -.PP -Definition at line 34 of file pirate6\&.py'\&. -.PP -.nf -34 -35 def do_quit(self, arg): -36 print('Quiterrr!') -37 return True - -.fi -.SS "def pirate6::Pirate::postcmd (self, stop, line)" -.PP -Definition at line 26 of file pirate6\&.py'\&. -.PP -References pirate2::Pirate::gold, pirate3::Pirate::gold, pirate5::Pirate::gold, gold, pirate4::Pirate::gold, pirate3::Pirate::initial_gold, pirate5::Pirate::initial_gold, pirate4::Pirate::initial_gold, and initial_gold\&. -.PP -Referenced by cmd2::Cmd::onecmd_plus_hooks()\&. -.PP -.nf -26 -27 def postcmd(self, stop, line): -28 if self\&.gold != self\&.initial_gold: -29 print('Now we gots {0} doubloons' -30 \&.format(self\&.gold)) -31 if self\&.gold < 0: -32 print('Off to debtorrr's prison\&.') -33 stop = True - return stop -.fi -.SS "def pirate6::Pirate::precmd (self, line)" -.PP -Definition at line 23 of file pirate6\&.py'\&. -.PP -References pirate2::Pirate::gold, pirate5::Pirate::gold, gold, pirate4::Pirate::gold, pirate3::Pirate::gold, pirate3::Pirate::initial_gold, pirate4::Pirate::initial_gold, pirate5::Pirate::initial_gold, and initial_gold\&. -.PP -Referenced by cmd2::Cmd::onecmd_plus_hooks()\&. -.PP -.nf -23 -24 def precmd(self, line): -25 self\&.initial_gold = self\&.gold - return line -.fi -.SH "Member Data Documentation" -.PP -.SS "int \fBpirate6::Pirate::gold\fP = 3\fC [static]\fP" -.PP -Definition at line 5 of file pirate6\&.py'\&. -.PP -Referenced by pirate7::Pirate::do_drink(), pirate8::Pirate::do_drink(), do_drink(), pirate8::Pirate::do_loot(), pirate7::Pirate::do_loot(), do_loot(), pirate7::Pirate::postcmd(), pirate8::Pirate::postcmd(), postcmd(), pirate7::Pirate::precmd(), pirate8::Pirate::precmd(), and precmd()\&. -.SS "\fBpirate6::Pirate::initial_gold\fP" -.PP -Definition at line 23 of file pirate6\&.py'\&. -.PP -Referenced by pirate7::Pirate::postcmd(), pirate8::Pirate::postcmd(), postcmd(), pirate8::Pirate::precmd(), pirate7::Pirate::precmd(), and precmd()\&. -.SS "string \fBpirate6::Pirate::prompt\fP = 'arrr> '\fC [static]\fP" -.PP -Reimplemented from \fBcmd2::Cmd\fP'\&. -.PP -Definition at line 6 of file pirate6\&.py'\&. - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate7.3 b/doxygen/man/man3/pirate7.3 deleted file mode 100644 index e8c0421..0000000 --- a/doxygen/man/man3/pirate7.3 +++ /dev/null @@ -1,30 +0,0 @@ -.TH "pirate7" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -pirate7 \- -.SH SYNOPSIS -.br -.PP -.SS "Classes" - -.in +1c -.ti -1c -.RI "class \fBPirate\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "tuple \fBpirate\fP = \fBPirate\fP()" -.br -.in -1c -.SH "Variable Documentation" -.PP -.SS "tuple \fBpirate7::pirate\fP = \fBPirate\fP()" -.PP -Definition at line 45 of file pirate7\&.py'\&. -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate7.py.3 b/doxygen/man/man3/pirate7.py.3 deleted file mode 100644 index 9deacfa..0000000 --- a/doxygen/man/man3/pirate7.py.3 +++ /dev/null @@ -1,32 +0,0 @@ -.TH "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate7.py \- -.SH SYNOPSIS -.br -.PP -.SS "Classes" - -.in +1c -.ti -1c -.RI "class \fBpirate7::Pirate\fP" -.br -.in -1c -.SS "Packages" - -.in +1c -.ti -1c -.RI "namespace \fBpirate7\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "tuple \fBpirate7::pirate\fP = Pirate()" -.br -.in -1c -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate7_Pirate.3 b/doxygen/man/man3/pirate7_Pirate.3 deleted file mode 100644 index 1c07561..0000000 --- a/doxygen/man/man3/pirate7_Pirate.3 +++ /dev/null @@ -1,223 +0,0 @@ -.TH "pirate7::Pirate" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -pirate7::Pirate \- -.SH SYNOPSIS -.br -.PP -.PP -Inherits \fBcmd2::Cmd\fP'\&. -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "def \fBdefault\fP" -.br -.ti -1c -.RI "def \fBdo_drink\fP" -.br -.ti -1c -.RI "def \fBdo_loot\fP" -.br -.ti -1c -.RI "def \fBdo_quit\fP" -.br -.ti -1c -.RI "def \fBdo_sing\fP" -.br -.ti -1c -.RI "def \fBpostcmd\fP" -.br -.ti -1c -.RI "def \fBprecmd\fP" -.br -.in -1c -.SS "Public Attributes" - -.in +1c -.ti -1c -.RI "\fBinitial_gold\fP" -.br -.in -1c -.SS "Static Public Attributes" - -.in +1c -.ti -1c -.RI "\fBdefault_to_shell\fP = True" -.br -.ti -1c -.RI "int \fBgold\fP = 3" -.br -.ti -1c -.RI "list \fBmultilineCommands\fP = ['sing']" -.br -.ti -1c -.RI "string \fBprompt\fP = 'arrr> '" -.br -.ti -1c -.RI "string \fBsettable\fP = '\fBsongcolor\fP Color to ``sing`` in (red/blue/green/cyan/magenta, bold, underline)'" -.br -.ti -1c -.RI "string \fBsongcolor\fP = 'blue'" -.br -.ti -1c -.RI "list \fBterminators\fP = \fBCmd\&.terminators\fP+['\&.\&.\&.']" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 4 of file pirate7\&.py'\&. -.SH "Member Function Documentation" -.PP -.SS "def pirate7::Pirate::default (self, line)" -.PP -Definition at line 7 of file pirate7\&.py'\&. -.PP -Referenced by cmd2::Cmd::_default()\&. -.PP -.nf -7 -8 def default(self, line): - print('What mean ye by '{0}'?'\&.format(line)) -.fi -.SS "def pirate7::Pirate::do_drink (self, arg)".PP -.nf -Drown your sorrrows in rrrum. - -drink [n] - drink [n] barrel[s] o' rum..fi -.PP - -.PP -Definition at line 12 of file pirate7\&.py'\&. -.PP -References pirate2::Pirate::gold, gold, pirate6::Pirate::gold, pirate5::Pirate::gold, pirate4::Pirate::gold, and pirate3::Pirate::gold\&. -.PP -.nf -12 -13 def do_drink(self, arg): -14 '''Drown your sorrrows in rrrum\&. -15 -16 drink [n] - drink [n] barrel[s] o' rum\&.''' -17 try: -18 self\&.gold -= int(arg) -19 except: -20 if arg: -21 print('''What's '{0}'? I'll take rrrum\&.'''\&.format(arg)) - self\&.gold -= 1 -.fi -.SS "def pirate7::Pirate::do_loot (self, arg)" -.PP -Definition at line 9 of file pirate7\&.py'\&. -.PP -References pirate2::Pirate::gold, gold, pirate6::Pirate::gold, pirate5::Pirate::gold, pirate4::Pirate::gold, and pirate3::Pirate::gold\&. -.PP -.nf -9 -10 def do_loot(self, arg): -11 'Seize booty from a passing ship\&.' - self\&.gold += 1 -.fi -.SS "def pirate7::Pirate::do_quit (self, arg)" -.PP -Reimplemented from \fBcmd2::Cmd\fP'\&. -.PP -Definition at line 33 of file pirate7\&.py'\&. -.PP -.nf -33 -34 def do_quit(self, arg): -35 print('Quiterrr!') - return True -.fi -.SS "def pirate7::Pirate::do_sing (self, arg)" -.PP -Definition at line 42 of file pirate7\&.py'\&. -.PP -References cmd2::Cmd::colorize(), and songcolor\&. -.PP -.nf -42 -43 def do_sing(self, arg): -44 print(self\&.colorize(arg, self\&.songcolor)) - -.fi -.SS "def pirate7::Pirate::postcmd (self, stop, line)" -.PP -Definition at line 25 of file pirate7\&.py'\&. -.PP -References pirate2::Pirate::gold, pirate3::Pirate::gold, pirate5::Pirate::gold, pirate6::Pirate::gold, pirate4::Pirate::gold, gold, pirate3::Pirate::initial_gold, pirate5::Pirate::initial_gold, pirate4::Pirate::initial_gold, initial_gold, and pirate6::Pirate::initial_gold\&. -.PP -Referenced by cmd2::Cmd::onecmd_plus_hooks()\&. -.PP -.nf -25 -26 def postcmd(self, stop, line): -27 if self\&.gold != self\&.initial_gold: -28 print('Now we gots {0} doubloons' -29 \&.format(self\&.gold)) -30 if self\&.gold < 0: -31 print('Off to debtorrr's prison\&.') -32 stop = True - return stop -.fi -.SS "def pirate7::Pirate::precmd (self, line)" -.PP -Definition at line 22 of file pirate7\&.py'\&. -.PP -References pirate2::Pirate::gold, gold, pirate4::Pirate::gold, pirate5::Pirate::gold, pirate6::Pirate::gold, pirate3::Pirate::gold, pirate3::Pirate::initial_gold, pirate4::Pirate::initial_gold, pirate5::Pirate::initial_gold, initial_gold, and pirate6::Pirate::initial_gold\&. -.PP -Referenced by cmd2::Cmd::onecmd_plus_hooks()\&. -.PP -.nf -22 -23 def precmd(self, line): -24 self\&.initial_gold = self\&.gold - return line -.fi -.SH "Member Data Documentation" -.PP -.SS "\fBpirate7::Pirate::default_to_shell\fP = True\fC [static]\fP" -.PP -Reimplemented from \fBcmd2::Cmd\fP'\&. -.PP -Definition at line 36 of file pirate7\&.py'\&. -.SS "int \fBpirate7::Pirate::gold\fP = 3\fC [static]\fP" -.PP -Definition at line 5 of file pirate7\&.py'\&. -.PP -Referenced by do_drink(), pirate8::Pirate::do_drink(), do_loot(), pirate8::Pirate::do_loot(), postcmd(), pirate8::Pirate::postcmd(), precmd(), and pirate8::Pirate::precmd()\&. -.SS "\fBpirate7::Pirate::initial_gold\fP" -.PP -Definition at line 22 of file pirate7\&.py'\&. -.PP -Referenced by postcmd(), pirate8::Pirate::postcmd(), pirate8::Pirate::precmd(), and precmd()\&. -.SS "list \fBpirate7::Pirate::multilineCommands\fP = ['sing']\fC [static]\fP" -.PP -Reimplemented from \fBcmd2::Cmd\fP'\&. -.PP -Definition at line 37 of file pirate7\&.py'\&. -.SS "string \fBpirate7::Pirate::prompt\fP = 'arrr> '\fC [static]\fP" -.PP -Reimplemented from \fBcmd2::Cmd\fP'\&. -.PP -Definition at line 6 of file pirate7\&.py'\&. -.SS "string \fBpirate7::Pirate::settable\fP = '\fBsongcolor\fP Color to ``sing`` in (red/blue/green/cyan/magenta, bold, underline)'\fC [static]\fP" -.PP -Reimplemented from \fBcmd2::Cmd\fP'\&. -.PP -Definition at line 40 of file pirate7\&.py'\&. -.SS "string \fBpirate7::Pirate::songcolor\fP = 'blue'\fC [static]\fP" -.PP -Definition at line 39 of file pirate7\&.py'\&. -.PP -Referenced by do_sing(), and pirate8::Pirate::do_sing()\&. -.SS "list \fBpirate7::Pirate::terminators\fP = \fBCmd\&.terminators\fP+['\&.\&.\&.']\fC [static]\fP" -.PP -Reimplemented from \fBcmd2::Cmd\fP'\&. -.PP -Definition at line 38 of file pirate7\&.py'\&. - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate8.3 b/doxygen/man/man3/pirate8.3 deleted file mode 100644 index 0cf7900..0000000 --- a/doxygen/man/man3/pirate8.3 +++ /dev/null @@ -1,30 +0,0 @@ -.TH "pirate8" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -pirate8 \- -.SH SYNOPSIS -.br -.PP -.SS "Classes" - -.in +1c -.ti -1c -.RI "class \fBPirate\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "tuple \fBpirate\fP = \fBPirate\fP()" -.br -.in -1c -.SH "Variable Documentation" -.PP -.SS "tuple \fBpirate8::pirate\fP = \fBPirate\fP()" -.PP -Definition at line 56 of file pirate8\&.py'\&. -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate8.py.3 b/doxygen/man/man3/pirate8.py.3 deleted file mode 100644 index c359d47..0000000 --- a/doxygen/man/man3/pirate8.py.3 +++ /dev/null @@ -1,32 +0,0 @@ -.TH "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate8.py \- -.SH SYNOPSIS -.br -.PP -.SS "Classes" - -.in +1c -.ti -1c -.RI "class \fBpirate8::Pirate\fP" -.br -.in -1c -.SS "Packages" - -.in +1c -.ti -1c -.RI "namespace \fBpirate8\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "tuple \fBpirate8::pirate\fP = Pirate()" -.br -.in -1c -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate8_Pirate.3 b/doxygen/man/man3/pirate8_Pirate.3 deleted file mode 100644 index 363a263..0000000 --- a/doxygen/man/man3/pirate8_Pirate.3 +++ /dev/null @@ -1,253 +0,0 @@ -.TH "pirate8::Pirate" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -pirate8::Pirate \- -.SH SYNOPSIS -.br -.PP -.PP -Inherits \fBcmd2::Cmd\fP'\&. -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "def \fBdefault\fP" -.br -.ti -1c -.RI "def \fBdo_drink\fP" -.br -.ti -1c -.RI "def \fBdo_loot\fP" -.br -.ti -1c -.RI "def \fBdo_quit\fP" -.br -.ti -1c -.RI "def \fBdo_sing\fP" -.br -.ti -1c -.RI "def \fBdo_yo\fP" -.br -.ti -1c -.RI "def \fBpostcmd\fP" -.br -.ti -1c -.RI "def \fBprecmd\fP" -.br -.in -1c -.SS "Public Attributes" - -.in +1c -.ti -1c -.RI "\fBinitial_gold\fP" -.br -.in -1c -.SS "Static Public Attributes" - -.in +1c -.ti -1c -.RI "string \fBaction\fP = 'store_true'" -.br -.ti -1c -.RI "\fBdefault_to_shell\fP = True" -.br -.ti -1c -.RI "int \fBgold\fP = 3" -.br -.ti -1c -.RI "string \fBhelp\fP = 'How often to chant 'ho''" -.br -.ti -1c -.RI "list \fBmultilineCommands\fP = ['sing']" -.br -.ti -1c -.RI "string \fBprompt\fP = 'arrr> '" -.br -.ti -1c -.RI "string \fBsettable\fP = '\fBsongcolor\fP Color to ``sing`` in (red/blue/green/cyan/magenta, bold, underline)'" -.br -.ti -1c -.RI "string \fBsongcolor\fP = 'blue'" -.br -.ti -1c -.RI "list \fBterminators\fP = \fBCmd\&.terminators\fP+['\&.\&.\&.']" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 4 of file pirate8\&.py'\&. -.SH "Member Function Documentation" -.PP -.SS "def pirate8::Pirate::default (self, line)" -.PP -Definition at line 7 of file pirate8\&.py'\&. -.PP -Referenced by cmd2::Cmd::_default()\&. -.PP -.nf -7 -8 def default(self, line): - print('What mean ye by '{0}'?'\&.format(line)) -.fi -.SS "def pirate8::Pirate::do_drink (self, arg)".PP -.nf -Drown your sorrrows in rrrum. - -drink [n] - drink [n] barrel[s] o' rum..fi -.PP - -.PP -Definition at line 12 of file pirate8\&.py'\&. -.PP -References pirate2::Pirate::gold, gold, pirate7::Pirate::gold, pirate6::Pirate::gold, pirate5::Pirate::gold, pirate4::Pirate::gold, and pirate3::Pirate::gold\&. -.PP -.nf -12 -13 def do_drink(self, arg): -14 '''Drown your sorrrows in rrrum\&. -15 -16 drink [n] - drink [n] barrel[s] o' rum\&.''' -17 try: -18 self\&.gold -= int(arg) -19 except: -20 if arg: -21 print('''What's '{0}'? I'll take rrrum\&.'''\&.format(arg)) - self\&.gold -= 1 -.fi -.SS "def pirate8::Pirate::do_loot (self, arg)" -.PP -Definition at line 9 of file pirate8\&.py'\&. -.PP -References pirate2::Pirate::gold, gold, pirate7::Pirate::gold, pirate6::Pirate::gold, pirate5::Pirate::gold, pirate4::Pirate::gold, and pirate3::Pirate::gold\&. -.PP -.nf -9 -10 def do_loot(self, arg): -11 'Seize booty from a passing ship\&.' - self\&.gold += 1 -.fi -.SS "def pirate8::Pirate::do_quit (self, arg)" -.PP -Reimplemented from \fBcmd2::Cmd\fP'\&. -.PP -Definition at line 33 of file pirate8\&.py'\&. -.PP -.nf -33 -34 def do_quit(self, arg): -35 print('Quiterrr!') - return True -.fi -.SS "def pirate8::Pirate::do_sing (self, arg)" -.PP -Definition at line 42 of file pirate8\&.py'\&. -.PP -References cmd2::Cmd::colorize(), cmd2::options(), songcolor, and pirate7::Pirate::songcolor\&. -.PP -.nf -42 -43 def do_sing(self, arg): - print(self\&.colorize(arg, self\&.songcolor)) -.fi -.SS "def pirate8::Pirate::do_yo (self, arg, opts)" -.PP -Definition at line 49 of file pirate8\&.py'\&. -.PP -.nf -49 -50 def do_yo(self, arg, opts): -51 chant = ['yo'] + ['ho'] * opts\&.ho -52 separator = ', ' if opts\&.commas else ' ' -53 chant = separator\&.join(chant) -54 print('{0} and a bottle of {1}' -55 \&.format(chant, arg)) - -.fi -.SS "def pirate8::Pirate::postcmd (self, stop, line)" -.PP -Definition at line 25 of file pirate8\&.py'\&. -.PP -References pirate2::Pirate::gold, pirate3::Pirate::gold, pirate5::Pirate::gold, pirate6::Pirate::gold, pirate4::Pirate::gold, pirate7::Pirate::gold, gold, pirate3::Pirate::initial_gold, pirate4::Pirate::initial_gold, pirate5::Pirate::initial_gold, pirate7::Pirate::initial_gold, initial_gold, and pirate6::Pirate::initial_gold\&. -.PP -Referenced by cmd2::Cmd::onecmd_plus_hooks()\&. -.PP -.nf -25 -26 def postcmd(self, stop, line): -27 if self\&.gold != self\&.initial_gold: -28 print('Now we gots {0} doubloons' -29 \&.format(self\&.gold)) -30 if self\&.gold < 0: -31 print('Off to debtorrr's prison\&.') -32 stop = True - return stop -.fi -.SS "def pirate8::Pirate::precmd (self, line)" -.PP -Definition at line 22 of file pirate8\&.py'\&. -.PP -References pirate2::Pirate::gold, pirate3::Pirate::gold, pirate4::Pirate::gold, pirate5::Pirate::gold, pirate6::Pirate::gold, pirate7::Pirate::gold, gold, pirate3::Pirate::initial_gold, pirate4::Pirate::initial_gold, pirate5::Pirate::initial_gold, pirate7::Pirate::initial_gold, initial_gold, and pirate6::Pirate::initial_gold\&. -.PP -Referenced by cmd2::Cmd::onecmd_plus_hooks()\&. -.PP -.nf -22 -23 def precmd(self, line): -24 self\&.initial_gold = self\&.gold - return line -.fi -.SH "Member Data Documentation" -.PP -.SS "string \fBpirate8::Pirate::action\fP = 'store_true'\fC [static]\fP" -.PP -Definition at line 47 of file pirate8\&.py'\&. -.SS "\fBpirate8::Pirate::default_to_shell\fP = True\fC [static]\fP" -.PP -Reimplemented from \fBcmd2::Cmd\fP'\&. -.PP -Definition at line 36 of file pirate8\&.py'\&. -.SS "int \fBpirate8::Pirate::gold\fP = 3\fC [static]\fP" -.PP -Definition at line 5 of file pirate8\&.py'\&. -.PP -Referenced by do_drink(), do_loot(), postcmd(), and precmd()\&. -.SS "string \fBpirate8::Pirate::help\fP = 'How often to chant 'ho''\fC [static]\fP" -.PP -Reimplemented from \fBcmd2::Cmd\fP'\&. -.PP -Definition at line 45 of file pirate8\&.py'\&. -.SS "\fBpirate8::Pirate::initial_gold\fP" -.PP -Definition at line 22 of file pirate8\&.py'\&. -.PP -Referenced by postcmd(), and precmd()\&. -.SS "list \fBpirate8::Pirate::multilineCommands\fP = ['sing']\fC [static]\fP" -.PP -Reimplemented from \fBcmd2::Cmd\fP'\&. -.PP -Definition at line 37 of file pirate8\&.py'\&. -.SS "string \fBpirate8::Pirate::prompt\fP = 'arrr> '\fC [static]\fP" -.PP -Reimplemented from \fBcmd2::Cmd\fP'\&. -.PP -Definition at line 6 of file pirate8\&.py'\&. -.SS "string \fBpirate8::Pirate::settable\fP = '\fBsongcolor\fP Color to ``sing`` in (red/blue/green/cyan/magenta, bold, underline)'\fC [static]\fP" -.PP -Reimplemented from \fBcmd2::Cmd\fP'\&. -.PP -Definition at line 40 of file pirate8\&.py'\&. -.SS "string \fBpirate8::Pirate::songcolor\fP = 'blue'\fC [static]\fP" -.PP -Definition at line 39 of file pirate8\&.py'\&. -.PP -Referenced by do_sing()\&. -.SS "list \fBpirate8::Pirate::terminators\fP = \fBCmd\&.terminators\fP+['\&.\&.\&.']\fC [static]\fP" -.PP -Reimplemented from \fBcmd2::Cmd\fP'\&. -.PP -Definition at line 38 of file pirate8\&.py'\&. - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/pirate_Pirate.3 b/doxygen/man/man3/pirate_Pirate.3 deleted file mode 100644 index db48e27..0000000 --- a/doxygen/man/man3/pirate_Pirate.3 +++ /dev/null @@ -1,17 +0,0 @@ -.TH "pirate::Pirate" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -pirate::Pirate \- -.SH SYNOPSIS -.br -.PP -.PP -Inherits Cmd'\&. -.SH "Detailed Description" -.PP -Definition at line 3 of file pirate\&.py'\&. - -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/schematic.3 b/doxygen/man/man3/schematic.3 deleted file mode 100644 index f766115..0000000 --- a/doxygen/man/man3/schematic.3 +++ /dev/null @@ -1,62 +0,0 @@ -.TH "schematic" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -schematic \- -.SH SYNOPSIS -.br -.PP -.SS "Functions" - -.in +1c -.ti -1c -.RI "def \fBrectangle\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "int \fBpensize\fP = 10" -.br -.in -1c -.SH "Function Documentation" -.PP -.SS "def schematic::rectangle (x, y, _label)" -.PP -Definition at line 8 of file schematic\&.py'\&. -.PP -.nf -8 -9 def rectangle(x, y, _label): -10 pu() -11 seth(0) -12 backward(x / 2) -13 fontsize = 40 -14 pd() -15 for i in range(2): -16 forward(x) -17 left(90) -18 forward(y) -19 left(90) -20 pu() -21 forward(x / 2) -22 left(90) -23 forward(y / 2 - fontsize) -24 pd() -25 write(_label, align='center', font=('Arial', fontsize, 'bold')) -26 -27 rectangle(800, 80, 'cmd') -28 pu() -29 forward(80) -30 rectangle(200, 400, 'cmd2') - -.fi -.SH "Variable Documentation" -.PP -.SS "int \fBschematic::pensize\fP = 10" -.PP -Definition at line 4 of file schematic\&.py'\&. -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/schematic.py.3 b/doxygen/man/man3/schematic.py.3 deleted file mode 100644 index d786318..0000000 --- a/doxygen/man/man3/schematic.py.3 +++ /dev/null @@ -1,32 +0,0 @@ -.TH "/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/schematic.py" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/schematic.py \- -.SH SYNOPSIS -.br -.PP -.SS "Packages" - -.in +1c -.ti -1c -.RI "namespace \fBschematic\fP" -.br -.in -1c -.SS "Functions" - -.in +1c -.ti -1c -.RI "def \fBschematic::rectangle\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "int \fBschematic::pensize\fP = 10" -.br -.in -1c -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/setup.3 b/doxygen/man/man3/setup.3 deleted file mode 100644 index 5a3e607..0000000 --- a/doxygen/man/man3/setup.3 +++ /dev/null @@ -1,154 +0,0 @@ -.TH "setup" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -setup \- -.SH SYNOPSIS -.br -.PP -.SS "Functions" - -.in +1c -.ti -1c -.RI "def \fBfind_packages\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "string \fBauthor\fP = 'Catherine Devlin'" -.br -.ti -1c -.RI "string \fBauthor_email\fP = 'catherine\&.devlin@gmail\&.com'" -.br -.ti -1c -.RI "list \fBclassifiers\fP" -.br -.ti -1c -.RI "string \fBdescription\fP = 'Extra features for standard library's cmd module'" -.br -.ti -1c -.RI "list \fBinstall_requires\fP = ['pyparsing>=1\&.5\&.6']" -.br -.ti -1c -.RI "string \fBkeywords\fP = 'command prompt console cmd'" -.br -.ti -1c -.RI "string \fBlicense\fP = 'MIT'" -.br -.ti -1c -.RI "string \fBlong_description\fP" -.br -.ti -1c -.RI "string \fBname\fP = 'cmd2'" -.br -.ti -1c -.RI "list \fBpy_modules\fP = ['cmd2']" -.br -.ti -1c -.RI "string \fBurl\fP = 'http://packages\&.python\&.org/cmd2/'" -.br -.ti -1c -.RI "\fBuse_2to3\fP = True," -.br -.ti -1c -.RI "string \fBversion\fP = '0\&.6\&.4'" -.br -.in -1c -.SH "Function Documentation" -.PP -.SS "def setup::find_packages ()" -.PP -Definition at line 6 of file setup\&.py'\&. -.PP -.nf -6 -7 def find_packages(): - return ['sqlpython'] -.fi -.SH "Variable Documentation" -.PP -.SS "string \fBsetup::author\fP = 'Catherine Devlin'" -.PP -Definition at line 18 of file setup\&.py'\&. -.SS "string \fBsetup::author_email\fP = 'catherine\&.devlin@gmail\&.com'" -.PP -Definition at line 19 of file setup\&.py'\&. -.SS "list \fBsetup::classifiers\fP"\fBInitial value:\fP -.PP -.nf -1 [ -2 'Development Status :: 4 - Beta', -3 'Environment :: Console', -4 'Operating System :: OS Independent', -5 'Intended Audience :: Developers', -6 'Intended Audience :: System Administrators', -7 'Programming Language :: Python', -8 'License :: OSI Approved :: MIT License', -9 'Topic :: Software Development :: Libraries :: Python Modules', -10 ] -.fi -.PP -Definition at line 51 of file setup\&.py'\&. -.SS "string \fBsetup::description\fP = 'Extra features for standard library's cmd module'" -.PP -Definition at line 20 of file setup\&.py'\&. -.SS "\fBsetup::install_requires\fP = ['pyparsing>=1\&.5\&.6']" -.PP -Definition at line 10 of file setup\&.py'\&. -.SS "string \fBsetup::keywords\fP = 'command prompt console cmd'" -.PP -Definition at line 22 of file setup\&.py'\&. -.SS "string \fBsetup::license\fP = 'MIT'" -.PP -Definition at line 21 of file setup\&.py'\&. -.SS "string \fBsetup::long_description\fP"\fBInitial value:\fP -.PP -.nf -1 '''Enhancements for standard library's cmd module\&. -2 -3 Drop-in replacement adds several features for command-prompt tools: -4 -5 * Searchable command history (commands: 'hi', 'li', 'run') -6 * Load commands from file, save to file, edit commands in file -7 * Multi-line commands -8 * Case-insensitive commands -9 * Special-character shortcut commands (beyond cmd's '@' and '!') -10 * Settable environment parameters -11 * Parsing commands with flags -12 * > (filename), >> (filename) redirect output to file -13 * < (filename) gets input from file -14 * bare >, >>, < redirect to/from paste buffer -15 * accepts abbreviated commands when unambiguous -16 * `py` enters interactive Python console -17 * test apps against sample session transcript (see example/example\&.py) -18 -19 Useable without modification anywhere cmd is used; simply import cmd2\&.Cmd in place of cmd\&.Cmd\&. -20 -21 Running `2to3 ` against ``cmd2\&.py`` -22 generates working, Python3-based code\&. -23 -24 See docs at http://packages\&.python\&.org/cmd2/ -25 ''' -.fi -.PP -Definition at line 25 of file setup\&.py'\&. -.SS "string \fBsetup::name\fP = 'cmd2'" -.PP -Definition at line 12 of file setup\&.py'\&. -.SS "list \fBsetup::py_modules\fP = ['cmd2']" -.PP -Definition at line 14 of file setup\&.py'\&. -.SS "string \fBsetup::url\fP = 'http://packages\&.python\&.org/cmd2/'" -.PP -Definition at line 23 of file setup\&.py'\&. -.SS "\fBsetup::use_2to3\fP = True," -.PP -Definition at line 15 of file setup\&.py'\&. -.SS "string \fBsetup::version\fP = '0\&.6\&.4'" -.PP -Definition at line 13 of file setup\&.py'\&. -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/man/man3/setup.py.3 b/doxygen/man/man3/setup.py.3 deleted file mode 100644 index 08478e8..0000000 --- a/doxygen/man/man3/setup.py.3 +++ /dev/null @@ -1,68 +0,0 @@ -.TH "/Users/amrogers/Developer/Projects/cmd2/setup.py" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- -.ad l -.nh -.SH NAME -/Users/amrogers/Developer/Projects/cmd2/setup.py \- -.SH SYNOPSIS -.br -.PP -.SS "Packages" - -.in +1c -.ti -1c -.RI "namespace \fBsetup\fP" -.br -.in -1c -.SS "Functions" - -.in +1c -.ti -1c -.RI "def \fBsetup::find_packages\fP" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "string \fBsetup::author\fP = 'Catherine Devlin'" -.br -.ti -1c -.RI "string \fBsetup::author_email\fP = 'catherine\&.devlin@gmail\&.com'" -.br -.ti -1c -.RI "list \fBsetup::classifiers\fP" -.br -.ti -1c -.RI "string \fBsetup::description\fP = 'Extra features for standard library's cmd module'" -.br -.ti -1c -.RI "list \fBsetup::install_requires\fP = ['pyparsing>=1\&.5\&.6']" -.br -.ti -1c -.RI "string \fBsetup::keywords\fP = 'command prompt console cmd'" -.br -.ti -1c -.RI "string \fBsetup::license\fP = 'MIT'" -.br -.ti -1c -.RI "string \fBsetup::long_description\fP" -.br -.ti -1c -.RI "string \fBsetup::name\fP = 'cmd2'" -.br -.ti -1c -.RI "list \fBsetup::py_modules\fP = ['cmd2']" -.br -.ti -1c -.RI "string \fBsetup::url\fP = 'http://packages\&.python\&.org/cmd2/'" -.br -.ti -1c -.RI "\fBsetup::use_2to3\fP = True," -.br -.ti -1c -.RI "string \fBsetup::version\fP = '0\&.6\&.4'" -.br -.in -1c -.SH "Author" -.PP -Generated automatically by Doxygen for Cmd2 from the source code'\&. diff --git a/doxygen/xml/classcmd2_1_1Borg.xml b/doxygen/xml/classcmd2_1_1Borg.xml deleted file mode 100644 index a00bdd4..0000000 --- a/doxygen/xml/classcmd2_1_1Borg.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - cmd2::Borg - cmd2::OutputTrap - - - dictionary - dictionary cmd2::Borg::_shared_state - - _shared_state - {} - - - - - - - - - - - - def - def cmd2::Borg::__new__ - - __new__ - - - - - - - - - - - - -All instances of any Borg subclass will share state. -from Python Cookbook, 2nd Ed., recipe 6.16 - - - - - - - - - - - - - - - cmd2::Borg__new__ - cmd2::Borg_shared_state - - - diff --git a/doxygen/xml/classcmd2_1_1Cmd.xml b/doxygen/xml/classcmd2_1_1Cmd.xml deleted file mode 100644 index 312de6a..0000000 --- a/doxygen/xml/classcmd2_1_1Cmd.xml +++ /dev/null @@ -1,1947 +0,0 @@ - - - - cmd2::Cmd - example::CmdLineApp - pirate6::Pirate - pirate7::Pirate - pirate8::Pirate - - - - cmd2::Cmd::abbrev - - abbrev - True - - - - - - - - func_named - - - - cmd2::Cmd::blankLinesAllowed - - blankLinesAllowed - False - - - - - - - - - - - cmd2::Cmd::case_insensitive - - case_insensitive - True - - - - - - - - do_cmdenvironment - - - dictionary - dictionary cmd2::Cmd::colorcodes - - colorcodes - {'bold':{True:'\x1b[1m',False:'\x1b[22m'}, - 'cyan':{True:'\x1b[36m',False:'\x1b[39m'}, - 'blue':{True:'\x1b[34m',False:'\x1b[39m'}, - 'red':{True:'\x1b[31m',False:'\x1b[39m'}, - 'magenta':{True:'\x1b[35m',False:'\x1b[39m'}, - 'green':{True:'\x1b[32m',False:'\x1b[39m'}, - 'underline':{True:'\x1b[4m',False:'\x1b[24m'}} - - - - - - - - - - tuple - tuple cmd2::Cmd::colors - - colors - (platform.system() != 'Windows') - - - - - - - - - - tuple - tuple cmd2::Cmd::commentGrammars - - commentGrammars - pyparsing.Or([pyparsing.pythonStyleComment, pyparsing.cStyleComment]) - - - - - - - - complete_statement - - - tuple - tuple cmd2::Cmd::commentInProgress - - commentInProgress - pyparsing.Literal('/*') - - - - - - - - - - string - string cmd2::Cmd::continuation_prompt - - continuation_prompt - '> ' - - - - - - - - complete_statement - - - - cmd2::Cmd::current_script_dir - - current_script_dir - None - - - - - - - - do__relative_load - - - - cmd2::Cmd::debug - - debug - False - - - - - - - - perror - - - string - string cmd2::Cmd::default_file_name - - default_file_name - 'command.txt' - - - - - - - - do_ed - do_save - - - - cmd2::Cmd::default_to_shell - - default_to_shell - default_to_shell - default_to_shell - False - - - - - - - - _default - - - string - string cmd2::Cmd::defaultExtension - - defaultExtension - 'txt' - - - - - - - - read_file_or_url - - - - cmd2::Cmd::do__load - - do__load - do_load - - - - - - - - do__relative_load - do_ed - - - - cmd2::Cmd::do_edit - - do_edit - do_ed - - - - - - - - - - - cmd2::Cmd::do_eof - - do_eof - do_EOF - - - - - - - - - - - cmd2::Cmd::do_exit - - do_exit - do_quit - - - - - - - - - - - cmd2::Cmd::do_hi - - do_hi - do_history - - - - - - - - - - - cmd2::Cmd::do_l - - do_l - do_list - - - - - - - - - - - cmd2::Cmd::do_li - - do_li - do_list - - - - - - - - - - - cmd2::Cmd::do_q - - do_q - do_quit - - - - - - - - - - - cmd2::Cmd::do_r - - do_r - do_run - - - - - - - - - - - cmd2::Cmd::echo - - echo - False - - - - - - - - - - tuple - tuple cmd2::Cmd::editor - - editor - os.environ.get('EDITOR') - - - - - - - - do_ed - - - string - string cmd2::Cmd::editor - - editor - 'notepad' - - - - - - - - - - string - string cmd2::Cmd::excludeFromHistory - - excludeFromHistory - '''run r list l history hi ed edit li eof''' - - - - - - - - onecmd_plus_hooks - - - - cmd2::Cmd::feedback_to_output - - feedback_to_output - False - - - - - - - - pfeedback - - - string - string cmd2::Cmd::help - - help - help - "describe function of parameter" - - - - - - - - - - - cmd2::Cmd::kept_state - - kept_state - None - - - - - - - - redirect_output - restore_output - - - string - string cmd2::Cmd::legalChars - - legalChars - u'!#$%.:?@_' - - - - - - - - - - - cmd2::Cmd::locals_in_py - - locals_in_py - True - - - - - - - - do_py - - - list - list cmd2::Cmd::multilineCommands - - multilineCommands - multilineCommands - multilineCommands - multilineCommands - [] - - - - - - - - - - string - string cmd2::Cmd::noSpecialParse - - noSpecialParse - 'set ed edit exit' - - - - - - - - - - tuple - tuple cmd2::Cmd::prefixParser - - prefixParser - pyparsing.Empty() - - - - - - - - - - - cmd2::Cmd::quiet - - quiet - False - - - - - - - - pfeedback - - - string - string cmd2::Cmd::redirector - - redirector - redirector - '>' - - - - - - - - redirect_output - - - list - list cmd2::Cmd::reserved_words - - reserved_words - [] - - - - - - - - - - tuple - tuple cmd2::Cmd::saveparser - - saveparser - (pyparsing.Optional(pyparsing.Word(pyparsing.nums)^'*')("idx") + - pyparsing.Optional(pyparsing.Word(legalChars + '/\\'))("fname") + - pyparsing.stringEnd) - - - - - - - - - - tuple - tuple cmd2::Cmd::settable - - settable - settable - settable - stubbornDict(''' - prompt - colors Colorized output (*nix only) - continuation_prompt On 2nd+ line of input - debug Show full error stack on error - default_file_name for ``save``, ``load``, etc. - editor Program used by ``edit`` - case_insensitive upper- and lower-case both OK - feedback_to_output include nonessentials in `|`, `>` results - quiet Don't print nonessential feedback - echo Echo command issued into output - timing Report execution times - abbrev Accept abbreviated commands - ''') - - - - - - - - do_cmdenvironment - do_set - do_show - - - dictionary - dictionary cmd2::Cmd::shortcuts - - shortcuts - {'?': 'help', '!': 'shell', '@': 'load', '@@': '_relative_load'} - - - - - - - - do_shortcuts - parsed - - - list - list cmd2::Cmd::terminators - - terminators - terminators - terminators - [';'] - - - - - - - - do_cmdenvironment - - - - cmd2::Cmd::timing - - timing - False - - - - - - - - onecmd_plus_hooks - - - tuple - tuple cmd2::Cmd::urlre - - urlre - re.compile('(https?://[-\\w\\./]+)') - - - - - - - - - - - - - cmd2::Cmd::_STOP_AND_EXIT - - _STOP_AND_EXIT - True - - - - - - - - do_quit - run_commands_at_invocation - - - int - int cmd2::Cmd::_STOP_SCRIPT_NO_EXIT - - _STOP_SCRIPT_NO_EXIT - 999 - - - - - - - - do_EOF - - - - - - cmd2::Cmd::blankLineTerminationParser - - blankLineTerminationParser - - - - - - - - - - - cmd2::Cmd::blankLineTerminator - - blankLineTerminator - - - - - - - - - - - cmd2::Cmd::continuation_prompt - - continuation_prompt - - - - - - - - - - - cmd2::Cmd::history - - history - - - - - - - - do_ed - do_history - do_save - last_matching - - - - cmd2::Cmd::initial_stdout - - initial_stdout - - - - - - - - - - - cmd2::Cmd::inputParser - - inputParser - - - - - - - - - - - cmd2::Cmd::intro - - intro - - - - - - - - - - - cmd2::Cmd::kept_sys - - kept_sys - - - - - - - - redirect_output - - - - cmd2::Cmd::keywords - - keywords - - - - - - - - func_named - - - - cmd2::Cmd::lastcmd - - lastcmd - - - - - - - - - - - cmd2::Cmd::multilineCommand - - multilineCommand - - - - - - - - - - - cmd2::Cmd::multilineParser - - multilineParser - - - - - - - - - - - cmd2::Cmd::old_completer - - old_completer - - - - - - - - - - - cmd2::Cmd::parser - - parser - - - - - - - - cmd2::ParsedString::full_parsed_statement - cmd2::ParsedString::with_args_replaced - - - - cmd2::Cmd::prompt - - prompt - prompt - prompt - prompt - - - - - - - - - - - cmd2::Cmd::pystate - - pystate - - - - - - - - do_py - - - - cmd2::Cmd::redirect - - redirect - - - - - - - - redirect_output - - - - cmd2::Cmd::shortcuts - - shortcuts - - - - - - - - - - - cmd2::Cmd::singleLineParser - - singleLineParser - - - - - - - - - - - cmd2::Cmd::stdin - - stdin - - - - - - - - do_py - - - - cmd2::Cmd::stdout - - stdout - - - - - - - - do_help - do_py - redirect_output - - - - cmd2::Cmd::use_rawinput - - use_rawinput - - - - - - - - pseudo_raw_input - - - - - def - def cmd2::Cmd::__init__ - - __init__ - - - - - - - - - - def - def cmd2::Cmd::cmdloop - - cmdloop - - - - - - - - _cmdloop - run_commands_at_invocation - runTranscriptTests - - - def - def cmd2::Cmd::colorize - - colorize - - - -Given a string (``val``), returns that string wrapped in UNIX-style - special characters that turn on (and then off) text color and style. - If the ``colors`` environment paramter is ``False``, or the application - is running on Windows, will return ``val`` unchanged. - ``color`` should be one of the supported strings (or styles): - red/blue/green/cyan/magenta, bold, underline - - - - pirate7::Pirate::do_sing - pirate8::Pirate::do_sing - - - def - def cmd2::Cmd::complete_statement - - complete_statement - - - -Keep accepting lines of input until the command is complete. - - - - commentGrammars - continuation_prompt - parsed - pseudo_raw_input - onecmd_plus_hooks - - - def - def cmd2::Cmd::do__relative_load - - do__relative_load - - - - -Runs commands in script at file or URL; if this is called from within an -already-running script, the filename will be interpreted relative to the -already-running script's directory. - - - - current_script_dir - do__load - - - def - def cmd2::Cmd::do_cmdenvironment - - do_cmdenvironment - - - -Summary report of interactive parameters. - - - - case_insensitive - settable - terminators - - - def - def cmd2::Cmd::do_ed - - do_ed - - - -ed: edit most recent command in text editor -ed [N]: edit numbered command from history -ed [filename]: edit specified file name - -commands are run after editor is closed. -"set edit (program-name)" or set EDITOR environment variable -to control which editing program is used. - - - - default_file_name - do__load - editor - history - last_matching - - - def - def cmd2::Cmd::do_EOF - - do_EOF - - - - - - - - _STOP_SCRIPT_NO_EXIT - - - def - def cmd2::Cmd::do_help - - do_help - - - - - - - - func_named - stdout - - - def - def cmd2::Cmd::do_history - - do_history - - - -history [arg]: lists past commands issued - -| no arg: list all -| arg is integer: list one history item, by index -| arg is string: string search -| arg is /enclosed in forward-slashes/: regular expression search - - - - - history - poutput - - - def - def cmd2::Cmd::do_list - - do_list - - - -list [arg]: lists last command issued - -no arg -> list most recent command -arg is integer -> list one history item, by index -a..b, a:b, a:, ..b -> list spans from a (or start) to b (or end) -arg is string -> list all commands matching string search -arg is /enclosed in forward-slashes/ -> regular expression search - - - - - poutput - - - def - def cmd2::Cmd::do_load - - do_load - - - -Runs script of command(s) from a file or URL. - - - - - - def - def cmd2::Cmd::do_pause - - do_pause - - - - - - - - - - def - def cmd2::Cmd::do_py - - do_py - - - - -py <command>: Executes a Python command. -py: Enters interactive Python mode. -End with ``Ctrl-D`` (Unix) / ``Ctrl-Z`` (Windows), ``quit()``, '`exit()``. -Non-python commands can be issued with ``cmd("your command")``. -Run python code from external files with ``run("filename.py")`` - - - - - do_py - locals_in_py - onecmd_plus_hooks - cmd2::options - perror - pystate - stdin - stdout - do_py - - - def - def cmd2::Cmd::do_quit - - do_quit - do_quit - do_quit - do_quit - - - - - - - - _STOP_AND_EXIT - - - def - def cmd2::Cmd::do_run - - do_run - - - -run [arg]: re-runs an earlier command - -no arg -> run most recent command -arg is integer -> run one history item, by index -arg is string -> run most recent command by string search -arg is /enclosed in forward-slashes/ -> run most recent by regex - - - - - last_matching - onecmd_plus_hooks - pfeedback - - - def - def cmd2::Cmd::do_save - - do_save - - - -`save [N] [filename.ext]` - -Saves command from history to file. - -| N => Number of command (from history), or `*`; -| most recent command if omitted - - - - default_file_name - do_save - history - perror - pfeedback - do_save - - - def - def cmd2::Cmd::do_set - - do_set - - - - -Sets a cmd2 parameter. Accepts abbreviated parameter names so long -as there is no ambiguity. Call without arguments for a list of -settable parameters with their values. - - - - cmd2::cast - do_show - settable - - - def - def cmd2::Cmd::do_shell - - do_shell - - - - - - - - - - def - def cmd2::Cmd::do_shortcuts - - do_shortcuts - - - -Lists single-key shortcuts available. - - - - shortcuts - - - def - def cmd2::Cmd::do_show - - do_show - - - -Shows value of a parameter. - - - - cmd2::ljust - poutput - settable - do_set - - - def - def cmd2::Cmd::fileimport - - fileimport - - - - - - - - - - def - def cmd2::Cmd::func_named - - func_named - - - - - - - - abbrev - keywords - do_help - - - def - def cmd2::Cmd::last_matching - - last_matching - - - - - - - - history - do_ed - do_run - - - def - def cmd2::Cmd::onecmd - - onecmd - - - -Interpret the argument as though it had been typed in response -to the prompt. - -This may be overridden, but should not normally need to be; -see the precmd() and postcmd() methods for useful execution hooks. -The return value is a flag indicating whether interpretation of -commands by the interpreter should stop. - -This (`cmd2`) version of `onecmd` already override's `cmd`'s `onecmd`. - - - - - - onecmd_plus_hooks - - - def - def cmd2::Cmd::onecmd_plus_hooks - - onecmd_plus_hooks - - - - - - - - complete_statement - excludeFromHistory - onecmd - perror - pfeedback - pirate3::Pirate::postcmd - pirate4::Pirate::postcmd - pirate5::Pirate::postcmd - pirate7::Pirate::postcmd - pirate8::Pirate::postcmd - pirate6::Pirate::postcmd - postparsing_postcmd - postparsing_precmd - pirate3::Pirate::precmd - pirate4::Pirate::precmd - pirate5::Pirate::precmd - pirate7::Pirate::precmd - pirate8::Pirate::precmd - pirate6::Pirate::precmd - redirect_output - restore_output - timing - do_py - do_run - run_commands_at_invocation - - - def - def cmd2::Cmd::parsed - - parsed - - - - - - - - parsed - postparse - preparse - shortcuts - complete_statement - cmd2::ParsedString::full_parsed_statement - parsed - cmd2::ParsedString::with_args_replaced - - - def - def cmd2::Cmd::perror - - perror - - - - - - - - debug - do_py - do_save - onecmd_plus_hooks - - - def - def cmd2::Cmd::pfeedback - - pfeedback - - - -For printing nonessential feedback. Can be silenced with `quiet`. - Inclusion in redirected output is controlled by `feedback_to_output`. - - - - feedback_to_output - poutput - quiet - do_run - do_save - onecmd_plus_hooks - - - def - def cmd2::Cmd::postparse - - postparse - - - - - - - - parsed - - - def - def cmd2::Cmd::postparsing_postcmd - - postparsing_postcmd - - - - - - - - _default - onecmd_plus_hooks - - - def - def cmd2::Cmd::postparsing_precmd - - postparsing_precmd - - - - - - - - onecmd_plus_hooks - - - def - def cmd2::Cmd::poutput - - poutput - - - -Convenient shortcut for self.stdout.write(); adds newline if necessary. - - - - do_history - do_list - do_show - pfeedback - select - - - def - def cmd2::Cmd::preparse - - preparse - - - - - - - - parsed - - - def - def cmd2::Cmd::pseudo_raw_input - - pseudo_raw_input - - - -copied from cmd's cmdloop; like raw_input, but accounts for changed stdin, stdout - - - - use_rawinput - complete_statement - - - def - def cmd2::Cmd::read_file_or_url - - read_file_or_url - - - - - - - - defaultExtension - - - def - def cmd2::Cmd::redirect_output - - redirect_output - - - - - - - - cmd2::get_paste_buffer - kept_state - kept_sys - redirect - redirector - stdout - onecmd_plus_hooks - - - def - def cmd2::Cmd::restore_output - - restore_output - - - - - - - - kept_state - cmd2::write_to_paste_buffer - onecmd_plus_hooks - - - def - def cmd2::Cmd::run_commands_at_invocation - - run_commands_at_invocation - - - - - - - - _STOP_AND_EXIT - onecmd_plus_hooks - cmdloop - - - def - def cmd2::Cmd::runTranscriptTests - - runTranscriptTests - - - - - - - - cmdloop - - - def - def cmd2::Cmd::select - - select - - - -Presents a numbered menu to the user. Modelled after - the bash shell's SELECT. Returns the item chosen. - - Argument ``options`` can be: - - | a single string -> will be split into one-word options - | a list of strings -> will be offered as options - | a list of tuples -> interpreted as (value, text), so - that the return value can differ from - the text advertised to the user - - - - cmd2::options - poutput - - - - - def - def cmd2::Cmd::_cmdloop - - _cmdloop - - - -Repeatedly issue a prompt, accept input, parse an initial prefix -off the received input, and dispatch to action methods, passing them -the remainder of the line as argument. - - - - - cmdloop - - - def - def cmd2::Cmd::_default - - _default - - - - - - - - pirate6::Pirate::default - pirate8::Pirate::default - pirate7::Pirate::default - default_to_shell - postparsing_postcmd - - - def - def cmd2::Cmd::_init_parser - - _init_parser - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - cmd2::Cmd__init__ - cmd2::Cmd_cmdloop - cmd2::Cmd_default - cmd2::Cmd_init_parser - cmd2::Cmd_STOP_AND_EXIT - cmd2::Cmd_STOP_SCRIPT_NO_EXIT - cmd2::Cmdabbrev - cmd2::CmdblankLinesAllowed - cmd2::CmdblankLineTerminationParser - cmd2::CmdblankLineTerminator - cmd2::Cmdcase_insensitive - cmd2::Cmdcmdloop - cmd2::Cmdcolorcodes - cmd2::Cmdcolorize - cmd2::Cmdcolors - cmd2::CmdcommentGrammars - cmd2::CmdcommentInProgress - cmd2::Cmdcomplete_statement - cmd2::Cmdcontinuation_prompt - cmd2::Cmdcontinuation_prompt - cmd2::Cmdcurrent_script_dir - cmd2::Cmddebug - cmd2::Cmddefault_file_name - cmd2::Cmddefault_to_shell - cmd2::CmddefaultExtension - cmd2::Cmddo__load - cmd2::Cmddo__relative_load - cmd2::Cmddo_cmdenvironment - cmd2::Cmddo_ed - cmd2::Cmddo_edit - cmd2::Cmddo_eof - cmd2::Cmddo_EOF - cmd2::Cmddo_exit - cmd2::Cmddo_help - cmd2::Cmddo_hi - cmd2::Cmddo_history - cmd2::Cmddo_l - cmd2::Cmddo_li - cmd2::Cmddo_list - cmd2::Cmddo_load - cmd2::Cmddo_pause - cmd2::Cmddo_py - cmd2::Cmddo_q - cmd2::Cmddo_quit - cmd2::Cmddo_r - cmd2::Cmddo_run - cmd2::Cmddo_save - cmd2::Cmddo_set - cmd2::Cmddo_shell - cmd2::Cmddo_shortcuts - cmd2::Cmddo_show - cmd2::Cmdecho - cmd2::Cmdeditor - cmd2::Cmdeditor - cmd2::CmdexcludeFromHistory - cmd2::Cmdfeedback_to_output - cmd2::Cmdfileimport - cmd2::Cmdfunc_named - cmd2::Cmdhelp - cmd2::Cmdhistory - cmd2::Cmdinitial_stdout - cmd2::CmdinputParser - cmd2::Cmdintro - cmd2::Cmdkept_state - cmd2::Cmdkept_sys - cmd2::Cmdkeywords - cmd2::Cmdlast_matching - cmd2::Cmdlastcmd - cmd2::CmdlegalChars - cmd2::Cmdlocals_in_py - cmd2::CmdmultilineCommand - cmd2::CmdmultilineCommands - cmd2::CmdmultilineParser - cmd2::CmdnoSpecialParse - cmd2::Cmdold_completer - cmd2::Cmdonecmd - cmd2::Cmdonecmd_plus_hooks - cmd2::Cmdparsed - cmd2::Cmdparser - cmd2::Cmdperror - cmd2::Cmdpfeedback - cmd2::Cmdpostparse - cmd2::Cmdpostparsing_postcmd - cmd2::Cmdpostparsing_precmd - cmd2::Cmdpoutput - cmd2::CmdprefixParser - cmd2::Cmdpreparse - cmd2::Cmdprompt - cmd2::Cmdpseudo_raw_input - cmd2::Cmdpystate - cmd2::Cmdquiet - cmd2::Cmdread_file_or_url - cmd2::Cmdredirect - cmd2::Cmdredirect_output - cmd2::Cmdredirector - cmd2::Cmdreserved_words - cmd2::Cmdrestore_output - cmd2::Cmdrun_commands_at_invocation - cmd2::CmdrunTranscriptTests - cmd2::Cmdsaveparser - cmd2::Cmdselect - cmd2::Cmdsettable - cmd2::Cmdshortcuts - cmd2::Cmdshortcuts - cmd2::CmdsingleLineParser - cmd2::Cmdstdin - cmd2::Cmdstdout - cmd2::Cmdterminators - cmd2::Cmdtiming - cmd2::Cmdurlre - cmd2::Cmduse_rawinput - - - diff --git a/doxygen/xml/classcmd2_1_1Cmd2TestCase.xml b/doxygen/xml/classcmd2_1_1Cmd2TestCase.xml deleted file mode 100644 index b5e8d40..0000000 --- a/doxygen/xml/classcmd2_1_1Cmd2TestCase.xml +++ /dev/null @@ -1,226 +0,0 @@ - - - - cmd2::Cmd2TestCase - - - tuple - tuple cmd2::Cmd2TestCase::anyWhitespace - - anyWhitespace - re.compile(r'\s', re.DOTALL | re.MULTILINE) - - - - - - - - - - - cmd2::Cmd2TestCase::CmdApp - - CmdApp - None - - - - - - - - runTest - setUp - tearDown - - - - cmd2::Cmd2TestCase::expectationParser - - expectationParser - regexPattern|notRegexPattern - - - - - - - - - - tuple - tuple cmd2::Cmd2TestCase::notRegexPattern - - notRegexPattern - pyparsing.Word(pyparsing.printables) - - - - - - - - - - tuple - tuple cmd2::Cmd2TestCase::regexPattern - - regexPattern - pyparsing.QuotedString(quoteChar=r'/', escChar='\\', multiline=True, unquoteResults=True) - - - - - - - - - - - - - cmd2::Cmd2TestCase::cmdapp - - cmdapp - - - - - - - - _test_transcript - setUp - - - - cmd2::Cmd2TestCase::outputTrap - - outputTrap - - - - - - - - setUp - - - - cmd2::Cmd2TestCase::transcripts - - transcripts - - - - - - - - - - - - def - def cmd2::Cmd2TestCase::fetchTranscripts - - fetchTranscripts - - - - - - - - setUp - - - def - def cmd2::Cmd2TestCase::runTest - - runTest - - - - - - - - _test_transcript - CmdApp - - - def - def cmd2::Cmd2TestCase::setUp - - setUp - - - - - - - - CmdApp - cmdapp - fetchTranscripts - outputTrap - - - def - def cmd2::Cmd2TestCase::tearDown - - tearDown - - - - - - - - CmdApp - - - - - def - def cmd2::Cmd2TestCase::_test_transcript - - _test_transcript - - - - - - - - cmdapp - runTest - - - - - -Subclass this, setting CmdApp, to make a unittest.TestCase class - that will execute the commands in a transcript file and expect the results shown. - See example.py - - - cmd2::Cmd2TestCase_test_transcript - cmd2::Cmd2TestCaseanyWhitespace - cmd2::Cmd2TestCaseCmdApp - cmd2::Cmd2TestCasecmdapp - cmd2::Cmd2TestCaseexpectationParser - cmd2::Cmd2TestCasefetchTranscripts - cmd2::Cmd2TestCasenotRegexPattern - cmd2::Cmd2TestCaseoutputTrap - cmd2::Cmd2TestCaseregexPattern - cmd2::Cmd2TestCaserunTest - cmd2::Cmd2TestCasesetUp - cmd2::Cmd2TestCasetearDown - cmd2::Cmd2TestCasetranscripts - - - diff --git a/doxygen/xml/classcmd2_1_1EmbeddedConsoleExit.xml b/doxygen/xml/classcmd2_1_1EmbeddedConsoleExit.xml deleted file mode 100644 index e3192b1..0000000 --- a/doxygen/xml/classcmd2_1_1EmbeddedConsoleExit.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - cmd2::EmbeddedConsoleExit - - - - - - - - - diff --git a/doxygen/xml/classcmd2_1_1EmptyStatement.xml b/doxygen/xml/classcmd2_1_1EmptyStatement.xml deleted file mode 100644 index d077cc0..0000000 --- a/doxygen/xml/classcmd2_1_1EmptyStatement.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - cmd2::EmptyStatement - - - - - - - - - diff --git a/doxygen/xml/classcmd2_1_1History.xml b/doxygen/xml/classcmd2_1_1History.xml deleted file mode 100644 index 2ff49eb..0000000 --- a/doxygen/xml/classcmd2_1_1History.xml +++ /dev/null @@ -1,172 +0,0 @@ - - - - cmd2::History - - - tuple - tuple cmd2::History::rangePattern - - rangePattern - re.compile(r'^\s*(?P<start>[\d]+)?\s*\-\s*(?P<end>[\d]+)?\s*$') - - - - - - - - - - tuple - tuple cmd2::History::spanpattern - - spanpattern - re.compile(r'^\s*(?P<start>\-?\d+)?\s*(?P<separator>:|(\.{2,}))?\s*(?P<end>\-?\d+)?\s*$') - - - - - - - - - - - - def - def cmd2::History::append - - append - - - - - - - - extend - - - def - def cmd2::History::extend - - extend - - - - - - - - cmd2::StubbornDict::append - append - - - def - def cmd2::History::get - - get - - - - - - - - - - def - def cmd2::History::search - - search - - - - - - - - - - def - def cmd2::History::span - - span - - - - - - - - to_index - - - def - def cmd2::History::to_index - - to_index - - - - - - - - zero_based_index - span - - - def - def cmd2::History::zero_based_index - - zero_based_index - - - - - - - - to_index - - - - - -A list of HistoryItems that knows how to respond to user requests. ->>> h = History([HistoryItem('first'), HistoryItem('second'), HistoryItem('third'), HistoryItem('fourth')]) ->>> h.span('-2..') -['third', 'fourth'] ->>> h.span('2..3') -['second', 'third'] ->>> h.span('3') -['third'] ->>> h.span(':') -['first', 'second', 'third', 'fourth'] ->>> h.span('2..') -['second', 'third', 'fourth'] ->>> h.span('-1') -['fourth'] ->>> h.span('-2..-3') -['third', 'second'] ->>> h.search('o') -['second', 'fourth'] ->>> h.search('/IR/') -['first', 'third'] - - - - cmd2::Historyappend - cmd2::Historyextend - cmd2::Historyget - cmd2::HistoryrangePattern - cmd2::Historysearch - cmd2::Historyspan - cmd2::Historyspanpattern - cmd2::Historyto_index - cmd2::Historyzero_based_index - - - diff --git a/doxygen/xml/classcmd2_1_1HistoryItem.xml b/doxygen/xml/classcmd2_1_1HistoryItem.xml deleted file mode 100644 index 84ba269..0000000 --- a/doxygen/xml/classcmd2_1_1HistoryItem.xml +++ /dev/null @@ -1,94 +0,0 @@ - - - - cmd2::HistoryItem - - - string - string cmd2::HistoryItem::listformat - - listformat - '-------------------------[%d]\n%s\n' - - - - - - - - pr - - - - - - cmd2::HistoryItem::idx - - idx - - - - - - - - pr - - - - cmd2::HistoryItem::lowercase - - lowercase - - - - - - - - - - - - def - def cmd2::HistoryItem::__init__ - - __init__ - - - - - - - - - - def - def cmd2::HistoryItem::pr - - pr - - - - - - - - idx - listformat - - - - - - - - - cmd2::HistoryItem__init__ - cmd2::HistoryItemidx - cmd2::HistoryItemlistformat - cmd2::HistoryItemlowercase - cmd2::HistoryItempr - - - diff --git a/doxygen/xml/classcmd2_1_1NotSettableError.xml b/doxygen/xml/classcmd2_1_1NotSettableError.xml deleted file mode 100644 index 622f3ed..0000000 --- a/doxygen/xml/classcmd2_1_1NotSettableError.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - cmd2::NotSettableError - - - - - - - - - diff --git a/doxygen/xml/classcmd2_1_1OptionParser.xml b/doxygen/xml/classcmd2_1_1OptionParser.xml deleted file mode 100644 index 7151f4d..0000000 --- a/doxygen/xml/classcmd2_1_1OptionParser.xml +++ /dev/null @@ -1,62 +0,0 @@ - - - - cmd2::OptionParser - - - def - def cmd2::OptionParser::error - - error - - - -error(msg : string) - -Print a usage message incorporating 'msg' to stderr and exit. -If you override this in a subclass, it should not return -- it -should either exit or raise an exception. - - - - - - - def - def cmd2::OptionParser::exit - - exit - - - - - - - - - - def - def cmd2::OptionParser::print_help - - print_help - - - - - - - - - - - - - - - - cmd2::OptionParsererror - cmd2::OptionParserexit - cmd2::OptionParserprint_help - - - diff --git a/doxygen/xml/classcmd2_1_1OutputTrap.xml b/doxygen/xml/classcmd2_1_1OutputTrap.xml deleted file mode 100644 index c5ee0c3..0000000 --- a/doxygen/xml/classcmd2_1_1OutputTrap.xml +++ /dev/null @@ -1,136 +0,0 @@ - - - - cmd2::OutputTrap - cmd2::Borg - - - - cmd2::OutputTrap::contents - - contents - - - - - - - - read - tearDown - write - - - - cmd2::OutputTrap::old_stdout - - old_stdout - - - - - - - - tearDown - - - - - def - def cmd2::OutputTrap::__init__ - - __init__ - - - - - - - - - - def - def cmd2::OutputTrap::read - - read - - - - - - - - contents - - - def - def cmd2::OutputTrap::tearDown - - tearDown - - - - - - - - contents - old_stdout - - - def - def cmd2::OutputTrap::write - - write - - - - - - - - contents - - - - - -Instantiate an OutputTrap to divert/capture ALL stdout output. For use in unit testing. -Call `tearDown()` to return to normal output. - - - - - - - - - - - - - - - - - - - - - - - - - - - cmd2::OutputTrap__init__ - cmd2::OutputTrap__new__ - cmd2::OutputTrapcontents - cmd2::OutputTrapold_stdout - cmd2::OutputTrapread - cmd2::OutputTraptearDown - cmd2::OutputTrapwrite - - - diff --git a/doxygen/xml/classcmd2_1_1ParsedString.xml b/doxygen/xml/classcmd2_1_1ParsedString.xml deleted file mode 100644 index b44db58..0000000 --- a/doxygen/xml/classcmd2_1_1ParsedString.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - cmd2::ParsedString - - - def - def cmd2::ParsedString::full_parsed_statement - - full_parsed_statement - - - - - - - - cmd2::Cmd::parsed - cmd2::Cmd::parser - - - def - def cmd2::ParsedString::with_args_replaced - - with_args_replaced - - - - - - - - cmd2::Cmd::parsed - cmd2::Cmd::parser - - - - - - - - - cmd2::ParsedStringfull_parsed_statement - cmd2::ParsedStringwith_args_replaced - - - diff --git a/doxygen/xml/classcmd2_1_1PasteBufferError.xml b/doxygen/xml/classcmd2_1_1PasteBufferError.xml deleted file mode 100644 index 5e0225d..0000000 --- a/doxygen/xml/classcmd2_1_1PasteBufferError.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - - cmd2::PasteBufferError - - - string - string cmd2::PasteBufferError::errmsg - - errmsg - """Redirecting to or from paste buffer requires pywin32 -to be installed on operating system. -Download from http://sourceforge.net/projects/pywin32/""" - - - - - - - - __init__ - - - - - def - def cmd2::PasteBufferError::__init__ - - __init__ - - - - - - - - errmsg - - - - - - - - - cmd2::PasteBufferError__init__ - cmd2::PasteBufferErrorerrmsg - - - diff --git a/doxygen/xml/classcmd2_1_1Statekeeper.xml b/doxygen/xml/classcmd2_1_1Statekeeper.xml deleted file mode 100644 index 550c376..0000000 --- a/doxygen/xml/classcmd2_1_1Statekeeper.xml +++ /dev/null @@ -1,95 +0,0 @@ - - - - cmd2::Statekeeper - - - - cmd2::Statekeeper::attribs - - attribs - - - - - - - - restore - save - - - - cmd2::Statekeeper::obj - - obj - - - - - - - - restore - save - - - - - def - def cmd2::Statekeeper::__init__ - - __init__ - - - - - - - - - - def - def cmd2::Statekeeper::restore - - restore - - - - - - - - attribs - obj - - - def - def cmd2::Statekeeper::save - - save - - - - - - - - attribs - obj - - - - - - - - - cmd2::Statekeeper__init__ - cmd2::Statekeeperattribs - cmd2::Statekeeperobj - cmd2::Statekeeperrestore - cmd2::Statekeepersave - - - diff --git a/doxygen/xml/classcmd2_1_1StubbornDict.xml b/doxygen/xml/classcmd2_1_1StubbornDict.xml deleted file mode 100644 index 644649d..0000000 --- a/doxygen/xml/classcmd2_1_1StubbornDict.xml +++ /dev/null @@ -1,119 +0,0 @@ - - - - cmd2::StubbornDict - - - - cmd2::StubbornDict::append - - append - update - - - - - - - - cmd2::History::extend - - - - - def - def cmd2::StubbornDict::__add__ - - __add__ - - - - - - - - cmd2::stubbornDict - - - def - def cmd2::StubbornDict::__iadd__ - - __iadd__ - - - - - - - - update - - - def - def cmd2::StubbornDict::__radd__ - - __radd__ - - - - - - - - cmd2::stubbornDict - - - def - def cmd2::StubbornDict::to_dict - - to_dict - - - - - - - - - - def - def cmd2::StubbornDict::update - - update - - - - - - - - __iadd__ - - - - - -Dictionary that tolerates many input formats. -Create it with stubbornDict(arg) factory function. - ->>> d = StubbornDict(large='gross', small='klein') ->>> sorted(d.items()) -[('large', 'gross'), ('small', 'klein')] ->>> d.append(['plain', ' plaid']) ->>> sorted(d.items()) -[('large', 'gross'), ('plaid', ''), ('plain', ''), ('small', 'klein')] ->>> d += ' girl Frauelein, Maedchen\\n\\n shoe schuh' ->>> sorted(d.items()) -[('girl', 'Frauelein, Maedchen'), ('large', 'gross'), ('plaid', ''), ('plain', ''), ('shoe', 'schuh'), ('small', 'klein')] - - - - cmd2::StubbornDict__add__ - cmd2::StubbornDict__iadd__ - cmd2::StubbornDict__radd__ - cmd2::StubbornDictappend - cmd2::StubbornDictto_dict - cmd2::StubbornDictupdate - - - diff --git a/doxygen/xml/classcmd2_1_1_borg.xml b/doxygen/xml/classcmd2_1_1_borg.xml deleted file mode 100644 index fb67895..0000000 --- a/doxygen/xml/classcmd2_1_1_borg.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - cmd2::Borg - cmd2::OutputTrap - - - dictionary - dictionary cmd2::Borg::_shared_state - - _shared_state - {} - - - - - - - - - - - - def - def cmd2::Borg::__new__ - - __new__ - - - - - - - - - - - - -All instances of any Borg subclass will share state. -from Python Cookbook, 2nd Ed., recipe 6.16 - - - - - - - - - - - - - - - cmd2::Borg__new__ - cmd2::Borg_shared_state - - - diff --git a/doxygen/xml/classcmd2_1_1_cmd.xml b/doxygen/xml/classcmd2_1_1_cmd.xml deleted file mode 100644 index 8dbf7bf..0000000 --- a/doxygen/xml/classcmd2_1_1_cmd.xml +++ /dev/null @@ -1,1764 +0,0 @@ - - - - cmd2::Cmd - example::CmdLineApp - pirate6::Pirate - pirate7::Pirate - pirate8::Pirate - - - - cmd2::Cmd::echo - - echo - False - - - - - - - - - - - cmd2::Cmd::case_insensitive - - case_insensitive - True - - - - - - - - - - string - string cmd2::Cmd::continuation_prompt - - continuation_prompt - '> ' - - - - - - - - - - - cmd2::Cmd::timing - - timing - False - - - - - - - - - - string - string cmd2::Cmd::legalChars - - legalChars - u'!#$%.:?@_' - - - - - - - - - - dictionary - dictionary cmd2::Cmd::shortcuts - - shortcuts - {'?': 'help', '!': 'shell', '@': 'load', '@@': '_relative_load'} - - - - - - - - - - string - string cmd2::Cmd::excludeFromHistory - - excludeFromHistory - '''run r list l history hi ed edit li eof''' - - - - - - - - - - - cmd2::Cmd::default_to_shell - - default_to_shell - default_to_shell - default_to_shell - False - - - - - - - - - - string - string cmd2::Cmd::noSpecialParse - - noSpecialParse - 'set ed edit exit' - - - - - - - - - - string - string cmd2::Cmd::defaultExtension - - defaultExtension - 'txt' - - - - - - - - - - string - string cmd2::Cmd::default_file_name - - default_file_name - 'command.txt' - - - - - - - - - - - cmd2::Cmd::abbrev - - abbrev - True - - - - - - - - - - - cmd2::Cmd::current_script_dir - - current_script_dir - None - - - - - - - - - - list - list cmd2::Cmd::reserved_words - - reserved_words - [] - - - - - - - - - - - cmd2::Cmd::feedback_to_output - - feedback_to_output - False - - - - - - - - - - - cmd2::Cmd::quiet - - quiet - False - - - - - - - - - - - cmd2::Cmd::debug - - debug - False - - - - - - - - - - - cmd2::Cmd::locals_in_py - - locals_in_py - True - - - - - - - - - - - cmd2::Cmd::kept_state - - kept_state - None - - - - - - - - - - string - string cmd2::Cmd::redirector - - redirector - redirector - '>' - - - - - - - - - - tuple - tuple cmd2::Cmd::settable - - settable - settable - settable - stubbornDict(''' - prompt - colors Colorized output (*nix only) - continuation_prompt On 2nd+ line of input - debug Show full error stack on error - default_file_name for ``save``, ``load``, etc. - editor Program used by ``edit`` - case_insensitive upper- and lower-case both OK - feedback_to_output include nonessentials in `|`, `>` results - quiet Don't print nonessential feedback - echo Echo command issued into output - timing Report execution times - abbrev Accept abbreviated commands - ''') - - - - - - - - - - tuple - tuple cmd2::Cmd::editor - - editor - os.environ.get('EDITOR') - - - - - - - - - - string - string cmd2::Cmd::editor - - editor - 'notepad' - - - - - - - - - - dictionary - dictionary cmd2::Cmd::colorcodes - - colorcodes - {'bold':{True:'\x1b[1m',False:'\x1b[22m'}, - 'cyan':{True:'\x1b[36m',False:'\x1b[39m'}, - 'blue':{True:'\x1b[34m',False:'\x1b[39m'}, - 'red':{True:'\x1b[31m',False:'\x1b[39m'}, - 'magenta':{True:'\x1b[35m',False:'\x1b[39m'}, - 'green':{True:'\x1b[32m',False:'\x1b[39m'}, - 'underline':{True:'\x1b[4m',False:'\x1b[24m'}} - - - - - - - - - - tuple - tuple cmd2::Cmd::colors - - colors - (platform.system() != 'Windows') - - - - - - - - - - tuple - tuple cmd2::Cmd::prefixParser - - prefixParser - pyparsing.Empty() - - - - - - - - - - tuple - tuple cmd2::Cmd::commentGrammars - - commentGrammars - pyparsing.Or([pyparsing.pythonStyleComment, pyparsing.cStyleComment]) - - - - - - - - - - tuple - tuple cmd2::Cmd::commentInProgress - - commentInProgress - pyparsing.Literal('/*') - - - - - - - - - - list - list cmd2::Cmd::terminators - - terminators - terminators - terminators - [';'] - - - - - - - - - - - cmd2::Cmd::blankLinesAllowed - - blankLinesAllowed - False - - - - - - - - - - list - list cmd2::Cmd::multilineCommands - - multilineCommands - multilineCommands - multilineCommands - multilineCommands - [] - - - - - - - - - - - cmd2::Cmd::do_eof - - do_eof - do_EOF - - - - - - - - - - - cmd2::Cmd::do_exit - - do_exit - do_quit - - - - - - - - - - - cmd2::Cmd::do_q - - do_q - do_quit - - - - - - - - - - string - string cmd2::Cmd::help - - help - help - "describe function of parameter" - - - - - - - - - - - cmd2::Cmd::do_hi - - do_hi - do_history - - - - - - - - - - - cmd2::Cmd::do_l - - do_l - do_list - - - - - - - - - - - cmd2::Cmd::do_li - - do_li - do_list - - - - - - - - - - - cmd2::Cmd::do_edit - - do_edit - do_ed - - - - - - - - - - tuple - tuple cmd2::Cmd::saveparser - - saveparser - (pyparsing.Optional(pyparsing.Word(pyparsing.nums)^'*')("idx") + - pyparsing.Optional(pyparsing.Word(legalChars + '/\\'))("fname") + - pyparsing.stringEnd) - - - - - - - - - - tuple - tuple cmd2::Cmd::urlre - - urlre - re.compile('(https?://[-\\w\\./]+)') - - - - - - - - - - - cmd2::Cmd::do__load - - do__load - do_load - - - - - - - - - - - cmd2::Cmd::do_r - - do_r - do_run - - - - - - - - - - - - - cmd2::Cmd::_STOP_AND_EXIT - - _STOP_AND_EXIT - True - - - - - - - - - - int - int cmd2::Cmd::_STOP_SCRIPT_NO_EXIT - - _STOP_SCRIPT_NO_EXIT - 999 - - - - - - - - - - - - - cmd2::Cmd::stdout - - stdout - - - - - - - - - - - cmd2::Cmd::initial_stdout - - initial_stdout - - - - - - - - - - - cmd2::Cmd::history - - history - - - - - - - - - - - cmd2::Cmd::pystate - - pystate - - - - - - - - - - - cmd2::Cmd::shortcuts - - shortcuts - - - - - - - - - - - cmd2::Cmd::keywords - - keywords - - - - - - - - - - - cmd2::Cmd::multilineCommand - - multilineCommand - - - - - - - - - - - cmd2::Cmd::blankLineTerminationParser - - blankLineTerminationParser - - - - - - - - - - - cmd2::Cmd::blankLineTerminator - - blankLineTerminator - - - - - - - - - - - cmd2::Cmd::multilineParser - - multilineParser - - - - - - - - - - - cmd2::Cmd::singleLineParser - - singleLineParser - - - - - - - - - - - cmd2::Cmd::parser - - parser - - - - - - - - - - - cmd2::Cmd::inputParser - - inputParser - - - - - - - - - - - cmd2::Cmd::kept_sys - - kept_sys - - - - - - - - - - - cmd2::Cmd::redirect - - redirect - - - - - - - - - - - cmd2::Cmd::lastcmd - - lastcmd - - - - - - - - - - - cmd2::Cmd::old_completer - - old_completer - - - - - - - - - - - cmd2::Cmd::intro - - intro - - - - - - - - - - - cmd2::Cmd::stdin - - stdin - - - - - - - - - - - cmd2::Cmd::use_rawinput - - use_rawinput - - - - - - - - - - - cmd2::Cmd::prompt - - prompt - prompt - prompt - prompt - - - - - - - - - - - cmd2::Cmd::continuation_prompt - - continuation_prompt - - - - - - - - - - - - def - def cmd2::Cmd::poutput - - poutput - - - -Convenient shortcut for self.stdout.write(); adds newline if necessary. - - - - - - def - def cmd2::Cmd::perror - - perror - - - - - - - - - - def - def cmd2::Cmd::pfeedback - - pfeedback - - - -For printing nonessential feedback. Can be silenced with `quiet`. - Inclusion in redirected output is controlled by `feedback_to_output`. - - - - - - def - def cmd2::Cmd::colorize - - colorize - - - -Given a string (``val``), returns that string wrapped in UNIX-style - special characters that turn on (and then off) text color and style. - If the ``colors`` environment paramter is ``False``, or the application - is running on Windows, will return ``val`` unchanged. - ``color`` should be one of the supported strings (or styles): - red/blue/green/cyan/magenta, bold, underline - - - - - - def - def cmd2::Cmd::do_cmdenvironment - - do_cmdenvironment - - - -Summary report of interactive parameters. - - - - - - def - def cmd2::Cmd::do_help - - do_help - - - - - - - - - - def - def cmd2::Cmd::__init__ - - __init__ - - - - - - - - - - def - def cmd2::Cmd::do_shortcuts - - do_shortcuts - - - -Lists single-key shortcuts available. - - - - - - def - def cmd2::Cmd::preparse - - preparse - - - - - - - - - - def - def cmd2::Cmd::postparse - - postparse - - - - - - - - - - def - def cmd2::Cmd::parsed - - parsed - - - - - - - - - - def - def cmd2::Cmd::postparsing_precmd - - postparsing_precmd - - - - - - - - - - def - def cmd2::Cmd::postparsing_postcmd - - postparsing_postcmd - - - - - - - - - - def - def cmd2::Cmd::func_named - - func_named - - - - - - - - - - def - def cmd2::Cmd::onecmd_plus_hooks - - onecmd_plus_hooks - - - - - - - - - - def - def cmd2::Cmd::complete_statement - - complete_statement - - - -Keep accepting lines of input until the command is complete. - - - - - - def - def cmd2::Cmd::redirect_output - - redirect_output - - - - - - - - - - def - def cmd2::Cmd::restore_output - - restore_output - - - - - - - - - - def - def cmd2::Cmd::onecmd - - onecmd - - - -Interpret the argument as though it had been typed in response -to the prompt. - -This may be overridden, but should not normally need to be; -see the precmd() and postcmd() methods for useful execution hooks. -The return value is a flag indicating whether interpretation of -commands by the interpreter should stop. - -This (`cmd2`) version of `onecmd` already override's `cmd`'s `onecmd`. - - - - - - - - def - def cmd2::Cmd::pseudo_raw_input - - pseudo_raw_input - - - -copied from cmd's cmdloop; like raw_input, but accounts for changed stdin, stdout - - - - - - def - def cmd2::Cmd::do_EOF - - do_EOF - - - - - - - - - - def - def cmd2::Cmd::do_quit - - do_quit - do_quit - do_quit - do_quit - - - - - - - - - - def - def cmd2::Cmd::select - - select - - - -Presents a numbered menu to the user. Modelled after - the bash shell's SELECT. Returns the item chosen. - - Argument ``options`` can be: - - | a single string -> will be split into one-word options - | a list of strings -> will be offered as options - | a list of tuples -> interpreted as (value, text), so - that the return value can differ from - the text advertised to the user - - - - - - def - def cmd2::Cmd::do_show - - do_show - - - -Shows value of a parameter. - - - - - - def - def cmd2::Cmd::do_set - - do_set - - - - -Sets a cmd2 parameter. Accepts abbreviated parameter names so long -as there is no ambiguity. Call without arguments for a list of -settable parameters with their values. - - - - - - def - def cmd2::Cmd::do_pause - - do_pause - - - - - - - - - - def - def cmd2::Cmd::do_shell - - do_shell - - - - - - - - - - def - def cmd2::Cmd::do_py - - do_py - - - - -py <command>: Executes a Python command. -py: Enters interactive Python mode. -End with ``Ctrl-D`` (Unix) / ``Ctrl-Z`` (Windows), ``quit()``, '`exit()``. -Non-python commands can be issued with ``cmd("your command")``. -Run python code from external files with ``run("filename.py")`` - - - - - - - def - def cmd2::Cmd::do_history - - do_history - - - -history [arg]: lists past commands issued - -| no arg: list all -| arg is integer: list one history item, by index -| arg is string: string search -| arg is /enclosed in forward-slashes/: regular expression search - - - - - - - def - def cmd2::Cmd::last_matching - - last_matching - - - - - - - - - - def - def cmd2::Cmd::do_list - - do_list - - - -list [arg]: lists last command issued - -no arg -> list most recent command -arg is integer -> list one history item, by index -a..b, a:b, a:, ..b -> list spans from a (or start) to b (or end) -arg is string -> list all commands matching string search -arg is /enclosed in forward-slashes/ -> regular expression search - - - - - - - def - def cmd2::Cmd::do_ed - - do_ed - - - -ed: edit most recent command in text editor -ed [N]: edit numbered command from history -ed [filename]: edit specified file name - -commands are run after editor is closed. -"set edit (program-name)" or set EDITOR environment variable -to control which editing program is used. - - - - - - def - def cmd2::Cmd::do_save - - do_save - - - -`save [N] [filename.ext]` - -Saves command from history to file. - -| N => Number of command (from history), or `*`; -| most recent command if omitted - - - - - - def - def cmd2::Cmd::read_file_or_url - - read_file_or_url - - - - - - - - - - def - def cmd2::Cmd::do__relative_load - - do__relative_load - - - - -Runs commands in script at file or URL; if this is called from within an -already-running script, the filename will be interpreted relative to the -already-running script's directory. - - - - - - def - def cmd2::Cmd::do_load - - do_load - - - -Runs script of command(s) from a file or URL. - - - - - - def - def cmd2::Cmd::do_run - - do_run - - - -run [arg]: re-runs an earlier command - -no arg -> run most recent command -arg is integer -> run one history item, by index -arg is string -> run most recent command by string search -arg is /enclosed in forward-slashes/ -> run most recent by regex - - - - - - - def - def cmd2::Cmd::fileimport - - fileimport - - - - - - - - - - def - def cmd2::Cmd::runTranscriptTests - - runTranscriptTests - - - - - - - - - - def - def cmd2::Cmd::run_commands_at_invocation - - run_commands_at_invocation - - - - - - - - - - def - def cmd2::Cmd::cmdloop - - cmdloop - - - - - - - - - - - - def - def cmd2::Cmd::_init_parser - - _init_parser - - - - - - - - - - def - def cmd2::Cmd::_default - - _default - - - - - - - - - - def - def cmd2::Cmd::_cmdloop - - _cmdloop - - - -Repeatedly issue a prompt, accept input, parse an initial prefix -off the received input, and dispatch to action methods, passing them -the remainder of the line as argument. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - cmd2::Cmd__init__ - cmd2::Cmd_cmdloop - cmd2::Cmd_default - cmd2::Cmd_init_parser - cmd2::Cmd_STOP_AND_EXIT - cmd2::Cmd_STOP_SCRIPT_NO_EXIT - cmd2::Cmdabbrev - cmd2::CmdblankLinesAllowed - cmd2::CmdblankLineTerminationParser - cmd2::CmdblankLineTerminator - cmd2::Cmdcase_insensitive - cmd2::Cmdcmdloop - cmd2::Cmdcolorcodes - cmd2::Cmdcolorize - cmd2::Cmdcolors - cmd2::CmdcommentGrammars - cmd2::CmdcommentInProgress - cmd2::Cmdcomplete_statement - cmd2::Cmdcontinuation_prompt - cmd2::Cmdcontinuation_prompt - cmd2::Cmdcurrent_script_dir - cmd2::Cmddebug - cmd2::Cmddefault_file_name - cmd2::Cmddefault_to_shell - cmd2::CmddefaultExtension - cmd2::Cmddo__load - cmd2::Cmddo__relative_load - cmd2::Cmddo_cmdenvironment - cmd2::Cmddo_ed - cmd2::Cmddo_edit - cmd2::Cmddo_eof - cmd2::Cmddo_EOF - cmd2::Cmddo_exit - cmd2::Cmddo_help - cmd2::Cmddo_hi - cmd2::Cmddo_history - cmd2::Cmddo_l - cmd2::Cmddo_li - cmd2::Cmddo_list - cmd2::Cmddo_load - cmd2::Cmddo_pause - cmd2::Cmddo_py - cmd2::Cmddo_q - cmd2::Cmddo_quit - cmd2::Cmddo_r - cmd2::Cmddo_run - cmd2::Cmddo_save - cmd2::Cmddo_set - cmd2::Cmddo_shell - cmd2::Cmddo_shortcuts - cmd2::Cmddo_show - cmd2::Cmdecho - cmd2::Cmdeditor - cmd2::Cmdeditor - cmd2::CmdexcludeFromHistory - cmd2::Cmdfeedback_to_output - cmd2::Cmdfileimport - cmd2::Cmdfunc_named - cmd2::Cmdhelp - cmd2::Cmdhistory - cmd2::Cmdinitial_stdout - cmd2::CmdinputParser - cmd2::Cmdintro - cmd2::Cmdkept_state - cmd2::Cmdkept_sys - cmd2::Cmdkeywords - cmd2::Cmdlast_matching - cmd2::Cmdlastcmd - cmd2::CmdlegalChars - cmd2::Cmdlocals_in_py - cmd2::CmdmultilineCommand - cmd2::CmdmultilineCommands - cmd2::CmdmultilineParser - cmd2::CmdnoSpecialParse - cmd2::Cmdold_completer - cmd2::Cmdonecmd - cmd2::Cmdonecmd_plus_hooks - cmd2::Cmdparsed - cmd2::Cmdparser - cmd2::Cmdperror - cmd2::Cmdpfeedback - cmd2::Cmdpostparse - cmd2::Cmdpostparsing_postcmd - cmd2::Cmdpostparsing_precmd - cmd2::Cmdpoutput - cmd2::CmdprefixParser - cmd2::Cmdpreparse - cmd2::Cmdprompt - cmd2::Cmdpseudo_raw_input - cmd2::Cmdpystate - cmd2::Cmdquiet - cmd2::Cmdread_file_or_url - cmd2::Cmdredirect - cmd2::Cmdredirect_output - cmd2::Cmdredirector - cmd2::Cmdreserved_words - cmd2::Cmdrestore_output - cmd2::Cmdrun_commands_at_invocation - cmd2::CmdrunTranscriptTests - cmd2::Cmdsaveparser - cmd2::Cmdselect - cmd2::Cmdsettable - cmd2::Cmdshortcuts - cmd2::Cmdshortcuts - cmd2::CmdsingleLineParser - cmd2::Cmdstdin - cmd2::Cmdstdout - cmd2::Cmdterminators - cmd2::Cmdtiming - cmd2::Cmdurlre - cmd2::Cmduse_rawinput - - - diff --git a/doxygen/xml/classcmd2_1_1_cmd2_test_case.xml b/doxygen/xml/classcmd2_1_1_cmd2_test_case.xml deleted file mode 100644 index 0dad80c..0000000 --- a/doxygen/xml/classcmd2_1_1_cmd2_test_case.xml +++ /dev/null @@ -1,210 +0,0 @@ - - - - cmd2::Cmd2TestCase - - - - cmd2::Cmd2TestCase::CmdApp - - CmdApp - None - - - - - - - - - - tuple - tuple cmd2::Cmd2TestCase::regexPattern - - regexPattern - pyparsing.QuotedString(quoteChar=r'/', escChar='\\', multiline=True, unquoteResults=True) - - - - - - - - - - tuple - tuple cmd2::Cmd2TestCase::notRegexPattern - - notRegexPattern - pyparsing.Word(pyparsing.printables) - - - - - - - - - - - cmd2::Cmd2TestCase::expectationParser - - expectationParser - regexPattern|notRegexPattern - - - - - - - - - - tuple - tuple cmd2::Cmd2TestCase::anyWhitespace - - anyWhitespace - re.compile(r'\s', re.DOTALL | re.MULTILINE) - - - - - - - - - - - - - cmd2::Cmd2TestCase::transcripts - - transcripts - - - - - - - - - - - cmd2::Cmd2TestCase::outputTrap - - outputTrap - - - - - - - - - - - cmd2::Cmd2TestCase::cmdapp - - cmdapp - - - - - - - - - - - - def - def cmd2::Cmd2TestCase::fetchTranscripts - - fetchTranscripts - - - - - - - - - - def - def cmd2::Cmd2TestCase::setUp - - setUp - - - - - - - - - - def - def cmd2::Cmd2TestCase::runTest - - runTest - - - - - - - - - - def - def cmd2::Cmd2TestCase::tearDown - - tearDown - - - - - - - - - - - - def - def cmd2::Cmd2TestCase::_test_transcript - - _test_transcript - - - - - - - - - - - - -Subclass this, setting CmdApp, to make a unittest.TestCase class - that will execute the commands in a transcript file and expect the results shown. - See example.py - - - cmd2::Cmd2TestCase_test_transcript - cmd2::Cmd2TestCaseanyWhitespace - cmd2::Cmd2TestCaseCmdApp - cmd2::Cmd2TestCasecmdapp - cmd2::Cmd2TestCaseexpectationParser - cmd2::Cmd2TestCasefetchTranscripts - cmd2::Cmd2TestCasenotRegexPattern - cmd2::Cmd2TestCaseoutputTrap - cmd2::Cmd2TestCaseregexPattern - cmd2::Cmd2TestCaserunTest - cmd2::Cmd2TestCasesetUp - cmd2::Cmd2TestCasetearDown - cmd2::Cmd2TestCasetranscripts - - - diff --git a/doxygen/xml/classcmd2_1_1_embedded_console_exit.xml b/doxygen/xml/classcmd2_1_1_embedded_console_exit.xml deleted file mode 100644 index e0147b0..0000000 --- a/doxygen/xml/classcmd2_1_1_embedded_console_exit.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - cmd2::EmbeddedConsoleExit - - - - - - - - - diff --git a/doxygen/xml/classcmd2_1_1_empty_statement.xml b/doxygen/xml/classcmd2_1_1_empty_statement.xml deleted file mode 100644 index c29693c..0000000 --- a/doxygen/xml/classcmd2_1_1_empty_statement.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - cmd2::EmptyStatement - - - - - - - - - diff --git a/doxygen/xml/classcmd2_1_1_history.xml b/doxygen/xml/classcmd2_1_1_history.xml deleted file mode 100644 index d42671a..0000000 --- a/doxygen/xml/classcmd2_1_1_history.xml +++ /dev/null @@ -1,165 +0,0 @@ - - - - cmd2::History - - - tuple - tuple cmd2::History::spanpattern - - spanpattern - re.compile(r'^\s*(?P<start>\-?\d+)?\s*(?P<separator>:|(\.{2,}))?\s*(?P<end>\-?\d+)?\s*$') - - - - - - - - - - tuple - tuple cmd2::History::rangePattern - - rangePattern - re.compile(r'^\s*(?P<start>[\d]+)?\s*\-\s*(?P<end>[\d]+)?\s*$') - - - - - - - - - - - - def - def cmd2::History::zero_based_index - - zero_based_index - - - - - - - - - - def - def cmd2::History::to_index - - to_index - - - - - - - - - - def - def cmd2::History::search - - search - - - - - - - - - - def - def cmd2::History::span - - span - - - - - - - - - - def - def cmd2::History::append - - append - - - - - - - - - - def - def cmd2::History::extend - - extend - - - - - - - - - - def - def cmd2::History::get - - get - - - - - - - - - - - - -A list of HistoryItems that knows how to respond to user requests. ->>> h = History([HistoryItem('first'), HistoryItem('second'), HistoryItem('third'), HistoryItem('fourth')]) ->>> h.span('-2..') -['third', 'fourth'] ->>> h.span('2..3') -['second', 'third'] ->>> h.span('3') -['third'] ->>> h.span(':') -['first', 'second', 'third', 'fourth'] ->>> h.span('2..') -['second', 'third', 'fourth'] ->>> h.span('-1') -['fourth'] ->>> h.span('-2..-3') -['third', 'second'] ->>> h.search('o') -['second', 'fourth'] ->>> h.search('/IR/') -['first', 'third'] - - - - cmd2::Historyappend - cmd2::Historyextend - cmd2::Historyget - cmd2::HistoryrangePattern - cmd2::Historysearch - cmd2::Historyspan - cmd2::Historyspanpattern - cmd2::Historyto_index - cmd2::Historyzero_based_index - - - diff --git a/doxygen/xml/classcmd2_1_1_history_item.xml b/doxygen/xml/classcmd2_1_1_history_item.xml deleted file mode 100644 index 1d199d2..0000000 --- a/doxygen/xml/classcmd2_1_1_history_item.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - cmd2::HistoryItem - - - string - string cmd2::HistoryItem::listformat - - listformat - '-------------------------[%d]\n%s\n' - - - - - - - - - - - - - cmd2::HistoryItem::lowercase - - lowercase - - - - - - - - - - - cmd2::HistoryItem::idx - - idx - - - - - - - - - - - - def - def cmd2::HistoryItem::__init__ - - __init__ - - - - - - - - - - def - def cmd2::HistoryItem::pr - - pr - - - - - - - - - - - - - - - - cmd2::HistoryItem__init__ - cmd2::HistoryItemidx - cmd2::HistoryItemlistformat - cmd2::HistoryItemlowercase - cmd2::HistoryItempr - - - diff --git a/doxygen/xml/classcmd2_1_1_not_settable_error.xml b/doxygen/xml/classcmd2_1_1_not_settable_error.xml deleted file mode 100644 index 064e948..0000000 --- a/doxygen/xml/classcmd2_1_1_not_settable_error.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - cmd2::NotSettableError - - - - - - - - - diff --git a/doxygen/xml/classcmd2_1_1_option_parser.xml b/doxygen/xml/classcmd2_1_1_option_parser.xml deleted file mode 100644 index 724c2e7..0000000 --- a/doxygen/xml/classcmd2_1_1_option_parser.xml +++ /dev/null @@ -1,62 +0,0 @@ - - - - cmd2::OptionParser - - - def - def cmd2::OptionParser::exit - - exit - - - - - - - - - - def - def cmd2::OptionParser::print_help - - print_help - - - - - - - - - - def - def cmd2::OptionParser::error - - error - - - -error(msg : string) - -Print a usage message incorporating 'msg' to stderr and exit. -If you override this in a subclass, it should not return -- it -should either exit or raise an exception. - - - - - - - - - - - - - cmd2::OptionParsererror - cmd2::OptionParserexit - cmd2::OptionParserprint_help - - - diff --git a/doxygen/xml/classcmd2_1_1_output_trap.xml b/doxygen/xml/classcmd2_1_1_output_trap.xml deleted file mode 100644 index c788ba3..0000000 --- a/doxygen/xml/classcmd2_1_1_output_trap.xml +++ /dev/null @@ -1,128 +0,0 @@ - - - - cmd2::OutputTrap - cmd2::Borg - - - - cmd2::OutputTrap::contents - - contents - - - - - - - - - - - cmd2::OutputTrap::old_stdout - - old_stdout - - - - - - - - - - - - def - def cmd2::OutputTrap::__init__ - - __init__ - - - - - - - - - - def - def cmd2::OutputTrap::write - - write - - - - - - - - - - def - def cmd2::OutputTrap::read - - read - - - - - - - - - - def - def cmd2::OutputTrap::tearDown - - tearDown - - - - - - - - - - - - -Instantiate an OutputTrap to divert/capture ALL stdout output. For use in unit testing. -Call `tearDown()` to return to normal output. - - - - - - - - - - - - - - - - - - - - - - - - - - - cmd2::OutputTrap__init__ - cmd2::OutputTrap__new__ - cmd2::OutputTrapcontents - cmd2::OutputTrapold_stdout - cmd2::OutputTrapread - cmd2::OutputTraptearDown - cmd2::OutputTrapwrite - - - diff --git a/doxygen/xml/classcmd2_1_1_parsed_string.xml b/doxygen/xml/classcmd2_1_1_parsed_string.xml deleted file mode 100644 index 3d6d0eb..0000000 --- a/doxygen/xml/classcmd2_1_1_parsed_string.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - cmd2::ParsedString - - - def - def cmd2::ParsedString::full_parsed_statement - - full_parsed_statement - - - - - - - - - - def - def cmd2::ParsedString::with_args_replaced - - with_args_replaced - - - - - - - - - - - - - - - - cmd2::ParsedStringfull_parsed_statement - cmd2::ParsedStringwith_args_replaced - - - diff --git a/doxygen/xml/classcmd2_1_1_paste_buffer_error.xml b/doxygen/xml/classcmd2_1_1_paste_buffer_error.xml deleted file mode 100644 index 5af590d..0000000 --- a/doxygen/xml/classcmd2_1_1_paste_buffer_error.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - cmd2::PasteBufferError - - - string - string cmd2::PasteBufferError::errmsg - - errmsg - """Redirecting to or from paste buffer requires pywin32 -to be installed on operating system. -Download from http://sourceforge.net/projects/pywin32/""" - - - - - - - - - - - - def - def cmd2::PasteBufferError::__init__ - - __init__ - - - - - - - - - - - - - - - - cmd2::PasteBufferError__init__ - cmd2::PasteBufferErrorerrmsg - - - diff --git a/doxygen/xml/classcmd2_1_1_statekeeper.xml b/doxygen/xml/classcmd2_1_1_statekeeper.xml deleted file mode 100644 index bab5cde..0000000 --- a/doxygen/xml/classcmd2_1_1_statekeeper.xml +++ /dev/null @@ -1,87 +0,0 @@ - - - - cmd2::Statekeeper - - - - cmd2::Statekeeper::obj - - obj - - - - - - - - - - - cmd2::Statekeeper::attribs - - attribs - - - - - - - - - - - - def - def cmd2::Statekeeper::__init__ - - __init__ - - - - - - - - - - def - def cmd2::Statekeeper::save - - save - - - - - - - - - - def - def cmd2::Statekeeper::restore - - restore - - - - - - - - - - - - - - - - cmd2::Statekeeper__init__ - cmd2::Statekeeperattribs - cmd2::Statekeeperobj - cmd2::Statekeeperrestore - cmd2::Statekeepersave - - - diff --git a/doxygen/xml/classcmd2_1_1_stubborn_dict.xml b/doxygen/xml/classcmd2_1_1_stubborn_dict.xml deleted file mode 100644 index 91728dd..0000000 --- a/doxygen/xml/classcmd2_1_1_stubborn_dict.xml +++ /dev/null @@ -1,114 +0,0 @@ - - - - cmd2::StubbornDict - - - - cmd2::StubbornDict::append - - append - update - - - - - - - - - - - - def - def cmd2::StubbornDict::update - - update - - - - - - - - - - def - def cmd2::StubbornDict::__iadd__ - - __iadd__ - - - - - - - - - - def - def cmd2::StubbornDict::__add__ - - __add__ - - - - - - - - - - def - def cmd2::StubbornDict::__radd__ - - __radd__ - - - - - - - - - - def - def cmd2::StubbornDict::to_dict - - to_dict - - - - - - - - - - - - -Dictionary that tolerates many input formats. -Create it with stubbornDict(arg) factory function. - ->>> d = StubbornDict(large='gross', small='klein') ->>> sorted(d.items()) -[('large', 'gross'), ('small', 'klein')] ->>> d.append(['plain', ' plaid']) ->>> sorted(d.items()) -[('large', 'gross'), ('plaid', ''), ('plain', ''), ('small', 'klein')] ->>> d += ' girl Frauelein, Maedchen\\n\\n shoe schuh' ->>> sorted(d.items()) -[('girl', 'Frauelein, Maedchen'), ('large', 'gross'), ('plaid', ''), ('plain', ''), ('shoe', 'schuh'), ('small', 'klein')] - - - - cmd2::StubbornDict__add__ - cmd2::StubbornDict__iadd__ - cmd2::StubbornDict__radd__ - cmd2::StubbornDictappend - cmd2::StubbornDictto_dict - cmd2::StubbornDictupdate - - - diff --git a/doxygen/xml/classexample_1_1CmdLineApp.xml b/doxygen/xml/classexample_1_1CmdLineApp.xml deleted file mode 100644 index b67540a..0000000 --- a/doxygen/xml/classexample_1_1CmdLineApp.xml +++ /dev/null @@ -1,239 +0,0 @@ - - - - example::CmdLineApp - cmd2::Cmd - - - - example::CmdLineApp::do_orate - - do_orate - do_speak - - - - - - - - - - - example::CmdLineApp::do_say - - do_say - do_speak - - - - - - - - - - int - int example::CmdLineApp::maxrepeats - - maxrepeats - 3 - - - - - - - - do_speak - - - list - list example::CmdLineApp::multilineCommands - - multilineCommands - multilineCommands - ['orate'] - - - - - - - - - - string - string example::CmdLineApp::redirector - - redirector - redirector - '->' - - - - - - - - - - - - def - def example::CmdLineApp::do_speak - - do_speak - - - -Repeats what you tell me to. - - - - maxrepeats - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - example::CmdLineApp__init__ - example::CmdLineAppabbrev - example::CmdLineAppblankLinesAllowed - example::CmdLineAppblankLineTerminationParser - example::CmdLineAppblankLineTerminator - example::CmdLineAppcase_insensitive - example::CmdLineAppcmdloop - example::CmdLineAppcolorcodes - example::CmdLineAppcolorize - example::CmdLineAppcolors - example::CmdLineAppcommentGrammars - example::CmdLineAppcommentInProgress - example::CmdLineAppcomplete_statement - example::CmdLineAppcontinuation_prompt - example::CmdLineAppcontinuation_prompt - example::CmdLineAppcurrent_script_dir - example::CmdLineAppdebug - example::CmdLineAppdefault_file_name - example::CmdLineAppdefault_to_shell - example::CmdLineAppdefaultExtension - example::CmdLineAppdo__load - example::CmdLineAppdo__relative_load - example::CmdLineAppdo_cmdenvironment - example::CmdLineAppdo_ed - example::CmdLineAppdo_edit - example::CmdLineAppdo_eof - example::CmdLineAppdo_EOF - example::CmdLineAppdo_exit - example::CmdLineAppdo_help - example::CmdLineAppdo_hi - example::CmdLineAppdo_history - example::CmdLineAppdo_l - example::CmdLineAppdo_li - example::CmdLineAppdo_list - example::CmdLineAppdo_load - example::CmdLineAppdo_orate - example::CmdLineAppdo_pause - example::CmdLineAppdo_py - example::CmdLineAppdo_q - example::CmdLineAppdo_quit - example::CmdLineAppdo_r - example::CmdLineAppdo_run - example::CmdLineAppdo_save - example::CmdLineAppdo_say - example::CmdLineAppdo_set - example::CmdLineAppdo_shell - example::CmdLineAppdo_shortcuts - example::CmdLineAppdo_show - example::CmdLineAppdo_speak - example::CmdLineAppecho - example::CmdLineAppeditor - example::CmdLineAppeditor - example::CmdLineAppexcludeFromHistory - example::CmdLineAppfeedback_to_output - example::CmdLineAppfileimport - example::CmdLineAppfunc_named - example::CmdLineApphelp - example::CmdLineApphistory - example::CmdLineAppinitial_stdout - example::CmdLineAppinputParser - example::CmdLineAppintro - example::CmdLineAppkept_state - example::CmdLineAppkept_sys - example::CmdLineAppkeywords - example::CmdLineApplast_matching - example::CmdLineApplastcmd - example::CmdLineApplegalChars - example::CmdLineApplocals_in_py - example::CmdLineAppmaxrepeats - example::CmdLineAppmultilineCommand - example::CmdLineAppmultilineCommands - example::CmdLineAppmultilineParser - example::CmdLineAppnoSpecialParse - example::CmdLineAppold_completer - example::CmdLineApponecmd - example::CmdLineApponecmd_plus_hooks - example::CmdLineAppparsed - example::CmdLineAppparser - example::CmdLineAppperror - example::CmdLineApppfeedback - example::CmdLineApppostparse - example::CmdLineApppostparsing_postcmd - example::CmdLineApppostparsing_precmd - example::CmdLineApppoutput - example::CmdLineAppprefixParser - example::CmdLineApppreparse - example::CmdLineAppprompt - example::CmdLineApppseudo_raw_input - example::CmdLineApppystate - example::CmdLineAppquiet - example::CmdLineAppread_file_or_url - example::CmdLineAppredirect - example::CmdLineAppredirect_output - example::CmdLineAppredirector - example::CmdLineAppreserved_words - example::CmdLineApprestore_output - example::CmdLineApprun_commands_at_invocation - example::CmdLineApprunTranscriptTests - example::CmdLineAppsaveparser - example::CmdLineAppselect - example::CmdLineAppsettable - example::CmdLineAppshortcuts - example::CmdLineAppshortcuts - example::CmdLineAppsingleLineParser - example::CmdLineAppstdin - example::CmdLineAppstdout - example::CmdLineAppterminators - example::CmdLineApptiming - example::CmdLineAppurlre - example::CmdLineAppuse_rawinput - - - diff --git a/doxygen/xml/classexample_1_1_cmd_line_app.xml b/doxygen/xml/classexample_1_1_cmd_line_app.xml deleted file mode 100644 index 98b4c2d..0000000 --- a/doxygen/xml/classexample_1_1_cmd_line_app.xml +++ /dev/null @@ -1,237 +0,0 @@ - - - - example::CmdLineApp - cmd2::Cmd - - - list - list example::CmdLineApp::multilineCommands - - multilineCommands - multilineCommands - ['orate'] - - - - - - - - - - int - int example::CmdLineApp::maxrepeats - - maxrepeats - 3 - - - - - - - - - - string - string example::CmdLineApp::redirector - - redirector - redirector - '->' - - - - - - - - - - - example::CmdLineApp::do_say - - do_say - do_speak - - - - - - - - - - - example::CmdLineApp::do_orate - - do_orate - do_speak - - - - - - - - - - - - def - def example::CmdLineApp::do_speak - - do_speak - - - -Repeats what you tell me to. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - example::CmdLineApp__init__ - example::CmdLineAppabbrev - example::CmdLineAppblankLinesAllowed - example::CmdLineAppblankLineTerminationParser - example::CmdLineAppblankLineTerminator - example::CmdLineAppcase_insensitive - example::CmdLineAppcmdloop - example::CmdLineAppcolorcodes - example::CmdLineAppcolorize - example::CmdLineAppcolors - example::CmdLineAppcommentGrammars - example::CmdLineAppcommentInProgress - example::CmdLineAppcomplete_statement - example::CmdLineAppcontinuation_prompt - example::CmdLineAppcontinuation_prompt - example::CmdLineAppcurrent_script_dir - example::CmdLineAppdebug - example::CmdLineAppdefault_file_name - example::CmdLineAppdefault_to_shell - example::CmdLineAppdefaultExtension - example::CmdLineAppdo__load - example::CmdLineAppdo__relative_load - example::CmdLineAppdo_cmdenvironment - example::CmdLineAppdo_ed - example::CmdLineAppdo_edit - example::CmdLineAppdo_eof - example::CmdLineAppdo_EOF - example::CmdLineAppdo_exit - example::CmdLineAppdo_help - example::CmdLineAppdo_hi - example::CmdLineAppdo_history - example::CmdLineAppdo_l - example::CmdLineAppdo_li - example::CmdLineAppdo_list - example::CmdLineAppdo_load - example::CmdLineAppdo_orate - example::CmdLineAppdo_pause - example::CmdLineAppdo_py - example::CmdLineAppdo_q - example::CmdLineAppdo_quit - example::CmdLineAppdo_r - example::CmdLineAppdo_run - example::CmdLineAppdo_save - example::CmdLineAppdo_say - example::CmdLineAppdo_set - example::CmdLineAppdo_shell - example::CmdLineAppdo_shortcuts - example::CmdLineAppdo_show - example::CmdLineAppdo_speak - example::CmdLineAppecho - example::CmdLineAppeditor - example::CmdLineAppeditor - example::CmdLineAppexcludeFromHistory - example::CmdLineAppfeedback_to_output - example::CmdLineAppfileimport - example::CmdLineAppfunc_named - example::CmdLineApphelp - example::CmdLineApphistory - example::CmdLineAppinitial_stdout - example::CmdLineAppinputParser - example::CmdLineAppintro - example::CmdLineAppkept_state - example::CmdLineAppkept_sys - example::CmdLineAppkeywords - example::CmdLineApplast_matching - example::CmdLineApplastcmd - example::CmdLineApplegalChars - example::CmdLineApplocals_in_py - example::CmdLineAppmaxrepeats - example::CmdLineAppmultilineCommand - example::CmdLineAppmultilineCommands - example::CmdLineAppmultilineParser - example::CmdLineAppnoSpecialParse - example::CmdLineAppold_completer - example::CmdLineApponecmd - example::CmdLineApponecmd_plus_hooks - example::CmdLineAppparsed - example::CmdLineAppparser - example::CmdLineAppperror - example::CmdLineApppfeedback - example::CmdLineApppostparse - example::CmdLineApppostparsing_postcmd - example::CmdLineApppostparsing_precmd - example::CmdLineApppoutput - example::CmdLineAppprefixParser - example::CmdLineApppreparse - example::CmdLineAppprompt - example::CmdLineApppseudo_raw_input - example::CmdLineApppystate - example::CmdLineAppquiet - example::CmdLineAppread_file_or_url - example::CmdLineAppredirect - example::CmdLineAppredirect_output - example::CmdLineAppredirector - example::CmdLineAppreserved_words - example::CmdLineApprestore_output - example::CmdLineApprun_commands_at_invocation - example::CmdLineApprunTranscriptTests - example::CmdLineAppsaveparser - example::CmdLineAppselect - example::CmdLineAppsettable - example::CmdLineAppshortcuts - example::CmdLineAppshortcuts - example::CmdLineAppsingleLineParser - example::CmdLineAppstdin - example::CmdLineAppstdout - example::CmdLineAppterminators - example::CmdLineApptiming - example::CmdLineAppurlre - example::CmdLineAppuse_rawinput - - - diff --git a/doxygen/xml/classpirate2_1_1Pirate.xml b/doxygen/xml/classpirate2_1_1Pirate.xml deleted file mode 100644 index c713dcb..0000000 --- a/doxygen/xml/classpirate2_1_1Pirate.xml +++ /dev/null @@ -1,111 +0,0 @@ - - - - pirate2::Pirate - Cmd - - - int - int pirate2::Pirate::gold - - gold - 3 - - - - - - - - pirate3::Pirate::do_drink - pirate4::Pirate::do_drink - pirate5::Pirate::do_drink - do_drink - pirate7::Pirate::do_drink - pirate8::Pirate::do_drink - pirate6::Pirate::do_drink - do_loot - pirate5::Pirate::do_loot - pirate3::Pirate::do_loot - pirate4::Pirate::do_loot - pirate7::Pirate::do_loot - pirate8::Pirate::do_loot - pirate6::Pirate::do_loot - pirate3::Pirate::postcmd - pirate4::Pirate::postcmd - pirate5::Pirate::postcmd - pirate7::Pirate::postcmd - pirate8::Pirate::postcmd - pirate6::Pirate::postcmd - pirate3::Pirate::precmd - pirate5::Pirate::precmd - pirate4::Pirate::precmd - pirate7::Pirate::precmd - pirate8::Pirate::precmd - pirate6::Pirate::precmd - - - - - def - def pirate2::Pirate::do_drink - - do_drink - - - - - - - - gold - - - def - def pirate2::Pirate::do_loot - - do_loot - - - - - - - - gold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - pirate2::Piratedo_drink - pirate2::Piratedo_loot - pirate2::Pirategold - - - diff --git a/doxygen/xml/classpirate2_1_1_pirate.xml b/doxygen/xml/classpirate2_1_1_pirate.xml deleted file mode 100644 index d4ac784..0000000 --- a/doxygen/xml/classpirate2_1_1_pirate.xml +++ /dev/null @@ -1,83 +0,0 @@ - - - - pirate2::Pirate - Cmd - - - int - int pirate2::Pirate::gold - - gold - 3 - - - - - - - - - - - - def - def pirate2::Pirate::do_loot - - do_loot - - - - - - - - - - def - def pirate2::Pirate::do_drink - - do_drink - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - pirate2::Piratedo_drink - pirate2::Piratedo_loot - pirate2::Pirategold - - - diff --git a/doxygen/xml/classpirate3_1_1Pirate.xml b/doxygen/xml/classpirate3_1_1Pirate.xml deleted file mode 100644 index 904cecc..0000000 --- a/doxygen/xml/classpirate3_1_1Pirate.xml +++ /dev/null @@ -1,175 +0,0 @@ - - - - pirate3::Pirate - Cmd - - - int - int pirate3::Pirate::gold - - gold - 3 - - - - - - - - do_drink - pirate5::Pirate::do_drink - pirate4::Pirate::do_drink - pirate7::Pirate::do_drink - pirate8::Pirate::do_drink - pirate6::Pirate::do_drink - pirate5::Pirate::do_loot - pirate4::Pirate::do_loot - do_loot - pirate7::Pirate::do_loot - pirate8::Pirate::do_loot - pirate6::Pirate::do_loot - postcmd - pirate4::Pirate::postcmd - pirate5::Pirate::postcmd - pirate7::Pirate::postcmd - pirate8::Pirate::postcmd - pirate6::Pirate::postcmd - precmd - pirate5::Pirate::precmd - pirate4::Pirate::precmd - pirate8::Pirate::precmd - pirate7::Pirate::precmd - pirate6::Pirate::precmd - - - - - - pirate3::Pirate::initial_gold - - initial_gold - - - - - - - - postcmd - pirate4::Pirate::postcmd - pirate5::Pirate::postcmd - pirate7::Pirate::postcmd - pirate8::Pirate::postcmd - pirate6::Pirate::postcmd - precmd - pirate5::Pirate::precmd - pirate4::Pirate::precmd - pirate8::Pirate::precmd - pirate7::Pirate::precmd - pirate6::Pirate::precmd - - - - - def - def pirate3::Pirate::do_drink - - do_drink - - - - - - - - pirate2::Pirate::gold - gold - - - def - def pirate3::Pirate::do_loot - - do_loot - - - - - - - - pirate2::Pirate::gold - gold - - - def - def pirate3::Pirate::postcmd - - postcmd - - - - - - - - pirate2::Pirate::gold - gold - initial_gold - cmd2::Cmd::onecmd_plus_hooks - - - def - def pirate3::Pirate::precmd - - precmd - - - - - - - - pirate2::Pirate::gold - gold - initial_gold - cmd2::Cmd::onecmd_plus_hooks - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - pirate3::Piratedo_drink - pirate3::Piratedo_loot - pirate3::Pirategold - pirate3::Pirateinitial_gold - pirate3::Piratepostcmd - pirate3::Pirateprecmd - - - diff --git a/doxygen/xml/classpirate3_1_1_pirate.xml b/doxygen/xml/classpirate3_1_1_pirate.xml deleted file mode 100644 index 1375a02..0000000 --- a/doxygen/xml/classpirate3_1_1_pirate.xml +++ /dev/null @@ -1,127 +0,0 @@ - - - - pirate3::Pirate - Cmd - - - int - int pirate3::Pirate::gold - - gold - 3 - - - - - - - - - - - - - pirate3::Pirate::initial_gold - - initial_gold - - - - - - - - - - - - def - def pirate3::Pirate::do_loot - - do_loot - - - - - - - - - - def - def pirate3::Pirate::do_drink - - do_drink - - - - - - - - - - def - def pirate3::Pirate::precmd - - precmd - - - - - - - - - - def - def pirate3::Pirate::postcmd - - postcmd - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - pirate3::Piratedo_drink - pirate3::Piratedo_loot - pirate3::Pirategold - pirate3::Pirateinitial_gold - pirate3::Piratepostcmd - pirate3::Pirateprecmd - - - diff --git a/doxygen/xml/classpirate4_1_1Pirate.xml b/doxygen/xml/classpirate4_1_1Pirate.xml deleted file mode 100644 index f1ecf11..0000000 --- a/doxygen/xml/classpirate4_1_1Pirate.xml +++ /dev/null @@ -1,177 +0,0 @@ - - - - pirate4::Pirate - Cmd - - - int - int pirate4::Pirate::gold - - gold - 3 - - - - - - - - do_drink - pirate5::Pirate::do_drink - pirate8::Pirate::do_drink - pirate7::Pirate::do_drink - pirate6::Pirate::do_drink - do_loot - pirate5::Pirate::do_loot - pirate8::Pirate::do_loot - pirate7::Pirate::do_loot - pirate6::Pirate::do_loot - postcmd - pirate5::Pirate::postcmd - pirate7::Pirate::postcmd - pirate8::Pirate::postcmd - pirate6::Pirate::postcmd - pirate5::Pirate::precmd - precmd - pirate7::Pirate::precmd - pirate8::Pirate::precmd - pirate6::Pirate::precmd - - - - - - pirate4::Pirate::initial_gold - - initial_gold - - - - - - - - postcmd - pirate5::Pirate::postcmd - pirate7::Pirate::postcmd - pirate8::Pirate::postcmd - pirate6::Pirate::postcmd - precmd - pirate5::Pirate::precmd - pirate7::Pirate::precmd - pirate8::Pirate::precmd - pirate6::Pirate::precmd - - - - - def - def pirate4::Pirate::do_drink - - do_drink - - - -Drown your sorrrows in rrrum. - -drink [n] - drink [n] barrel[s] o' rum. - - - - pirate2::Pirate::gold - gold - pirate3::Pirate::gold - - - def - def pirate4::Pirate::do_loot - - do_loot - - - - - - - - pirate2::Pirate::gold - gold - pirate3::Pirate::gold - - - def - def pirate4::Pirate::postcmd - - postcmd - - - - - - - - pirate2::Pirate::gold - pirate3::Pirate::gold - gold - pirate3::Pirate::initial_gold - initial_gold - cmd2::Cmd::onecmd_plus_hooks - - - def - def pirate4::Pirate::precmd - - precmd - - - - - - - - pirate2::Pirate::gold - gold - pirate3::Pirate::gold - pirate3::Pirate::initial_gold - initial_gold - cmd2::Cmd::onecmd_plus_hooks - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - pirate4::Piratedo_drink - pirate4::Piratedo_loot - pirate4::Pirategold - pirate4::Pirateinitial_gold - pirate4::Piratepostcmd - pirate4::Pirateprecmd - - - diff --git a/doxygen/xml/classpirate4_1_1_pirate.xml b/doxygen/xml/classpirate4_1_1_pirate.xml deleted file mode 100644 index e1c6bb3..0000000 --- a/doxygen/xml/classpirate4_1_1_pirate.xml +++ /dev/null @@ -1,129 +0,0 @@ - - - - pirate4::Pirate - Cmd - - - int - int pirate4::Pirate::gold - - gold - 3 - - - - - - - - - - - - - pirate4::Pirate::initial_gold - - initial_gold - - - - - - - - - - - - def - def pirate4::Pirate::do_loot - - do_loot - - - - - - - - - - def - def pirate4::Pirate::do_drink - - do_drink - - - -Drown your sorrrows in rrrum. - -drink [n] - drink [n] barrel[s] o' rum. - - - - - - def - def pirate4::Pirate::precmd - - precmd - - - - - - - - - - def - def pirate4::Pirate::postcmd - - postcmd - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - pirate4::Piratedo_drink - pirate4::Piratedo_loot - pirate4::Pirategold - pirate4::Pirateinitial_gold - pirate4::Piratepostcmd - pirate4::Pirateprecmd - - - diff --git a/doxygen/xml/classpirate5_1_1Pirate.xml b/doxygen/xml/classpirate5_1_1Pirate.xml deleted file mode 100644 index df589e8..0000000 --- a/doxygen/xml/classpirate5_1_1Pirate.xml +++ /dev/null @@ -1,191 +0,0 @@ - - - - pirate5::Pirate - Cmd - - - int - int pirate5::Pirate::gold - - gold - 3 - - - - - - - - do_drink - pirate7::Pirate::do_drink - pirate8::Pirate::do_drink - pirate6::Pirate::do_drink - do_loot - pirate7::Pirate::do_loot - pirate8::Pirate::do_loot - pirate6::Pirate::do_loot - postcmd - pirate8::Pirate::postcmd - pirate7::Pirate::postcmd - pirate6::Pirate::postcmd - precmd - pirate7::Pirate::precmd - pirate8::Pirate::precmd - pirate6::Pirate::precmd - - - - - - pirate5::Pirate::initial_gold - - initial_gold - - - - - - - - postcmd - pirate8::Pirate::postcmd - pirate7::Pirate::postcmd - pirate6::Pirate::postcmd - precmd - pirate7::Pirate::precmd - pirate8::Pirate::precmd - pirate6::Pirate::precmd - - - - - def - def pirate5::Pirate::do_drink - - do_drink - - - -Drown your sorrrows in rrrum. - -drink [n] - drink [n] barrel[s] o' rum. - - - - pirate2::Pirate::gold - gold - pirate4::Pirate::gold - pirate3::Pirate::gold - - - def - def pirate5::Pirate::do_loot - - do_loot - - - - - - - - pirate2::Pirate::gold - gold - pirate4::Pirate::gold - pirate3::Pirate::gold - - - def - def pirate5::Pirate::do_quit - - do_quit - - - - - - - - - - def - def pirate5::Pirate::postcmd - - postcmd - - - - - - - - pirate2::Pirate::gold - pirate3::Pirate::gold - gold - pirate4::Pirate::gold - pirate3::Pirate::initial_gold - pirate4::Pirate::initial_gold - initial_gold - cmd2::Cmd::onecmd_plus_hooks - - - def - def pirate5::Pirate::precmd - - precmd - - - - - - - - pirate2::Pirate::gold - gold - pirate3::Pirate::gold - pirate4::Pirate::gold - pirate3::Pirate::initial_gold - initial_gold - pirate4::Pirate::initial_gold - cmd2::Cmd::onecmd_plus_hooks - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - pirate5::Piratedo_drink - pirate5::Piratedo_loot - pirate5::Piratedo_quit - pirate5::Pirategold - pirate5::Pirateinitial_gold - pirate5::Piratepostcmd - pirate5::Pirateprecmd - - - diff --git a/doxygen/xml/classpirate5_1_1_pirate.xml b/doxygen/xml/classpirate5_1_1_pirate.xml deleted file mode 100644 index 5317875..0000000 --- a/doxygen/xml/classpirate5_1_1_pirate.xml +++ /dev/null @@ -1,143 +0,0 @@ - - - - pirate5::Pirate - Cmd - - - int - int pirate5::Pirate::gold - - gold - 3 - - - - - - - - - - - - - pirate5::Pirate::initial_gold - - initial_gold - - - - - - - - - - - - def - def pirate5::Pirate::do_loot - - do_loot - - - - - - - - - - def - def pirate5::Pirate::do_drink - - do_drink - - - -Drown your sorrrows in rrrum. - -drink [n] - drink [n] barrel[s] o' rum. - - - - - - def - def pirate5::Pirate::precmd - - precmd - - - - - - - - - - def - def pirate5::Pirate::postcmd - - postcmd - - - - - - - - - - def - def pirate5::Pirate::do_quit - - do_quit - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - pirate5::Piratedo_drink - pirate5::Piratedo_loot - pirate5::Piratedo_quit - pirate5::Pirategold - pirate5::Pirateinitial_gold - pirate5::Piratepostcmd - pirate5::Pirateprecmd - - - diff --git a/doxygen/xml/classpirate6_1_1Pirate.xml b/doxygen/xml/classpirate6_1_1Pirate.xml deleted file mode 100644 index 26a59af..0000000 --- a/doxygen/xml/classpirate6_1_1Pirate.xml +++ /dev/null @@ -1,329 +0,0 @@ - - - - pirate6::Pirate - cmd2::Cmd - - - int - int pirate6::Pirate::gold - - gold - 3 - - - - - - - - pirate7::Pirate::do_drink - pirate8::Pirate::do_drink - do_drink - pirate8::Pirate::do_loot - pirate7::Pirate::do_loot - do_loot - pirate7::Pirate::postcmd - pirate8::Pirate::postcmd - postcmd - pirate7::Pirate::precmd - pirate8::Pirate::precmd - precmd - - - string - string pirate6::Pirate::prompt - - prompt - prompt - 'arrr> ' - - - - - - - - - - - - - pirate6::Pirate::initial_gold - - initial_gold - - - - - - - - pirate7::Pirate::postcmd - pirate8::Pirate::postcmd - postcmd - pirate8::Pirate::precmd - pirate7::Pirate::precmd - precmd - - - - - def - def pirate6::Pirate::default - - default - - - - - - - - cmd2::Cmd::_default - - - def - def pirate6::Pirate::do_drink - - do_drink - - - -Drown your sorrrows in rrrum. - -drink [n] - drink [n] barrel[s] o' rum. - - - - pirate2::Pirate::gold - gold - pirate5::Pirate::gold - pirate4::Pirate::gold - pirate3::Pirate::gold - - - def - def pirate6::Pirate::do_loot - - do_loot - - - - - - - - pirate2::Pirate::gold - gold - pirate5::Pirate::gold - pirate4::Pirate::gold - pirate3::Pirate::gold - - - def - def pirate6::Pirate::do_quit - - do_quit - do_quit - - - - - - - - - - def - def pirate6::Pirate::postcmd - - postcmd - - - - - - - - pirate2::Pirate::gold - pirate3::Pirate::gold - pirate5::Pirate::gold - gold - pirate4::Pirate::gold - pirate3::Pirate::initial_gold - pirate5::Pirate::initial_gold - pirate4::Pirate::initial_gold - initial_gold - cmd2::Cmd::onecmd_plus_hooks - - - def - def pirate6::Pirate::precmd - - precmd - - - - - - - - pirate2::Pirate::gold - pirate5::Pirate::gold - gold - pirate4::Pirate::gold - pirate3::Pirate::gold - pirate3::Pirate::initial_gold - pirate4::Pirate::initial_gold - pirate5::Pirate::initial_gold - initial_gold - cmd2::Cmd::onecmd_plus_hooks - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - pirate6::Pirate__init__ - pirate6::Pirateabbrev - pirate6::PirateblankLinesAllowed - pirate6::PirateblankLineTerminationParser - pirate6::PirateblankLineTerminator - pirate6::Piratecase_insensitive - pirate6::Piratecmdloop - pirate6::Piratecolorcodes - pirate6::Piratecolorize - pirate6::Piratecolors - pirate6::PiratecommentGrammars - pirate6::PiratecommentInProgress - pirate6::Piratecomplete_statement - pirate6::Piratecontinuation_prompt - pirate6::Piratecontinuation_prompt - pirate6::Piratecurrent_script_dir - pirate6::Piratedebug - pirate6::Piratedefault - pirate6::Piratedefault_file_name - pirate6::Piratedefault_to_shell - pirate6::PiratedefaultExtension - pirate6::Piratedo__load - pirate6::Piratedo__relative_load - pirate6::Piratedo_cmdenvironment - pirate6::Piratedo_drink - pirate6::Piratedo_ed - pirate6::Piratedo_edit - pirate6::Piratedo_eof - pirate6::Piratedo_EOF - pirate6::Piratedo_exit - pirate6::Piratedo_help - pirate6::Piratedo_hi - pirate6::Piratedo_history - pirate6::Piratedo_l - pirate6::Piratedo_li - pirate6::Piratedo_list - pirate6::Piratedo_load - pirate6::Piratedo_loot - pirate6::Piratedo_pause - pirate6::Piratedo_py - pirate6::Piratedo_q - pirate6::Piratedo_quit - pirate6::Piratedo_r - pirate6::Piratedo_run - pirate6::Piratedo_save - pirate6::Piratedo_set - pirate6::Piratedo_shell - pirate6::Piratedo_shortcuts - pirate6::Piratedo_show - pirate6::Pirateecho - pirate6::Pirateeditor - pirate6::Pirateeditor - pirate6::PirateexcludeFromHistory - pirate6::Piratefeedback_to_output - pirate6::Piratefileimport - pirate6::Piratefunc_named - pirate6::Pirategold - pirate6::Piratehelp - pirate6::Piratehistory - pirate6::Pirateinitial_gold - pirate6::Pirateinitial_stdout - pirate6::PirateinputParser - pirate6::Pirateintro - pirate6::Piratekept_state - pirate6::Piratekept_sys - pirate6::Piratekeywords - pirate6::Piratelast_matching - pirate6::Piratelastcmd - pirate6::PiratelegalChars - pirate6::Piratelocals_in_py - pirate6::PiratemultilineCommand - pirate6::PiratemultilineCommands - pirate6::PiratemultilineParser - pirate6::PiratenoSpecialParse - pirate6::Pirateold_completer - pirate6::Pirateonecmd - pirate6::Pirateonecmd_plus_hooks - pirate6::Pirateparsed - pirate6::Pirateparser - pirate6::Pirateperror - pirate6::Piratepfeedback - pirate6::Piratepostcmd - pirate6::Piratepostparse - pirate6::Piratepostparsing_postcmd - pirate6::Piratepostparsing_precmd - pirate6::Piratepoutput - pirate6::Pirateprecmd - pirate6::PirateprefixParser - pirate6::Piratepreparse - pirate6::Pirateprompt - pirate6::Piratepseudo_raw_input - pirate6::Piratepystate - pirate6::Piratequiet - pirate6::Pirateread_file_or_url - pirate6::Pirateredirect - pirate6::Pirateredirect_output - pirate6::Pirateredirector - pirate6::Piratereserved_words - pirate6::Piraterestore_output - pirate6::Piraterun_commands_at_invocation - pirate6::PiraterunTranscriptTests - pirate6::Piratesaveparser - pirate6::Pirateselect - pirate6::Piratesettable - pirate6::Pirateshortcuts - pirate6::Pirateshortcuts - pirate6::PiratesingleLineParser - pirate6::Piratestdin - pirate6::Piratestdout - pirate6::Pirateterminators - pirate6::Piratetiming - pirate6::Pirateurlre - pirate6::Pirateuse_rawinput - - - diff --git a/doxygen/xml/classpirate6_1_1_pirate.xml b/doxygen/xml/classpirate6_1_1_pirate.xml deleted file mode 100644 index b31893b..0000000 --- a/doxygen/xml/classpirate6_1_1_pirate.xml +++ /dev/null @@ -1,280 +0,0 @@ - - - - pirate6::Pirate - cmd2::Cmd - - - int - int pirate6::Pirate::gold - - gold - 3 - - - - - - - - - - string - string pirate6::Pirate::prompt - - prompt - prompt - 'arrr> ' - - - - - - - - - - - - - pirate6::Pirate::initial_gold - - initial_gold - - - - - - - - - - - - def - def pirate6::Pirate::default - - default - - - - - - - - - - def - def pirate6::Pirate::do_loot - - do_loot - - - - - - - - - - def - def pirate6::Pirate::do_drink - - do_drink - - - -Drown your sorrrows in rrrum. - -drink [n] - drink [n] barrel[s] o' rum. - - - - - - def - def pirate6::Pirate::precmd - - precmd - - - - - - - - - - def - def pirate6::Pirate::postcmd - - postcmd - - - - - - - - - - def - def pirate6::Pirate::do_quit - - do_quit - do_quit - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - pirate6::Pirate__init__ - pirate6::Pirateabbrev - pirate6::PirateblankLinesAllowed - pirate6::PirateblankLineTerminationParser - pirate6::PirateblankLineTerminator - pirate6::Piratecase_insensitive - pirate6::Piratecmdloop - pirate6::Piratecolorcodes - pirate6::Piratecolorize - pirate6::Piratecolors - pirate6::PiratecommentGrammars - pirate6::PiratecommentInProgress - pirate6::Piratecomplete_statement - pirate6::Piratecontinuation_prompt - pirate6::Piratecontinuation_prompt - pirate6::Piratecurrent_script_dir - pirate6::Piratedebug - pirate6::Piratedefault - pirate6::Piratedefault_file_name - pirate6::Piratedefault_to_shell - pirate6::PiratedefaultExtension - pirate6::Piratedo__load - pirate6::Piratedo__relative_load - pirate6::Piratedo_cmdenvironment - pirate6::Piratedo_drink - pirate6::Piratedo_ed - pirate6::Piratedo_edit - pirate6::Piratedo_eof - pirate6::Piratedo_EOF - pirate6::Piratedo_exit - pirate6::Piratedo_help - pirate6::Piratedo_hi - pirate6::Piratedo_history - pirate6::Piratedo_l - pirate6::Piratedo_li - pirate6::Piratedo_list - pirate6::Piratedo_load - pirate6::Piratedo_loot - pirate6::Piratedo_pause - pirate6::Piratedo_py - pirate6::Piratedo_q - pirate6::Piratedo_quit - pirate6::Piratedo_r - pirate6::Piratedo_run - pirate6::Piratedo_save - pirate6::Piratedo_set - pirate6::Piratedo_shell - pirate6::Piratedo_shortcuts - pirate6::Piratedo_show - pirate6::Pirateecho - pirate6::Pirateeditor - pirate6::Pirateeditor - pirate6::PirateexcludeFromHistory - pirate6::Piratefeedback_to_output - pirate6::Piratefileimport - pirate6::Piratefunc_named - pirate6::Pirategold - pirate6::Piratehelp - pirate6::Piratehistory - pirate6::Pirateinitial_gold - pirate6::Pirateinitial_stdout - pirate6::PirateinputParser - pirate6::Pirateintro - pirate6::Piratekept_state - pirate6::Piratekept_sys - pirate6::Piratekeywords - pirate6::Piratelast_matching - pirate6::Piratelastcmd - pirate6::PiratelegalChars - pirate6::Piratelocals_in_py - pirate6::PiratemultilineCommand - pirate6::PiratemultilineCommands - pirate6::PiratemultilineParser - pirate6::PiratenoSpecialParse - pirate6::Pirateold_completer - pirate6::Pirateonecmd - pirate6::Pirateonecmd_plus_hooks - pirate6::Pirateparsed - pirate6::Pirateparser - pirate6::Pirateperror - pirate6::Piratepfeedback - pirate6::Piratepostcmd - pirate6::Piratepostparse - pirate6::Piratepostparsing_postcmd - pirate6::Piratepostparsing_precmd - pirate6::Piratepoutput - pirate6::Pirateprecmd - pirate6::PirateprefixParser - pirate6::Piratepreparse - pirate6::Pirateprompt - pirate6::Piratepseudo_raw_input - pirate6::Piratepystate - pirate6::Piratequiet - pirate6::Pirateread_file_or_url - pirate6::Pirateredirect - pirate6::Pirateredirect_output - pirate6::Pirateredirector - pirate6::Piratereserved_words - pirate6::Piraterestore_output - pirate6::Piraterun_commands_at_invocation - pirate6::PiraterunTranscriptTests - pirate6::Piratesaveparser - pirate6::Pirateselect - pirate6::Piratesettable - pirate6::Pirateshortcuts - pirate6::Pirateshortcuts - pirate6::PiratesingleLineParser - pirate6::Piratestdin - pirate6::Piratestdout - pirate6::Pirateterminators - pirate6::Piratetiming - pirate6::Pirateurlre - pirate6::Pirateuse_rawinput - - - diff --git a/doxygen/xml/classpirate7_1_1Pirate.xml b/doxygen/xml/classpirate7_1_1Pirate.xml deleted file mode 100644 index 3e79430..0000000 --- a/doxygen/xml/classpirate7_1_1Pirate.xml +++ /dev/null @@ -1,422 +0,0 @@ - - - - pirate7::Pirate - cmd2::Cmd - - - - pirate7::Pirate::default_to_shell - - default_to_shell - default_to_shell - True - - - - - - - - - - int - int pirate7::Pirate::gold - - gold - 3 - - - - - - - - do_drink - pirate8::Pirate::do_drink - do_loot - pirate8::Pirate::do_loot - postcmd - pirate8::Pirate::postcmd - precmd - pirate8::Pirate::precmd - - - list - list pirate7::Pirate::multilineCommands - - multilineCommands - multilineCommands - ['sing'] - - - - - - - - - - string - string pirate7::Pirate::prompt - - prompt - prompt - 'arrr> ' - - - - - - - - - - string - string pirate7::Pirate::settable - - settable - settable - 'songcolor Color to ``sing`` in (red/blue/green/cyan/magenta, bold, underline)' - - - - - - - - - - string - string pirate7::Pirate::songcolor - - songcolor - 'blue' - - - - - - - - do_sing - pirate8::Pirate::do_sing - - - list - list pirate7::Pirate::terminators - - terminators - terminators - Cmd.terminators+['...'] - - - - - - - - - - - - - pirate7::Pirate::initial_gold - - initial_gold - - - - - - - - postcmd - pirate8::Pirate::postcmd - pirate8::Pirate::precmd - precmd - - - - - def - def pirate7::Pirate::default - - default - - - - - - - - cmd2::Cmd::_default - - - def - def pirate7::Pirate::do_drink - - do_drink - - - -Drown your sorrrows in rrrum. - -drink [n] - drink [n] barrel[s] o' rum. - - - - pirate2::Pirate::gold - gold - pirate6::Pirate::gold - pirate5::Pirate::gold - pirate4::Pirate::gold - pirate3::Pirate::gold - - - def - def pirate7::Pirate::do_loot - - do_loot - - - - - - - - pirate2::Pirate::gold - gold - pirate6::Pirate::gold - pirate5::Pirate::gold - pirate4::Pirate::gold - pirate3::Pirate::gold - - - def - def pirate7::Pirate::do_quit - - do_quit - do_quit - - - - - - - - - - def - def pirate7::Pirate::do_sing - - do_sing - - - - - - - - cmd2::Cmd::colorize - songcolor - - - def - def pirate7::Pirate::postcmd - - postcmd - - - - - - - - pirate2::Pirate::gold - pirate3::Pirate::gold - pirate5::Pirate::gold - pirate6::Pirate::gold - pirate4::Pirate::gold - gold - pirate3::Pirate::initial_gold - pirate5::Pirate::initial_gold - pirate4::Pirate::initial_gold - initial_gold - pirate6::Pirate::initial_gold - cmd2::Cmd::onecmd_plus_hooks - - - def - def pirate7::Pirate::precmd - - precmd - - - - - - - - pirate2::Pirate::gold - gold - pirate4::Pirate::gold - pirate5::Pirate::gold - pirate6::Pirate::gold - pirate3::Pirate::gold - pirate3::Pirate::initial_gold - pirate4::Pirate::initial_gold - pirate5::Pirate::initial_gold - initial_gold - pirate6::Pirate::initial_gold - cmd2::Cmd::onecmd_plus_hooks - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - pirate7::Pirate__init__ - pirate7::Pirateabbrev - pirate7::PirateblankLinesAllowed - pirate7::PirateblankLineTerminationParser - pirate7::PirateblankLineTerminator - pirate7::Piratecase_insensitive - pirate7::Piratecmdloop - pirate7::Piratecolorcodes - pirate7::Piratecolorize - pirate7::Piratecolors - pirate7::PiratecommentGrammars - pirate7::PiratecommentInProgress - pirate7::Piratecomplete_statement - pirate7::Piratecontinuation_prompt - pirate7::Piratecontinuation_prompt - pirate7::Piratecurrent_script_dir - pirate7::Piratedebug - pirate7::Piratedefault - pirate7::Piratedefault_file_name - pirate7::Piratedefault_to_shell - pirate7::PiratedefaultExtension - pirate7::Piratedo__load - pirate7::Piratedo__relative_load - pirate7::Piratedo_cmdenvironment - pirate7::Piratedo_drink - pirate7::Piratedo_ed - pirate7::Piratedo_edit - pirate7::Piratedo_eof - pirate7::Piratedo_EOF - pirate7::Piratedo_exit - pirate7::Piratedo_help - pirate7::Piratedo_hi - pirate7::Piratedo_history - pirate7::Piratedo_l - pirate7::Piratedo_li - pirate7::Piratedo_list - pirate7::Piratedo_load - pirate7::Piratedo_loot - pirate7::Piratedo_pause - pirate7::Piratedo_py - pirate7::Piratedo_q - pirate7::Piratedo_quit - pirate7::Piratedo_r - pirate7::Piratedo_run - pirate7::Piratedo_save - pirate7::Piratedo_set - pirate7::Piratedo_shell - pirate7::Piratedo_shortcuts - pirate7::Piratedo_show - pirate7::Piratedo_sing - pirate7::Pirateecho - pirate7::Pirateeditor - pirate7::Pirateeditor - pirate7::PirateexcludeFromHistory - pirate7::Piratefeedback_to_output - pirate7::Piratefileimport - pirate7::Piratefunc_named - pirate7::Pirategold - pirate7::Piratehelp - pirate7::Piratehistory - pirate7::Pirateinitial_gold - pirate7::Pirateinitial_stdout - pirate7::PirateinputParser - pirate7::Pirateintro - pirate7::Piratekept_state - pirate7::Piratekept_sys - pirate7::Piratekeywords - pirate7::Piratelast_matching - pirate7::Piratelastcmd - pirate7::PiratelegalChars - pirate7::Piratelocals_in_py - pirate7::PiratemultilineCommand - pirate7::PiratemultilineCommands - pirate7::PiratemultilineParser - pirate7::PiratenoSpecialParse - pirate7::Pirateold_completer - pirate7::Pirateonecmd - pirate7::Pirateonecmd_plus_hooks - pirate7::Pirateparsed - pirate7::Pirateparser - pirate7::Pirateperror - pirate7::Piratepfeedback - pirate7::Piratepostcmd - pirate7::Piratepostparse - pirate7::Piratepostparsing_postcmd - pirate7::Piratepostparsing_precmd - pirate7::Piratepoutput - pirate7::Pirateprecmd - pirate7::PirateprefixParser - pirate7::Piratepreparse - pirate7::Pirateprompt - pirate7::Piratepseudo_raw_input - pirate7::Piratepystate - pirate7::Piratequiet - pirate7::Pirateread_file_or_url - pirate7::Pirateredirect - pirate7::Pirateredirect_output - pirate7::Pirateredirector - pirate7::Piratereserved_words - pirate7::Piraterestore_output - pirate7::Piraterun_commands_at_invocation - pirate7::PiraterunTranscriptTests - pirate7::Piratesaveparser - pirate7::Pirateselect - pirate7::Piratesettable - pirate7::Pirateshortcuts - pirate7::Pirateshortcuts - pirate7::PiratesingleLineParser - pirate7::Piratesongcolor - pirate7::Piratestdin - pirate7::Piratestdout - pirate7::Pirateterminators - pirate7::Piratetiming - pirate7::Pirateurlre - pirate7::Pirateuse_rawinput - - - diff --git a/doxygen/xml/classpirate7_1_1_pirate.xml b/doxygen/xml/classpirate7_1_1_pirate.xml deleted file mode 100644 index 9e96fd9..0000000 --- a/doxygen/xml/classpirate7_1_1_pirate.xml +++ /dev/null @@ -1,369 +0,0 @@ - - - - pirate7::Pirate - cmd2::Cmd - - - int - int pirate7::Pirate::gold - - gold - 3 - - - - - - - - - - string - string pirate7::Pirate::prompt - - prompt - prompt - 'arrr> ' - - - - - - - - - - - pirate7::Pirate::default_to_shell - - default_to_shell - default_to_shell - True - - - - - - - - - - list - list pirate7::Pirate::multilineCommands - - multilineCommands - multilineCommands - ['sing'] - - - - - - - - - - list - list pirate7::Pirate::terminators - - terminators - terminators - Cmd.terminators+['...'] - - - - - - - - - - string - string pirate7::Pirate::songcolor - - songcolor - 'blue' - - - - - - - - - - string - string pirate7::Pirate::settable - - settable - settable - 'songcolor Color to ``sing`` in (red/blue/green/cyan/magenta, bold, underline)' - - - - - - - - - - - - - pirate7::Pirate::initial_gold - - initial_gold - - - - - - - - - - - - def - def pirate7::Pirate::default - - default - - - - - - - - - - def - def pirate7::Pirate::do_loot - - do_loot - - - - - - - - - - def - def pirate7::Pirate::do_drink - - do_drink - - - -Drown your sorrrows in rrrum. - -drink [n] - drink [n] barrel[s] o' rum. - - - - - - def - def pirate7::Pirate::precmd - - precmd - - - - - - - - - - def - def pirate7::Pirate::postcmd - - postcmd - - - - - - - - - - def - def pirate7::Pirate::do_quit - - do_quit - do_quit - - - - - - - - - - def - def pirate7::Pirate::do_sing - - do_sing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - pirate7::Pirate__init__ - pirate7::Pirateabbrev - pirate7::PirateblankLinesAllowed - pirate7::PirateblankLineTerminationParser - pirate7::PirateblankLineTerminator - pirate7::Piratecase_insensitive - pirate7::Piratecmdloop - pirate7::Piratecolorcodes - pirate7::Piratecolorize - pirate7::Piratecolors - pirate7::PiratecommentGrammars - pirate7::PiratecommentInProgress - pirate7::Piratecomplete_statement - pirate7::Piratecontinuation_prompt - pirate7::Piratecontinuation_prompt - pirate7::Piratecurrent_script_dir - pirate7::Piratedebug - pirate7::Piratedefault - pirate7::Piratedefault_file_name - pirate7::Piratedefault_to_shell - pirate7::PiratedefaultExtension - pirate7::Piratedo__load - pirate7::Piratedo__relative_load - pirate7::Piratedo_cmdenvironment - pirate7::Piratedo_drink - pirate7::Piratedo_ed - pirate7::Piratedo_edit - pirate7::Piratedo_eof - pirate7::Piratedo_EOF - pirate7::Piratedo_exit - pirate7::Piratedo_help - pirate7::Piratedo_hi - pirate7::Piratedo_history - pirate7::Piratedo_l - pirate7::Piratedo_li - pirate7::Piratedo_list - pirate7::Piratedo_load - pirate7::Piratedo_loot - pirate7::Piratedo_pause - pirate7::Piratedo_py - pirate7::Piratedo_q - pirate7::Piratedo_quit - pirate7::Piratedo_r - pirate7::Piratedo_run - pirate7::Piratedo_save - pirate7::Piratedo_set - pirate7::Piratedo_shell - pirate7::Piratedo_shortcuts - pirate7::Piratedo_show - pirate7::Piratedo_sing - pirate7::Pirateecho - pirate7::Pirateeditor - pirate7::Pirateeditor - pirate7::PirateexcludeFromHistory - pirate7::Piratefeedback_to_output - pirate7::Piratefileimport - pirate7::Piratefunc_named - pirate7::Pirategold - pirate7::Piratehelp - pirate7::Piratehistory - pirate7::Pirateinitial_gold - pirate7::Pirateinitial_stdout - pirate7::PirateinputParser - pirate7::Pirateintro - pirate7::Piratekept_state - pirate7::Piratekept_sys - pirate7::Piratekeywords - pirate7::Piratelast_matching - pirate7::Piratelastcmd - pirate7::PiratelegalChars - pirate7::Piratelocals_in_py - pirate7::PiratemultilineCommand - pirate7::PiratemultilineCommands - pirate7::PiratemultilineParser - pirate7::PiratenoSpecialParse - pirate7::Pirateold_completer - pirate7::Pirateonecmd - pirate7::Pirateonecmd_plus_hooks - pirate7::Pirateparsed - pirate7::Pirateparser - pirate7::Pirateperror - pirate7::Piratepfeedback - pirate7::Piratepostcmd - pirate7::Piratepostparse - pirate7::Piratepostparsing_postcmd - pirate7::Piratepostparsing_precmd - pirate7::Piratepoutput - pirate7::Pirateprecmd - pirate7::PirateprefixParser - pirate7::Piratepreparse - pirate7::Pirateprompt - pirate7::Piratepseudo_raw_input - pirate7::Piratepystate - pirate7::Piratequiet - pirate7::Pirateread_file_or_url - pirate7::Pirateredirect - pirate7::Pirateredirect_output - pirate7::Pirateredirector - pirate7::Piratereserved_words - pirate7::Piraterestore_output - pirate7::Piraterun_commands_at_invocation - pirate7::PiraterunTranscriptTests - pirate7::Piratesaveparser - pirate7::Pirateselect - pirate7::Piratesettable - pirate7::Pirateshortcuts - pirate7::Pirateshortcuts - pirate7::PiratesingleLineParser - pirate7::Piratesongcolor - pirate7::Piratestdin - pirate7::Piratestdout - pirate7::Pirateterminators - pirate7::Piratetiming - pirate7::Pirateurlre - pirate7::Pirateuse_rawinput - - - diff --git a/doxygen/xml/classpirate8_1_1Pirate.xml b/doxygen/xml/classpirate8_1_1Pirate.xml deleted file mode 100644 index 10bed1f..0000000 --- a/doxygen/xml/classpirate8_1_1Pirate.xml +++ /dev/null @@ -1,467 +0,0 @@ - - - - pirate8::Pirate - cmd2::Cmd - - - string - string pirate8::Pirate::action - - action - "store_true" - - - - - - - - - - - pirate8::Pirate::default_to_shell - - default_to_shell - default_to_shell - True - - - - - - - - - - int - int pirate8::Pirate::gold - - gold - 3 - - - - - - - - do_drink - do_loot - postcmd - precmd - - - string - string pirate8::Pirate::help - - help - help - "How often to chant 'ho'" - - - - - - - - - - list - list pirate8::Pirate::multilineCommands - - multilineCommands - multilineCommands - ['sing'] - - - - - - - - - - string - string pirate8::Pirate::prompt - - prompt - prompt - 'arrr> ' - - - - - - - - - - string - string pirate8::Pirate::settable - - settable - settable - 'songcolor Color to ``sing`` in (red/blue/green/cyan/magenta, bold, underline)' - - - - - - - - - - string - string pirate8::Pirate::songcolor - - songcolor - 'blue' - - - - - - - - do_sing - - - list - list pirate8::Pirate::terminators - - terminators - terminators - Cmd.terminators+['...'] - - - - - - - - - - - - - pirate8::Pirate::initial_gold - - initial_gold - - - - - - - - postcmd - precmd - - - - - def - def pirate8::Pirate::default - - default - - - - - - - - cmd2::Cmd::_default - - - def - def pirate8::Pirate::do_drink - - do_drink - - - -Drown your sorrrows in rrrum. - -drink [n] - drink [n] barrel[s] o' rum. - - - - pirate2::Pirate::gold - gold - pirate7::Pirate::gold - pirate6::Pirate::gold - pirate5::Pirate::gold - pirate4::Pirate::gold - pirate3::Pirate::gold - - - def - def pirate8::Pirate::do_loot - - do_loot - - - - - - - - pirate2::Pirate::gold - gold - pirate7::Pirate::gold - pirate6::Pirate::gold - pirate5::Pirate::gold - pirate4::Pirate::gold - pirate3::Pirate::gold - - - def - def pirate8::Pirate::do_quit - - do_quit - do_quit - - - - - - - - - - def - def pirate8::Pirate::do_sing - - do_sing - - - - - - - - cmd2::Cmd::colorize - cmd2::options - songcolor - pirate7::Pirate::songcolor - - - def - def pirate8::Pirate::do_yo - - do_yo - - - - - - - - - - def - def pirate8::Pirate::postcmd - - postcmd - - - - - - - - pirate2::Pirate::gold - pirate3::Pirate::gold - pirate5::Pirate::gold - pirate6::Pirate::gold - pirate4::Pirate::gold - pirate7::Pirate::gold - gold - pirate3::Pirate::initial_gold - pirate4::Pirate::initial_gold - pirate5::Pirate::initial_gold - pirate7::Pirate::initial_gold - initial_gold - pirate6::Pirate::initial_gold - cmd2::Cmd::onecmd_plus_hooks - - - def - def pirate8::Pirate::precmd - - precmd - - - - - - - - pirate2::Pirate::gold - pirate3::Pirate::gold - pirate4::Pirate::gold - pirate5::Pirate::gold - pirate6::Pirate::gold - pirate7::Pirate::gold - gold - pirate3::Pirate::initial_gold - pirate4::Pirate::initial_gold - pirate5::Pirate::initial_gold - pirate7::Pirate::initial_gold - initial_gold - pirate6::Pirate::initial_gold - cmd2::Cmd::onecmd_plus_hooks - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - pirate8::Pirate__init__ - pirate8::Pirateabbrev - pirate8::Pirateaction - pirate8::PirateblankLinesAllowed - pirate8::PirateblankLineTerminationParser - pirate8::PirateblankLineTerminator - pirate8::Piratecase_insensitive - pirate8::Piratecmdloop - pirate8::Piratecolorcodes - pirate8::Piratecolorize - pirate8::Piratecolors - pirate8::PiratecommentGrammars - pirate8::PiratecommentInProgress - pirate8::Piratecomplete_statement - pirate8::Piratecontinuation_prompt - pirate8::Piratecontinuation_prompt - pirate8::Piratecurrent_script_dir - pirate8::Piratedebug - pirate8::Piratedefault - pirate8::Piratedefault_file_name - pirate8::Piratedefault_to_shell - pirate8::PiratedefaultExtension - pirate8::Piratedo__load - pirate8::Piratedo__relative_load - pirate8::Piratedo_cmdenvironment - pirate8::Piratedo_drink - pirate8::Piratedo_ed - pirate8::Piratedo_edit - pirate8::Piratedo_eof - pirate8::Piratedo_EOF - pirate8::Piratedo_exit - pirate8::Piratedo_help - pirate8::Piratedo_hi - pirate8::Piratedo_history - pirate8::Piratedo_l - pirate8::Piratedo_li - pirate8::Piratedo_list - pirate8::Piratedo_load - pirate8::Piratedo_loot - pirate8::Piratedo_pause - pirate8::Piratedo_py - pirate8::Piratedo_q - pirate8::Piratedo_quit - pirate8::Piratedo_r - pirate8::Piratedo_run - pirate8::Piratedo_save - pirate8::Piratedo_set - pirate8::Piratedo_shell - pirate8::Piratedo_shortcuts - pirate8::Piratedo_show - pirate8::Piratedo_sing - pirate8::Piratedo_yo - pirate8::Pirateecho - pirate8::Pirateeditor - pirate8::Pirateeditor - pirate8::PirateexcludeFromHistory - pirate8::Piratefeedback_to_output - pirate8::Piratefileimport - pirate8::Piratefunc_named - pirate8::Pirategold - pirate8::Piratehelp - pirate8::Piratehistory - pirate8::Pirateinitial_gold - pirate8::Pirateinitial_stdout - pirate8::PirateinputParser - pirate8::Pirateintro - pirate8::Piratekept_state - pirate8::Piratekept_sys - pirate8::Piratekeywords - pirate8::Piratelast_matching - pirate8::Piratelastcmd - pirate8::PiratelegalChars - pirate8::Piratelocals_in_py - pirate8::PiratemultilineCommand - pirate8::PiratemultilineCommands - pirate8::PiratemultilineParser - pirate8::PiratenoSpecialParse - pirate8::Pirateold_completer - pirate8::Pirateonecmd - pirate8::Pirateonecmd_plus_hooks - pirate8::Pirateparsed - pirate8::Pirateparser - pirate8::Pirateperror - pirate8::Piratepfeedback - pirate8::Piratepostcmd - pirate8::Piratepostparse - pirate8::Piratepostparsing_postcmd - pirate8::Piratepostparsing_precmd - pirate8::Piratepoutput - pirate8::Pirateprecmd - pirate8::PirateprefixParser - pirate8::Piratepreparse - pirate8::Pirateprompt - pirate8::Piratepseudo_raw_input - pirate8::Piratepystate - pirate8::Piratequiet - pirate8::Pirateread_file_or_url - pirate8::Pirateredirect - pirate8::Pirateredirect_output - pirate8::Pirateredirector - pirate8::Piratereserved_words - pirate8::Piraterestore_output - pirate8::Piraterun_commands_at_invocation - pirate8::PiraterunTranscriptTests - pirate8::Piratesaveparser - pirate8::Pirateselect - pirate8::Piratesettable - pirate8::Pirateshortcuts - pirate8::Pirateshortcuts - pirate8::PiratesingleLineParser - pirate8::Piratesongcolor - pirate8::Piratestdin - pirate8::Piratestdout - pirate8::Pirateterminators - pirate8::Piratetiming - pirate8::Pirateurlre - pirate8::Pirateuse_rawinput - - - diff --git a/doxygen/xml/classpirate8_1_1_pirate.xml b/doxygen/xml/classpirate8_1_1_pirate.xml deleted file mode 100644 index 7e9726f..0000000 --- a/doxygen/xml/classpirate8_1_1_pirate.xml +++ /dev/null @@ -1,413 +0,0 @@ - - - - pirate8::Pirate - cmd2::Cmd - - - int - int pirate8::Pirate::gold - - gold - 3 - - - - - - - - - - string - string pirate8::Pirate::prompt - - prompt - prompt - 'arrr> ' - - - - - - - - - - - pirate8::Pirate::default_to_shell - - default_to_shell - default_to_shell - True - - - - - - - - - - list - list pirate8::Pirate::multilineCommands - - multilineCommands - multilineCommands - ['sing'] - - - - - - - - - - list - list pirate8::Pirate::terminators - - terminators - terminators - Cmd.terminators+['...'] - - - - - - - - - - string - string pirate8::Pirate::songcolor - - songcolor - 'blue' - - - - - - - - - - string - string pirate8::Pirate::settable - - settable - settable - 'songcolor Color to ``sing`` in (red/blue/green/cyan/magenta, bold, underline)' - - - - - - - - - - string - string pirate8::Pirate::help - - help - help - "How often to chant 'ho'" - - - - - - - - - - string - string pirate8::Pirate::action - - action - "store_true" - - - - - - - - - - - - - pirate8::Pirate::initial_gold - - initial_gold - - - - - - - - - - - - def - def pirate8::Pirate::default - - default - - - - - - - - - - def - def pirate8::Pirate::do_loot - - do_loot - - - - - - - - - - def - def pirate8::Pirate::do_drink - - do_drink - - - -Drown your sorrrows in rrrum. - -drink [n] - drink [n] barrel[s] o' rum. - - - - - - def - def pirate8::Pirate::precmd - - precmd - - - - - - - - - - def - def pirate8::Pirate::postcmd - - postcmd - - - - - - - - - - def - def pirate8::Pirate::do_quit - - do_quit - do_quit - - - - - - - - - - def - def pirate8::Pirate::do_sing - - do_sing - - - - - - - - - - def - def pirate8::Pirate::do_yo - - do_yo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - pirate8::Pirate__init__ - pirate8::Pirateabbrev - pirate8::Pirateaction - pirate8::PirateblankLinesAllowed - pirate8::PirateblankLineTerminationParser - pirate8::PirateblankLineTerminator - pirate8::Piratecase_insensitive - pirate8::Piratecmdloop - pirate8::Piratecolorcodes - pirate8::Piratecolorize - pirate8::Piratecolors - pirate8::PiratecommentGrammars - pirate8::PiratecommentInProgress - pirate8::Piratecomplete_statement - pirate8::Piratecontinuation_prompt - pirate8::Piratecontinuation_prompt - pirate8::Piratecurrent_script_dir - pirate8::Piratedebug - pirate8::Piratedefault - pirate8::Piratedefault_file_name - pirate8::Piratedefault_to_shell - pirate8::PiratedefaultExtension - pirate8::Piratedo__load - pirate8::Piratedo__relative_load - pirate8::Piratedo_cmdenvironment - pirate8::Piratedo_drink - pirate8::Piratedo_ed - pirate8::Piratedo_edit - pirate8::Piratedo_eof - pirate8::Piratedo_EOF - pirate8::Piratedo_exit - pirate8::Piratedo_help - pirate8::Piratedo_hi - pirate8::Piratedo_history - pirate8::Piratedo_l - pirate8::Piratedo_li - pirate8::Piratedo_list - pirate8::Piratedo_load - pirate8::Piratedo_loot - pirate8::Piratedo_pause - pirate8::Piratedo_py - pirate8::Piratedo_q - pirate8::Piratedo_quit - pirate8::Piratedo_r - pirate8::Piratedo_run - pirate8::Piratedo_save - pirate8::Piratedo_set - pirate8::Piratedo_shell - pirate8::Piratedo_shortcuts - pirate8::Piratedo_show - pirate8::Piratedo_sing - pirate8::Piratedo_yo - pirate8::Pirateecho - pirate8::Pirateeditor - pirate8::Pirateeditor - pirate8::PirateexcludeFromHistory - pirate8::Piratefeedback_to_output - pirate8::Piratefileimport - pirate8::Piratefunc_named - pirate8::Pirategold - pirate8::Piratehelp - pirate8::Piratehistory - pirate8::Pirateinitial_gold - pirate8::Pirateinitial_stdout - pirate8::PirateinputParser - pirate8::Pirateintro - pirate8::Piratekept_state - pirate8::Piratekept_sys - pirate8::Piratekeywords - pirate8::Piratelast_matching - pirate8::Piratelastcmd - pirate8::PiratelegalChars - pirate8::Piratelocals_in_py - pirate8::PiratemultilineCommand - pirate8::PiratemultilineCommands - pirate8::PiratemultilineParser - pirate8::PiratenoSpecialParse - pirate8::Pirateold_completer - pirate8::Pirateonecmd - pirate8::Pirateonecmd_plus_hooks - pirate8::Pirateparsed - pirate8::Pirateparser - pirate8::Pirateperror - pirate8::Piratepfeedback - pirate8::Piratepostcmd - pirate8::Piratepostparse - pirate8::Piratepostparsing_postcmd - pirate8::Piratepostparsing_precmd - pirate8::Piratepoutput - pirate8::Pirateprecmd - pirate8::PirateprefixParser - pirate8::Piratepreparse - pirate8::Pirateprompt - pirate8::Piratepseudo_raw_input - pirate8::Piratepystate - pirate8::Piratequiet - pirate8::Pirateread_file_or_url - pirate8::Pirateredirect - pirate8::Pirateredirect_output - pirate8::Pirateredirector - pirate8::Piratereserved_words - pirate8::Piraterestore_output - pirate8::Piraterun_commands_at_invocation - pirate8::PiraterunTranscriptTests - pirate8::Piratesaveparser - pirate8::Pirateselect - pirate8::Piratesettable - pirate8::Pirateshortcuts - pirate8::Pirateshortcuts - pirate8::PiratesingleLineParser - pirate8::Piratesongcolor - pirate8::Piratestdin - pirate8::Piratestdout - pirate8::Pirateterminators - pirate8::Piratetiming - pirate8::Pirateurlre - pirate8::Pirateuse_rawinput - - - diff --git a/doxygen/xml/classpirate_1_1Pirate.xml b/doxygen/xml/classpirate_1_1Pirate.xml deleted file mode 100644 index 0173d1a..0000000 --- a/doxygen/xml/classpirate_1_1Pirate.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - pirate::Pirate - Cmd - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/doxygen/xml/classpirate_1_1_pirate.xml b/doxygen/xml/classpirate_1_1_pirate.xml deleted file mode 100644 index e54d031..0000000 --- a/doxygen/xml/classpirate_1_1_pirate.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - pirate::Pirate - Cmd - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/doxygen/xml/cmd2_8py.xml b/doxygen/xml/cmd2_8py.xml deleted file mode 100644 index a3809ce..0000000 --- a/doxygen/xml/cmd2_8py.xml +++ /dev/null @@ -1,1621 +0,0 @@ - - - - cmd2.py - cmd2::Borg - cmd2::Cmd - cmd2::Cmd2TestCase - cmd2::EmbeddedConsoleExit - cmd2::EmptyStatement - cmd2::History - cmd2::HistoryItem - cmd2::NotSettableError - cmd2::OptionParser - cmd2::OutputTrap - cmd2::ParsedString - cmd2::PasteBufferError - cmd2::Statekeeper - cmd2::StubbornDict - cmd2 - - - - - -"""Variantonstandardlibrary'scmdwithextrafeatures. - -Touse,simplyimportcmd2.Cmdinsteadofcmd.Cmd;usepreciselyasthoughyou -wereusingthestandardlibrary'scmd,whileenjoyingtheextrafeatures. - -Searchablecommandhistory(commands:"hi","li","run") -Loadcommandsfromfile,savetofile,editcommandsinfile -Multi-linecommands -Case-insensitivecommands -Special-charactershortcutcommands(beyondcmd's"@"and"!") -Settableenvironmentparameters -Optional_onchange_{paramname}calledwhenenvironmentparameterchanges -Parsingcommandswith`optparse`options(flags) -Redirectiontofilewith>,>>;inputfromfilewith< -Easytranscript-basedtestingofapplications(seeexample/example.py) -Bash-style``select``available - -Notethatredirectionwith>and|willonlyworkif`self.stdout.write()` -isusedinplaceof`print`.Thestandardlibrary's`cmd`moduleis -writtentouse`self.stdout.write()`, - --CatherineDevlin,Jan032008-catherinedevlin.blogspot.com - -mercurialrepositoryathttp://www.assembla.com/wiki/show/python-cmd2 -""" -importcmd -importre -importos -importsys -importoptparse -importsubprocess -importtempfile -importdoctest -importunittest -importdatetime -importurllib -importglob -importtraceback -importplatform -importcopy -fromcodeimportInteractiveConsole,InteractiveInterpreter -fromoptparseimportmake_option -importpyparsing - -__version__='0.6.4' - -ifsys.version_info[0]==2: -pyparsing.ParserElement.enablePackrat() - -""" -PackratiscausingPython3errorsthatIdon'tunderstand. - ->/usr/local/Cellar/python3/3.2/lib/python3.2/site-packages/pyparsing-1.5.6-py3.2.egg/pyparsing.py(999)scanString() -->nextLoc,tokens=parseFn(instring,preloc,callPreParse=False) -(Pdb)n -NameError:globalname'exc'isnotdefined - -(Pdb)parseFn -<boundmethodOr._parseCacheof{Pythonstylecomment^Cstylecomment}> - -Bugreportfiled:https://sourceforge.net/tracker/?func=detail&atid=617311&aid=3381439&group_id=97203 -""" - -classOptionParser(optparse.OptionParser): -defexit(self,status=0,msg=None): -self.values._exit=True -ifmsg: -print(msg) - -defprint_help(self,*args,**kwargs): -try: -print(self._func.__doc__) -exceptAttributeError: -pass -optparse.OptionParser.print_help(self,*args,**kwargs) - -deferror(self,msg): -"""error(msg:string) - -Printausagemessageincorporating'msg'tostderrandexit. -Ifyouoverridethisinasubclass,itshouldnotreturn--it -shouldeitherexitorraiseanexception. -""" -raiseoptparse.OptParseError(msg) - -defremaining_args(oldArgs,newArgList): -''' -Preservesthespacingoriginallyintheargumentafter -theremovalofoptions. - ->>>remaining_args('-fbarbarcow',['bar','cow']) -'barcow' -''' -pattern='\s+'.join(re.escape(a)forainnewArgList)+'\s*$' -matchObj=re.search(pattern,oldArgs) -returnoldArgs[matchObj.start():] - -def_attr_get_(obj,attr): -'''Returnsanattribute'svalue,orNone(noerror)ifundefined. -Analagousto.get()fordictionaries.Usefulwhencheckingfor -valueofoptionsthatmaynothavebeendefinedonagiven -method.''' -try: -returngetattr(obj,attr) -exceptAttributeError: -returnNone - -optparse.Values.get=_attr_get_ - -options_defined=[]#usedtodistinguish--optionsfromSQL-style--comments - -defoptions(option_list,arg_desc="arg"): -'''Usedasadecoratorandpassedalistofoptparse-styleoptions, -altersacmd2methodtopopulateits``opts``argumentfromits -rawtextargument. - -Example:transform -defdo_something(self,arg): - -into -@options([make_option('-q','--quick',action="store_true", -help="Makesthingsfast")], -"sourcedest") -defdo_something(self,arg,opts): -ifopts.quick: -self.fast_button=True -''' -ifnotisinstance(option_list,list): -option_list=[option_list] -foroptinoption_list: -options_defined.append(pyparsing.Literal(opt.get_opt_string())) -defoption_setup(func): -optionParser=OptionParser() -foroptinoption_list: -optionParser.add_option(opt) -optionParser.set_usage("%s[options]%s"%(func.__name__[3:],arg_desc)) -optionParser._func=func -defnew_func(instance,arg): -try: -opts,newArgList=optionParser.parse_args(arg.split()) -#Mustfindtheremainingargsintheoriginalargumentlist,but -#mustn'tincludethecommanditself -#ifhasattr(arg,'parsed')andnewArgList[0]==arg.parsed.command: -#newArgList=newArgList[1:] -newArgs=remaining_args(arg,newArgList) -ifisinstance(arg,ParsedString): -arg=arg.with_args_replaced(newArgs) -else: -arg=newArgs -exceptoptparse.OptParseError,e: -print(e) -optionParser.print_help() -return -ifhasattr(opts,'_exit'): -returnNone -result=func(instance,arg,opts) -returnresult -new_func.__doc__='%s\n%s'%(func.__doc__,optionParser.format_help()) -returnnew_func -returnoption_setup - -classPasteBufferError(EnvironmentError): -ifsys.platform[:3]=='win': -errmsg="""Redirectingtoorfrompastebufferrequirespywin32 -tobeinstalledonoperatingsystem. -Downloadfromhttp://sourceforge.net/projects/pywin32/""" -elifsys.platform[:3]=='dar': -#UsebuiltinpbcopyonMacOSX -pass -else: -errmsg="""Redirectingtoorfrompastebufferrequiresxclip -tobeinstalledonoperatingsystem. -OnDebian/Ubuntu,'sudoapt-getinstallxclip'willinstallit.""" -def__init__(self): -Exception.__init__(self,self.errmsg) - -pastebufferr="""Redirectingtoorfrompastebufferrequires%s -tobeinstalledonoperatingsystem. -%s""" - -ifsubprocess.mswindows: -try: -importwin32clipboard -defget_paste_buffer(): -win32clipboard.OpenClipboard(0) -try: -result=win32clipboard.GetClipboardData() -exceptTypeError: -result=''#non-text -win32clipboard.CloseClipboard() -returnresult -defwrite_to_paste_buffer(txt): -win32clipboard.OpenClipboard(0) -win32clipboard.EmptyClipboard() -win32clipboard.SetClipboardText(txt) -win32clipboard.CloseClipboard() -exceptImportError: -defget_paste_buffer(*args): -raiseOSError,pastebufferr%('pywin32','Downloadfromhttp://sourceforge.net/projects/pywin32/') -write_to_paste_buffer=get_paste_buffer -elifsys.platform=='darwin': -can_clip=False -try: -#testforpbcopy-AFAIK,shouldalwaysbeinstalledonMacOS -subprocess.check_call('pbcopy-help',shell=True,stdout=subprocess.PIPE,stdin=subprocess.PIPE,stderr=subprocess.PIPE) -can_clip=True -except(subprocess.CalledProcessError,OSError,IOError): -pass -ifcan_clip: -defget_paste_buffer(): -pbcopyproc=subprocess.Popen('pbcopy-help',shell=True,stdout=subprocess.PIPE,stdin=subprocess.PIPE,stderr=subprocess.PIPE) -returnpbcopyproc.stdout.read() -defwrite_to_paste_buffer(txt): -pbcopyproc=subprocess.Popen('pbcopy',shell=True,stdout=subprocess.PIPE,stdin=subprocess.PIPE,stderr=subprocess.PIPE) -pbcopyproc.communicate(txt.encode()) -else: -defget_paste_buffer(*args): -raiseOSError,pastebufferr%('pbcopy','OnMacOSX-errorshouldnotoccur-partofthedefaultinstallation') -write_to_paste_buffer=get_paste_buffer -else: -can_clip=False -try: -subprocess.check_call('xclip-o-selclip',shell=True,stdout=subprocess.PIPE,stdin=subprocess.PIPE,stderr=subprocess.PIPE) -can_clip=True -exceptAttributeError:#check_callnotdefined,Python<2.5 -try: -teststring='Testingforpresenceofxclip.' -xclipproc=subprocess.Popen('xclip-selclip',shell=True,stdout=subprocess.PIPE,stdin=subprocess.PIPE) -xclipproc.stdin.write(teststring) -xclipproc.stdin.close() -xclipproc=subprocess.Popen('xclip-o-selclip',shell=True,stdout=subprocess.PIPE,stdin=subprocess.PIPE) -ifxclipproc.stdout.read()==teststring: -can_clip=True -exceptException:#hateabareExceptioncall,butexceptionclassesvarytoomuchb/tstdlibversions -pass -exceptException: -pass#somethingwentwrongwithxclipandwecannotuseit -ifcan_clip: -defget_paste_buffer(): -xclipproc=subprocess.Popen('xclip-o-selclip',shell=True,stdout=subprocess.PIPE,stdin=subprocess.PIPE) -returnxclipproc.stdout.read() -defwrite_to_paste_buffer(txt): -xclipproc=subprocess.Popen('xclip-selclip',shell=True,stdout=subprocess.PIPE,stdin=subprocess.PIPE) -xclipproc.stdin.write(txt.encode()) -xclipproc.stdin.close() -#butwewantitinboththe"primary"and"mouse"clipboards -xclipproc=subprocess.Popen('xclip',shell=True,stdout=subprocess.PIPE,stdin=subprocess.PIPE) -xclipproc.stdin.write(txt.encode()) -xclipproc.stdin.close() -else: -defget_paste_buffer(*args): -raiseOSError,pastebufferr%('xclip','OnDebian/Ubuntu,installwith"sudoapt-getinstallxclip"') -write_to_paste_buffer=get_paste_buffer - -pyparsing.ParserElement.setDefaultWhitespaceChars('\t') - -classParsedString(str): -deffull_parsed_statement(self): -new=ParsedString('%s%s'%(self.parsed.command,self.parsed.args)) -new.parsed=self.parsed -new.parser=self.parser -returnnew -defwith_args_replaced(self,newargs): -new=ParsedString(newargs) -new.parsed=self.parsed -new.parser=self.parser -new.parsed['args']=newargs -new.parsed.statement['args']=newargs -returnnew - -classStubbornDict(dict): -'''Dictionarythattoleratesmanyinputformats. -CreateitwithstubbornDict(arg)factoryfunction. - ->>>d=StubbornDict(large='gross',small='klein') ->>>sorted(d.items()) -[('large','gross'),('small','klein')] ->>>d.append(['plain','plaid']) ->>>sorted(d.items()) -[('large','gross'),('plaid',''),('plain',''),('small','klein')] ->>>d+='girlFrauelein,Maedchen\\n\\nshoeschuh' ->>>sorted(d.items()) -[('girl','Frauelein,Maedchen'),('large','gross'),('plaid',''),('plain',''),('shoe','schuh'),('small','klein')] -''' -defupdate(self,arg): -dict.update(self,StubbornDict.to_dict(arg)) -append=update -def__iadd__(self,arg): -self.update(arg) -returnself -def__add__(self,arg): -selfcopy=copy.copy(self) -selfcopy.update(stubbornDict(arg)) -returnselfcopy -def__radd__(self,arg): -selfcopy=copy.copy(self) -selfcopy.update(stubbornDict(arg)) -returnselfcopy - -@classmethod -defto_dict(cls,arg): -'Generatesdictionaryfromstringorlistofstrings' -ifhasattr(arg,'splitlines'): -arg=arg.splitlines() -ifhasattr(arg,'__reversed__'): -result={} -forainarg: -a=a.strip() -ifa: -key_val=a.split(None,1) -key=key_val[0] -iflen(key_val)>1: -val=key_val[1] -else: -val='' -result[key]=val -else: -result=arg -returnresult - -defstubbornDict(*arg,**kwarg): -''' ->>>sorted(stubbornDict('cowabovine\\nhorseanequine').items()) -[('cow','abovine'),('horse','anequine')] ->>>sorted(stubbornDict(['badger','porcupineapokycreature']).items()) -[('badger',''),('porcupine','apokycreature')] ->>>sorted(stubbornDict(turtle='hasshell',frog='jumpy').items()) -[('frog','jumpy'),('turtle','hasshell')] -''' -result={} -forainarg: -result.update(StubbornDict.to_dict(a)) -result.update(kwarg) -returnStubbornDict(result) - -defreplace_with_file_contents(fname): -iffname: -try: -result=open(os.path.expanduser(fname[0])).read() -exceptIOError: -result='<%s'%fname[0]#wasn'tafileafterall -else: -result=get_paste_buffer() -returnresult - -classEmbeddedConsoleExit(SystemExit): -pass - -classEmptyStatement(Exception): -pass - -defljust(x,width,fillchar=''): -'analogoustostr.ljust,butworksforlists' -ifhasattr(x,'ljust'): -returnx.ljust(width,fillchar) -else: -iflen(x)<width: -x=(x+[fillchar]*width)[:width] -returnx - -classCmd(cmd.Cmd): -echo=False -case_insensitive=True#Commandsrecognizedregardlessofcase -continuation_prompt='>' -timing=False#Printselapsedtimeforeachcommand -#makesureyourterminatorsarenotinlegalChars! -legalChars=u'!#$%.:?@_'+pyparsing.alphanums+pyparsing.alphas8bit -shortcuts={'?':'help','!':'shell','@':'load','@@':'_relative_load'} -excludeFromHistory='''runrlistlhistoryhiededitlieof'''.split() -default_to_shell=False -noSpecialParse='setededitexit'.split() -defaultExtension='txt'#For``save``,``load``,etc. -default_file_name='command.txt'#For``save``,``load``,etc. -abbrev=True#Abbreviatedcommandsrecognized -current_script_dir=None -reserved_words=[] -feedback_to_output=False#Doincludenonessentialsin>,|output -quiet=False#Donotsuppressnonessentialoutput -debug=False -locals_in_py=True -kept_state=None -redirector='>'#forsendingoutputtofile -settable=stubbornDict(''' -prompt -colorsColorizedoutput(*nixonly) -continuation_promptOn2nd+lineofinput -debugShowfullerrorstackonerror -default_file_namefor``save``,``load``,etc. -editorProgramusedby``edit`` -case_insensitiveupper-andlower-casebothOK -feedback_to_outputincludenonessentialsin`|`,`>`results -quietDon'tprintnonessentialfeedback -echoEchocommandissuedintooutput -timingReportexecutiontimes -abbrevAcceptabbreviatedcommands -''') - -defpoutput(self,msg): -'''Convenientshortcutforself.stdout.write();addsnewlineifnecessary.''' -ifmsg: -self.stdout.write(msg) -ifmsg[-1]!='\n': -self.stdout.write('\n') -defperror(self,errmsg,statement=None): -ifself.debug: -traceback.print_exc() -print(str(errmsg)) -defpfeedback(self,msg): -"""Forprintingnonessentialfeedback.Canbesilencedwith`quiet`. -Inclusioninredirectedoutputiscontrolledby`feedback_to_output`.""" -ifnotself.quiet: -ifself.feedback_to_output: -self.poutput(msg) -else: -print(msg) -_STOP_AND_EXIT=True#distinguishendofscriptfilefromactualexit -_STOP_SCRIPT_NO_EXIT=-999 -editor=os.environ.get('EDITOR') -ifnoteditor: -ifsys.platform[:3]=='win': -editor='notepad' -else: -foreditorin['gedit','kate','vim','emacs','nano','pico']: -ifsubprocess.Popen(['which',editor],stdout=subprocess.PIPE).communicate()[0]: -break - -colorcodes={'bold':{True:'\x1b[1m',False:'\x1b[22m'}, -'cyan':{True:'\x1b[36m',False:'\x1b[39m'}, -'blue':{True:'\x1b[34m',False:'\x1b[39m'}, -'red':{True:'\x1b[31m',False:'\x1b[39m'}, -'magenta':{True:'\x1b[35m',False:'\x1b[39m'}, -'green':{True:'\x1b[32m',False:'\x1b[39m'}, -'underline':{True:'\x1b[4m',False:'\x1b[24m'}} -colors=(platform.system()!='Windows') -defcolorize(self,val,color): -'''Givenastring(``val``),returnsthatstringwrappedinUNIX-style -specialcharactersthatturnon(andthenoff)textcolorandstyle. -Ifthe``colors``environmentparamteris``False``,ortheapplication -isrunningonWindows,willreturn``val``unchanged. -``color``shouldbeoneofthesupportedstrings(orstyles): -red/blue/green/cyan/magenta,bold,underline''' -ifself.colorsand(self.stdout==self.initial_stdout): -returnself.colorcodes[color][True]+val+self.colorcodes[color][False] -returnval - -defdo_cmdenvironment(self,args): -'''Summaryreportofinteractiveparameters.''' -self.stdout.write(""" -Commandsare%(casesensitive)scase-sensitive. -Commandsmaybeterminatedwith:%(terminators)s -Settableparameters:%(settable)s\n"""%\ -{'casesensitive':(self.case_insensitiveand'not')or'', -'terminators':str(self.terminators), -'settable':''.join(self.settable) -}) - -defdo_help(self,arg): -ifarg: -funcname=self.func_named(arg) -iffuncname: -fn=getattr(self,funcname) -try: -fn.optionParser.print_help(file=self.stdout) -exceptAttributeError: -cmd.Cmd.do_help(self,funcname[3:]) -else: -cmd.Cmd.do_help(self,arg) - -def__init__(self,*args,**kwargs): -cmd.Cmd.__init__(self,*args,**kwargs) -self.initial_stdout=sys.stdout -self.history=History() -self.pystate={} -self.shortcuts=sorted(self.shortcuts.items(),reverse=True) -self.keywords=self.reserved_words+[fname[3:]forfnameindir(self) -iffname.startswith('do_')] -self._init_parser() - -defdo_shortcuts(self,args): -"""Listssingle-keyshortcutsavailable.""" -result="\n".join('%s:%s'%(sc[0],sc[1])forscinsorted(self.shortcuts)) -self.stdout.write("Single-keyshortcutsforothercommands:\n%s\n"%(result)) - -prefixParser=pyparsing.Empty() -commentGrammars=pyparsing.Or([pyparsing.pythonStyleComment,pyparsing.cStyleComment]) -commentGrammars.addParseAction(lambdax:'') -commentInProgress=pyparsing.Literal('/*')+pyparsing.SkipTo( -pyparsing.stringEnd^'*/') -terminators=[';'] -blankLinesAllowed=False -multilineCommands=[] - -def_init_parser(self): -r''' ->>>c=Cmd() ->>>c.multilineCommands=['multiline'] ->>>c.case_insensitive=True ->>>c._init_parser() ->>>print(c.parser.parseString('').dump()) -[] ->>>print(c.parser.parseString('').dump()) -[] ->>>print(c.parser.parseString('/*emptycommand*/').dump()) -[] ->>>print(c.parser.parseString('plainword').dump()) -['plainword',''] --command:plainword --statement:['plainword',''] --command:plainword ->>>print(c.parser.parseString('termbare;').dump()) -['termbare','',';',''] --command:termbare --statement:['termbare','',';'] --command:termbare --terminator:; --terminator:; ->>>print(c.parser.parseString('termbare;suffx').dump()) -['termbare','',';','suffx'] --command:termbare --statement:['termbare','',';'] --command:termbare --terminator:; --suffix:suffx --terminator:; ->>>print(c.parser.parseString('barecommand').dump()) -['barecommand',''] --command:barecommand --statement:['barecommand',''] --command:barecommand ->>>print(c.parser.parseString('COMmandwithargs').dump()) -['command','withargs'] --args:withargs --command:command --statement:['command','withargs'] --args:withargs --command:command ->>>print(c.parser.parseString('commandwithargsandterminator;andsuffix').dump()) -['command','withargsandterminator',';','andsuffix'] --args:withargsandterminator --command:command --statement:['command','withargsandterminator',';'] --args:withargsandterminator --command:command --terminator:; --suffix:andsuffix --terminator:; ->>>print(c.parser.parseString('simple|piped').dump()) -['simple','','|','piped'] --command:simple --pipeTo:piped --statement:['simple',''] --command:simple ->>>print(c.parser.parseString('double-pipe||isnotapipe').dump()) -['double','-pipe||isnotapipe'] --args:-pipe||isnotapipe --command:double --statement:['double','-pipe||isnotapipe'] --args:-pipe||isnotapipe --command:double ->>>print(c.parser.parseString('commandwithargs,terminator;sufx|piped').dump()) -['command','withargs,terminator',';','sufx','|','piped'] --args:withargs,terminator --command:command --pipeTo:piped --statement:['command','withargs,terminator',';'] --args:withargs,terminator --command:command --terminator:; --suffix:sufx --terminator:; ->>>print(c.parser.parseString('outputinto>afile.txt').dump()) -['output','into','>','afile.txt'] --args:into --command:output --output:> --outputTo:afile.txt --statement:['output','into'] --args:into --command:output ->>>print(c.parser.parseString('outputinto;sufx|pipethrumeplz>afile.txt').dump()) -['output','into',';','sufx','|','pipethrumeplz','>','afile.txt'] --args:into --command:output --output:> --outputTo:afile.txt --pipeTo:pipethrumeplz --statement:['output','into',';'] --args:into --command:output --terminator:; --suffix:sufx --terminator:; ->>>print(c.parser.parseString('outputtopastebuffer>>').dump()) -['output','topastebuffer','>>',''] --args:topastebuffer --command:output --output:>> --statement:['output','topastebuffer'] --args:topastebuffer --command:output ->>>print(c.parser.parseString('ignorethe/*commented|>*/stuff;').dump()) -['ignore','the/*commented|>*/stuff',';',''] --args:the/*commented|>*/stuff --command:ignore --statement:['ignore','the/*commented|>*/stuff',';'] --args:the/*commented|>*/stuff --command:ignore --terminator:; --terminator:; ->>>print(c.parser.parseString('has>inside;').dump()) -['has','>inside',';',''] --args:>inside --command:has --statement:['has','>inside',';'] --args:>inside --command:has --terminator:; --terminator:; ->>>print(c.parser.parseString('multilinehas>insideanunfinishedcommand').dump()) -['multiline','has>insideanunfinishedcommand'] --multilineCommand:multiline ->>>print(c.parser.parseString('multilinehas>inside;').dump()) -['multiline','has>inside',';',''] --args:has>inside --multilineCommand:multiline --statement:['multiline','has>inside',';'] --args:has>inside --multilineCommand:multiline --terminator:; --terminator:; ->>>print(c.parser.parseString('multilinecommand/*withcommentinprogress;').dump()) -['multiline','command/*withcommentinprogress;'] --multilineCommand:multiline ->>>print(c.parser.parseString('multilinecommand/*withcommentcomplete*/isdone;').dump()) -['multiline','command/*withcommentcomplete*/isdone',';',''] --args:command/*withcommentcomplete*/isdone --multilineCommand:multiline --statement:['multiline','command/*withcommentcomplete*/isdone',';'] --args:command/*withcommentcomplete*/isdone --multilineCommand:multiline --terminator:; --terminator:; ->>>print(c.parser.parseString('multilinecommandends\n\n').dump()) -['multiline','commandends','\n','\n'] --args:commandends --multilineCommand:multiline --statement:['multiline','commandends','\n','\n'] --args:commandends --multilineCommand:multiline --terminator:['\n','\n'] --terminator:['\n','\n'] ->>>print(c.parser.parseString('multilinecommand"withterm;ends"now\n\n').dump()) -['multiline','command"withterm;ends"now','\n','\n'] --args:command"withterm;ends"now --multilineCommand:multiline --statement:['multiline','command"withterm;ends"now','\n','\n'] --args:command"withterm;ends"now --multilineCommand:multiline --terminator:['\n','\n'] --terminator:['\n','\n'] ->>>print(c.parser.parseString('whatif"quotedstrings/*seemto"startcomments?').dump()) -['what','if"quotedstrings/*seemto"startcomments?'] --args:if"quotedstrings/*seemto"startcomments? --command:what --statement:['what','if"quotedstrings/*seemto"startcomments?'] --args:if"quotedstrings/*seemto"startcomments? --command:what -''' -#outputParser=(pyparsing.Literal('>>')|(pyparsing.WordStart()+'>')|pyparsing.Regex('[^=]>'))('output') -outputParser=(pyparsing.Literal(self.redirector*2)|\ -(pyparsing.WordStart()+self.redirector)|\ -pyparsing.Regex('[^=]'+self.redirector))('output') - -terminatorParser=pyparsing.Or([(hasattr(t,'parseString')andt)orpyparsing.Literal(t)fortinself.terminators])('terminator') -stringEnd=pyparsing.stringEnd^'\nEOF' -self.multilineCommand=pyparsing.Or([pyparsing.Keyword(c,caseless=self.case_insensitive)forcinself.multilineCommands])('multilineCommand') -oneLineCommand=(~self.multilineCommand+pyparsing.Word(self.legalChars))('command') -pipe=pyparsing.Keyword('|',identChars='|') -self.commentGrammars.ignore(pyparsing.quotedString).setParseAction(lambdax:'') -doNotParse=self.commentGrammars|self.commentInProgress|pyparsing.quotedString -afterElements=\ -pyparsing.Optional(pipe+pyparsing.SkipTo(outputParser^stringEnd,ignore=doNotParse)('pipeTo'))+\ -pyparsing.Optional(outputParser+pyparsing.SkipTo(stringEnd,ignore=doNotParse).setParseAction(lambdax:x[0].strip())('outputTo')) -ifself.case_insensitive: -self.multilineCommand.setParseAction(lambdax:x[0].lower()) -oneLineCommand.setParseAction(lambdax:x[0].lower()) -ifself.blankLinesAllowed: -self.blankLineTerminationParser=pyparsing.NoMatch -else: -self.blankLineTerminator=(pyparsing.lineEnd+pyparsing.lineEnd)('terminator') -self.blankLineTerminator.setResultsName('terminator') -self.blankLineTerminationParser=((self.multilineCommand^oneLineCommand)+pyparsing.SkipTo(self.blankLineTerminator,ignore=doNotParse).setParseAction(lambdax:x[0].strip())('args')+self.blankLineTerminator)('statement') -self.multilineParser=(((self.multilineCommand^oneLineCommand)+pyparsing.SkipTo(terminatorParser,ignore=doNotParse).setParseAction(lambdax:x[0].strip())('args')+terminatorParser)('statement')+ -pyparsing.SkipTo(outputParser^pipe^stringEnd,ignore=doNotParse).setParseAction(lambdax:x[0].strip())('suffix')+afterElements) -self.multilineParser.ignore(self.commentInProgress) -self.singleLineParser=((oneLineCommand+pyparsing.SkipTo(terminatorParser^stringEnd^pipe^outputParser,ignore=doNotParse).setParseAction(lambdax:x[0].strip())('args'))('statement')+ -pyparsing.Optional(terminatorParser)+afterElements) -#self.multilineParser=self.multilineParser.setResultsName('multilineParser') -#self.singleLineParser=self.singleLineParser.setResultsName('singleLineParser') -self.blankLineTerminationParser=self.blankLineTerminationParser.setResultsName('statement') -self.parser=self.prefixParser+( -stringEnd| -self.multilineParser| -self.singleLineParser| -self.blankLineTerminationParser| -self.multilineCommand+pyparsing.SkipTo(stringEnd,ignore=doNotParse) -) -self.parser.ignore(self.commentGrammars) - -inputMark=pyparsing.Literal('<') -inputMark.setParseAction(lambdax:'') -fileName=pyparsing.Word(self.legalChars+'/\\') -inputFrom=fileName('inputFrom') -inputFrom.setParseAction(replace_with_file_contents) -#anot-entirely-satisfactorywayofdistinguishing<asin"importfrom"from< -#asin"lesserthan" -self.inputParser=inputMark+pyparsing.Optional(inputFrom)+pyparsing.Optional('>')+\ -pyparsing.Optional(fileName)+(pyparsing.stringEnd|'|') -self.inputParser.ignore(self.commentInProgress) - -defpreparse(self,raw,**kwargs): -returnraw -defpostparse(self,parseResult): -returnparseResult - -defparsed(self,raw,**kwargs): -ifisinstance(raw,ParsedString): -p=raw -else: -#preparseisanoverridablehook;defaultmakesnochanges -s=self.preparse(raw,**kwargs) -s=self.inputParser.transformString(s.lstrip()) -s=self.commentGrammars.transformString(s) -for(shortcut,expansion)inself.shortcuts: -ifs.lower().startswith(shortcut): -s=s.replace(shortcut,expansion+'',1) -break -result=self.parser.parseString(s) -result['raw']=raw -result['command']=result.multilineCommandorresult.command -result=self.postparse(result) -p=ParsedString(result.args) -p.parsed=result -p.parser=self.parsed -for(key,val)inkwargs.items(): -p.parsed[key]=val -returnp - -defpostparsing_precmd(self,statement): -stop=0 -returnstop,statement -defpostparsing_postcmd(self,stop): -returnstop - -deffunc_named(self,arg): -result=None -target='do_'+arg -iftargetindir(self): -result=target -else: -ifself.abbrev:#acceptshortenedversionsofcommands -funcs=[fnameforfnameinself.keywordsiffname.startswith(arg)] -iflen(funcs)==1: -result='do_'+funcs[0] -returnresult -defonecmd_plus_hooks(self,line): -#Theoutermostleveloftry/finallynestingcanbecondensedonce -#Python2.4supportcanbedropped. -stop=0 -try: -try: -statement=self.complete_statement(line) -(stop,statement)=self.postparsing_precmd(statement) -ifstop: -returnself.postparsing_postcmd(stop) -ifstatement.parsed.commandnotinself.excludeFromHistory: -self.history.append(statement.parsed.raw) -try: -self.redirect_output(statement) -timestart=datetime.datetime.now() -statement=self.precmd(statement) -stop=self.onecmd(statement) -stop=self.postcmd(stop,statement) -ifself.timing: -self.pfeedback('Elapsed:%s'%str(datetime.datetime.now()-timestart)) -finally: -self.restore_output(statement) -exceptEmptyStatement: -return0 -exceptException,e: -self.perror(str(e),statement) -finally: -returnself.postparsing_postcmd(stop) -defcomplete_statement(self,line): -"""Keepacceptinglinesofinputuntilthecommandiscomplete.""" -if(notline)or( -notpyparsing.Or(self.commentGrammars). -setParseAction(lambdax:'').transformString(line)): -raiseEmptyStatement -statement=self.parsed(line) -whilestatement.parsed.multilineCommandand(statement.parsed.terminator==''): -statement='%s\n%s'%(statement.parsed.raw, -self.pseudo_raw_input(self.continuation_prompt)) -statement=self.parsed(statement) -ifnotstatement.parsed.command: -raiseEmptyStatement -returnstatement - -defredirect_output(self,statement): -ifstatement.parsed.pipeTo: -self.kept_state=Statekeeper(self,('stdout',)) -self.kept_sys=Statekeeper(sys,('stdout',)) -self.redirect=subprocess.Popen(statement.parsed.pipeTo,shell=True,stdout=subprocess.PIPE,stdin=subprocess.PIPE) -sys.stdout=self.stdout=self.redirect.stdin -elifstatement.parsed.output: -if(notstatement.parsed.outputTo)and(notcan_clip): -raiseEnvironmentError('Cannotredirecttopastebuffer;install``xclip``andre-runtoenable') -self.kept_state=Statekeeper(self,('stdout',)) -self.kept_sys=Statekeeper(sys,('stdout',)) -ifstatement.parsed.outputTo: -mode='w' -ifstatement.parsed.output==2*self.redirector: -mode='a' -sys.stdout=self.stdout=open(os.path.expanduser(statement.parsed.outputTo),mode) -else: -sys.stdout=self.stdout=tempfile.TemporaryFile(mode="w+") -ifstatement.parsed.output=='>>': -self.stdout.write(get_paste_buffer()) - -defrestore_output(self,statement): -ifself.kept_state: -ifstatement.parsed.output: -ifnotstatement.parsed.outputTo: -self.stdout.seek(0) -write_to_paste_buffer(self.stdout.read()) -elifstatement.parsed.pipeTo: -forresultinself.redirect.communicate(): -self.kept_state.stdout.write(resultor'') -self.stdout.close() -self.kept_state.restore() -self.kept_sys.restore() -self.kept_state=None - -defonecmd(self,line): -"""Interprettheargumentasthoughithadbeentypedinresponse -totheprompt. - -Thismaybeoverridden,butshouldnotnormallyneedtobe; -seetheprecmd()andpostcmd()methodsforusefulexecutionhooks. -Thereturnvalueisaflagindicatingwhetherinterpretationof -commandsbytheinterpretershouldstop. - -This(`cmd2`)versionof`onecmd`alreadyoverride's`cmd`'s`onecmd`. - -""" -statement=self.parsed(line) -self.lastcmd=statement.parsed.raw -funcname=self.func_named(statement.parsed.command) -ifnotfuncname: -returnself._default(statement) -try: -func=getattr(self,funcname) -exceptAttributeError: -returnself._default(statement) -stop=func(statement) -returnstop - -def_default(self,statement): -arg=statement.full_parsed_statement() -ifself.default_to_shell: -result=os.system(arg) -ifnotresult: -returnself.postparsing_postcmd(None) -returnself.postparsing_postcmd(self.default(arg)) - -defpseudo_raw_input(self,prompt): -"""copiedfromcmd'scmdloop;likeraw_input,butaccountsforchangedstdin,stdout""" - -ifself.use_rawinput: -try: -line=raw_input(prompt) -exceptEOFError: -line='EOF' -else: -self.stdout.write(prompt) -self.stdout.flush() -line=self.stdin.readline() -ifnotlen(line): -line='EOF' -else: -ifline[-1]=='\n':#thiswasalwaystrueinCmd -line=line[:-1] -returnline - -def_cmdloop(self,intro=None): -"""Repeatedlyissueaprompt,acceptinput,parseaninitialprefix -offthereceivedinput,anddispatchtoactionmethods,passingthem -theremainderofthelineasargument. -""" - -#AnalmostperfectcopyfromCmd;however,thepseudo_raw_inputportion -#hasbeensplitoutsothatitcanbecalledseparately - -self.preloop() -ifself.use_rawinputandself.completekey: -try: -importreadline -self.old_completer=readline.get_completer() -readline.set_completer(self.complete) -readline.parse_and_bind(self.completekey+":complete") -exceptImportError: -pass -try: -ifintroisnotNone: -self.intro=intro -ifself.intro: -self.stdout.write(str(self.intro)+"\n") -stop=None -whilenotstop: -ifself.cmdqueue: -line=self.cmdqueue.pop(0) -else: -line=self.pseudo_raw_input(self.prompt) -if(self.echo)and(isinstance(self.stdin,file)): -self.stdout.write(line+'\n') -stop=self.onecmd_plus_hooks(line) -self.postloop() -finally: -ifself.use_rawinputandself.completekey: -try: -importreadline -readline.set_completer(self.old_completer) -exceptImportError: -pass -returnstop - -defdo_EOF(self,arg): -returnself._STOP_SCRIPT_NO_EXIT#Endofscript;shouldnotexitapp -do_eof=do_EOF - -defdo_quit(self,arg): -returnself._STOP_AND_EXIT -do_exit=do_quit -do_q=do_quit - -defselect(self,options,prompt='Yourchoice?'): -'''Presentsanumberedmenutotheuser.Modelledafter -thebashshell'sSELECT.Returnstheitemchosen. - -Argument``options``canbe: - -|asinglestring->willbesplitintoone-wordoptions -|alistofstrings->willbeofferedasoptions -|alistoftuples->interpretedas(value,text),so -thatthereturnvaluecandifferfrom -thetextadvertisedtotheuser''' -ifisinstance(options,basestring): -options=zip(options.split(),options.split()) -fulloptions=[] -foroptinoptions: -ifisinstance(opt,basestring): -fulloptions.append((opt,opt)) -else: -try: -fulloptions.append((opt[0],opt[1])) -exceptIndexError: -fulloptions.append((opt[0],opt[0])) -for(idx,(value,text))inenumerate(fulloptions): -self.poutput('%2d.%s\n'%(idx+1,text)) -whileTrue: -response=raw_input(prompt) -try: -response=int(response) -result=fulloptions[response-1][0] -break -exceptValueError: -pass#loopandaskagain -returnresult - -@options([make_option('-l','--long',action="store_true", -help="describefunctionofparameter")]) -defdo_show(self,arg,opts): -'''Showsvalueofaparameter.''' -param=arg.strip().lower() -result={} -maxlen=0 -forpinself.settable: -if(notparam)orp.startswith(param): -result[p]='%s:%s'%(p,str(getattr(self,p))) -maxlen=max(maxlen,len(result[p])) -ifresult: -forpinsorted(result): -ifopts.long: -self.poutput('%s#%s'%(result[p].ljust(maxlen),self.settable[p])) -else: -self.poutput(result[p]) -else: -raiseNotImplementedError("Parameter'%s'notsupported(type'show'forlistofparameters)."%param) - -defdo_set(self,arg): -''' -Setsacmd2parameter.Acceptsabbreviatedparameternamessolong -asthereisnoambiguity.Callwithoutargumentsforalistof -settableparameterswiththeirvalues.''' -try: -statement,paramName,val=arg.parsed.raw.split(None,2) -val=val.strip() -paramName=paramName.strip().lower() -ifparamNamenotinself.settable: -hits=[pforpinself.settableifp.startswith(paramName)] -iflen(hits)==1: -paramName=hits[0] -else: -returnself.do_show(paramName) -currentVal=getattr(self,paramName) -if(val[0]==val[-1])andval[0]in("'",'"'): -val=val[1:-1] -else: -val=cast(currentVal,val) -setattr(self,paramName,val) -self.stdout.write('%s-was:%s\nnow:%s\n'%(paramName,currentVal,val)) -ifcurrentVal!=val: -try: -onchange_hook=getattr(self,'_onchange_%s'%paramName) -onchange_hook(old=currentVal,new=val) -exceptAttributeError: -pass -except(ValueError,AttributeError,NotSettableError),e: -self.do_show(arg) - -defdo_pause(self,arg): -'DisplaysthespecifiedtextthenwaitsfortheusertopressRETURN.' -raw_input(arg+'\n') - -defdo_shell(self,arg): -'executeacommandasifattheOSprompt.' -os.system(arg) - -defdo_py(self,arg): -''' -py<command>:ExecutesaPythoncommand. -py:EntersinteractivePythonmode. -Endwith``Ctrl-D``(Unix)/``Ctrl-Z``(Windows),``quit()``,'`exit()``. -Non-pythoncommandscanbeissuedwith``cmd("yourcommand")``. -Runpythoncodefromexternalfileswith``run("filename.py")`` -''' -self.pystate['self']=self -arg=arg.parsed.raw[2:].strip() -localvars=(self.locals_in_pyandself.pystate)or{} -interp=InteractiveConsole(locals=localvars) -interp.runcode('importsys,os;sys.path.insert(0,os.getcwd())') -ifarg.strip(): -interp.runcode(arg) -else: -defquit(): -raiseEmbeddedConsoleExit -defonecmd_plus_hooks(arg): -returnself.onecmd_plus_hooks(arg+'\n') -defrun(arg): -try: -file=open(arg) -interp.runcode(file.read()) -file.close() -exceptIOError,e: -self.perror(e) -self.pystate['quit']=quit -self.pystate['exit']=quit -self.pystate['cmd']=onecmd_plus_hooks -self.pystate['run']=run -try: -cprt='Type"help","copyright","credits"or"license"formoreinformation.' -keepstate=Statekeeper(sys,('stdin','stdout')) -sys.stdout=self.stdout -sys.stdin=self.stdin -interp.interact(banner="Python%son%s\n%s\n(%s)\n%s"% -(sys.version,sys.platform,cprt,self.__class__.__name__,self.do_py.__doc__)) -exceptEmbeddedConsoleExit: -pass -keepstate.restore() - -@options([make_option('-s','--script',action="store_true",help="Scriptformat;noseparationlines"), -],arg_desc='(limitonwhichcommandstoinclude)') -defdo_history(self,arg,opts): -"""history[arg]:listspastcommandsissued - -|noarg:listall -|argisinteger:listonehistoryitem,byindex -|argisstring:stringsearch -|argis/enclosedinforward-slashes/:regularexpressionsearch -""" -ifarg: -history=self.history.get(arg) -else: -history=self.history -forhiinhistory: -ifopts.script: -self.poutput(hi) -else: -self.stdout.write(hi.pr()) -deflast_matching(self,arg): -try: -ifarg: -returnself.history.get(arg)[-1] -else: -returnself.history[-1] -exceptIndexError: -returnNone -defdo_list(self,arg): -"""list[arg]:listslastcommandissued - -noarg->listmostrecentcommand -argisinteger->listonehistoryitem,byindex -a..b,a:b,a:,..b->listspansfroma(orstart)tob(orend) -argisstring->listallcommandsmatchingstringsearch -argis/enclosedinforward-slashes/->regularexpressionsearch -""" -try: -history=self.history.span(argor'-1') -exceptIndexError: -history=self.history.search(arg) -forhiinhistory: -self.poutput(hi.pr()) - -do_hi=do_history -do_l=do_list -do_li=do_list - -defdo_ed(self,arg): -"""ed:editmostrecentcommandintexteditor -ed[N]:editnumberedcommandfromhistory -ed[filename]:editspecifiedfilename - -commandsarerunaftereditorisclosed. -"setedit(program-name)"orsetEDITORenvironmentvariable -tocontrolwhicheditingprogramisused.""" -ifnotself.editor: -raiseEnvironmentError("Pleaseuse'seteditor'tospecifyyourtexteditingprogramofchoice.") -filename=self.default_file_name -ifarg: -try: -buffer=self.last_matching(int(arg)) -exceptValueError: -filename=arg -buffer='' -else: -buffer=self.history[-1] - -ifbuffer: -f=open(os.path.expanduser(filename),'w') -f.write(bufferor'') -f.close() - -os.system('%s%s'%(self.editor,filename)) -self.do__load(filename) -do_edit=do_ed - -saveparser=(pyparsing.Optional(pyparsing.Word(pyparsing.nums)^'*')("idx")+ -pyparsing.Optional(pyparsing.Word(legalChars+'/\\'))("fname")+ -pyparsing.stringEnd) -defdo_save(self,arg): -"""`save[N][filename.ext]` - -Savescommandfromhistorytofile. - -|N=>Numberofcommand(fromhistory),or`*`; -|mostrecentcommandifomitted""" - -try: -args=self.saveparser.parseString(arg) -exceptpyparsing.ParseException: -self.perror('Couldnotunderstandsavetarget%s'%arg) -raiseSyntaxError(self.do_save.__doc__) -fname=args.fnameorself.default_file_name -ifargs.idx=='*': -saveme='\n\n'.join(self.history[:]) -elifargs.idx: -saveme=self.history[int(args.idx)-1] -else: -saveme=self.history[-1] -try: -f=open(os.path.expanduser(fname),'w') -f.write(saveme) -f.close() -self.pfeedback('Savedto%s'%(fname)) -exceptException,e: -self.perror('Errorsaving%s'%(fname)) -raise - -defread_file_or_url(self,fname): -#TODO:notworkingonlocalhost -ifisinstance(fname,file): -result=open(fname,'r') -else: -match=self.urlre.match(fname) -ifmatch: -result=urllib.urlopen(match.group(1)) -else: -fname=os.path.expanduser(fname) -try: -result=open(os.path.expanduser(fname),'r') -exceptIOError: -result=open('%s.%s'%(os.path.expanduser(fname), -self.defaultExtension),'r') -returnresult - -defdo__relative_load(self,arg=None): -''' -RunscommandsinscriptatfileorURL;ifthisiscalledfromwithinan -already-runningscript,thefilenamewillbeinterpretedrelativetothe -already-runningscript'sdirectory.''' -ifarg: -arg=arg.split(None,1) -targetname,args=arg[0],(arg[1:]or[''])[0] -targetname=os.path.join(self.current_script_diror'',targetname) -self.do__load('%s%s'%(targetname,args)) - -urlre=re.compile('(https?://[-\\w\\./]+)') -defdo_load(self,arg=None): -"""Runsscriptofcommand(s)fromafileorURL.""" -ifargisNone: -targetname=self.default_file_name -else: -arg=arg.split(None,1) -targetname,args=arg[0],(arg[1:]or[''])[0].strip() -try: -target=self.read_file_or_url(targetname) -exceptIOError,e: -self.perror('Problemaccessingscriptfrom%s:\n%s'%(targetname,e)) -return -keepstate=Statekeeper(self,('stdin','use_rawinput','prompt', -'continuation_prompt','current_script_dir')) -self.stdin=target -self.use_rawinput=False -self.prompt=self.continuation_prompt='' -self.current_script_dir=os.path.split(targetname)[0] -stop=self._cmdloop() -self.stdin.close() -keepstate.restore() -self.lastcmd='' -returnstopand(stop!=self._STOP_SCRIPT_NO_EXIT) -do__load=do_load#avoidanunfortunatelegacyuseofdo_loadfromsqlpython - -defdo_run(self,arg): -"""run[arg]:re-runsanearliercommand - -noarg->runmostrecentcommand -argisinteger->runonehistoryitem,byindex -argisstring->runmostrecentcommandbystringsearch -argis/enclosedinforward-slashes/->runmostrecentbyregex -""" -'run[N]:runstheSQLthatwasrunNcommandsago' -runme=self.last_matching(arg) -self.pfeedback(runme) -ifrunme: -stop=self.onecmd_plus_hooks(runme) -do_r=do_run - -deffileimport(self,statement,source): -try: -f=open(os.path.expanduser(source)) -exceptIOError: -self.stdout.write("Couldn'treadfromfile%s\n"%source) -return'' -data=f.read() -f.close() -returndata - -defrunTranscriptTests(self,callargs): -classTestMyAppCase(Cmd2TestCase): -CmdApp=self.__class__ -self.__class__.testfiles=callargs -sys.argv=[sys.argv[0]]#the--testargumentupsetsunittest.main() -testcase=TestMyAppCase() -runner=unittest.TextTestRunner() -result=runner.run(testcase) -result.printErrors() - -defrun_commands_at_invocation(self,callargs): -forinitial_commandincallargs: -ifself.onecmd_plus_hooks(initial_command+'\n'): -returnself._STOP_AND_EXIT - -defcmdloop(self): -parser=optparse.OptionParser() -parser.add_option('-t','--test',dest='test', -action="store_true", -help='Testagainsttranscript(s)inFILE(wildcardsOK)') -(callopts,callargs)=parser.parse_args() -ifcallopts.test: -self.runTranscriptTests(callargs) -else: -ifnotself.run_commands_at_invocation(callargs): -self._cmdloop() - -classHistoryItem(str): -listformat='-------------------------[%d]\n%s\n' -def__init__(self,instr): -str.__init__(self) -self.lowercase=self.lower() -self.idx=None -defpr(self): -returnself.listformat%(self.idx,str(self)) - -classHistory(list): -'''AlistofHistoryItemsthatknowshowtorespondtouserrequests. ->>>h=History([HistoryItem('first'),HistoryItem('second'),HistoryItem('third'),HistoryItem('fourth')]) ->>>h.span('-2..') -['third','fourth'] ->>>h.span('2..3') -['second','third'] ->>>h.span('3') -['third'] ->>>h.span(':') -['first','second','third','fourth'] ->>>h.span('2..') -['second','third','fourth'] ->>>h.span('-1') -['fourth'] ->>>h.span('-2..-3') -['third','second'] ->>>h.search('o') -['second','fourth'] ->>>h.search('/IR/') -['first','third'] -''' -defzero_based_index(self,onebased): -result=onebased -ifresult>0: -result-=1 -returnresult -defto_index(self,raw): -ifraw: -result=self.zero_based_index(int(raw)) -else: -result=None -returnresult -defsearch(self,target): -target=target.strip() -iftarget[0]==target[-1]=='/'andlen(target)>1: -target=target[1:-1] -else: -target=re.escape(target) -pattern=re.compile(target,re.IGNORECASE) -return[sforsinselfifpattern.search(s)] -spanpattern=re.compile(r'^\s*(?P<start>\-?\d+)?\s*(?P<separator>:|(\.{2,}))?\s*(?P<end>\-?\d+)?\s*$') -defspan(self,raw): -ifraw.lower()in('*','-','all'): -raw=':' -results=self.spanpattern.search(raw) -ifnotresults: -raiseIndexError -ifnotresults.group('separator'): -return[self[self.to_index(results.group('start'))]] -start=self.to_index(results.group('start')) -end=self.to_index(results.group('end')) -reverse=False -ifendisnotNone: -ifend<start: -(start,end)=(end,start) -reverse=True -end+=1 -result=self[start:end] -ifreverse: -result.reverse() -returnresult - -rangePattern=re.compile(r'^\s*(?P<start>[\d]+)?\s*\-\s*(?P<end>[\d]+)?\s*$') -defappend(self,new): -new=HistoryItem(new) -list.append(self,new) -new.idx=len(self) -defextend(self,new): -forninnew: -self.append(n) - -defget(self,getme=None,fromEnd=False): -ifnotgetme: -returnself -try: -getme=int(getme) -ifgetme<0: -returnself[:(-1*getme)] -else: -return[self[getme-1]] -exceptIndexError: -return[] -exceptValueError: -rangeResult=self.rangePattern.search(getme) -ifrangeResult: -start=rangeResult.group('start')orNone -end=rangeResult.group('start')orNone -ifstart: -start=int(start)-1 -ifend: -end=int(end) -returnself[start:end] - -getme=getme.strip() - -ifgetme.startswith(r'/')andgetme.endswith(r'/'): -finder=re.compile(getme[1:-1],re.DOTALL|re.MULTILINE|re.IGNORECASE) -defisin(hi): -returnfinder.search(hi) -else: -defisin(hi): -return(getme.lower()inhi.lowercase) -return[itmforitminselfifisin(itm)] - -classNotSettableError(Exception): -pass - -defcast(current,new): -"""Triestoforceanewvalueintothesametypeasthecurrent.""" -typ=type(current) -iftyp==bool: -try: -returnbool(int(new)) -except(ValueError,TypeError): -pass -try: -new=new.lower() -except: -pass -if(new=='on')or(new[0]in('y','t')): -returnTrue -if(new=='off')or(new[0]in('n','f')): -returnFalse -else: -try: -returntyp(new) -except: -pass -print("Problemsettingparameter(now%s)to%s;incorrecttype?"%(current,new)) -returncurrent - -classStatekeeper(object): -def__init__(self,obj,attribs): -self.obj=obj -self.attribs=attribs -ifself.obj: -self.save() -defsave(self): -forattribinself.attribs: -setattr(self,attrib,getattr(self.obj,attrib)) -defrestore(self): -ifself.obj: -forattribinself.attribs: -setattr(self.obj,attrib,getattr(self,attrib)) - -classBorg(object): -'''AllinstancesofanyBorgsubclasswillsharestate. -fromPythonCookbook,2ndEd.,recipe6.16''' -_shared_state={} -def__new__(cls,*a,**k): -obj=object.__new__(cls,*a,**k) -obj.__dict__=cls._shared_state -returnobj - -classOutputTrap(Borg): -'''InstantiateanOutputTraptodivert/captureALLstdoutoutput.Foruseinunittesting. -Call`tearDown()`toreturntonormaloutput.''' -def__init__(self): -self.contents='' -self.old_stdout=sys.stdout -sys.stdout=self -defwrite(self,txt): -self.contents+=txt -defread(self): -result=self.contents -self.contents='' -returnresult -deftearDown(self): -sys.stdout=self.old_stdout -self.contents='' - -classCmd2TestCase(unittest.TestCase): -'''Subclassthis,settingCmdApp,tomakeaunittest.TestCaseclass -thatwillexecutethecommandsinatranscriptfileandexpecttheresultsshown. -Seeexample.py''' -CmdApp=None -deffetchTranscripts(self): -self.transcripts={} -forfilesetinself.CmdApp.testfiles: -forfnameinglob.glob(fileset): -tfile=open(fname) -self.transcripts[fname]=iter(tfile.readlines()) -tfile.close() -ifnotlen(self.transcripts): -raise(StandardError,),"Notestfilesfound-nothingtotest." -defsetUp(self): -ifself.CmdApp: -self.outputTrap=OutputTrap() -self.cmdapp=self.CmdApp() -self.fetchTranscripts() -defrunTest(self):#wastestall -ifself.CmdApp: -its=sorted(self.transcripts.items()) -for(fname,transcript)inits: -self._test_transcript(fname,transcript) -regexPattern=pyparsing.QuotedString(quoteChar=r'/',escChar='\\',multiline=True,unquoteResults=True) -regexPattern.ignore(pyparsing.cStyleComment) -notRegexPattern=pyparsing.Word(pyparsing.printables) -notRegexPattern.setParseAction(lambdat:re.escape(t[0])) -expectationParser=regexPattern|notRegexPattern -anyWhitespace=re.compile(r'\s',re.DOTALL|re.MULTILINE) -def_test_transcript(self,fname,transcript): -lineNum=0 -finished=False -line=transcript.next() -lineNum+=1 -tests_run=0 -whilenotfinished: -#Scrollforwardtowhereactualcommandsbegin -whilenotline.startswith(self.cmdapp.prompt): -try: -line=transcript.next() -exceptStopIteration: -finished=True -break -lineNum+=1 -command=[line[len(self.cmdapp.prompt):]] -line=transcript.next() -#Readtheentiretyofamulti-linecommand -whileline.startswith(self.cmdapp.continuation_prompt): -command.append(line[len(self.cmdapp.continuation_prompt):]) -try: -line=transcript.next() -exceptStopIteration: -raise(StopIteration, -'Transcriptbrokeoffwhilereadingcommandbeginningatline%dwith\n%s' -%(command[0])) -lineNum+=1 -command=''.join(command) -#Sendthecommandintotheapplicationandcapturetheresultingoutput -stop=self.cmdapp.onecmd_plus_hooks(command) -#TODO:shouldacton``stop`` -result=self.outputTrap.read() -#Readtheexpectedresultfromtranscript -ifline.startswith(self.cmdapp.prompt): -message='\nFile%s,line%d\nCommandwas:\n%s\nExpected:(nothing)\nGot:\n%s\n'%\ -(fname,lineNum,command,result) -self.assert_(not(result.strip()),message) -continue -expected=[] -whilenotline.startswith(self.cmdapp.prompt): -expected.append(line) -try: -line=transcript.next() -exceptStopIteration: -finished=True -break -lineNum+=1 -expected=''.join(expected) -#Compareactualresulttoexpected -message='\nFile%s,line%d\nCommandwas:\n%s\nExpected:\n%s\nGot:\n%s\n'%\ -(fname,lineNum,command,expected,result) -expected=self.expectationParser.transformString(expected) -#checkingwhitespaceisapain-let'sskipit -expected=self.anyWhitespace.sub('',expected) -result=self.anyWhitespace.sub('',result) -self.assert_(re.match(expected,result,re.MULTILINE|re.DOTALL),message) - -deftearDown(self): -ifself.CmdApp: -self.outputTrap.tearDown() - -if__name__=='__main__': -doctest.testmod(optionflags=doctest.NORMALIZE_WHITESPACE) - -''' -Tomakeyourapplicationtranscript-testable,replace - -:: - -app=MyApp() -app.cmdloop() - -with - -:: - -app=MyApp() -cmd2.run(app) - -Thenrunasessionofyourapplicationandpastetheentirescreencontents -intoafile,``transcript.test``,andinvokethetestlike:: - -pythonmyapp.py--testtranscript.test - -Wildcardscanbeusedtotestagainstmultipletranscriptfiles. -''' - - - - - - diff --git a/doxygen/xml/combine.xslt b/doxygen/xml/combine.xslt deleted file mode 100644 index c148ee4..0000000 --- a/doxygen/xml/combine.xslt +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - diff --git a/doxygen/xml/compound.xsd b/doxygen/xml/compound.xsd deleted file mode 100644 index 493fc4e..0000000 --- a/doxygen/xml/compound.xsd +++ /dev/null @@ -1,822 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/doxygen/xml/conf_8py.xml b/doxygen/xml/conf_8py.xml deleted file mode 100644 index 9e220d0..0000000 --- a/doxygen/xml/conf_8py.xml +++ /dev/null @@ -1,212 +0,0 @@ - - - - conf.py - conf - - - - - -#-*-coding:utf-8-*- -# -#cmd2documentationbuildconfigurationfile,createdby -#sphinx-quickstartonWedFeb1012:05:282010. -# -#Thisfileisexecfile()dwiththecurrentdirectorysettoitscontainingdir. -# -#Notethatnotallpossibleconfigurationvaluesarepresentinthis -#autogeneratedfile. -# -#Allconfigurationvalueshaveadefault;valuesthatarecommentedout -#servetoshowthedefault. - -importsys,os - -#Ifextensions(ormodulestodocumentwithautodoc)areinanotherdirectory, -#addthesedirectoriestosys.pathhere.Ifthedirectoryisrelativetothe -#documentationroot,useos.path.abspathtomakeitabsolute,likeshownhere. -#sys.path.append(os.path.abspath('.')) - -#--Generalconfiguration----------------------------------------------------- - -#AddanySphinxextensionmodulenameshere,asstrings.Theycanbeextensions -#comingwithSphinx(named'sphinx.ext.*')oryourcustomones. -extensions=['sphinx.ext.autodoc','sphinx.ext.doctest','sphinx.ext.intersphinx','sphinx.ext.todo'] - -#Addanypathsthatcontaintemplateshere,relativetothisdirectory. -templates_path=['_templates'] - -#Thesuffixofsourcefilenames. -source_suffix='.rst' - -#Theencodingofsourcefiles. -#source_encoding='utf-8' - -#Themastertoctreedocument. -master_doc='index' - -#Generalinformationabouttheproject. -project=u'cmd2' -copyright=u'2010,CatherineDevlin' - -#Theversioninfofortheprojectyou'redocumenting,actsasreplacementfor -#|version|and|release|,alsousedinvariousotherplacesthroughoutthe -#builtdocuments. -# -#TheshortX.Yversion. -version='0.6.0' -#Thefullversion,includingalpha/beta/rctags. -release='0.6.0' - -#ThelanguageforcontentautogeneratedbySphinx.Refertodocumentation -#foralistofsupportedlanguages. -#language=None - -#Therearetwooptionsforreplacing|today|:either,yousettodaytosome -#non-falsevalue,thenitisused: -#today='' -#Else,today_fmtisusedastheformatforastrftimecall. -#today_fmt='%B%d,%Y' - -#Listofdocumentsthatshouldn'tbeincludedinthebuild. -#unused_docs=[] - -#Listofdirectories,relativetosourcedirectory,thatshouldn'tbesearched -#forsourcefiles. -exclude_trees=['_build'] - -#ThereSTdefaultrole(usedforthismarkup:`text`)touseforalldocuments. -#default_role=None - -#Iftrue,'()'willbeappendedto:func:etc.cross-referencetext. -#add_function_parentheses=True - -#Iftrue,thecurrentmodulenamewillbeprependedtoalldescription -#unittitles(suchas..function::). -#add_module_names=True - -#Iftrue,sectionauthorandmoduleauthordirectiveswillbeshowninthe -#output.Theyareignoredbydefault. -#show_authors=False - -#ThenameofthePygments(syntaxhighlighting)styletouse. -pygments_style='sphinx' - -#Alistofignoredprefixesformoduleindexsorting. -#modindex_common_prefix=[] - - -#--OptionsforHTMLoutput--------------------------------------------------- - -#ThethemetouseforHTMLandHTMLHelppages.Majorthemesthatcomewith -#Sphinxarecurrently'default'and'sphinxdoc'. -html_theme='default' - -#Themeoptionsaretheme-specificandcustomizethelookandfeelofatheme -#further.Foralistofoptionsavailableforeachtheme,seethe -#documentation. -#html_theme_options={} - -#Addanypathsthatcontaincustomthemeshere,relativetothisdirectory. -#html_theme_path=[] - -#ThenameforthissetofSphinxdocuments.IfNone,itdefaultsto -#"<project>v<release>documentation". -#html_title=None - -#Ashortertitleforthenavigationbar.Defaultisthesameashtml_title. -#html_short_title=None - -#Thenameofanimagefile(relativetothisdirectory)toplaceatthetop -#ofthesidebar. -#html_logo=None - -#Thenameofanimagefile(withinthestaticpath)touseasfaviconofthe -#docs.ThisfileshouldbeaWindowsiconfile(.ico)being16x16or32x32 -#pixelslarge. -#html_favicon=None - -#Addanypathsthatcontaincustomstaticfiles(suchasstylesheets)here, -#relativetothisdirectory.Theyarecopiedafterthebuiltinstaticfiles, -#soafilenamed"default.css"willoverwritethebuiltin"default.css". -html_static_path=['_static'] - -#Ifnot'',a'Lastupdatedon:'timestampisinsertedateverypagebottom, -#usingthegivenstrftimeformat. -#html_last_updated_fmt='%b%d,%Y' - -#Iftrue,SmartyPantswillbeusedtoconvertquotesanddashesto -#typographicallycorrectentities. -#html_use_smartypants=True - -#Customsidebartemplates,mapsdocumentnamestotemplatenames. -#html_sidebars={} - -#Additionaltemplatesthatshouldberenderedtopages,mapspagenamesto -#templatenames. -#html_additional_pages={} - -#Iffalse,nomoduleindexisgenerated. -#html_use_modindex=True - -#Iffalse,noindexisgenerated. -#html_use_index=True - -#Iftrue,theindexissplitintoindividualpagesforeachletter. -#html_split_index=False - -#Iftrue,linkstothereSTsourcesareaddedtothepages. -#html_show_sourcelink=True - -#Iftrue,anOpenSearchdescriptionfilewillbeoutput,andallpageswill -#containa<link>tagreferringtoit.Thevalueofthisoptionmustbethe -#baseURLfromwhichthefinishedHTMLisserved. -#html_use_opensearch='' - -#Ifnonempty,thisisthefilenamesuffixforHTMLfiles(e.g.".xhtml"). -#html_file_suffix='' - -#OutputfilebasenameforHTMLhelpbuilder. -htmlhelp_basename='cmd2doc' - - -#--OptionsforLaTeXoutput-------------------------------------------------- - -#Thepapersize('letter'or'a4'). -#latex_paper_size='letter' - -#Thefontsize('10pt','11pt'or'12pt'). -#latex_font_size='10pt' - -#GroupingthedocumenttreeintoLaTeXfiles.Listoftuples -#(sourcestartfile,targetname,title,author,documentclass[howto/manual]). -latex_documents=[ -('index','cmd2.tex',u'cmd2Documentation', -u'CatherineDevlin','manual'), -] - -#Thenameofanimagefile(relativetothisdirectory)toplaceatthetopof -#thetitlepage. -#latex_logo=None - -#For"manual"documents,ifthisistrue,thentoplevelheadingsareparts, -#notchapters. -#latex_use_parts=False - -#AdditionalstufffortheLaTeXpreamble. -#latex_preamble='' - -#Documentstoappendasanappendixtoallmanuals. -#latex_appendices=[] - -#Iffalse,nomoduleindexisgenerated. -#latex_use_modindex=True - - -#Exampleconfigurationforintersphinx:refertothePythonstandardlibrary. -intersphinx_mapping={'http://docs.python.org/':None} - - - - diff --git a/doxygen/xml/dir_5185d8a4f3d34c6a54b85ae5904b80ec.xml b/doxygen/xml/dir_5185d8a4f3d34c6a54b85ae5904b80ec.xml deleted file mode 100644 index 58fc71b..0000000 --- a/doxygen/xml/dir_5185d8a4f3d34c6a54b85ae5904b80ec.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - /Users/amrogers/Developer/Projects/cmd2/docs/ - /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/ - conf.py - - - - - - - diff --git a/doxygen/xml/dir_9c53eb36d53ed9f246f40760bdb65b6a.xml b/doxygen/xml/dir_9c53eb36d53ed9f246f40760bdb65b6a.xml deleted file mode 100644 index 55f03e3..0000000 --- a/doxygen/xml/dir_9c53eb36d53ed9f246f40760bdb65b6a.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - /Users/amrogers/Developer/Projects/cmd2/example/ - example.py - - - - - - - diff --git a/doxygen/xml/dir_a94d11e7025bc9c49b19e92232c5c310.xml b/doxygen/xml/dir_a94d11e7025bc9c49b19e92232c5c310.xml deleted file mode 100644 index ffc06ca..0000000 --- a/doxygen/xml/dir_a94d11e7025bc9c49b19e92232c5c310.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/ - fileutil.py - graph.py - pirate.py - pirate2.py - pirate3.py - pirate4.py - pirate5.py - pirate6.py - pirate7.py - pirate8.py - schematic.py - - - - - - - diff --git a/doxygen/xml/dir_bfedb8cf204bc52dab598c696b63c3d6.xml b/doxygen/xml/dir_bfedb8cf204bc52dab598c696b63c3d6.xml deleted file mode 100644 index db0d03a..0000000 --- a/doxygen/xml/dir_bfedb8cf204bc52dab598c696b63c3d6.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - /Users/amrogers/Developer/Projects/cmd2/ - /Users/amrogers/Developer/Projects/cmd2/docs/ - /Users/amrogers/Developer/Projects/cmd2/example/ - cmd2.py - ignoreBug.py - setup.py - - - - - - - diff --git a/doxygen/xml/dir_e01452e30018b7d8a87d21a8fdf5052c.xml b/doxygen/xml/dir_e01452e30018b7d8a87d21a8fdf5052c.xml deleted file mode 100644 index 2b5c5c1..0000000 --- a/doxygen/xml/dir_e01452e30018b7d8a87d21a8fdf5052c.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - /Users/amrogers/Developer/Projects/ - /Users/amrogers/Developer/Projects/cmd2/ - - - - - - - diff --git a/doxygen/xml/example_8py.xml b/doxygen/xml/example_8py.xml deleted file mode 100644 index baad80e..0000000 --- a/doxygen/xml/example_8py.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - - example.py - example::CmdLineApp - example - - - - - -'''Asampleapplicationforcmd2.''' - -fromcmd2importCmd,make_option,options -importunittest,optparse,sys - -classCmdLineApp(Cmd): -multilineCommands=['orate'] -Cmd.shortcuts.update({'&':'speak'}) -maxrepeats=3 -redirector='->' -Cmd.settable.append('maxrepeatsMaxnumberof`--repeat`sallowed') - -@options([make_option('-p','--piglatin',action="store_true",help="atinLay"), -make_option('-s','--shout',action="store_true",help="N00BEMULATIONMODE"), -make_option('-r','--repeat',type="int",help="output[n]times") -],arg_desc='(texttosay)') -defdo_speak(self,arg,opts=None): -"""Repeatswhatyoutellmeto.""" -arg=''.join(arg) -ifopts.piglatin: -arg='%s%say'%(arg[1:].rstrip(),arg[0]) -ifopts.shout: -arg=arg.upper() -repetitions=opts.repeator1 -foriinrange(min(repetitions,self.maxrepeats)): -self.stdout.write(arg) -self.stdout.write('\n') -#self.stdout.writeisbetterthan"print",becauseCmdcanbe -#initializedwithanon-standardoutputdestination - -do_say=do_speak#now"say"isasynonymfor"speak" -do_orate=do_speak#anothersynonym,butthisonetakesmulti-lineinput - -c=CmdLineApp() -c.cmdloop() - - - - diff --git a/doxygen/xml/fileutil_8py.xml b/doxygen/xml/fileutil_8py.xml deleted file mode 100644 index c9ab64c..0000000 --- a/doxygen/xml/fileutil_8py.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - fileutil.py - fileutil - - - - - -importglob -importos.path - -forfullfilenameinglob.glob('/home/cat/proj/cmd2/*.py'): -(dirpath,fname)=os.path.split(fullfilename) -stats=os.stat(fullfilename) -binds['path']=dirpath -binds['name']=fname -binds['bytes']=stats.st_size -cmd("""INSERTINTOcat.files(path,name,bytes) -VALUES(%(path)s,%(name)s,%(bytes)s)""") -quit() - - - - diff --git a/doxygen/xml/graph_8py.xml b/doxygen/xml/graph_8py.xml deleted file mode 100644 index 3205e08..0000000 --- a/doxygen/xml/graph_8py.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - graph.py - graph - turtle - - - - - -fromturtleimport* -pu() -goto(-400,-400) - -deflabel(txt): -write(txt,font=('Arial',20,'italic')) -hideturtle() -width(6) - -defline(len,_label): -start=pos() -pd() -forward(len) -pu() -forward(30) -pd() -label(_label) -pu() -goto(start) - -deftech(x,y,_label): -pu() -goto(x,y) -pd() -write(_label,font=('Arial',40,'bold')) -pu() - -line(600,"Easytowrite") -left(90) -line(600,"Easytouse") - -tech(-360,160,'GUI') -tech(-390,100,'AJAX') -tech(-300,-10,'webapp') -tech(190,-380,'CLU') -tech(60,-320,'TUI') -tech(100,-210,'cmd') -tech(80,-80,'cmd2') - -whileTrue: -pass - - - - diff --git a/doxygen/xml/ignoreBug_8py.xml b/doxygen/xml/ignoreBug_8py.xml deleted file mode 100644 index 544f7ee..0000000 --- a/doxygen/xml/ignoreBug_8py.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - ignoreBug.py - ignoreBug - pyparsing - - - - - -frompyparsingimport* - -teststr='please/*ignoreme:|oops*/findme:|kthx' -parser=Word(printables)('leadWord')+SkipTo('|')('statement') -printparser.parseString(teststr).statement -parser.ignore(cStyleComment) -printparser.parseString(teststr).statement -parser=Combine(parser) -printparser.parseString(teststr).statement -parser.ignore(cStyleComment) -printparser.parseString(teststr).statement - - - - diff --git a/doxygen/xml/ignore_bug_8py.xml b/doxygen/xml/ignore_bug_8py.xml deleted file mode 100644 index 01b4aa9..0000000 --- a/doxygen/xml/ignore_bug_8py.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - ignoreBug.py - ignoreBug - pyparsing - - - - - -frompyparsingimport* - -teststr='please/*ignoreme:|oops*/findme:|kthx' -parser=Word(printables)('leadWord')+SkipTo('|')('statement') -printparser.parseString(teststr).statement -parser.ignore(cStyleComment) -printparser.parseString(teststr).statement -parser=Combine(parser) -printparser.parseString(teststr).statement -parser.ignore(cStyleComment) -printparser.parseString(teststr).statement - - - - diff --git a/doxygen/xml/index.xml b/doxygen/xml/index.xml deleted file mode 100644 index 79d7eea..0000000 --- a/doxygen/xml/index.xml +++ /dev/null @@ -1,424 +0,0 @@ - - - cmd2::Borg - _shared_state - __new__ - - cmd2::Cmd - abbrev - blankLinesAllowed - case_insensitive - colorcodes - colors - commentGrammars - commentInProgress - continuation_prompt - current_script_dir - debug - default_file_name - default_to_shell - defaultExtension - do__load - do_edit - do_eof - do_exit - do_hi - do_l - do_li - do_q - do_r - echo - editor - editor - excludeFromHistory - feedback_to_output - help - kept_state - legalChars - locals_in_py - multilineCommands - noSpecialParse - prefixParser - quiet - redirector - reserved_words - saveparser - settable - shortcuts - terminators - timing - urlre - _STOP_AND_EXIT - _STOP_SCRIPT_NO_EXIT - blankLineTerminationParser - blankLineTerminator - continuation_prompt - history - initial_stdout - inputParser - intro - kept_sys - keywords - lastcmd - multilineCommand - multilineParser - old_completer - parser - prompt - pystate - redirect - shortcuts - singleLineParser - stdin - stdout - use_rawinput - __init__ - cmdloop - colorize - complete_statement - do__relative_load - do_cmdenvironment - do_ed - do_EOF - do_help - do_history - do_list - do_load - do_pause - do_py - do_quit - do_run - do_save - do_set - do_shell - do_shortcuts - do_show - fileimport - func_named - last_matching - onecmd - onecmd_plus_hooks - parsed - perror - pfeedback - postparse - postparsing_postcmd - postparsing_precmd - poutput - preparse - pseudo_raw_input - read_file_or_url - redirect_output - restore_output - run_commands_at_invocation - runTranscriptTests - select - _cmdloop - _default - _init_parser - - cmd2::Cmd2TestCase - anyWhitespace - CmdApp - expectationParser - notRegexPattern - regexPattern - cmdapp - outputTrap - transcripts - fetchTranscripts - runTest - setUp - tearDown - _test_transcript - - cmd2::EmbeddedConsoleExit - - cmd2::EmptyStatement - - cmd2::History - rangePattern - spanpattern - append - extend - get - search - span - to_index - zero_based_index - - cmd2::HistoryItem - listformat - idx - lowercase - __init__ - pr - - cmd2::NotSettableError - - cmd2::OptionParser - error - exit - print_help - - cmd2::OutputTrap - contents - old_stdout - __init__ - read - tearDown - write - - cmd2::ParsedString - full_parsed_statement - with_args_replaced - - cmd2::PasteBufferError - errmsg - __init__ - - cmd2::Statekeeper - attribs - obj - __init__ - restore - save - - cmd2::StubbornDict - append - __add__ - __iadd__ - __radd__ - to_dict - update - - example::CmdLineApp - do_orate - do_say - maxrepeats - multilineCommands - redirector - do_speak - - pirate2::Pirate - gold - do_drink - do_loot - - pirate3::Pirate - gold - initial_gold - do_drink - do_loot - postcmd - precmd - - pirate4::Pirate - gold - initial_gold - do_drink - do_loot - postcmd - precmd - - pirate5::Pirate - gold - initial_gold - do_drink - do_loot - do_quit - postcmd - precmd - - pirate6::Pirate - gold - prompt - initial_gold - default - do_drink - do_loot - do_quit - postcmd - precmd - - pirate7::Pirate - default_to_shell - gold - multilineCommands - prompt - settable - songcolor - terminators - initial_gold - default - do_drink - do_loot - do_quit - do_sing - postcmd - precmd - - pirate8::Pirate - action - default_to_shell - gold - help - multilineCommands - prompt - settable - songcolor - terminators - initial_gold - default - do_drink - do_loot - do_quit - do_sing - do_yo - postcmd - precmd - - pirate::Pirate - - cmd2 - __version__ - can_clip - options_defined - pastebufferr - teststring - write_to_paste_buffer - xclipproc - _attr_get_ - cast - get_paste_buffer - get_paste_buffer - ljust - options - remaining_args - replace_with_file_contents - stubbornDict - write_to_paste_buffer - - conf - copyright - exclude_trees - extensions - html_static_path - html_theme - htmlhelp_basename - intersphinx_mapping - latex_documents - master_doc - project - pygments_style - release - source_suffix - templates_path - version - - example - c - - fileutil - stats - - graph - label - line - tech - - ignoreBug - parser - teststr - - pirate - pirate - - pirate2 - pirate - - pirate3 - pirate - - pirate4 - pirate - - pirate5 - pirate - - pirate6 - pirate - - pirate7 - pirate - - pirate8 - pirate - - pyparsing - - schematic - pensize - rectangle - - setup - author - author_email - classifiers - description - install_requires - keywords - license - long_description - name - py_modules - url - use_2to3 - version - find_packages - - turtle - - cmd2.py - - conf.py - - fileutil.py - - graph.py - - pirate.py - - pirate2.py - - pirate3.py - - pirate4.py - - pirate5.py - - pirate6.py - - pirate7.py - - pirate8.py - - schematic.py - - example.py - - ignoreBug.py - - setup.py - - /Users/amrogers/Developer/Projects/cmd2/ - - /Users/amrogers/Developer/Projects/cmd2/docs/ - - /Users/amrogers/Developer/Projects/cmd2/example/ - - /Users/amrogers/Developer/Projects/ - - /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/ - - diff --git a/doxygen/xml/index.xsd b/doxygen/xml/index.xsd deleted file mode 100644 index d7ab2a9..0000000 --- a/doxygen/xml/index.xsd +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/doxygen/xml/namespacecmd2.xml b/doxygen/xml/namespacecmd2.xml deleted file mode 100644 index 68be1b0..0000000 --- a/doxygen/xml/namespacecmd2.xml +++ /dev/null @@ -1,330 +0,0 @@ - - - - cmd2 - cmd2::Borg - cmd2::Cmd - cmd2::Cmd2TestCase - cmd2::EmbeddedConsoleExit - cmd2::EmptyStatement - cmd2::History - cmd2::HistoryItem - cmd2::NotSettableError - cmd2::OptionParser - cmd2::OutputTrap - cmd2::ParsedString - cmd2::PasteBufferError - cmd2::Statekeeper - cmd2::StubbornDict - - - string - string cmd2::__version__ - - __version__ - '0.6.4' - - - - - - - - - - - cmd2::can_clip - - can_clip - False - - - - - - - - - - list - list cmd2::options_defined - - options_defined - [] - - - - - - - - - - string - string cmd2::pastebufferr - - pastebufferr - """Redirecting to or from paste buffer requires %s -to be installed on operating system. -%s""" - - - - - - - - - - string - string cmd2::teststring - - teststring - 'Testing for presence of xclip.' - - - - - - - - - - - def cmd2::write_to_paste_buffer - - write_to_paste_buffer - get_paste_buffer - - - - - - - - cmd2::Cmd::restore_output - write_to_paste_buffer - - - tuple - tuple cmd2::xclipproc - - xclipproc - subprocess.Popen('xclip -sel clip', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE) - - - - - - - - - - - - def - def cmd2::_attr_get_ - - _attr_get_ - - - -Returns an attribute's value, or None (no error) if undefined. - Analagous to .get() for dictionaries. Useful when checking for - value of options that may not have been defined on a given - method. - - - - - - def - def cmd2::cast - - cast - - - -Tries to force a new value into the same type as the current. - - - - cmd2::Cmd::do_set - - - def - def cmd2::get_paste_buffer - - get_paste_buffer - - - - - - - - get_paste_buffer - cmd2::Cmd::redirect_output - replace_with_file_contents - - - def - def cmd2::get_paste_buffer - - get_paste_buffer - - - - - - - - get_paste_buffer - - - def - def cmd2::ljust - - ljust - - - - - - - - cmd2::Cmd::do_show - - - def - def cmd2::options - - options - - - -Used as a decorator and passed a list of optparse-style options, - alters a cmd2 method to populate its ``opts`` argument from its - raw text argument. - - Example: transform - def do_something(self, arg): - - into - @options([make_option('-q', '--quick', action="store_true", - help="Makes things fast")], - "source dest") - def do_something(self, arg, opts): - if opts.quick: - self.fast_button = True - - - - - remaining_args - cmd2::Cmd::do_py - pirate8::Pirate::do_sing - cmd2::Cmd::select - - - def - def cmd2::remaining_args - - remaining_args - - - - -Preserves the spacing originally in the argument after -the removal of options. - ->>> remaining_args('-f bar bar cow', ['bar', 'cow']) -'bar cow' - - - - - options - - - def - def cmd2::replace_with_file_contents - - replace_with_file_contents - - - - - - - - get_paste_buffer - - - def - def cmd2::stubbornDict - - stubbornDict - - - - ->>> sorted(stubbornDict('cow a bovine\\nhorse an equine').items()) -[('cow', 'a bovine'), ('horse', 'an equine')] ->>> sorted(stubbornDict(['badger', 'porcupine a poky creature']).items()) -[('badger', ''), ('porcupine', 'a poky creature')] ->>> sorted(stubbornDict(turtle='has shell', frog='jumpy').items()) -[('frog', 'jumpy'), ('turtle', 'has shell')] - - - - - cmd2::StubbornDict::__add__ - cmd2::StubbornDict::__radd__ - - - def - def cmd2::write_to_paste_buffer - - write_to_paste_buffer - - - - - - - - write_to_paste_buffer - - - - - -Variant on standard library's cmd with extra features. - -To use, simply import cmd2.Cmd instead of cmd.Cmd; use precisely as though you -were using the standard library's cmd, while enjoying the extra features. - -Searchable command history (commands: "hi", "li", "run") -Load commands from file, save to file, edit commands in file -Multi-line commands -Case-insensitive commands -Special-character shortcut commands (beyond cmd's "@" and "!") -Settable environment parameters -Optional _onchange_{paramname} called when environment parameter changes -Parsing commands with `optparse` options (flags) -Redirection to file with >, >>; input from file with < -Easy transcript-based testing of applications (see example/example.py) -Bash-style ``select`` available - -Note that redirection with > and | will only work if `self.stdout.write()` -is used in place of `print`. The standard library's `cmd` module is -written to use `self.stdout.write()`, - -- Catherine Devlin, Jan 03 2008 - catherinedevlin.blogspot.com - -mercurial repository at http://www.assembla.com/wiki/show/python-cmd2 - - - - diff --git a/doxygen/xml/namespaceconf.xml b/doxygen/xml/namespaceconf.xml deleted file mode 100644 index 5c794ce..0000000 --- a/doxygen/xml/namespaceconf.xml +++ /dev/null @@ -1,226 +0,0 @@ - - - - conf - - - string - string conf::copyright - - copyright - u'2010, Catherine Devlin' - - - - - - - - - - list - list conf::exclude_trees - - exclude_trees - ['_build'] - - - - - - - - - - list - list conf::extensions - - extensions - ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo'] - - - - - - - - - - list - list conf::html_static_path - - html_static_path - ['_static'] - - - - - - - - - - string - string conf::html_theme - - html_theme - 'default' - - - - - - - - - - string - string conf::htmlhelp_basename - - htmlhelp_basename - 'cmd2doc' - - - - - - - - - - dictionary - dictionary conf::intersphinx_mapping - - intersphinx_mapping - {'http://docs.python.org/': None} - - - - - - - - - - list - list conf::latex_documents - - latex_documents - [ - ('index', 'cmd2.tex', u'cmd2 Documentation', - u'Catherine Devlin', 'manual'), -] - - - - - - - - - - string - string conf::master_doc - - master_doc - 'index' - - - - - - - - - - string - string conf::project - - project - u'cmd2' - - - - - - - - - - string - string conf::pygments_style - - pygments_style - 'sphinx' - - - - - - - - - - string - string conf::release - - release - '0.6.0' - - - - - - - - - - string - string conf::source_suffix - - source_suffix - '.rst' - - - - - - - - - - list - list conf::templates_path - - templates_path - ['_templates'] - - - - - - - - - - string - string conf::version - - version - '0.6.0' - - - - - - - - - - - - - - - - diff --git a/doxygen/xml/namespaceexample.xml b/doxygen/xml/namespaceexample.xml deleted file mode 100644 index e39a8c8..0000000 --- a/doxygen/xml/namespaceexample.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - example - example::CmdLineApp - - - tuple - tuple example::c - - c - CmdLineApp() - - - - - - - - - - - - -A sample application for cmd2. - - - diff --git a/doxygen/xml/namespacefileutil.xml b/doxygen/xml/namespacefileutil.xml deleted file mode 100644 index 39ff13e..0000000 --- a/doxygen/xml/namespacefileutil.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - fileutil - - - tuple - tuple fileutil::stats - - stats - os.stat(fullfilename) - - - - - - - - - - - - - - - - diff --git a/doxygen/xml/namespacegraph.xml b/doxygen/xml/namespacegraph.xml deleted file mode 100644 index 1241158..0000000 --- a/doxygen/xml/namespacegraph.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - graph - - - def - def graph::label - - label - - - - - - - - line - - - def - def graph::line - - line - - - - - - - - label - tech - - - def - def graph::tech - - tech - - - - - - - - line - - - - - - - - - diff --git a/doxygen/xml/namespaceignoreBug.xml b/doxygen/xml/namespaceignoreBug.xml deleted file mode 100644 index 10bb80a..0000000 --- a/doxygen/xml/namespaceignoreBug.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - ignoreBug - - - tuple - tuple ignoreBug::parser - - parser - Word(printables) - - - - - - - - - - string - string ignoreBug::teststr - - teststr - 'please /* ignoreme: | oops */ findme: | kthx' - - - - - - - - - - - - - - - - diff --git a/doxygen/xml/namespaceignore_bug.xml b/doxygen/xml/namespaceignore_bug.xml deleted file mode 100644 index 851bfb7..0000000 --- a/doxygen/xml/namespaceignore_bug.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - ignoreBug - - - string - string ignoreBug::teststr - - teststr - 'please /* ignoreme: | oops */ findme: | kthx' - - - - - - - - - - tuple - tuple ignoreBug::parser - - parser - Word(printables) - - - - - - - - - - - - - - - - diff --git a/doxygen/xml/namespacepirate.xml b/doxygen/xml/namespacepirate.xml deleted file mode 100644 index 7a91145..0000000 --- a/doxygen/xml/namespacepirate.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - pirate - pirate::Pirate - - - tuple - tuple pirate::pirate - - pirate - Pirate() - - - - - - - - - - - - - - - - diff --git a/doxygen/xml/namespacepirate2.xml b/doxygen/xml/namespacepirate2.xml deleted file mode 100644 index 94657c6..0000000 --- a/doxygen/xml/namespacepirate2.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - pirate2 - pirate2::Pirate - - - tuple - tuple pirate2::pirate - - pirate - Pirate() - - - - - - - - - - - - - - - - diff --git a/doxygen/xml/namespacepirate3.xml b/doxygen/xml/namespacepirate3.xml deleted file mode 100644 index 31a7167..0000000 --- a/doxygen/xml/namespacepirate3.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - pirate3 - pirate3::Pirate - - - tuple - tuple pirate3::pirate - - pirate - Pirate() - - - - - - - - - - - - - - - - diff --git a/doxygen/xml/namespacepirate4.xml b/doxygen/xml/namespacepirate4.xml deleted file mode 100644 index baa5d64..0000000 --- a/doxygen/xml/namespacepirate4.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - pirate4 - pirate4::Pirate - - - tuple - tuple pirate4::pirate - - pirate - Pirate() - - - - - - - - - - - - - - - - diff --git a/doxygen/xml/namespacepirate5.xml b/doxygen/xml/namespacepirate5.xml deleted file mode 100644 index d2d8b12..0000000 --- a/doxygen/xml/namespacepirate5.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - pirate5 - pirate5::Pirate - - - tuple - tuple pirate5::pirate - - pirate - Pirate() - - - - - - - - - - - - - - - - diff --git a/doxygen/xml/namespacepirate6.xml b/doxygen/xml/namespacepirate6.xml deleted file mode 100644 index 74aeb59..0000000 --- a/doxygen/xml/namespacepirate6.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - pirate6 - pirate6::Pirate - - - tuple - tuple pirate6::pirate - - pirate - Pirate() - - - - - - - - - - - - - - - - diff --git a/doxygen/xml/namespacepirate7.xml b/doxygen/xml/namespacepirate7.xml deleted file mode 100644 index 986eb02..0000000 --- a/doxygen/xml/namespacepirate7.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - pirate7 - pirate7::Pirate - - - tuple - tuple pirate7::pirate - - pirate - Pirate() - - - - - - - - - - - - - - - - diff --git a/doxygen/xml/namespacepirate8.xml b/doxygen/xml/namespacepirate8.xml deleted file mode 100644 index 6141dc3..0000000 --- a/doxygen/xml/namespacepirate8.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - pirate8 - pirate8::Pirate - - - tuple - tuple pirate8::pirate - - pirate - Pirate() - - - - - - - - - - - - - - - - diff --git a/doxygen/xml/namespacepyparsing.xml b/doxygen/xml/namespacepyparsing.xml deleted file mode 100644 index dfe1e0a..0000000 --- a/doxygen/xml/namespacepyparsing.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - pyparsing - - - - - - - diff --git a/doxygen/xml/namespaceschematic.xml b/doxygen/xml/namespaceschematic.xml deleted file mode 100644 index 04ead8c..0000000 --- a/doxygen/xml/namespaceschematic.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - schematic - - - int - int schematic::pensize - - pensize - 10 - - - - - - - - - - - - def - def schematic::rectangle - - rectangle - - - - - - - - - - - - - - - - diff --git a/doxygen/xml/namespacesetup.xml b/doxygen/xml/namespacesetup.xml deleted file mode 100644 index 1454d09..0000000 --- a/doxygen/xml/namespacesetup.xml +++ /dev/null @@ -1,243 +0,0 @@ - - - - setup - - - string - string setup::author - - author - 'Catherine Devlin' - - - - - - - - - - string - string setup::author_email - - author_email - 'catherine.devlin@gmail.com' - - - - - - - - - - list - list setup::classifiers - - classifiers - [ - 'Development Status :: 4 - Beta', - 'Environment :: Console', - 'Operating System :: OS Independent', - 'Intended Audience :: Developers', - 'Intended Audience :: System Administrators', - 'Programming Language :: Python', - 'License :: OSI Approved :: MIT License', - 'Topic :: Software Development :: Libraries :: Python Modules', - ] - - - - - - - - - - string - string setup::description - - description - "Extra features for standard library's cmd module" - - - - - - - - - - list - setup::install_requires - - install_requires - ['pyparsing>=1.5.6'] - - - - - - - - - - string - string setup::keywords - - keywords - 'command prompt console cmd' - - - - - - - - - - string - string setup::license - - license - 'MIT' - - - - - - - - - - string - string setup::long_description - - long_description - """Enhancements for standard library's cmd module. - -Drop-in replacement adds several features for command-prompt tools: - - * Searchable command history (commands: "hi", "li", "run") - * Load commands from file, save to file, edit commands in file - * Multi-line commands - * Case-insensitive commands - * Special-character shortcut commands (beyond cmd's "@" and "!") - * Settable environment parameters - * Parsing commands with flags - * > (filename), >> (filename) redirect output to file - * < (filename) gets input from file - * bare >, >>, < redirect to/from paste buffer - * accepts abbreviated commands when unambiguous - * `py` enters interactive Python console - * test apps against sample session transcript (see example/example.py) - -Useable without modification anywhere cmd is used; simply import cmd2.Cmd in place of cmd.Cmd. - -Running `2to3 <http://docs.python.org/library/2to3.html>` against ``cmd2.py`` -generates working, Python3-based code. - -See docs at http://packages.python.org/cmd2/ -""" - - - - - - - - - - string - string setup::name - - name - "cmd2" - - - - - - - - - - list - list setup::py_modules - - py_modules - ["cmd2"] - - - - - - - - - - string - string setup::url - - url - 'http://packages.python.org/cmd2/' - - - - - - - - - - - setup::use_2to3 - - use_2to3 - True, - - - - - - - - - - string - string setup::version - - version - "0.6.4" - - - - - - - - - - - - def - def setup::find_packages - - find_packages - - - - - - - - - - - - - - - - diff --git a/doxygen/xml/namespaceturtle.xml b/doxygen/xml/namespaceturtle.xml deleted file mode 100644 index 0b507eb..0000000 --- a/doxygen/xml/namespaceturtle.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - turtle - - - - - - - diff --git a/doxygen/xml/pirate2_8py.xml b/doxygen/xml/pirate2_8py.xml deleted file mode 100644 index 7d8816a..0000000 --- a/doxygen/xml/pirate2_8py.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - pirate2.py - pirate2::Pirate - pirate2 - - - - - -fromcmdimportCmd -#using``do_``methods - -classPirate(Cmd): -gold=3 -defdo_loot(self,arg): -'Seizebootyfromapassingship.' -self.gold+=1 -print('Nowwegots{0}doubloons' -.format(self.gold)) -defdo_drink(self,arg): -'Drownyoursorrrowsinrrrum.' -self.gold-=1 -print('Nowwegots{0}doubloons' -.format(self.gold)) - -pirate=Pirate() -pirate.cmdloop() - - - - diff --git a/doxygen/xml/pirate3_8py.xml b/doxygen/xml/pirate3_8py.xml deleted file mode 100644 index bbe914b..0000000 --- a/doxygen/xml/pirate3_8py.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - pirate3.py - pirate3::Pirate - pirate3 - - - - - -fromcmdimportCmd -#usinghook - -classPirate(Cmd): -gold=3 -defdo_loot(self,arg): -'Seizebootyfromapassingship.' -self.gold+=1 -defdo_drink(self,arg): -'Drownyoursorrrowsinrrrum.' -self.gold-=1 -defprecmd(self,line): -self.initial_gold=self.gold -returnline -defpostcmd(self,stop,line): -ifself.gold!=self.initial_gold: -print('Nowwegots{0}doubloons' -.format(self.gold)) - -pirate=Pirate() -pirate.cmdloop() - - - - diff --git a/doxygen/xml/pirate4_8py.xml b/doxygen/xml/pirate4_8py.xml deleted file mode 100644 index 2b8352d..0000000 --- a/doxygen/xml/pirate4_8py.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - pirate4.py - pirate4::Pirate - pirate4 - - - - - -fromcmdimportCmd -#usingarguments - -classPirate(Cmd): -gold=3 -defdo_loot(self,arg): -'Seizebootyfromapassingship.' -self.gold+=1 -defdo_drink(self,arg): -'''Drownyoursorrrowsinrrrum. - -drink[n]-drink[n]barrel[s]o'rum.''' -try: -self.gold-=int(arg) -except: -ifarg: -print('''What's"{0}"?I'lltakerrrum.'''.format(arg)) -self.gold-=1 -defprecmd(self,line): -self.initial_gold=self.gold -returnline -defpostcmd(self,stop,line): -ifself.gold!=self.initial_gold: -print('Nowwegots{0}doubloons'.format(self.gold)) - -pirate=Pirate() -pirate.cmdloop() - - - - diff --git a/doxygen/xml/pirate5_8py.xml b/doxygen/xml/pirate5_8py.xml deleted file mode 100644 index 2189333..0000000 --- a/doxygen/xml/pirate5_8py.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - - pirate5.py - pirate5::Pirate - pirate5 - - - - - -fromcmdimportCmd -#quitting - -classPirate(Cmd): -gold=3 -defdo_loot(self,arg): -'Seizebootyfromapassingship.' -self.gold+=1 -defdo_drink(self,arg): -'''Drownyoursorrrowsinrrrum. - -drink[n]-drink[n]barrel[s]o'rum.''' -try: -self.gold-=int(arg) -except: -ifarg: -print('''What's"{0}"?I'lltakerrrum.'''.format(arg)) -self.gold-=1 -defprecmd(self,line): -self.initial_gold=self.gold -returnline -defpostcmd(self,stop,line): -ifself.gold!=self.initial_gold: -print('Nowwegots{0}doubloons' -.format(self.gold)) -ifself.gold<0: -print("Offtodebtorrr'sprison.") -stop=True -returnstop -defdo_quit(self,arg): -print("Quiterrr!") -returnTrue - -pirate=Pirate() -pirate.cmdloop() - - - - diff --git a/doxygen/xml/pirate6_8py.xml b/doxygen/xml/pirate6_8py.xml deleted file mode 100644 index afe58e2..0000000 --- a/doxygen/xml/pirate6_8py.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - pirate6.py - pirate6::Pirate - pirate6 - - - - - -fromcmd2importCmd -#promptsanddefaults - -classPirate(Cmd): -gold=3 -prompt='arrr>' -defdefault(self,line): -print('Whatmeanyeby"{0}"?' -.format(line)) -defdo_loot(self,arg): -'Seizebootyfromapassingship.' -self.gold+=1 -defdo_drink(self,arg): -'''Drownyoursorrrowsinrrrum. - -drink[n]-drink[n]barrel[s]o'rum.''' -try: -self.gold-=int(arg) -except: -ifarg: -print('''What's"{0}"?I'lltakerrrum.'''.format(arg)) -self.gold-=1 -defprecmd(self,line): -self.initial_gold=self.gold -returnline -defpostcmd(self,stop,line): -ifself.gold!=self.initial_gold: -print('Nowwegots{0}doubloons' -.format(self.gold)) -ifself.gold<0: -print("Offtodebtorrr'sprison.") -stop=True -returnstop -defdo_quit(self,arg): -print("Quiterrr!") -returnTrue - -pirate=Pirate() -pirate.cmdloop() - - - - diff --git a/doxygen/xml/pirate7_8py.xml b/doxygen/xml/pirate7_8py.xml deleted file mode 100644 index 132b636..0000000 --- a/doxygen/xml/pirate7_8py.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - - pirate7.py - pirate7::Pirate - pirate7 - - - - - -fromcmd2importCmd -#promptsanddefaults - -classPirate(Cmd): -gold=3 -prompt='arrr>' -defdefault(self,line): -print('Whatmeanyeby"{0}"?'.format(line)) -defdo_loot(self,arg): -'Seizebootyfromapassingship.' -self.gold+=1 -defdo_drink(self,arg): -'''Drownyoursorrrowsinrrrum. - -drink[n]-drink[n]barrel[s]o'rum.''' -try: -self.gold-=int(arg) -except: -ifarg: -print('''What's"{0}"?I'lltakerrrum.'''.format(arg)) -self.gold-=1 -defprecmd(self,line): -self.initial_gold=self.gold -returnline -defpostcmd(self,stop,line): -ifself.gold!=self.initial_gold: -print('Nowwegots{0}doubloons' -.format(self.gold)) -ifself.gold<0: -print("Offtodebtorrr'sprison.") -stop=True -returnstop -defdo_quit(self,arg): -print("Quiterrr!") -returnTrue -default_to_shell=True -multilineCommands=['sing'] -terminators=Cmd.terminators+['...'] -songcolor='blue' -settable=Cmd.settable+'songcolorColorto``sing``in(red/blue/green/cyan/magenta,bold,underline)' -Cmd.shortcuts.update({'~':'sing'}) -defdo_sing(self,arg): -print(self.colorize(arg,self.songcolor)) - -pirate=Pirate() -pirate.cmdloop() - - - - diff --git a/doxygen/xml/pirate8_8py.xml b/doxygen/xml/pirate8_8py.xml deleted file mode 100644 index 46c568b..0000000 --- a/doxygen/xml/pirate8_8py.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - - pirate8.py - pirate8::Pirate - pirate8 - - - - - -fromcmd2importCmd,options,make_option -#promptsanddefaults - -classPirate(Cmd): -gold=3 -prompt='arrr>' -defdefault(self,line): -print('Whatmeanyeby"{0}"?'.format(line)) -defdo_loot(self,arg): -'Seizebootyfromapassingship.' -self.gold+=1 -defdo_drink(self,arg): -'''Drownyoursorrrowsinrrrum. - -drink[n]-drink[n]barrel[s]o'rum.''' -try: -self.gold-=int(arg) -except: -ifarg: -print('''What's"{0}"?I'lltakerrrum.'''.format(arg)) -self.gold-=1 -defprecmd(self,line): -self.initial_gold=self.gold -returnline -defpostcmd(self,stop,line): -ifself.gold!=self.initial_gold: -print('Nowwegots{0}doubloons' -.format(self.gold)) -ifself.gold<0: -print("Offtodebtorrr'sprison.") -stop=True -returnstop -defdo_quit(self,arg): -print("Quiterrr!") -returnTrue -default_to_shell=True -multilineCommands=['sing'] -terminators=Cmd.terminators+['...'] -songcolor='blue' -settable=Cmd.settable+'songcolorColorto``sing``in(red/blue/green/cyan/magenta,bold,underline)' -Cmd.shortcuts.update({'~':'sing'}) -defdo_sing(self,arg): -print(self.colorize(arg,self.songcolor)) -@options([make_option('--ho',type='int',default=2, -help="Howoftentochant'ho'"), -make_option('-c','--commas', -action="store_true", -help="Interspersecommas")]) -defdo_yo(self,arg,opts): -chant=['yo']+['ho']*opts.ho -separator=','ifopts.commaselse'' -chant=separator.join(chant) -print('{0}andabottleof{1}' -.format(chant,arg)) - -pirate=Pirate() -pirate.cmdloop() - - - - diff --git a/doxygen/xml/pirate_8py.xml b/doxygen/xml/pirate_8py.xml deleted file mode 100644 index 1669cae..0000000 --- a/doxygen/xml/pirate_8py.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - pirate.py - pirate::Pirate - pirate - - - - - -fromcmdimportCmd - -classPirate(Cmd): -pass - -pirate=Pirate() -pirate.cmdloop() - - - - diff --git a/doxygen/xml/schematic_8py.xml b/doxygen/xml/schematic_8py.xml deleted file mode 100644 index ac1de0a..0000000 --- a/doxygen/xml/schematic_8py.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - schematic.py - schematic - - - - - -fromturtleimport* -hideturtle() -width(6) -pensize=10 -pu() -goto(0,-400) - -defrectangle(x,y,_label): -pu() -seth(0) -backward(x/2) -fontsize=40 -pd() -foriinrange(2): -forward(x) -left(90) -forward(y) -left(90) -pu() -forward(x/2) -left(90) -forward(y/2-fontsize) -pd() -write(_label,align='center',font=('Arial',fontsize,'bold')) - -rectangle(800,80,'cmd') -pu() -forward(80) -rectangle(200,400,'cmd2') - -whileTrue: -pass - - - - diff --git a/doxygen/xml/setup_8py.xml b/doxygen/xml/setup_8py.xml deleted file mode 100644 index 9a4e99d..0000000 --- a/doxygen/xml/setup_8py.xml +++ /dev/null @@ -1,76 +0,0 @@ - - - - setup.py - setup - - - - - -#!/usr/bin/python -try: -fromsetuptoolsimportsetup,find_packages -exceptImportError: -fromdistutils.coreimportsetup -deffind_packages(): -return['sqlpython'] -importsys - -install_requires=['pyparsing>=1.5.6'] -setup( -name="cmd2", -version="0.6.4", -py_modules=["cmd2"], -use_2to3=True, - -#metadataforuploadtoPyPI -author='CatherineDevlin', -author_email='catherine.devlin@gmail.com', -description="Extrafeaturesforstandardlibrary'scmdmodule", -license='MIT', -keywords='commandpromptconsolecmd', -url='http://packages.python.org/cmd2/', -install_requires=install_requires, -long_description="""Enhancementsforstandardlibrary'scmdmodule. - -Drop-inreplacementaddsseveralfeaturesforcommand-prompttools: - -*Searchablecommandhistory(commands:"hi","li","run") -*Loadcommandsfromfile,savetofile,editcommandsinfile -*Multi-linecommands -*Case-insensitivecommands -*Special-charactershortcutcommands(beyondcmd's"@"and"!") -*Settableenvironmentparameters -*Parsingcommandswithflags -*>(filename),>>(filename)redirectoutputtofile -*<(filename)getsinputfromfile -*bare>,>>,<redirectto/frompastebuffer -*acceptsabbreviatedcommandswhenunambiguous -*`py`entersinteractivePythonconsole -*testappsagainstsamplesessiontranscript(seeexample/example.py) - -Useablewithoutmodificationanywherecmdisused;simplyimportcmd2.Cmdinplaceofcmd.Cmd. - -Running`2to3<http://docs.python.org/library/2to3.html>`against``cmd2.py`` -generatesworking,Python3-basedcode. - -Seedocsathttp://packages.python.org/cmd2/ -""", - -classifiers=[ -'DevelopmentStatus::4-Beta', -'Environment::Console', -'OperatingSystem::OSIndependent', -'IntendedAudience::Developers', -'IntendedAudience::SystemAdministrators', -'ProgrammingLanguage::Python', -'License::OSIApproved::MITLicense', -'Topic::SoftwareDevelopment::Libraries::PythonModules', -], -) - - - - - -- cgit v1.2.1