FswFile Class Reference

Functional interface to a generic file in FSW. More...

Inheritance diagram for FswFile:

Inheritance graph
[legend]
List of all members.

Public Member Functions

def __init__
 Constructor.
def fileID
 retrieve file ID
def binary
 retrieve file data
def uploaded
 retrieve file upload status
def setUploaded
 Set file upload status.
def write
 write file to stream (file descriptor)

Detailed Description

Functional interface to a generic file in FSW.

Definition at line 623 of file FILE.py.


Member Function Documentation

def __init__   self,
  fid,
  bin,
  uploaded = False
 

Constructor.

Parameters:
fid FswFileID for this file
bin Raw binary representation of file
uploaded True if file has been uploaded

Reimplemented in FswFileFromData, and FswFileFromDisk.

Definition at line 625 of file FILE.py.

def binary   self  ) 
 

retrieve file data

Returns:
a raw binary string

Definition at line 643 of file FILE.py.

def fileID   self  ) 
 

retrieve file ID

Returns:
a FswFileID object

Definition at line 636 of file FILE.py.

def setUploaded   self,
  bool
 

Set file upload status.

Parameters:
bool True if file is uploaded
Returns:
True if this succeeds

Definition at line 657 of file FILE.py.

def uploaded   self  ) 
 

retrieve file upload status

Returns:
True if uploaded

Definition at line 650 of file FILE.py.

def write   self,
  stream
 

write file to stream (file descriptor)

Parameters:
stream Any writable file descriptor

Definition at line 666 of file FILE.py.


The documentation for this class was generated from the following file:
Generated on Thu Apr 27 20:53:03 2006 for LICOS L02-01-00 by doxygen 1.4.6-NO