lestes::lang::cplus::sem::ss_befriendable_declaration Class Reference

Class for declarations that can be friends of a class. More...

#include <ss_declaration.g.hh>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ::lestes::std::set< srp<
ss_struct_base > > > 
friend_of_get () const
 The method friend_of_get returns the value of the field ss_befriendable_declaration::friend_of.
void friend_of_set (const ptr< ::lestes::std::set< srp< ss_struct_base > > > &)
 The method friend_of_set sets the field ss_befriendable_declaration::friend_of to the given value.
virtual void accept_ss_declaration_visitor (ptr< ss_declaration_visitor > v) override
virtual ulint accept_ss_decl2ulint_base (ptr< ss_decl2ulint_base > v) override
virtual lstring accept_ss_decl2lstring_base (ptr< ss_decl2lstring_base > v) override
virtual ptr< reflection_listreflection_get () const
 for purposes of dumping
virtual ptr< field_list_listfield_values_get () const
 for purposes of dumping

Protected Member Functions

 ss_befriendable_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< ::lestes::std::set< srp< ss_struct_base > > > a__ss_befriendable_declaration__friend_of)
 Generated constructor for class ss_befriendable_declaration.
virtual void gc_mark ()
 Marking routine for class ss_befriendable_declaration.

Private Attributes

srp< ::lestes::std::set< srp<
ss_struct_base > > > 
friend_of
 Set of classes that this entity is friend with.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Class for declarations that can be friends of a class.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::ss_befriendable_declaration::ss_befriendable_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< ::lestes::std::set< srp< ss_struct_base > > >  a__ss_befriendable_declaration__friend_of 
) [protected]

Generated constructor for class ss_befriendable_declaration.

Generated constructor for class ss_befriendable_declaration.

Author:
lsg


Member Function Documentation

ptr<::lestes::std::set< srp< ss_struct_base > > > lestes::lang::cplus::sem::ss_befriendable_declaration::friend_of_get (  )  const

The method friend_of_get returns the value of the field ss_befriendable_declaration::friend_of.

Returns:
The value of ss_befriendable_declaration::friend_of.
Author:
lsg

void lestes::lang::cplus::sem::ss_befriendable_declaration::friend_of_set ( const ptr< ::lestes::std::set< srp< ss_struct_base > > > &  x  ) 

The method friend_of_set sets the field ss_befriendable_declaration::friend_of to the given value.

Parameters:
[in] x The new value to set ss_befriendable_declaration::friend_of to.
Author:
lsg

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

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

Implemented in lestes::lang::cplus::sem::ss_structure_declaration, lestes::lang::cplus::sem::ss_function_declaration, lestes::lang::cplus::sem::ss_method_declaration, and lestes::lang::cplus::sem::ss_builtin_operator_declaration.

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

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

Implemented in lestes::lang::cplus::sem::ss_structure_declaration, lestes::lang::cplus::sem::ss_function_declaration, lestes::lang::cplus::sem::ss_method_declaration, and lestes::lang::cplus::sem::ss_builtin_operator_declaration.

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

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

Implemented in lestes::lang::cplus::sem::ss_structure_declaration, lestes::lang::cplus::sem::ss_function_declaration, lestes::lang::cplus::sem::ss_method_declaration, and lestes::lang::cplus::sem::ss_builtin_operator_declaration.

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

for purposes of dumping

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

Reimplemented in lestes::lang::cplus::sem::ss_structure_declaration, lestes::lang::cplus::sem::ss_function_declaration, lestes::lang::cplus::sem::ss_method_declaration, and lestes::lang::cplus::sem::ss_builtin_operator_declaration.

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

for purposes of dumping

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

Reimplemented in lestes::lang::cplus::sem::ss_structure_declaration, lestes::lang::cplus::sem::ss_function_declaration, lestes::lang::cplus::sem::ss_method_declaration, and lestes::lang::cplus::sem::ss_builtin_operator_declaration.

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

Marking routine for class ss_befriendable_declaration.

Marking routine is used for garbage collection.

Author:
lsg

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

Reimplemented in lestes::lang::cplus::sem::ss_structure_declaration, lestes::lang::cplus::sem::ss_function_declaration, lestes::lang::cplus::sem::ss_method_declaration, and lestes::lang::cplus::sem::ss_builtin_operator_declaration.


Member Data Documentation

srp< ::lestes::std::set< srp< ss_struct_base > > > lestes::lang::cplus::sem::ss_befriendable_declaration::friend_of [private]

Set of classes that this entity is friend with.

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

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

Reimplemented in lestes::lang::cplus::sem::ss_structure_declaration, lestes::lang::cplus::sem::ss_function_declaration, lestes::lang::cplus::sem::ss_method_declaration, and lestes::lang::cplus::sem::ss_builtin_operator_declaration.


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