C# Class IronPython.Modules.PythonIOModule.FileIO

Inheritance: _RawIOBase, IDisposable, IWeakReferenceable, ICodeFormattable, IDynamicMetaObjectProvider
Afficher le fichier Open project: jschementi/iron

Méthodes publiques

Свойство Type Description
name object

Private Properties

Свойство Type Description
BadMode void
EnsureReadable void
EnsureWritable void
IDisposable void
IDynamicMetaObjectProvider DynamicMetaObject
IWeakReferenceable IronPython.Runtime.WeakRefTracker
IWeakReferenceable bool
IWeakReferenceable void
OpenFile Stream
SeekToEnd void
StandardizeMode string
close void
fileno int
flush void
isatty bool
read object
readable bool
readall System.Bytes
readinto BigInteger
seek BigInteger
seekable bool
tell BigInteger
truncate BigInteger
writable bool
write BigInteger
write BigInteger
write BigInteger

Méthodes publiques

Méthode Description
FileIO ( CodeContext context, int fd, [ mode, [ closefd ) : System
FileIO ( CodeContext context, string name, [ mode, [ closefd ) : System
__repr__ ( CodeContext context ) : string
readinto ( CodeContext context, object buf ) : BigInteger
seek ( double offset, [ whence ) : BigInteger
truncate ( BigInteger size ) : BigInteger
truncate ( double size ) : BigInteger

Private Methods

Méthode Description
BadMode ( string mode ) : void
EnsureReadable ( ) : void
EnsureWritable ( ) : void
IDisposable ( ) : void
IDynamicMetaObjectProvider ( Expression parameter ) : DynamicMetaObject
IWeakReferenceable ( ) : IronPython.Runtime.WeakRefTracker
IWeakReferenceable ( IronPython.Runtime.WeakRefTracker value ) : bool
IWeakReferenceable ( IronPython.Runtime.WeakRefTracker value ) : void
OpenFile ( CodeContext context, PlatformAdaptationLayer pal, string name, FileMode fileMode, FileAccess fileAccess, FileShare fileShare ) : Stream
SeekToEnd ( ) : void
StandardizeMode ( string mode ) : string

Remove all 'b's from mode string to simplify parsing

close ( CodeContext context ) : void
fileno ( CodeContext context ) : int
flush ( CodeContext context ) : void
isatty ( CodeContext context ) : bool
read ( CodeContext context, [ size ) : object
readable ( CodeContext context ) : bool
readall ( ) : System.Bytes
readinto ( [ buffer ) : BigInteger
seek ( CodeContext context, BigInteger offset, [ whence ) : BigInteger
seekable ( CodeContext context ) : bool
tell ( CodeContext context ) : BigInteger
truncate ( CodeContext context, [ pos ) : BigInteger
writable ( CodeContext context ) : bool
write ( CodeContext context, object b ) : BigInteger
write ( [ b ) : BigInteger
write ( [ b ) : BigInteger

Method Details

FileIO() public méthode

public FileIO ( CodeContext context, int fd, [ mode, [ closefd ) : System
context CodeContext
fd int
mode [
closefd [
Résultat System

FileIO() public méthode

public FileIO ( CodeContext context, string name, [ mode, [ closefd ) : System
context CodeContext
name string
mode [
closefd [
Résultat System

__repr__() public méthode

public __repr__ ( CodeContext context ) : string
context CodeContext
Résultat string

readinto() public méthode

public readinto ( CodeContext context, object buf ) : BigInteger
context CodeContext
buf object
Résultat BigInteger

seek() public méthode

public seek ( double offset, [ whence ) : BigInteger
offset double
whence [
Résultat BigInteger

truncate() public méthode

public truncate ( BigInteger size ) : BigInteger
size BigInteger
Résultat BigInteger

truncate() public méthode

public truncate ( double size ) : BigInteger
size double
Résultat BigInteger

Property Details

name public_oe property

public object name
Résultat object