Definition at line 106 of file rfio.py.
◆ __init__()
def python.rfio.StatResult.__init__ |
( |
|
self | ) |
|
Definition at line 107 of file rfio.py.
119 self.__items = [ i.upper()
for i
in self.__dict__
if i.startswith(
'st_') ]
◆ __getitem__()
def python.rfio.StatResult.__getitem__ |
( |
|
self, |
|
|
|
idx |
|
) |
| |
Definition at line 122 of file rfio.py.
123 for i
in self.__items:
124 if idx == getattr(statconsts,i):
125 return getattr(self,i.lower())
◆ __setitem__()
def python.rfio.StatResult.__setitem__ |
( |
|
self, |
|
|
|
idx, |
|
|
|
val |
|
) |
| |
Definition at line 129 of file rfio.py.
130 for i
in self.__items:
131 if idx == getattr(statconsts,i):
132 setattr(self,i.lower(),val)
◆ __str__()
def python.rfio.StatResult.__str__ |
( |
|
self | ) |
|
Definition at line 135 of file rfio.py.
137 for i
in range(len(self.__items)):
138 vals.append( self[i] )
139 return str( tuple(vals) )
◆ __items
python.rfio.StatResult.__items |
|
private |
◆ st_atime
python.rfio.StatResult.st_atime |
◆ st_ctime
python.rfio.StatResult.st_ctime |
◆ st_dev
python.rfio.StatResult.st_dev |
◆ st_gid
python.rfio.StatResult.st_gid |
◆ st_ino
python.rfio.StatResult.st_ino |
◆ st_mode
python.rfio.StatResult.st_mode |
◆ st_mtime
python.rfio.StatResult.st_mtime |
◆ st_nlink
python.rfio.StatResult.st_nlink |
◆ st_size
python.rfio.StatResult.st_size |
◆ st_uid
python.rfio.StatResult.st_uid |
The documentation for this class was generated from the following file: