Back to index

texmacs  1.0.7.15
Public Member Functions | Friends
pagelet Struct Reference

#include <skeleton.hpp>

List of all members.

Public Member Functions

 CONCRETE_NULL (pagelet)
 pagelet (space ht)
void operator<< (insertion ins)
void operator<< (space ht)

Friends

bool operator== (pagelet pg1, pagelet pg2)
bool operator!= (pagelet pg1, pagelet pg2)
tm_ostreamoperator<< (tm_ostream &out, pagelet pg)

Detailed Description

Definition at line 43 of file skeleton.hpp.


Constructor & Destructor Documentation

pagelet::pagelet ( space  ht) [inline]

Definition at line 100 of file skeleton.hpp.

                          {
  rep= tm_new<pagelet_rep> (ht);
}

Member Function Documentation

void pagelet::operator<< ( insertion  ins) [inline]

Definition at line 105 of file skeleton.hpp.

                                   {
  rep->ht  += ins->ht;
  rep->pen += ins->pen;
  rep->ins << ins;
}
void pagelet::operator<< ( space  ht) [inline]

Definition at line 112 of file skeleton.hpp.

                               {
  rep->ht += spc;
}

Friends And Related Function Documentation

bool operator!= ( pagelet  pg1,
pagelet  pg2 
) [friend]

Definition at line 78 of file skeleton.cpp.

                                       {
  if (is_nil (pg1) || is_nil (pg2)) return is_nil (pg1) != is_nil (pg2);
  return (pg1->ins != pg2->ins);
}
tm_ostream& operator<< ( tm_ostream out,
pagelet  pg 
) [friend]

Definition at line 84 of file skeleton.cpp.

                                          {
  return out << "pagelet " << pg->ins;
}
bool operator== ( pagelet  pg1,
pagelet  pg2 
) [friend]

Definition at line 72 of file skeleton.cpp.

                                       {
  if (is_nil (pg1) || is_nil (pg2)) return is_nil (pg1) == is_nil (pg2);
  return (pg1->ins == pg2->ins);
}

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