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