lestes::lang::cplus::sem::ss_type2id Class Reference

Visitor that returns identification of a descendant of ss_type. More...

#include <ss_type2id.g.hh>

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

Inheritance graph
[legend]
List of all members.

Public Types

enum  id_type {
  UNION, CONST, VOLATILE, CONST_VOLATILE,
  POINTER, REFERENCE, PSEUDOREFERENCE, ENUM,
  ARRAY, MEMBER_POINTER, FUNCTION, MEMBER_FUNCTION,
  CLASS, BOOL, VOID, SINT,
  UINT, SLONG, ULONG, SSHORT,
  USHORT, SCHAR, UCHAR, PCHAR,
  WCHAR_T, FLOAT, DOUBLE, LDOUBLE
}

Public Member Functions

id_type ret_val_get () const
 The method ret_val_get returns the value of the field ss_type2id::ret_val.
void ret_val_set (id_type)
 The method ret_val_set sets the field ss_type2id::ret_val to the given value.
virtual void visit_ss_const (ptr< ::lestes::lang::cplus::sem::ss_const >)
virtual void visit_ss_volatile (ptr< ::lestes::lang::cplus::sem::ss_volatile >)
virtual void visit_ss_const_volatile (ptr< ::lestes::lang::cplus::sem::ss_const_volatile >)
virtual void visit_ss_reference (ptr< ::lestes::lang::cplus::sem::ss_reference >)
virtual void visit_ss_pseudoreference (ptr< ::lestes::lang::cplus::sem::ss_pseudoreference >)
virtual void visit_ss_pointer (ptr< ::lestes::lang::cplus::sem::ss_pointer >)
virtual void visit_ss_enum (ptr< ::lestes::lang::cplus::sem::ss_enum >)
virtual void visit_ss_array (ptr< ::lestes::lang::cplus::sem::ss_array >)
virtual void visit_ss_member_pointer (ptr< ::lestes::lang::cplus::sem::ss_member_pointer >)
virtual void visit_ss_function (ptr< ::lestes::lang::cplus::sem::ss_function >)
virtual void visit_ss_member_function (ptr< ::lestes::lang::cplus::sem::ss_member_function >)
virtual void visit_ss_class (ptr< ::lestes::lang::cplus::sem::ss_class >)
virtual void visit_ss_union (ptr< ::lestes::lang::cplus::sem::ss_union >)
virtual void visit_ss_bool (ptr< ::lestes::lang::cplus::sem::ss_bool >)
virtual void visit_ss_void (ptr< ::lestes::lang::cplus::sem::ss_void >)
virtual void visit_ss_type_sint (ptr< ::lestes::lang::cplus::sem::ss_type_sint >)
virtual void visit_ss_type_uint (ptr< ::lestes::lang::cplus::sem::ss_type_uint >)
virtual void visit_ss_type_slong (ptr< ::lestes::lang::cplus::sem::ss_type_slong >)
virtual void visit_ss_type_ulong (ptr< ::lestes::lang::cplus::sem::ss_type_ulong >)
virtual void visit_ss_type_sshort (ptr< ::lestes::lang::cplus::sem::ss_type_sshort >)
virtual void visit_ss_type_ushort (ptr< ::lestes::lang::cplus::sem::ss_type_ushort >)
virtual void visit_ss_type_wchar_t (ptr< ::lestes::lang::cplus::sem::ss_type_wchar_t >)
virtual void visit_ss_type_schar (ptr< ::lestes::lang::cplus::sem::ss_type_schar >)
virtual void visit_ss_type_uchar (ptr< ::lestes::lang::cplus::sem::ss_type_uchar >)
virtual void visit_ss_type_pchar (ptr< ::lestes::lang::cplus::sem::ss_type_pchar >)
virtual void visit_ss_type_float (ptr< ::lestes::lang::cplus::sem::ss_type_float >)
virtual void visit_ss_type_double (ptr< ::lestes::lang::cplus::sem::ss_type_double >)
virtual void visit_ss_type_ldouble (ptr< ::lestes::lang::cplus::sem::ss_type_ldouble >)
id_type process (const ptr< ::lestes::lang::cplus::sem::ss_type > &)
 "visit-return" method
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_type2idsingleton_instance_get ()
 The method singleton_instance_get returns the value of the field ss_type2id::singleton_instance.
static void singleton_instance_set (const ptr< ss_type2id > &)
 The method singleton_instance_set sets the field ss_type2id::singleton_instance to the given value.
static ptr< ss_type2idinstance ()
static ptr< ss_type2idcreate (id_type a__ss_type2id__ret_val)
 First generated factory method for class ss_type2id.
static ptr< ss_type2idcreate ()
 Second generated factory method for class ss_type2id.

Protected Member Functions

 ss_type2id (id_type a__ss_type2id__ret_val)
 Generated constructor for class ss_type2id.
virtual void gc_mark ()
 Marking routine for class ss_type2id.

Private Attributes

id_type ret_val

Static Private Attributes

static ptr< ss_type2idsingleton_instance = singleton_instance
static ptr< reflection_listreflection = reflection

Detailed Description

Visitor that returns identification of a descendant of ss_type.


Member Enumeration Documentation

enum lestes::lang::cplus::sem::ss_type2id::id_type

Enumerator:
UNION 
CONST 
VOLATILE 
CONST_VOLATILE 
POINTER 
REFERENCE 
PSEUDOREFERENCE 
ENUM 
ARRAY 
MEMBER_POINTER 
FUNCTION 
MEMBER_FUNCTION 
CLASS 
BOOL 
VOID 
SINT 
UINT 
SLONG 
ULONG 
SSHORT 
USHORT 
SCHAR 
UCHAR 
PCHAR 
WCHAR_T 
FLOAT 
DOUBLE 
LDOUBLE 


Constructor & Destructor Documentation

lestes::lang::cplus::sem::ss_type2id::ss_type2id ( id_type  a__ss_type2id__ret_val  )  [protected]

Generated constructor for class ss_type2id.

Generated constructor for class ss_type2id.

Author:
lsg


Member Function Documentation

ss_type2id::id_type lestes::lang::cplus::sem::ss_type2id::ret_val_get (  )  const

The method ret_val_get returns the value of the field ss_type2id::ret_val.

Returns:
The value of ss_type2id::ret_val.
Author:
lsg

void lestes::lang::cplus::sem::ss_type2id::ret_val_set ( id_type  x  ) 

The method ret_val_set sets the field ss_type2id::ret_val to the given value.

Parameters:
[in] x The new value to set ss_type2id::ret_val to.
Author:
lsg

ptr< ss_type2id > lestes::lang::cplus::sem::ss_type2id::singleton_instance_get (  )  [static]

The method singleton_instance_get returns the value of the field ss_type2id::singleton_instance.

Returns:
The value of ss_type2id::singleton_instance.
Author:
lsg

void lestes::lang::cplus::sem::ss_type2id::singleton_instance_set ( const ptr< ss_type2id > &  x  )  [static]

The method singleton_instance_set sets the field ss_type2id::singleton_instance to the given value.

Parameters:
[in] x The new value to set ss_type2id::singleton_instance to.
Author:
lsg

ptr< ss_type2id > lestes::lang::cplus::sem::ss_type2id::instance (  )  [static]

void lestes::lang::cplus::sem::ss_type2id::visit_ss_const ( ptr< ::lestes::lang::cplus::sem::ss_const  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_volatile ( ptr< ::lestes::lang::cplus::sem::ss_volatile  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_const_volatile ( ptr< ::lestes::lang::cplus::sem::ss_const_volatile  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_reference ( ptr< ::lestes::lang::cplus::sem::ss_reference  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_pseudoreference ( ptr< ::lestes::lang::cplus::sem::ss_pseudoreference  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_pointer ( ptr< ::lestes::lang::cplus::sem::ss_pointer  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_enum ( ptr< ::lestes::lang::cplus::sem::ss_enum  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_array ( ptr< ::lestes::lang::cplus::sem::ss_array  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_member_pointer ( ptr< ::lestes::lang::cplus::sem::ss_member_pointer  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_function ( ptr< ::lestes::lang::cplus::sem::ss_function  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_member_function ( ptr< ::lestes::lang::cplus::sem::ss_member_function  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_class ( ptr< ::lestes::lang::cplus::sem::ss_class  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_union ( ptr< ::lestes::lang::cplus::sem::ss_union  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_bool ( ptr< ::lestes::lang::cplus::sem::ss_bool  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_void ( ptr< ::lestes::lang::cplus::sem::ss_void  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_type_sint ( ptr< ::lestes::lang::cplus::sem::ss_type_sint  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_type_uint ( ptr< ::lestes::lang::cplus::sem::ss_type_uint  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_type_slong ( ptr< ::lestes::lang::cplus::sem::ss_type_slong  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_type_ulong ( ptr< ::lestes::lang::cplus::sem::ss_type_ulong  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_type_sshort ( ptr< ::lestes::lang::cplus::sem::ss_type_sshort  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_type_ushort ( ptr< ::lestes::lang::cplus::sem::ss_type_ushort  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_type_wchar_t ( ptr< ::lestes::lang::cplus::sem::ss_type_wchar_t  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_type_schar ( ptr< ::lestes::lang::cplus::sem::ss_type_schar  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_type_uchar ( ptr< ::lestes::lang::cplus::sem::ss_type_uchar  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_type_pchar ( ptr< ::lestes::lang::cplus::sem::ss_type_pchar  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_type_float ( ptr< ::lestes::lang::cplus::sem::ss_type_float  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_type_double ( ptr< ::lestes::lang::cplus::sem::ss_type_double  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

void lestes::lang::cplus::sem::ss_type2id::visit_ss_type_ldouble ( ptr< ::lestes::lang::cplus::sem::ss_type_ldouble  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type_visitor.

ptr< ss_type2id > lestes::lang::cplus::sem::ss_type2id::create ( id_type  a__ss_type2id__ret_val  )  [static]

First generated factory method for class ss_type2id.

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

Author:
lsg

ptr< ss_type2id > lestes::lang::cplus::sem::ss_type2id::create ( void   )  [static]

Second generated factory method for class ss_type2id.

This factory method for class ss_type2id uses initializers.

Author:
lsg

ss_type2id::id_type lestes::lang::cplus::sem::ss_type2id::process ( const ptr< ::lestes::lang::cplus::sem::ss_type > &   ) 

"visit-return" method

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

for purposes of dumping

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

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

for purposes of dumping

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

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

Marking routine for class ss_type2id.

Marking routine is used for garbage collection.

Author:
lsg

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


Member Data Documentation

id_type lestes::lang::cplus::sem::ss_type2id::ret_val [private]

ptr< ss_type2id > lestes::lang::cplus::sem::ss_type2id::singleton_instance = singleton_instance [static, private]

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

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


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