Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
IOmessageWriter Class Reference

Public Member Functions

def __init__
 
def write
 

Data Fields

 line
 
 cpstr
 

Detailed Description

Definition at line 101 of file custom.py.

Constructor & Destructor Documentation

def __init__ (   self,
  cpnum 
)

Definition at line 102 of file custom.py.

103  def __init__(self,cpnum):
104  self.line=''
105  if cpnum<0:
106  self.cpstr='all'
107  else:
self.cpstr = 'p'+str(cpnum)

Member Function Documentation

def write (   self,
  text 
)

Definition at line 108 of file custom.py.

References IOmessageWriter.cpstr, NannyNag.line, IOmessageWriter.line, MissingSectionHeaderError.line, Breakpoint.line, and BadStatusLine.line.

109  def write(self, text):
110  lines = text.split('\n')
111  self.line=lines[-1]
112  lines = lines[:-1]
113  for l in lines:
114  VS.IOmessage(0,"game",self.cpstr,l)
115 

Field Documentation

cpstr

Definition at line 105 of file custom.py.

line

Definition at line 103 of file custom.py.


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