RegularFile Class

Definition

Line 915 of cmsxk/File.cm

Inheritance

Constructors & Destructor

public nothrow RegularFile(const String<char>& name_, FilePtr* filePtr_)

Member Functions

public override nothrow bool IsHostTextFile() const
public override long Read(Machine& machine, Process* reader, ulong bufferAddress, long count)
public override void Release(int fd)
public override long Seek(long pos, Origin origin)
public override File* Share()
public override long Tell()
public override long Write(Machine& machine, Process* writer, ulong bufferAddress, long count)

Member Variables

private FilePtr* filePtr

Constructor& Destructor Details

RegularFile Constructor

public nothrow RegularFile(const String<char>& name_, FilePtr* filePtr_)

Definition
Line 917 of cmsxk/File.cm


Member Function Details

IsHostTextFile Member Function

public override nothrow bool IsHostTextFile()

Definition
Line 944 of cmsxk/File.cm


Read Member Function

public override long Read(Machine& machine, Process* reader, ulong bufferAddress, long count)

Definition
Line 928 of cmsxk/File.cm


Release Member Function

public override void Release(int fd)

Definition
Line 952 of cmsxk/File.cm


Seek Member Function

public override long Seek(long pos, Origin origin)

Definition
Line 936 of cmsxk/File.cm


Share Member Function

public override File* Share()

Definition
Line 948 of cmsxk/File.cm


Tell Member Function

public override long Tell()

Definition
Line 940 of cmsxk/File.cm


Write Member Function

public override long Write(Machine& machine, Process* writer, ulong bufferAddress, long count)

Definition
Line 920 of cmsxk/File.cm