Public Member Functions | List of all members
res2cc_cmd.LumaFile Class Reference
Inheritance diagram for res2cc_cmd.LumaFile:
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 87 of file res2cc_cmd.py.

Constructor & Destructor Documentation

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

Definition at line 88 of file res2cc_cmd.py.

88  def __init__(self,directory,subdir,fileName):
89  File.__init__(self,directory,subdir,fileName,"r")
def __init__(self, directory, subdir, fileName)
Definition: res2cc_cmd.py:88

Member Function Documentation

def res2cc_cmd.LumaFile.writeContents (   self,
  outputFile 
)

Definition at line 90 of file res2cc_cmd.py.

90  def writeContents(self,outputFile):
91  self.convertToBytes(outputFile)
def convertToBytes(self, outputFile)
Definition: res2cc_cmd.py:48
def writeContents(self, outputFile)
Definition: res2cc_cmd.py:90
def res2cc_cmd.LumaFile.writeDirEntry (   self,
  outputFile 
)

Definition at line 92 of file res2cc_cmd.py.

92  def writeDirEntry(self,outputFile):
93  print(" { \"%s\", \"%s\", %s_data, %s_len, Resource::LumAlpha }," % (self.subdir,self.fileName,self.bareName,self.bareName), file=outputFile)
94 
def writeDirEntry(self, outputFile)
Definition: res2cc_cmd.py:92

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