Back to index

texmacs  1.0.7.15
Public Member Functions | Public Attributes
patch_rep Class Reference

#include <patch.hpp>

Inheritance diagram for patch_rep:
Inheritance graph
[legend]
Collaboration diagram for patch_rep:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 patch_rep ()
virtual ~patch_rep ()
virtual int get_type ()=0
virtual int get_arity ()
virtual patch get_child (int i)
virtual modification get_modification ()
virtual modification get_inverse ()
virtual bool get_birth ()
virtual double get_author ()

Public Attributes

int ref_count

Detailed Description

Definition at line 27 of file patch.hpp.


Constructor & Destructor Documentation

patch_rep::patch_rep ( ) [inline]

Definition at line 29 of file patch.hpp.

{}
virtual patch_rep::~patch_rep ( ) [inline, virtual]

Definition at line 30 of file patch.hpp.

{}

Member Function Documentation

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

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]

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]

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]

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 (); }
virtual modification patch_rep::get_inverse ( ) [inline, virtual]

Reimplemented in modification_patch_rep.

Definition at line 37 of file patch.hpp.

                                             {
    FAILED ("not a modification"); return mod_assign (path (), ""); }

Here is the call graph for this function:

virtual modification patch_rep::get_modification ( ) [inline, virtual]

Reimplemented in modification_patch_rep.

Definition at line 35 of file patch.hpp.

                                                  {
    FAILED ("not a modification"); return mod_assign (path (), ""); }

Here is the call graph for this function:

virtual int patch_rep::get_type ( ) [pure virtual]

Member Data Documentation

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: