C# 클래스 IronPython.Modules.PythonIOModule.FileIO

상속: _RawIOBase, IDisposable, IWeakReferenceable, ICodeFormattable, IDynamicMetaObjectProvider
파일 보기 프로젝트 열기: jschementi/iron

공개 프로퍼티들

프로퍼티 타입 설명
name object

Private Properties

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

FileIO() 공개 메소드

public FileIO ( CodeContext context, int fd, [ mode, [ closefd ) : System
context CodeContext
fd int
mode [
closefd [
리턴 System

FileIO() 공개 메소드

public FileIO ( CodeContext context, string name, [ mode, [ closefd ) : System
context CodeContext
name string
mode [
closefd [
리턴 System

__repr__() 공개 메소드

public __repr__ ( CodeContext context ) : string
context CodeContext
리턴 string

readinto() 공개 메소드

public readinto ( CodeContext context, object buf ) : BigInteger
context CodeContext
buf object
리턴 BigInteger

seek() 공개 메소드

public seek ( double offset, [ whence ) : BigInteger
offset double
whence [
리턴 BigInteger

truncate() 공개 메소드

public truncate ( BigInteger size ) : BigInteger
size BigInteger
리턴 BigInteger

truncate() 공개 메소드

public truncate ( double size ) : BigInteger
size double
리턴 BigInteger

프로퍼티 상세

name 공개적으로 프로퍼티

public object name
리턴 object