lestes::lang::cplus::sem::ss_method_declaration Class Reference

Method declaration for a class. More...

#include <ss_declaration.g.hh>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

bool virtuality_get () const
 The method virtuality_get returns the value of the field ss_method_declaration::virtuality.
void virtuality_set (bool)
 The method virtuality_set sets the field ss_method_declaration::virtuality to the given value.
bool pure_virtual_get () const
 The method pure_virtual_get returns the value of the field ss_method_declaration::pure_virtual.
void pure_virtual_set (bool)
 The method pure_virtual_set sets the field ss_method_declaration::pure_virtual to the given value.
ptr< ss_method_declarationreimplements_get () const
 The method reimplements_get returns the value of the field ss_method_declaration::reimplements.
void reimplements_set (const ptr< ss_method_declaration > &)
 The method reimplements_set sets the field ss_method_declaration::reimplements 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_method_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< ::lestes::std::set< srp< ss_struct_base > > > a__ss_befriendable_declaration__friend_of, ptr< ss_decl_seq > a__ss_function_declaration__parameters, ptr< ss_compound_stmt > a__ss_function_declaration__body, ptr< ::lestes::std::map< srp< ss_id_label >, srp< ss_statement > > > a__ss_function_declaration__labels, ptr< ::lestes::std::list< srp< ss_decl_seq > > > a__ss_function_declaration__historical_parameters, bool a__ss_method_declaration__virtuality, bool a__ss_method_declaration__pure_virtual, ptr< ss_method_declaration > a__ss_method_declaration__reimplements)
 First generated factory method for class ss_method_declaration.
static ptr< ss_method_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_decl_seq > a__ss_function_declaration__parameters, ptr< ss_compound_stmt > a__ss_function_declaration__body, bool a__ss_method_declaration__virtuality, bool a__ss_method_declaration__pure_virtual, ptr< ss_method_declaration > a__ss_method_declaration__reimplements)
 Second generated factory method for class ss_method_declaration.

Protected Member Functions

 ss_method_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, ptr< ss_decl_seq > a__ss_function_declaration__parameters, ptr< ss_compound_stmt > a__ss_function_declaration__body, ptr< ::lestes::std::map< srp< ss_id_label >, srp< ss_statement > > > a__ss_function_declaration__labels, ptr< ::lestes::std::list< srp< ss_decl_seq > > > a__ss_function_declaration__historical_parameters, bool a__ss_method_declaration__virtuality, bool a__ss_method_declaration__pure_virtual, ptr< ss_method_declaration > a__ss_method_declaration__reimplements)
 Generated constructor for class ss_method_declaration.
virtual void gc_mark ()
 Marking routine for class ss_method_declaration.

Private Attributes

bool virtuality
 Whether is current function(method) virtual.
bool pure_virtual
 Whether is current function(method) pure virtual (=0).
srp< ss_method_declarationreimplements
 Declaration, which is being replaced in VMT by current declaration.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Method declaration for a class.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::ss_method_declaration::ss_method_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,
ptr< ss_decl_seq a__ss_function_declaration__parameters,
ptr< ss_compound_stmt a__ss_function_declaration__body,
ptr< ::lestes::std::map< srp< ss_id_label >, srp< ss_statement > > >  a__ss_function_declaration__labels,
ptr< ::lestes::std::list< srp< ss_decl_seq > > >  a__ss_function_declaration__historical_parameters,
bool  a__ss_method_declaration__virtuality,
bool  a__ss_method_declaration__pure_virtual,
ptr< ss_method_declaration a__ss_method_declaration__reimplements 
) [protected]

Generated constructor for class ss_method_declaration.

Generated constructor for class ss_method_declaration.

Author:
lsg


Member Function Documentation

bool lestes::lang::cplus::sem::ss_method_declaration::virtuality_get (  )  const

The method virtuality_get returns the value of the field ss_method_declaration::virtuality.

Returns:
The value of ss_method_declaration::virtuality.
Author:
lsg

void lestes::lang::cplus::sem::ss_method_declaration::virtuality_set ( bool  x  ) 

The method virtuality_set sets the field ss_method_declaration::virtuality to the given value.

Parameters:
[in] x The new value to set ss_method_declaration::virtuality to.
Author:
lsg

bool lestes::lang::cplus::sem::ss_method_declaration::pure_virtual_get (  )  const

The method pure_virtual_get returns the value of the field ss_method_declaration::pure_virtual.

Returns:
The value of ss_method_declaration::pure_virtual.
Author:
lsg

void lestes::lang::cplus::sem::ss_method_declaration::pure_virtual_set ( bool  x  ) 

The method pure_virtual_set sets the field ss_method_declaration::pure_virtual to the given value.

Parameters:
[in] x The new value to set ss_method_declaration::pure_virtual to.
Author:
lsg

ptr< ss_method_declaration > lestes::lang::cplus::sem::ss_method_declaration::reimplements_get (  )  const

The method reimplements_get returns the value of the field ss_method_declaration::reimplements.

Returns:
The value of ss_method_declaration::reimplements.
Author:
lsg

void lestes::lang::cplus::sem::ss_method_declaration::reimplements_set ( const ptr< ss_method_declaration > &  x  ) 

The method reimplements_set sets the field ss_method_declaration::reimplements to the given value.

Parameters:
[in] x The new value to set ss_method_declaration::reimplements to.
Author:
lsg

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

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

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

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

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

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

ptr< ss_method_declaration > lestes::lang::cplus::sem::ss_method_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< ::lestes::std::set< srp< ss_struct_base > > >  a__ss_befriendable_declaration__friend_of,
ptr< ss_decl_seq a__ss_function_declaration__parameters,
ptr< ss_compound_stmt a__ss_function_declaration__body,
ptr< ::lestes::std::map< srp< ss_id_label >, srp< ss_statement > > >  a__ss_function_declaration__labels,
ptr< ::lestes::std::list< srp< ss_decl_seq > > >  a__ss_function_declaration__historical_parameters,
bool  a__ss_method_declaration__virtuality,
bool  a__ss_method_declaration__pure_virtual,
ptr< ss_method_declaration a__ss_method_declaration__reimplements 
) [static]

First generated factory method for class ss_method_declaration.

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

Author:
lsg

ptr< ss_method_declaration > lestes::lang::cplus::sem::ss_method_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_decl_seq a__ss_function_declaration__parameters,
ptr< ss_compound_stmt a__ss_function_declaration__body,
bool  a__ss_method_declaration__virtuality,
bool  a__ss_method_declaration__pure_virtual,
ptr< ss_method_declaration a__ss_method_declaration__reimplements 
) [static]

Second generated factory method for class ss_method_declaration.

This factory method for class ss_method_declaration uses initializers.

Author:
lsg

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

for purposes of dumping

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

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

for purposes of dumping

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

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

Marking routine for class ss_method_declaration.

Marking routine is used for garbage collection.

Author:
lsg

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


Member Data Documentation

bool lestes::lang::cplus::sem::ss_method_declaration::virtuality [private]

Whether is current function(method) virtual.

bool lestes::lang::cplus::sem::ss_method_declaration::pure_virtual [private]

Whether is current function(method) pure virtual (=0).

srp< ss_method_declaration > lestes::lang::cplus::sem::ss_method_declaration::reimplements [private]

Declaration, which is being replaced in VMT by current declaration.

This field is used only for virtual functions. Non virtual methods have this field set to NULL.

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

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


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