Back to index

texmacs  1.0.7.15
Private Member Functions
vpenalty Class Reference

#include <vpenalty.hpp>

List of all members.

Private Member Functions

 CONCRETE (vpenalty)
 vpenalty ()
 vpenalty (int pen)
 vpenalty (int pen, int exc)
bool operator== (vpenalty pen)
bool operator!= (vpenalty pen)
bool operator< (vpenalty pen)
void operator+= (vpenalty pen)
vpenalty operator+ (vpenalty pen)

Detailed Description

Definition at line 45 of file vpenalty.hpp.


Constructor & Destructor Documentation

vpenalty::vpenalty ( ) [inline, private]

Definition at line 47 of file vpenalty.hpp.

: rep (tm_new<vpenalty_rep> ()) {}

Here is the caller graph for this function:

vpenalty::vpenalty ( int  pen) [inline, private]

Definition at line 48 of file vpenalty.hpp.

: rep (tm_new<vpenalty_rep> (pen)) {}
vpenalty::vpenalty ( int  pen,
int  exc 
) [inline, private]

Definition at line 49 of file vpenalty.hpp.

: rep (tm_new<vpenalty_rep> (pen, exc)) {}

Member Function Documentation

vpenalty::CONCRETE ( vpenalty  ) [private]
bool vpenalty::operator!= ( vpenalty  pen) [inline, private]

Definition at line 52 of file vpenalty.hpp.

                                         {
    return (rep->pen != pen->pen) || (rep->exc != pen->exc); }
vpenalty vpenalty::operator+ ( vpenalty  pen) [inline, private]

Definition at line 60 of file vpenalty.hpp.

                                            {
    return vpenalty (rep->pen + pen->pen, rep->exc + pen->exc); }

Here is the call graph for this function:

void vpenalty::operator+= ( vpenalty  pen) [inline, private]

Definition at line 58 of file vpenalty.hpp.

                                         {
    rep->pen += pen->pen; rep->exc += pen->exc; }
bool vpenalty::operator< ( vpenalty  pen) [inline, private]

Definition at line 54 of file vpenalty.hpp.

                                        {
    return
      (rep->pen < pen->pen) ||
      ((rep->pen == pen->pen) && (rep->exc < pen->exc)); }
bool vpenalty::operator== ( vpenalty  pen) [inline, private]

Definition at line 50 of file vpenalty.hpp.

                                         {
    return (rep->pen == pen->pen) && (rep->exc == pen->exc); }

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