My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
res2cc_cmd.LumFile Class Reference
Inheritance diagram for res2cc_cmd.LumFile:
res2cc_cmd.File

Public Member Functions

def __init__
 
def writeContents
 
def writeDirEntry
 
- Public Member Functions inherited from res2cc_cmd.File
def __init__
 
def formatByte
 
def writeBytes
 
def convertToBytes
 

Additional Inherited Members

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

Detailed Description

Definition at line 79 of file res2cc_cmd.py.

Constructor & Destructor Documentation

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

Definition at line 80 of file res2cc_cmd.py.

80 
81  def __init__(self,directory,subdir,fileName):
File.__init__(self,directory,subdir,fileName,"r")

Member Function Documentation

def res2cc_cmd.LumFile.writeContents (   self,
  outputFile 
)

Definition at line 82 of file res2cc_cmd.py.

References res2cc_cmd.File.convertToBytes().

82 
83  def writeContents(self,outputFile):
self.convertToBytes(outputFile)
def res2cc_cmd.LumFile.writeDirEntry (   self,
  outputFile 
)

Definition at line 84 of file res2cc_cmd.py.

References res2cc_cmd.File.bareName, res2cc_cmd.File.fileName, CiteConsts.fileName, Define.fileName, TagInfo.fileName, ClassDefImpl.fileName, MemberGroup.fileName, DocParserContext.fileName, NamespaceDef.fileName, GroupDef.fileName, Entry.fileName, OutputGenerator.fileName, LayoutErrorHandler.fileName, and res2cc_cmd.File.subdir.

84 
85  def writeDirEntry(self,outputFile):
86  print(" { \"%s\", \"%s\", %s_data, %s_len, Resource::Luminance }," % (self.subdir,self.fileName,self.bareName,self.bareName), file=outputFile)

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