Back to index

texmacs  1.0.7.15
Public Member Functions | Public Attributes | Private Attributes
modification_patch_rep Class Reference
Inheritance diagram for modification_patch_rep:
Inheritance graph
[legend]
Collaboration diagram for modification_patch_rep:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 modification_patch_rep (modification mod2, modification inv2)
int get_type ()
modification get_modification ()
modification get_inverse ()
virtual int get_arity ()
virtual patch get_child (int i)
virtual bool get_birth ()
virtual double get_author ()

Public Attributes

int ref_count

Private Attributes

modification mod
modification inv

Detailed Description

Definition at line 20 of file patch.cpp.


Constructor & Destructor Documentation

Definition at line 24 of file patch.cpp.

                                                               :
    mod (mod2), inv (inv2) {}

Member Function Documentation

virtual int patch_rep::get_arity ( ) [inline, virtual, inherited]

Reimplemented in author_patch_rep, branch_patch_rep, and compound_patch_rep.

Definition at line 32 of file patch.hpp.

                                  {
    return 0; }
virtual double patch_rep::get_author ( ) [inline, virtual, inherited]

Reimplemented in author_patch_rep, and birth_patch_rep.

Definition at line 41 of file patch.hpp.

                                      {
    return -1; }
virtual bool patch_rep::get_birth ( ) [inline, virtual, inherited]

Reimplemented in birth_patch_rep.

Definition at line 39 of file patch.hpp.

                                   {
    FAILED ("not a birth"); return false; }
patch patch_rep::get_child ( int  i) [inline, virtual, inherited]

Reimplemented in author_patch_rep, branch_patch_rep, and compound_patch_rep.

Definition at line 58 of file patch.hpp.

                                        {
  FAILED ("not a composite patch"); (void) i; return patch (); }

Reimplemented from patch_rep.

Definition at line 28 of file patch.cpp.

{ return inv; }

Reimplemented from patch_rep.

Definition at line 27 of file patch.cpp.

{ return mod; }
int modification_patch_rep::get_type ( ) [inline, virtual]

Implements patch_rep.

Definition at line 26 of file patch.cpp.

{ return PATCH_MODIFICATION; }

Member Data Documentation

Definition at line 22 of file patch.cpp.

Definition at line 21 of file patch.cpp.

int abstract_struct::ref_count [inherited]

Definition at line 142 of file basic.hpp.


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