lestes::lang::cplus::sem::ss_translation_unit Class Reference

#include <ss_misc.g.hh>

Inheritance diagram for lestes::lang::cplus::sem::ss_translation_unit:

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

Public Member Functions

ptr< ss_decl_seqglobal_scope_get () const
 The method global_scope_get returns the value of the field ss_translation_unit::global_scope.
virtual ptr< reflection_listreflection_get () const
 for purposes of dumping
virtual ptr< field_list_listfield_values_get () const
 for purposes of dumping

Static Public Member Functions

static ptr< ss_translation_unitcreate (ptr< ss_decl_seq > a__ss_translation_unit__global_scope)
 First generated factory method for class ss_translation_unit.

Protected Member Functions

 ss_translation_unit (ptr< ss_decl_seq > a__ss_translation_unit__global_scope)
 Generated constructor for class ss_translation_unit.
virtual void gc_mark ()
 Marking routine for class ss_translation_unit.

Private Attributes

srp< ss_decl_seqglobal_scope

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Definition at line 753 of file ss_misc.g.hh.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::ss_translation_unit::ss_translation_unit ( ptr< ss_decl_seq a__ss_translation_unit__global_scope  )  [protected]

Generated constructor for class ss_translation_unit.

Generated constructor for class ss_translation_unit.

Author:
lsg

Definition at line 1255 of file ss_misc.g.cc.

Referenced by create().

01256         : ss_base(), global_scope(checked(a__ss_translation_unit__global_scope))
01257 {}


Member Function Documentation

ptr< ss_decl_seq > lestes::lang::cplus::sem::ss_translation_unit::global_scope_get (  )  const

The method global_scope_get returns the value of the field ss_translation_unit::global_scope.

Returns:
The value of ss_translation_unit::global_scope.
Author:
lsg

Definition at line 1237 of file ss_misc.g.cc.

References global_scope.

01238 {
01239         return global_scope;
01240 }

ptr< ss_translation_unit > lestes::lang::cplus::sem::ss_translation_unit::create ( ptr< ss_decl_seq a__ss_translation_unit__global_scope  )  [static]

First generated factory method for class ss_translation_unit.

This factory method for class ss_translation_unit takes values of all fields as arguments.

Author:
lsg

Definition at line 1246 of file ss_misc.g.cc.

References ss_translation_unit().

01247 {
01248         return ptr< ss_translation_unit > ( new ss_translation_unit(a__ss_translation_unit__global_scope) );
01249 }

ptr< object::reflection_list > lestes::lang::cplus::sem::ss_translation_unit::reflection_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::intercode::ss_base.

Definition at line 1259 of file ss_misc.g.cc.

References lestes::std::list< T >::create(), reflection, and lestes::intercode::ss_base::reflection_get().

01260 {
01261         if (!reflection) {
01262                 typedef class_reflection::field_metadata md;
01263                 typedef class_reflection::field_metadata_list mdlist;
01264                 ptr<mdlist> mdl = mdlist::create();
01265                 mdl->push_back( md::create( "global_scope", "ss_decl_seq" ) );
01266                 reflection = reflection_list::create( ::lestes::intercode::ss_base::reflection_get() );
01267                 reflection->push_back( class_reflection::create( "ss_translation_unit", mdl ) );
01268         }
01269         return reflection;
01270 }

ptr< object::field_list_list > lestes::lang::cplus::sem::ss_translation_unit::field_values_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::intercode::ss_base.

Definition at line 1272 of file ss_misc.g.cc.

References lestes::std::list< T >::create(), and lestes::intercode::ss_base::field_values_get().

01273 {
01274         ptr < field_list_list > result = ::lestes::intercode::ss_base::field_values_get();
01275         result->push_back( value_list::create() );
01276         result->back()->push_back( this->global_scope );
01277         return result;
01278 }

void lestes::lang::cplus::sem::ss_translation_unit::gc_mark ( void   )  [protected, virtual]

Marking routine for class ss_translation_unit.

Marking routine is used for garbage collection.

Author:
lsg

Reimplemented from lestes::intercode::ss_base.

Definition at line 1285 of file ss_misc.g.cc.

References lestes::intercode::ss_base::gc_mark().


Member Data Documentation

srp< ss_decl_seq > lestes::lang::cplus::sem::ss_translation_unit::global_scope [private]

Definition at line 779 of file ss_misc.g.hh.

Referenced by global_scope_get().

ptr< object::reflection_list > lestes::lang::cplus::sem::ss_translation_unit::reflection = reflection [static, private]

Reimplemented from lestes::intercode::ss_base.

Definition at line 780 of file ss_misc.g.hh.

Referenced by reflection_get().


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