lestes::lang::cplus::sem::ss_using_declaration Class Reference

#include <ss_declaration.g.hh>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ss_declarationtarget_get () const
 The method target_get returns the value of the field ss_using_declaration::target.
void target_set (const ptr< ss_declaration > &)
 The method target_set sets the field ss_using_declaration::target to the given value.
ptr< ss_declarationreal_target_get () const
 The method real_target_get returns the value of the field ss_using_declaration::real_target.
void real_target_set (const ptr< ss_declaration > &)
 The method real_target_set sets the field ss_using_declaration::real_target to the given value.
virtual void accept_ss_declaration_visitor (ptr< ss_declaration_visitor > v)
virtual ulint accept_ss_decl2ulint_base (ptr< ss_decl2ulint_base > v)
virtual lstring accept_ss_decl2lstring_base (ptr< ss_decl2lstring_base > v)
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_using_declarationcreate (ptr< ::lestes::std::source_location > a__ss_base_with_location__location, ptr< ss_declaration_time > a__ss_declaration__visible_since, ptr< ss_declaration_time > a__ss_declaration__decl_time, ptr< ss_decl_name > a__ss_declaration__name, ptr< ss_decl_seq > a__ss_declaration__contained_in, ptr< ss_type > a__ss_declaration__type, ptr< ss_linkage > a__ss_declaration__linkage, ss_access_specifier::type a__ss_declaration_with_access_specifier__access_specifier, ss_storage_class::type a__ss_declaration_with_access_specifier__storage_class, ptr< ss_declaration > a__ss_using_declaration__target, ptr< ss_declaration > a__ss_using_declaration__real_target)
 First generated factory method for class ss_using_declaration.
static ptr< ss_using_declarationcreate (ptr< ::lestes::std::source_location > a__ss_base_with_location__location, ptr< ss_declaration_time > a__ss_declaration__visible_since, ptr< ss_declaration_time > a__ss_declaration__decl_time, ptr< ss_decl_name > a__ss_declaration__name, ptr< ss_decl_seq > a__ss_declaration__contained_in, ptr< ss_type > a__ss_declaration__type, ptr< ss_linkage > a__ss_declaration__linkage, ptr< ss_declaration > a__ss_using_declaration__target, ptr< ss_declaration > a__ss_using_declaration__real_target)
 Second generated factory method for class ss_using_declaration.

Protected Member Functions

 ss_using_declaration (ptr< ::lestes::std::source_location > a__ss_base_with_location__location, ptr< ss_declaration_time > a__ss_declaration__visible_since, ptr< ss_declaration_time > a__ss_declaration__decl_time, ptr< ss_decl_name > a__ss_declaration__name, ptr< ss_decl_seq > a__ss_declaration__contained_in, ptr< ss_type > a__ss_declaration__type, ptr< ss_linkage > a__ss_declaration__linkage, ss_access_specifier::type a__ss_declaration_with_access_specifier__access_specifier, ss_storage_class::type a__ss_declaration_with_access_specifier__storage_class, ptr< ss_declaration > a__ss_using_declaration__target, ptr< ss_declaration > a__ss_using_declaration__real_target)
 Generated constructor for class ss_using_declaration.
virtual void gc_mark ()
 Marking routine for class ss_using_declaration.

Private Attributes

srp< ss_declarationtarget
 The target field points to a declaration that we are using.
srp< ss_declarationreal_target
 "Real" target of the using declaration; never another ss_using_declaration.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Constructor & Destructor Documentation

lestes::lang::cplus::sem::ss_using_declaration::ss_using_declaration ( ptr< ::lestes::std::source_location a__ss_base_with_location__location,
ptr< ss_declaration_time a__ss_declaration__visible_since,
ptr< ss_declaration_time a__ss_declaration__decl_time,
ptr< ss_decl_name a__ss_declaration__name,
ptr< ss_decl_seq a__ss_declaration__contained_in,
ptr< ss_type a__ss_declaration__type,
ptr< ss_linkage a__ss_declaration__linkage,
ss_access_specifier::type  a__ss_declaration_with_access_specifier__access_specifier,
ss_storage_class::type  a__ss_declaration_with_access_specifier__storage_class,
ptr< ss_declaration a__ss_using_declaration__target,
ptr< ss_declaration a__ss_using_declaration__real_target 
) [protected]

Generated constructor for class ss_using_declaration.

Generated constructor for class ss_using_declaration.

Author:
lsg


Member Function Documentation

ptr< ss_declaration > lestes::lang::cplus::sem::ss_using_declaration::target_get (  )  const

The method target_get returns the value of the field ss_using_declaration::target.

Returns:
The value of ss_using_declaration::target.
Author:
lsg

void lestes::lang::cplus::sem::ss_using_declaration::target_set ( const ptr< ss_declaration > &  x  ) 

The method target_set sets the field ss_using_declaration::target to the given value.

Parameters:
[in] x The new value to set ss_using_declaration::target to.
Author:
lsg

ptr< ss_declaration > lestes::lang::cplus::sem::ss_using_declaration::real_target_get (  )  const

The method real_target_get returns the value of the field ss_using_declaration::real_target.

Returns:
The value of ss_using_declaration::real_target.
Author:
lsg

void lestes::lang::cplus::sem::ss_using_declaration::real_target_set ( const ptr< ss_declaration > &  x  ) 

The method real_target_set sets the field ss_using_declaration::real_target to the given value.

Parameters:
[in] x The new value to set ss_using_declaration::real_target to.
Author:
lsg

void lestes::lang::cplus::sem::ss_using_declaration::accept_ss_declaration_visitor ( ptr< ss_declaration_visitor v  )  [virtual]

Implements lestes::lang::cplus::sem::ss_declaration_with_access_specifier.

ulint lestes::lang::cplus::sem::ss_using_declaration::accept_ss_decl2ulint_base ( ptr< ss_decl2ulint_base v  )  [virtual]

Implements lestes::lang::cplus::sem::ss_declaration_with_access_specifier.

lstring lestes::lang::cplus::sem::ss_using_declaration::accept_ss_decl2lstring_base ( ptr< ss_decl2lstring_base v  )  [virtual]

Implements lestes::lang::cplus::sem::ss_declaration_with_access_specifier.

ptr< ss_using_declaration > lestes::lang::cplus::sem::ss_using_declaration::create ( ptr< ::lestes::std::source_location a__ss_base_with_location__location,
ptr< ss_declaration_time a__ss_declaration__visible_since,
ptr< ss_declaration_time a__ss_declaration__decl_time,
ptr< ss_decl_name a__ss_declaration__name,
ptr< ss_decl_seq a__ss_declaration__contained_in,
ptr< ss_type a__ss_declaration__type,
ptr< ss_linkage a__ss_declaration__linkage,
ss_access_specifier::type  a__ss_declaration_with_access_specifier__access_specifier,
ss_storage_class::type  a__ss_declaration_with_access_specifier__storage_class,
ptr< ss_declaration a__ss_using_declaration__target,
ptr< ss_declaration a__ss_using_declaration__real_target 
) [static]

First generated factory method for class ss_using_declaration.

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

Author:
lsg

ptr< ss_using_declaration > lestes::lang::cplus::sem::ss_using_declaration::create ( ptr< ::lestes::std::source_location a__ss_base_with_location__location,
ptr< ss_declaration_time a__ss_declaration__visible_since,
ptr< ss_declaration_time a__ss_declaration__decl_time,
ptr< ss_decl_name a__ss_declaration__name,
ptr< ss_decl_seq a__ss_declaration__contained_in,
ptr< ss_type a__ss_declaration__type,
ptr< ss_linkage a__ss_declaration__linkage,
ptr< ss_declaration a__ss_using_declaration__target,
ptr< ss_declaration a__ss_using_declaration__real_target 
) [static]

Second generated factory method for class ss_using_declaration.

This factory method for class ss_using_declaration uses initializers.

Author:
lsg

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

for purposes of dumping

Reimplemented from lestes::lang::cplus::sem::ss_declaration_with_access_specifier.

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

for purposes of dumping

Reimplemented from lestes::lang::cplus::sem::ss_declaration_with_access_specifier.

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

Marking routine for class ss_using_declaration.

Marking routine is used for garbage collection.

Author:
lsg

Reimplemented from lestes::lang::cplus::sem::ss_declaration_with_access_specifier.


Member Data Documentation

srp< ss_declaration > lestes::lang::cplus::sem::ss_using_declaration::target [private]

The target field points to a declaration that we are using.

Note that this target can be another ss_using_declaration. To find out what declaration is at the end of the using_declaration chain, use real_target field.

srp< ss_declaration > lestes::lang::cplus::sem::ss_using_declaration::real_target [private]

"Real" target of the using declaration; never another ss_using_declaration.

This field *must* be set (prefferably initialized) to

ss_using_target::instance()->process( target )

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

Reimplemented from lestes::lang::cplus::sem::ss_declaration_with_access_specifier.


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