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

ht_layer_sub Class Reference

#include <htformat.h>

Inheritance diagram for ht_layer_sub:

ht_sub Object ht_collapsable_sub List of all members.

Public Member Functions

void init (ht_streamfile *file, ht_sub *sub, bool own_sub)
virtual void done ()
virtual bool convert_ofs_to_id (const FILEOFS offset, LINE_ID *line_id)
virtual bool convert_id_to_ofs (const LINE_ID line_id, FILEOFS *offset)
virtual bool closest_line_id (LINE_ID *line_id)
virtual void first_line_id (LINE_ID *line_id)
virtual bool getline (char *line, const LINE_ID line_id)
virtual void handlemsg (htmsg *msg)
virtual void last_line_id (LINE_ID *line_id)
virtual int next_line_id (LINE_ID *line_id, int n)
virtual int prev_line_id (LINE_ID *line_id, int n)
virtual bool ref (LINE_ID *id)
virtual ht_search_resultsearch (ht_search_request *search, FILEOFS start, FILEOFS end)

Protected Attributes

ht_subsub
bool own_sub

Member Function Documentation

bool ht_layer_sub::closest_line_id LINE_ID line_id  )  [virtual]
 

Reimplemented from ht_sub.

Definition at line 4504 of file htformat.cc.

References ht_sub::closest_line_id(), and sub.

bool ht_layer_sub::convert_id_to_ofs const LINE_ID  line_id,
FILEOFS offset
[virtual]
 

Reimplemented from ht_sub.

Reimplemented in ht_collapsable_sub.

Definition at line 4514 of file htformat.cc.

References ht_sub::convert_id_to_ofs(), FILEOFS, and sub.

Referenced by ht_collapsable_sub::convert_id_to_ofs().

bool ht_layer_sub::convert_ofs_to_id const FILEOFS  offset,
LINE_ID line_id
[virtual]
 

Reimplemented from ht_sub.

Reimplemented in ht_collapsable_sub.

Definition at line 4509 of file htformat.cc.

References ht_sub::convert_ofs_to_id(), FILEOFS, and sub.

Referenced by ht_collapsable_sub::convert_ofs_to_id().

void ht_layer_sub::done  )  [virtual]
 

Reimplemented from ht_sub.

Reimplemented in ht_collapsable_sub.

Definition at line 4495 of file htformat.cc.

References ht_sub::done(), own_sub, and sub.

Referenced by ht_collapsable_sub::done().

void ht_layer_sub::first_line_id LINE_ID line_id  )  [virtual]
 

Reimplemented from ht_sub.

Reimplemented in ht_collapsable_sub.

Definition at line 4519 of file htformat.cc.

References ht_sub::first_line_id(), and sub.

Referenced by ht_collapsable_sub::init(), and ht_collapsable_sub::next_line_id().

bool ht_layer_sub::getline char *  line,
const LINE_ID  line_id
[virtual]
 

Reimplemented from ht_sub.

Reimplemented in ht_collapsable_sub.

Definition at line 4524 of file htformat.cc.

References ht_sub::getline(), and sub.

Referenced by ht_collapsable_sub::getline().

void ht_layer_sub::handlemsg htmsg *  msg  )  [virtual]
 

Reimplemented from ht_sub.

Definition at line 4529 of file htformat.cc.

References ht_sub::handlemsg(), and sub.

void ht_layer_sub::init ht_streamfile file,
ht_sub sub,
bool  own_sub
 

Definition at line 4488 of file htformat.cc.

References file, Object::init(), own_sub, and sub.

void ht_layer_sub::last_line_id LINE_ID line_id  )  [virtual]
 

Reimplemented from ht_sub.

Reimplemented in ht_collapsable_sub.

Definition at line 4534 of file htformat.cc.

References ht_sub::last_line_id(), and sub.

Referenced by ht_collapsable_sub::last_line_id().

int ht_layer_sub::next_line_id LINE_ID line_id,
int  n
[virtual]
 

Reimplemented from ht_sub.

Reimplemented in ht_collapsable_sub.

Definition at line 4539 of file htformat.cc.

References ht_sub::next_line_id(), and sub.

Referenced by ht_collapsable_sub::next_line_id().

int ht_layer_sub::prev_line_id LINE_ID line_id,
int  n
[virtual]
 

Reimplemented from ht_sub.

Reimplemented in ht_collapsable_sub.

Definition at line 4544 of file htformat.cc.

References ht_sub::prev_line_id(), and sub.

Referenced by ht_collapsable_sub::prev_line_id().

bool ht_layer_sub::ref LINE_ID id  )  [virtual]
 

Reimplemented from ht_sub.

Reimplemented in ht_collapsable_sub.

Definition at line 4549 of file htformat.cc.

References ht_sub::ref(), and sub.

Referenced by ht_collapsable_sub::ref().

ht_search_result * ht_layer_sub::search ht_search_request search,
FILEOFS  start,
FILEOFS  end
[virtual]
 

Reimplemented from ht_sub.

Reimplemented in ht_collapsable_sub.

Definition at line 4554 of file htformat.cc.

References FILEOFS, ht_sub::search(), and sub.

Referenced by ht_collapsable_sub::search().


Member Data Documentation

bool ht_layer_sub::own_sub [protected]
 

Definition at line 527 of file htformat.h.

Referenced by done(), and init().

ht_sub* ht_layer_sub::sub [protected]
 

Definition at line 526 of file htformat.h.

Referenced by closest_line_id(), convert_id_to_ofs(), convert_ofs_to_id(), done(), first_line_id(), getline(), handlemsg(), init(), last_line_id(), next_line_id(), prev_line_id(), ref(), and search().


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