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

Constructor & Destructor Documentation

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

Definition at line 72 of file res2cc_cmd.py.

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

Member Function Documentation

def res2cc_cmd.CSSFile.writeContents (   self,
  outputFile 
)

Definition at line 74 of file res2cc_cmd.py.

74  def writeContents(self,outputFile):
75  self.writeBytes(self.inputFile.read(),outputFile)
def writeContents(self, outputFile)
Definition: res2cc_cmd.py:74
def writeBytes(self, data, outputFile)
Definition: res2cc_cmd.py:38
def res2cc_cmd.CSSFile.writeDirEntry (   self,
  outputFile 
)

Definition at line 76 of file res2cc_cmd.py.

76  def writeDirEntry(self,outputFile):
77  print(" { \"%s\", \"%s\", %s_data, %s_len, Resource::CSS }," % (self.subdir,self.fileName,self.bareName,self.bareName), file=outputFile)
78 
def writeDirEntry(self, outputFile)
Definition: res2cc_cmd.py:76

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