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! --- doxygen/html/classpirate7_1_1Pirate.html | 582 ------------------------------- 1 file changed, 582 deletions(-) delete mode 100644 doxygen/html/classpirate7_1_1Pirate.html (limited to 'doxygen/html/classpirate7_1_1Pirate.html') 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
  • -
-
-
- - - - - -- cgit v1.2.1