Back to index

Public Member Functions | Public Attributes
format_vstream_rep Struct Reference

#include <format.hpp>

Inheritance diagram for format_vstream_rep:
Inheritance graph
Collaboration diagram for format_vstream_rep:
Collaboration graph

List of all members.

Public Member Functions

 format_vstream_rep (SI w2, array< line_item > bef2, array< line_item > aft2)
bool equal (format fm)
 operator tree ()

Public Attributes

SI width
array< line_itembefore
array< line_itemafter
format_type type
int ref_count

Detailed Description

Definition at line 62 of file format.hpp.

Constructor & Destructor Documentation

format_vstream_rep::format_vstream_rep ( SI  w2,
array< line_item bef2,
array< line_item aft2 
) [inline]

Definition at line 66 of file format.hpp.

    format_rep (FORMAT_VSTREAM), width (w2), before (bef2), after (aft2)
  { ref_count= 1; }

Member Function Documentation

bool format_vstream_rep::equal ( format  fm) [virtual]

Implements format_rep.

Definition at line 46 of file format.cpp.

  if (fm->type != type) return false;
  format_vstream fw= (format_vstream) fm;
    (fw->width == width) && (fw->before == before) && (fw->after == after);
format_vstream_rep::operator tree ( ) [virtual]

Implements format_rep.

Definition at line 53 of file format.cpp.

  return tuple ("format vstream");

Here is the call graph for this function:

Member Data Documentation

Definition at line 65 of file format.hpp.

Definition at line 64 of file format.hpp.

int abstract_struct::ref_count [inherited]

Definition at line 142 of file basic.hpp.

Definition at line 38 of file formatter.hpp.

Definition at line 63 of file format.hpp.

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