diff options
author | Zearin <zearin@gonk.net> | 2011-10-07 10:35:21 -0400 |
---|---|---|
committer | Zearin <zearin@gonk.net> | 2011-10-07 10:35:21 -0400 |
commit | 07b4dc3d6991cbdc420c246e807371c97a467d1a (patch) | |
tree | 329febd532aedfcd4daf92c807e802d1535c8f88 /doxygen/man/man3/example_CmdLineApp.3 | |
parent | 36a2424cfd8c44d9f63bb4e2d7ac69cf7bce3940 (diff) | |
parent | 04cdcb0feb369ac4c60e10ccdc139c57e8b52e62 (diff) | |
download | cmd2-master.tar.gz |
Diffstat (limited to 'doxygen/man/man3/example_CmdLineApp.3')
-rw-r--r-- | doxygen/man/man3/example_CmdLineApp.3 | 95 |
1 files changed, 0 insertions, 95 deletions
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'\&. |