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

Member Function Documentation

def res2cc_cmd.VerbatimFile.writeContents (   self,
  outputFile 
)

Definition at line 66 of file res2cc_cmd.py.

References res2cc_cmd.File.writeBytes().

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

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

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

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