Public Member Functions | List of all members
res2cc_cmd.VerbatimFile Class Reference
Inheritance diagram for res2cc_cmd.VerbatimFile:
res2cc_cmd.File

Public Member Functions

def __init__ (self, directory, subdir, fileName)
 
def writeContents (self, outputFile)
 
def writeDirEntry (self, outputFile)
 
- Public Member Functions inherited from res2cc_cmd.File
def __init__ (self, directory, subdir, fileName, mode)
 
def formatByte (self, byte)
 
def writeBytes (self, data, outputFile)
 
def convertToBytes (self, outputFile)
 

Additional Inherited Members

- Static Public Member Functions inherited from res2cc_cmd.File
def factory (directory, subdir, fname)
 
- Public Attributes inherited from res2cc_cmd.File
 directory
 
 subdir
 
 fileName
 
 fileSize
 
 bareName
 
 inputFile
 

Detailed Description

Definition at line 63 of file res2cc_cmd.py.

Constructor & Destructor Documentation

def res2cc_cmd.VerbatimFile.__init__ (   self,
  directory,
  subdir,
  fileName 
)

Definition at line 64 of file res2cc_cmd.py.

64  def __init__(self,directory,subdir,fileName):
65  File.__init__(self,directory,subdir,fileName,"rb")
def __init__(self, directory, subdir, fileName)
Definition: res2cc_cmd.py:64

Member Function Documentation

def res2cc_cmd.VerbatimFile.writeContents (   self,
  outputFile 
)

Definition at line 66 of file res2cc_cmd.py.

66  def writeContents(self,outputFile):
67  self.writeBytes(self.inputFile.read(),outputFile)
def writeBytes(self, data, outputFile)
Definition: res2cc_cmd.py:38
def writeContents(self, outputFile)
Definition: res2cc_cmd.py:66
def res2cc_cmd.VerbatimFile.writeDirEntry (   self,
  outputFile 
)

Definition at line 68 of file res2cc_cmd.py.

68  def writeDirEntry(self,outputFile):
69  print(" { \"%s\", \"%s\", %s_data, %s_len, Resource::Verbatim }," % (self.subdir,self.fileName,self.bareName,self.bareName), file=outputFile)
70 
def writeDirEntry(self, outputFile)
Definition: res2cc_cmd.py:68

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