FswDirectoryItem Class Reference

Representation of an item in an FSW directory. More...

List of all members.

Public Member Functions

def __init__
 \ Constructor
def dump
 dump a directoryItem to a file descriptor.

Static Private Attributes

list __isdirTxt = [ '-', 'd' ]
list __roTxt = [ 'w', '-' ]


Detailed Description

Representation of an item in an FSW directory.

REVISIT: Make the members private and member functions?

Definition at line 282 of file fileTools.py.


Member Function Documentation

def __init__   self,
  fileID,
  ro,
  size,
  isdir,
  time,
  unit,
  blocks
 

\ Constructor

Parameters:
fileID A FswFileID object
ro file is ReadOnly flag (True/False)
size File size in bytes
isdir file is a directory flag (True/False)
time File modification time in LAT epoch
unit File unit (i.e. FSW_UNIT_SIU)
blocks REVISIT:: file blocks, maybe unused?

Definition at line 286 of file fileTools.py.

def dump   self,
  stream
 

dump a directoryItem to a file descriptor.

Parameters:
stream Any file descriptor (ie. sys.stdout)

Definition at line 305 of file fileTools.py.


Member Data Documentation

list __isdirTxt = [ '-', 'd' ] [static, private]
 

Definition at line 284 of file fileTools.py.

list __roTxt = [ 'w', '-' ] [static, private]
 

Definition at line 285 of file fileTools.py.


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