FilePtr Class

Definition

Line 1114 of cmsxk/File.cm

Constructors & Destructor

public nothrow FilePtr(INode* inode_, OpenFlags flags_)

Member Functions

public inline nothrow OpenFlags Flags() const
public nothrow bool IsHostTextFile() const
public long Read(Machine& machine, Process* reader, ulong bufferAddress, long count)
public void Release()
public long Seek(long p, Origin origin)
public FilePtr* Share()
public long Tell()
public long Write(Machine& machine, Process* writer, ulong bufferAddress, long count)

Member Variables

private OpenFlags flags
private INode* inode
private long pos
private int useCount

Constructor& Destructor Details

FilePtr Constructor

public nothrow FilePtr(INode* inode_, OpenFlags flags_)

Definition
Line 1116 of cmsxk/File.cm


Member Function Details

Flags Member Function

public inline nothrow OpenFlags Flags()

Definition
Line 1297 of cmsxk/File.cm


IsHostTextFile Member Function

public nothrow bool IsHostTextFile()

Definition
Line 1256 of cmsxk/File.cm


Read Member Function

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

Definition
Line 1186 of cmsxk/File.cm


Release Member Function

public void Release()

Definition
Line 1277 of cmsxk/File.cm


Seek Member Function

public long Seek(long p, Origin origin)

Definition
Line 1242 of cmsxk/File.cm


Share Member Function

public FilePtr* Share()

Definition
Line 1268 of cmsxk/File.cm


Tell Member Function

public long Tell()

Definition
Line 1252 of cmsxk/File.cm


Write Member Function

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

Definition
Line 1123 of cmsxk/File.cm