lestes::std::mem::c Class Reference

Inheritance diagram for lestes::std::mem::c:

lestes::std::mem::b lestes::std::object lestes::std::mem::keystone List of all members.

Public Member Functions

void gc_mark (void)
 Marks the keystone.

Static Public Member Functions

static ptr< ccreate (const ptr< a > &a_fa, const ptr< aa > &a_faa, const ptr< a > &a_ga)

Protected Member Functions

 c (const ptr< a > &a_fa, const ptr< aa > &a_faa, const ptr< a > &a_ga)

Private Member Functions

 c (const c &)
coperator= (const c &)

Private Attributes

srp< aga

Detailed Description

Definition at line 121 of file gc.test.cc.


Constructor & Destructor Documentation

lestes::std::mem::c::c ( const ptr< a > &  a_fa,
const ptr< aa > &  a_faa,
const ptr< a > &  a_ga 
) [protected]

Definition at line 133 of file gc.test.cc.

Referenced by create().

00133                                                                 :
00134                 b(a_fa,a_faa),
00135                 ga(a_ga)
00136 {
00137 }

lestes::std::mem::c::c ( const c  )  [private]


Member Function Documentation

ptr< c > lestes::std::mem::c::create ( const ptr< a > &  a_fa,
const ptr< aa > &  a_faa,
const ptr< a > &  a_ga 
) [static]

Definition at line 139 of file gc.test.cc.

References c().

Referenced by lestes::std::mem::gc_test().

00140 { 
00141         return new c(a_fa,a_faa,a_ga);
00142 }

void lestes::std::mem::c::gc_mark ( void   )  [virtual]

Marks the keystone.

Marks all directly reachable parts of the class. The method must be overriden for each inherited class. It should contain abc.gc_mark() for each field abc of the inherited class and call to gc_mark() of the direct ancestor of the class. Does nothing for keystone, only stops processing of ancestors.

Reimplemented from lestes::std::mem::b.

Definition at line 144 of file gc.test.cc.

References ga, lestes::std::mem::b::gc_mark(), and lestes::std::mem::simple_pointer::gc_mark().

00145 {
00146         ga.gc_mark();
00147         b::gc_mark();
00148 }

c& lestes::std::mem::c::operator= ( const c  )  [private]


Member Data Documentation

srp<a> lestes::std::mem::c::ga [private]

Definition at line 128 of file gc.test.cc.

Referenced by gc_mark().


The documentation for this class was generated from the following file:
Generated on Mon Feb 12 18:26:01 2007 for lestes by doxygen 1.5.1-20070107