My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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__
 
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 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 
73  def __init__(self,directory,subdir,fileName):
File.__init__(self,directory,subdir,fileName,"r")

Member Function Documentation

def res2cc_cmd.CSSFile.writeContents (   self,
  outputFile 
)

Definition at line 74 of file res2cc_cmd.py.

References res2cc_cmd.File.writeBytes().

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

Definition at line 76 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.

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

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