Back to index

Public Member Functions | Public Attributes
format_cell_rep Struct Reference

#include <format.hpp>

Inheritance diagram for format_cell_rep:
Inheritance graph
Collaboration diagram for format_cell_rep:
Collaboration graph

List of all members.

Public Member Functions

 format_cell_rep (SI w2, int v2, SI d2, SI h2)
bool equal (format fm)
 operator tree ()

Public Attributes

SI width
int vpos
SI depth
SI height
format_type type
int ref_count

Detailed Description

Definition at line 44 of file format.hpp.

Constructor & Destructor Documentation

format_cell_rep::format_cell_rep ( SI  w2,
int  v2,
SI  d2,
SI  h2 
) [inline]

Definition at line 49 of file format.hpp.

    format_rep (FORMAT_CELL),
    width (w2), vpos (v2), depth (d2), height (h2)
  { ref_count= 1; }

Member Function Documentation

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

Implements format_rep.

Definition at line 33 of file format.cpp.

  if (fm->type != type) return false;
  format_cell fw= (format_cell) fm;
    (fw->width == width) && (fw->vpos == vpos) &&
    (fw->depth == depth) && (fw->height == height);
format_cell_rep::operator tree ( ) [virtual]

Implements format_rep.

Definition at line 41 of file format.cpp.

  return tuple ("format cell", as_string (width));

Here is the call graph for this function:

Member Data Documentation

Definition at line 47 of file format.hpp.

Definition at line 48 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 46 of file format.hpp.

Definition at line 45 of file format.hpp.

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