Back to index

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

List of all members.

Public Member Functions

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

Public Attributes

int ref_count

Private Attributes

double author
bool birth

Detailed Description

Definition at line 49 of file patch.cpp.


Constructor & Destructor Documentation

birth_patch_rep::birth_patch_rep ( double  a2,
bool  b2 
) [inline]

Definition at line 53 of file patch.cpp.

: author (a2), birth (b2) {}

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; }
double birth_patch_rep::get_author ( ) [inline, virtual]

Reimplemented from patch_rep.

Definition at line 55 of file patch.cpp.

{ return author; }
bool birth_patch_rep::get_birth ( ) [inline, virtual]

Reimplemented from patch_rep.

Definition at line 56 of file patch.cpp.

{ return birth; }
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 (); }
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 birth_patch_rep::get_type ( ) [inline, virtual]

Implements patch_rep.

Definition at line 54 of file patch.cpp.

{ return PATCH_BIRTH; }

Member Data Documentation

double birth_patch_rep::author [private]

Definition at line 50 of file patch.cpp.

bool birth_patch_rep::birth [private]

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