proxygen
pump.Output Class Reference

Public Member Functions

def __init__ (self)
 
def GetLastLine (self)
 
def Append (self, s)
 
def __init__ (self)
 
def GetLastLine (self)
 
def Append (self, s)
 
def __init__ (self)
 
def GetLastLine (self)
 
def Append (self, s)
 

Public Attributes

 string
 

Detailed Description

Definition at line 641 of file pump.py.

Constructor & Destructor Documentation

def pump.Output.__init__ (   self)

Definition at line 642 of file pump.py.

Referenced by pump.Output.__init__().

642  def __init__(self):
643  self.string = ''
644 
def __init__(self)
Definition: pump.py:642
def pump.Output.__init__ (   self)

Definition at line 642 of file pump.py.

References pump.Output.__init__(), and pump.Output.string.

642  def __init__(self):
643  self.string = ''
644 
def __init__(self)
Definition: pump.py:642
def pump.Output.__init__ (   self)

Definition at line 642 of file pump.py.

References pump.Output.__init__(), and pump.Output.string.

642  def __init__(self):
643  self.string = ''
644 
def __init__(self)
Definition: pump.py:642

Member Function Documentation

def pump.Output.Append (   self,
  s 
)

Definition at line 652 of file pump.py.

References pump.Output.string.

Referenced by pump.Output.Append().

652  def Append(self, s):
653  self.string += s
654 
655 
def Append(self, s)
Definition: pump.py:652
def pump.Output.GetLastLine (   self)

Definition at line 645 of file pump.py.

References pump.Output.string.

Referenced by pump.Output.GetLastLine().

645  def GetLastLine(self):
646  index = self.string.rfind('\n')
647  if index < 0:
648  return ''
649 
650  return self.string[index + 1:]
651 
def GetLastLine(self)
Definition: pump.py:645
def pump.Output.GetLastLine (   self)

Definition at line 645 of file pump.py.

References pump.Output.GetLastLine(), and pump.Output.string.

645  def GetLastLine(self):
646  index = self.string.rfind('\n')
647  if index < 0:
648  return ''
649 
650  return self.string[index + 1:]
651 
def GetLastLine(self)
Definition: pump.py:645
def pump.Output.GetLastLine (   self)

Definition at line 645 of file pump.py.

References pump.Output.GetLastLine(), and pump.Output.string.

645  def GetLastLine(self):
646  index = self.string.rfind('\n')
647  if index < 0:
648  return ''
649 
650  return self.string[index + 1:]
651 
def GetLastLine(self)
Definition: pump.py:645

Member Data Documentation

pump.Output.string

Definition at line 643 of file pump.py.

Referenced by pump.Output.__init__(), pump.Output.Append(), and pump.Output.GetLastLine().


The documentation for this class was generated from the following file: