C# Class Qyoto.QFile

Inheritance: Qyoto.QIODevice, IDisposable
Mostrar archivo Open project: 0xd34df00d/Qross Class Usage Examples

Public Methods

Method Description
Copy ( string newName ) : bool
Copy ( string fileName, string newName ) : bool
DecodeName ( Qyoto.QByteArray localFileName ) : string
DecodeName ( string localFileName ) : string
Dispose ( ) : void
EncodeName ( string fileName ) : Qyoto.QByteArray
Error ( ) : QFile.FileError
Exists ( ) : bool
Exists ( string fileName ) : bool
FileName ( ) : string
Flush ( ) : bool
Link ( string newName ) : bool
Link ( string oldname, string newName ) : bool
Map ( long offset, long size ) : Pointer
Map ( long offset, long size, QFile flags ) : Pointer
Open ( int fd, uint flags ) : bool
Permissions ( ) : uint
Permissions ( string filename ) : uint
QFile ( QObject parent ) : System
QFile ( string name ) : System
QFile ( string name, QObject parent ) : System
ReadLink ( ) : string
ReadLink ( string fileName ) : string
Remove ( ) : bool
Remove ( string fileName ) : bool
Rename ( string newName ) : bool
Rename ( string oldName, string newName ) : bool
Resize ( long sz ) : bool
Resize ( string filename, long sz ) : bool
SetFileName ( string name ) : void
SetPermissions ( string filename, uint permissionSpec ) : bool
SetPermissions ( uint permissionSpec ) : bool
SymLinkTarget ( ) : string
SymLinkTarget ( string fileName ) : string
Tr ( string s ) : string
Tr ( string s, string c ) : string
Unmap ( Pointer address ) : bool
UnsetError ( ) : void

Protected Methods

Method Description
CreateProxy ( ) : void
QFile ( Type dummy ) : System

Private Methods

Method Description
AtEnd ( ) : bool
Close ( ) : void
FileEngine ( ) : QAbstractFileEngine
IsSequential ( ) : bool
Open ( uint flags ) : bool
Pos ( ) : long
QFile ( ) : System
ReadData ( Pointer data, long maxlen ) : long
ReadLineData ( Pointer data, long maxlen ) : long
Seek ( long offset ) : bool
Size ( ) : long
WriteData ( string data, long len ) : long

Method Details

Copy() public method

public Copy ( string newName ) : bool
newName string
return bool

Copy() public static method

public static Copy ( string fileName, string newName ) : bool
fileName string
newName string
return bool

CreateProxy() protected method

protected CreateProxy ( ) : void
return void

DecodeName() public static method

public static DecodeName ( Qyoto.QByteArray localFileName ) : string
localFileName Qyoto.QByteArray
return string

DecodeName() public static method

public static DecodeName ( string localFileName ) : string
localFileName string
return string

Dispose() public method

public Dispose ( ) : void
return void

EncodeName() public static method

public static EncodeName ( string fileName ) : Qyoto.QByteArray
fileName string
return Qyoto.QByteArray

Error() public method

public Error ( ) : QFile.FileError
return QFile.FileError

Exists() public method

public Exists ( ) : bool
return bool

Exists() public static method

public static Exists ( string fileName ) : bool
fileName string
return bool

FileName() public method

public FileName ( ) : string
return string

Flush() public method

public Flush ( ) : bool
return bool

Link() public method

public Link ( string newName ) : bool
newName string
return bool

Link() public static method

public static Link ( string oldname, string newName ) : bool
oldname string
newName string
return bool

Map() public method

public Map ( long offset, long size ) : Pointer
offset long
size long
return Pointer

Map() public method

public Map ( long offset, long size, QFile flags ) : Pointer
offset long
size long
flags QFile
return Pointer

Open() public method

public Open ( int fd, uint flags ) : bool
fd int
flags uint
return bool

Permissions() public method

public Permissions ( ) : uint
return uint

Permissions() public static method

public static Permissions ( string filename ) : uint
filename string
return uint

QFile() public method

public QFile ( QObject parent ) : System
parent QObject
return System

QFile() protected method

protected QFile ( Type dummy ) : System
dummy System.Type
return System

QFile() public method

public QFile ( string name ) : System
name string
return System

QFile() public method

public QFile ( string name, QObject parent ) : System
name string
parent QObject
return System

ReadLink() public method

public ReadLink ( ) : string
return string

ReadLink() public static method

public static ReadLink ( string fileName ) : string
fileName string
return string

Remove() public method

public Remove ( ) : bool
return bool

Remove() public static method

public static Remove ( string fileName ) : bool
fileName string
return bool

Rename() public method

public Rename ( string newName ) : bool
newName string
return bool

Rename() public static method

public static Rename ( string oldName, string newName ) : bool
oldName string
newName string
return bool

Resize() public method

public Resize ( long sz ) : bool
sz long
return bool

Resize() public static method

public static Resize ( string filename, long sz ) : bool
filename string
sz long
return bool

SetFileName() public method

public SetFileName ( string name ) : void
name string
return void

SetPermissions() public static method

public static SetPermissions ( string filename, uint permissionSpec ) : bool
filename string
permissionSpec uint
return bool

SetPermissions() public method

public SetPermissions ( uint permissionSpec ) : bool
permissionSpec uint
return bool

SymLinkTarget() public method

public SymLinkTarget ( ) : string
return string

SymLinkTarget() public static method

public static SymLinkTarget ( string fileName ) : string
fileName string
return string

Tr() public static method

public static Tr ( string s ) : string
s string
return string

Tr() public static method

public static Tr ( string s, string c ) : string
s string
c string
return string

Unmap() public method

public Unmap ( Pointer address ) : bool
address Pointer
return bool

UnsetError() public method

public UnsetError ( ) : void
return void