Back to index

Public Member Functions | Public Attributes
format_width_rep Struct Reference

#include <format.hpp>

Inheritance diagram for format_width_rep:
Inheritance graph
Collaboration diagram for format_width_rep:
Collaboration graph

List of all members.

Public Member Functions

 format_width_rep (SI width2)
bool equal (format fm)
 operator tree ()

Public Attributes

SI width
format_type type
int ref_count

Detailed Description

Definition at line 31 of file format.hpp.

Constructor & Destructor Documentation

format_width_rep::format_width_rep ( SI  width2) [inline]

Definition at line 33 of file format.hpp.

                              : format_rep (FORMAT_WIDTH), width (width2)
  { ref_count= 1; }

Member Function Documentation

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

Implements format_rep.

Definition at line 22 of file format.cpp.

  if (fm->type != type) return false;
  format_width fw= (format_width) fm;
  return (fw->width == width);
format_width_rep::operator tree ( ) [virtual]

Implements format_rep.

Definition at line 28 of file format.cpp.

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

Here is the call graph for this function:

Member Data Documentation

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 32 of file format.hpp.

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