File Abstract Class

Definition

Line 445 of cmsxk/File.cm

Inheritance

Constructors & Destructor

public nothrow File(const String<char>& name_)

Member Functions

private void BeginObeyColorStrings()
public virtual bool Echo() const
private void EndObeyColorStrings()
private void GetColorStatus(Machine& machine, Process* process, ulong bufferAddress, long count)
private void GetConsoleColors(Machine& machine, Process* process, ulong bufferAddress, long count)
private void GetConsoleStatus(Machine& machine, Process* process, ulong bufferAddress, long count)
private void GetEcho(Machine& machine, Process* process, ulong bufferAddress, long count)
public virtual int GetFGPID()
private void GetHostTextFileStatus(Machine& machine, Process* process, ulong bufferAddress, long count)
private void GetWindowDimensions(Machine& machine, Process* process, ulong bufferAddress, long count)
public virtual nothrow bool HasColors() const
public virtual void IOCtl(Machine& machine, Process* process, int item, ulong bufferAddress, long count)
public virtual nothrow bool IsConsole() const
public virtual nothrow bool IsHostTextFile() const
public virtual long Read(Machine& machine, Process* reader, ulong bufferAddress, long count)
public virtual void Release(int fd)
public virtual long Seek(long pos, Origin origin)
private void SetConsoleColors(Machine& machine, Process* process, ulong bufferAddress, long count)
private void SetEcho(Machine& machine, Process* process, ulong bufferAddress, long count)
public virtual void SetEcho(bool echo)
public virtual void SetFGPID(int pid)
public virtual File* Share()
public virtual long Tell()
public virtual long Write(Machine& machine, Process* writer, ulong bufferAddress, long count)

Member Variables

public String<char> name

Constructor& Destructor Details

File Constructor

public nothrow File(const String<char>& name_)

Definition
Line 447 of cmsxk/File.cm


Member Function Details

BeginObeyColorStrings Member Function

private void BeginObeyColorStrings()

Definition
Line 685 of cmsxk/File.cm


Echo Member Function

public virtual bool Echo()

Definition
Line 478 of cmsxk/File.cm


EndObeyColorStrings Member Function

private void EndObeyColorStrings()

Definition
Line 692 of cmsxk/File.cm


GetColorStatus Member Function

private void GetColorStatus(Machine& machine, Process* process, ulong bufferAddress, long count)

Definition
Line 593 of cmsxk/File.cm


GetConsoleColors Member Function

private void GetConsoleColors(Machine& machine, Process* process, ulong bufferAddress, long count)

Definition
Line 646 of cmsxk/File.cm


GetConsoleStatus Member Function

private void GetConsoleStatus(Machine& machine, Process* process, ulong bufferAddress, long count)

Definition
Line 571 of cmsxk/File.cm


GetEcho Member Function

private void GetEcho(Machine& machine, Process* process, ulong bufferAddress, long count)

Definition
Line 604 of cmsxk/File.cm


GetFGPID Member Function

public virtual int GetFGPID()

Definition
Line 552 of cmsxk/File.cm


GetHostTextFileStatus Member Function

private void GetHostTextFileStatus(Machine& machine, Process* process, ulong bufferAddress, long count)

Definition
Line 582 of cmsxk/File.cm


GetWindowDimensions Member Function

private void GetWindowDimensions(Machine& machine, Process* process, ulong bufferAddress, long count)

Definition
Line 628 of cmsxk/File.cm


HasColors Member Function

public virtual nothrow bool HasColors()

Definition
Line 474 of cmsxk/File.cm


IOCtl Member Function

public virtual void IOCtl(Machine& machine, Process* process, int item, ulong bufferAddress, long count)

Definition
Line 486 of cmsxk/File.cm


IsConsole Member Function

public virtual nothrow bool IsConsole()

Definition
Line 466 of cmsxk/File.cm


IsHostTextFile Member Function

public virtual nothrow bool IsHostTextFile()

Definition
Line 470 of cmsxk/File.cm


Read Member Function

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

Definition
Line 454 of cmsxk/File.cm


Release Member Function

public virtual void Release(int fd)

Definition
Line 564 of cmsxk/File.cm


Seek Member Function

public virtual long Seek(long pos, Origin origin)

Definition
Line 458 of cmsxk/File.cm


SetConsoleColors Member Function

private void SetConsoleColors(Machine& machine, Process* process, ulong bufferAddress, long count)

Definition
Line 669 of cmsxk/File.cm


SetEcho Member Function

private void SetEcho(Machine& machine, Process* process, ulong bufferAddress, long count)

Definition
Line 616 of cmsxk/File.cm


SetEcho Member Function

public virtual void SetEcho(bool echo)

Definition
Line 482 of cmsxk/File.cm


SetFGPID Member Function

public virtual void SetFGPID(int pid)

Definition
Line 556 of cmsxk/File.cm


Share Member Function

public virtual File* Share()

Definition
Line 560 of cmsxk/File.cm


Tell Member Function

public virtual long Tell()

Definition
Line 462 of cmsxk/File.cm


Write Member Function

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

Definition
Line 450 of cmsxk/File.cm