Back to index

Public Member Functions | Public Attributes | Private Attributes | Friends
tab_rep Class Reference

#include <tab.hpp>

Inheritance diagram for tab_rep:
Inheritance graph
Collaboration diagram for tab_rep:
Collaboration graph

List of all members.

Public Member Functions

 tab_rep ()
 tab_rep (int pos, tree t)

Public Attributes

int pos
double weight
tab_kind kind

Private Attributes

int ref_count


class tab

Detailed Description

Definition at line 18 of file tab.hpp.

Constructor & Destructor Documentation

tab_rep::tab_rep ( ) [inline]

Definition at line 24 of file tab.hpp.

tab_rep::tab_rep ( int  pos,
tree  t 

Definition at line 18 of file tab.cpp.

                                 : pos (pos2) {
  if (N(t) <= 1) {
    kind= tab_all; weight= 1.0; }
  else if (t[1] == "first") {
    kind= tab_first; weight= 0; }
  else if (t[1] == "last") {
    kind= tab_last; weight= 0; }
  else {
    kind= tab_all; weight= as_double (t[1]); }

Here is the call graph for this function:

Friends And Related Function Documentation

friend class tab [friend]

Definition at line 27 of file tab.hpp.

Member Data Documentation

Definition at line 22 of file tab.hpp.

Definition at line 20 of file tab.hpp.

int concrete_struct::ref_count [inherited]

Definition at line 135 of file basic.hpp.

Definition at line 21 of file tab.hpp.

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