Back to index

texmacs  1.0.7.15
Public Member Functions | Private Attributes
event_ptr_base Class Reference

#include <event_codes.hpp>

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

List of all members.

Public Member Functions

 event_ptr_base (const event_ptr_base &ev)
 event_ptr_base (const event &ev)
 ~event_ptr_base ()
 operator event ()
event_repoperator-> ()
event_ptr_baseoperator= (const event_ptr_base &ev)

Private Attributes

event_reprep

Detailed Description

Definition at line 66 of file event_codes.hpp.


Constructor & Destructor Documentation

Definition at line 69 of file event_codes.hpp.

                                            :
    rep (ev.rep) { rep->ref_count++; }
event_ptr_base::event_ptr_base ( const event ev) [inline]

Definition at line 71 of file event_codes.hpp.

: rep (ev.rep) { rep->ref_count++; }

Definition at line 72 of file event_codes.hpp.

{ if ((--rep->ref_count)==0) tm_delete (rep); }

Here is the call graph for this function:


Member Function Documentation

event_ptr_base::operator event ( ) [inline]

Reimplemented in event_ptr< R >.

Definition at line 73 of file event_codes.hpp.

{ return event (rep); }
event_rep* event_ptr_base::operator-> ( void  ) [inline]

Reimplemented in event_ptr< R >.

Definition at line 74 of file event_codes.hpp.

{ return rep; }
event_ptr_base& event_ptr_base::operator= ( const event_ptr_base ev) [inline]

Definition at line 75 of file event_codes.hpp.

                                                        {
    ev.rep->ref_count++;
    if ((--rep->ref_count)==0) tm_delete (rep);
    rep=ev.rep;
    return *this;
  }

Here is the call graph for this function:


Member Data Documentation

Definition at line 67 of file event_codes.hpp.


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