Back to index

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

List of all members.

Public Member Functions

 author_patch_rep (double a2, patch p2)
int get_type ()
int get_arity ()
patch get_child (int i)
double get_author ()
virtual modification get_modification ()
virtual modification get_inverse ()
virtual bool get_birth ()

Public Attributes

int ref_count

Private Attributes

double author
patch p

Detailed Description

Definition at line 59 of file patch.cpp.


Constructor & Destructor Documentation

author_patch_rep::author_patch_rep ( double  a2,
patch  p2 
) [inline]

Definition at line 63 of file patch.cpp.

: author (a2), p (p2) {}

Member Function Documentation

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

Reimplemented from patch_rep.

Definition at line 65 of file patch.cpp.

{ return 1; }
double author_patch_rep::get_author ( ) [inline, virtual]

Reimplemented from patch_rep.

Definition at line 69 of file patch.cpp.

{ return author; }
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 author_patch_rep::get_child ( int  i) [inline, virtual]

Reimplemented from patch_rep.

Definition at line 66 of file patch.cpp.

                          {
    ASSERT (i == 0, "out of range");
    return p; }
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 author_patch_rep::get_type ( ) [inline, virtual]

Implements patch_rep.

Definition at line 64 of file patch.cpp.

{ return PATCH_AUTHOR; }

Member Data Documentation

double author_patch_rep::author [private]

Definition at line 60 of file patch.cpp.

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