lestes::std::s Class Reference

Inheritance diagram for lestes::std::s:

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

Public Member Functions

 ~s (void)
void gc_mark (void)
 Marks the keystone.

Static Public Member Functions

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

Public Attributes

srp< afa
srp< aafaa

Private Member Functions

 s (const ptr< a > &a_fa, const ptr< aa > &a_faa)
 s (const s &)
soperator= (const s &)

Detailed Description

Definition at line 66 of file ptr.test.cc.


Constructor & Destructor Documentation

lestes::std::s::~s ( void   )  [inline]

Definition at line 68 of file ptr.test.cc.

00068 {}

lestes::std::s::s ( const ptr< a > &  a_fa,
const ptr< aa > &  a_faa 
) [inline, private]

Definition at line 76 of file ptr.test.cc.

00076 : fa(a_fa), faa(a_faa) {}

lestes::std::s::s ( const s  )  [private]


Member Function Documentation

static ptr<s> lestes::std::s::create ( const ptr< a > &  a_fa,
const ptr< aa > &  a_faa 
) [inline, static]

Definition at line 69 of file ptr.test.cc.

Referenced by lestes::std::ptr_test().

00069                                                                        { 
00070                 return ptr<s>(new s(a_fa,a_faa));
00071         }

void lestes::std::s::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::keystone.

Definition at line 81 of file ptr.test.cc.

References fa, faa, lestes::std::mem::keystone::gc_mark(), and lestes::std::mem::simple_pointer::gc_mark().

00082 {
00083         fa.gc_mark();
00084         faa.gc_mark();
00085         object::gc_mark();
00086 }

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


Member Data Documentation

srp<a> lestes::std::s::fa

Definition at line 72 of file ptr.test.cc.

Referenced by gc_mark().

srp<aa> lestes::std::s::faa

Definition at line 73 of file ptr.test.cc.

Referenced by gc_mark().


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