Back to index

Public Member Functions | Public Attributes
lazy_vstream_rep Struct Reference

#include <lazy_vstream.hpp>

Inheritance diagram for lazy_vstream_rep:
Inheritance graph
Collaboration diagram for lazy_vstream_rep:
Collaboration graph

List of all members.

Public Member Functions

 lazy_vstream_rep (path ip, tree ch, array< page_item > l, stack_border sb)
 operator tree ()
lazy produce (lazy_type request, format fm)
virtual void append (lazy lz)
virtual format query (lazy_type request, format fm)

Public Attributes

tree channel
array< page_iteml
stack_border sb
lazy_type type
path ip
int ref_count

Detailed Description

Definition at line 18 of file lazy_vstream.hpp.

Constructor & Destructor Documentation

Definition at line 18 of file lazy_vstream.cpp.

    lazy_rep (LAZY_VSTREAM, ip),
    channel (channel2), l (l2), sb (sb2) {}

Member Function Documentation

void lazy_rep::append ( lazy  lz) [virtual, inherited]

Definition at line 92 of file formatter.cpp.

  (void) lz;
  cout << "\nThe lazy structure was " << ((tree) (*this)) << "\n";
  FAILED ("lazy structure is not a stream");
lazy_vstream_rep::operator tree ( ) [virtual]

Implements lazy_rep.

Definition at line 23 of file lazy_vstream.cpp.

  return tuple ("vertical stream", channel);

Here is the call graph for this function:

lazy lazy_vstream_rep::produce ( lazy_type  request,
format  fm 
) [virtual]

Reimplemented from lazy_rep.

Definition at line 83 of file lazy_vstream.cpp.

  if (request == type) return this;
  if (request == LAZY_BOX) {
    int  vpos  = 1;
    SI   depth = 0;
    SI   height= 0;
    if (fm->type == FORMAT_CELL) {
      format_cell fc= (format_cell) fm;
      vpos  = fc->vpos;
      depth = fc->depth;
      height= fc->height;
    box b= format_vstream_as_box (l, ip, vpos, depth, height);
    return make_lazy_box (b);
  return lazy_rep::produce (request, fm);

Here is the call graph for this function:

format lazy_rep::query ( lazy_type  request,
format  fm 
) [virtual, inherited]

Reimplemented in lazy_table_rep, lazy_ornament_rep, lazy_paragraph_rep, lazy_surround_rep, lazy_canvas_rep, and lazy_document_rep.

Definition at line 83 of file formatter.cpp.

  (void) request;
  cout << "\nThe lazy structure was " << ((tree) (*this)) << "\n";
  cout << "The format was " << ((tree) fm) << "\n";
  FAILED ("invalid query");
  return format ();

Member Data Documentation

Definition at line 19 of file lazy_vstream.hpp.

path lazy_rep::ip [inherited]

Definition at line 69 of file formatter.hpp.

Definition at line 20 of file lazy_vstream.hpp.

int abstract_struct::ref_count [inherited]

Definition at line 142 of file basic.hpp.

Definition at line 21 of file lazy_vstream.hpp.

Definition at line 68 of file formatter.hpp.

The documentation for this struct was generated from the following files: