Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

ht_layer_textfile Class Reference

#include <textfile.h>

Inheritance diagram for ht_layer_textfile:

ht_textfile ht_layer_streamfile ht_streamfile ht_stream List of all members.

Public Member Functions

void init (ht_textfile *textfile, bool own_textfile)
virtual bool convert_ofs2line (FILEOFS o, UINT *line, UINT *pofs)
virtual bool convert_line2ofs (UINT line, UINT pofs, FILEOFS *o)
virtual void delete_lines (UINT line, UINT count)
virtual void delete_chars (UINT line, UINT ofs, UINT count)
virtual bool get_char (UINT line, char *ch, UINT pos)
virtual bool getline (UINT line, UINT pofs, void *buf, UINT buflen, UINT *retlen, lexer_state *state)
virtual UINT getlinelength (UINT line)
virtual void insert_lines (UINT before, UINT count, void **line_ends, int *lineendlens)
virtual void insert_chars (UINT line, UINT ofs, void *chars, UINT len)
virtual bool has_line (UINT line)
virtual UINT linecount ()
virtual void set_layered_assume (ht_streamfile *streamfile, bool changes_applied)
virtual void set_lexer (ht_syntax_lexer *lexer)

Member Function Documentation

bool ht_layer_textfile::convert_line2ofs UINT  line,
UINT  pofs,
FILEOFS o
[virtual]
 

Implements ht_textfile.

Definition at line 54 of file textfile.cc.

References FILEOFS, and UINT.

bool ht_layer_textfile::convert_ofs2line FILEOFS  o,
UINT line,
UINT pofs
[virtual]
 

Implements ht_textfile.

Definition at line 49 of file textfile.cc.

References FILEOFS, and UINT.

void ht_layer_textfile::delete_chars UINT  line,
UINT  ofs,
UINT  count
[virtual]
 

Implements ht_textfile.

Definition at line 64 of file textfile.cc.

References UINT.

void ht_layer_textfile::delete_lines UINT  line,
UINT  count
[virtual]
 

Implements ht_textfile.

Definition at line 59 of file textfile.cc.

References UINT.

bool ht_layer_textfile::get_char UINT  line,
char *  ch,
UINT  pos
[virtual]
 

Implements ht_textfile.

Definition at line 69 of file textfile.cc.

References UINT.

bool ht_layer_textfile::getline UINT  line,
UINT  pofs,
void *  buf,
UINT  buflen,
UINT retlen,
lexer_state state
[virtual]
 

Implements ht_textfile.

Definition at line 74 of file textfile.cc.

References buf, lexer_state, and UINT.

UINT ht_layer_textfile::getlinelength UINT  line  )  [virtual]
 

Implements ht_textfile.

Definition at line 79 of file textfile.cc.

References UINT.

bool ht_layer_textfile::has_line UINT  line  )  [virtual]
 

Implements ht_textfile.

Definition at line 94 of file textfile.cc.

References UINT.

void ht_layer_textfile::init ht_textfile textfile,
bool  own_textfile
 

Definition at line 44 of file textfile.cc.

References ht_stream::init().

void ht_layer_textfile::insert_chars UINT  line,
UINT  ofs,
void *  chars,
UINT  len
[virtual]
 

Implements ht_textfile.

Definition at line 89 of file textfile.cc.

References len, and UINT.

void ht_layer_textfile::insert_lines UINT  before,
UINT  count,
void **  line_ends,
int *  lineendlens
[virtual]
 

Implements ht_textfile.

Definition at line 84 of file textfile.cc.

References UINT.

UINT ht_layer_textfile::linecount  )  [virtual]
 

Implements ht_textfile.

Definition at line 99 of file textfile.cc.

References UINT.

void ht_layer_textfile::set_layered_assume ht_streamfile streamfile,
bool  changes_applied
[virtual]
 

Implements ht_textfile.

Definition at line 104 of file textfile.cc.

void ht_layer_textfile::set_lexer ht_syntax_lexer lexer  )  [virtual]
 

Implements ht_textfile.

Definition at line 112 of file textfile.cc.


The documentation for this class was generated from the following files:
Generated on Fri May 7 21:15:59 2004 by doxygen 1.3.5