Back to index

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

List of all members.

Public Member Functions

 compound_patch_rep (array< patch > a2)
int get_type ()
int get_arity ()
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

Private Attributes

array< patcha

Detailed Description

Definition at line 31 of file patch.cpp.


Constructor & Destructor Documentation

Definition at line 34 of file patch.cpp.

: a (a2) {}

Member Function Documentation

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

Reimplemented from patch_rep.

Definition at line 36 of file patch.cpp.

{ return N(a); }

Here is the call graph for this function:

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 compound_patch_rep::get_child ( int  i) [inline, virtual]

Reimplemented from patch_rep.

Definition at line 37 of file patch.cpp.

{ return a[i]; }
virtual modification patch_rep::get_inverse ( ) [inline, virtual, inherited]

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, inherited]

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:

int compound_patch_rep::get_type ( ) [inline, virtual]

Implements patch_rep.

Definition at line 35 of file patch.cpp.

{ return PATCH_COMPOUND; }

Member Data Documentation

Definition at line 32 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: