lestes::lang::cplus::sem::ss_volatile Class Reference

Class for volatile types. More...

#include <ss_type.g.hh>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ss_typewhat_get () const
 The method what_get returns the value of the field ss_volatile::what.
void what_set (const ptr< ss_type > &)
 The method what_set sets the field ss_volatile::what to the given value.
virtual bool is_void ()
 Is this type void?
virtual bool is_volatile ()
 Is this type volatile?
virtual ptr< ::lestes::std::list<
srp< or_ics_functional > > > 
accept_or_ics_base (ptr< or_ics_base > v)
virtual or_cv_enum accept_or_ics_base_cv (ptr< or_ics_base_cv > v)
virtual ptr< ::lestes::md::types::tm_data_type_baseaccept_ss_type2tm_type_gen_base (ptr< ss_type2tm_type_gen_base > v)
virtual void accept_ss_type_visitor (ptr< ss_type_visitor > 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_typeinstance (ptr< ss_type > type)
 get the instance representing appropriately qualified argument type
static ptr< ss_volatilecreate (ptr< ss_type > a__ss_volatile__what)
 First generated factory method for class ss_volatile.

Protected Member Functions

 ss_volatile (ptr< ss_type > a__ss_volatile__what)
 Generated constructor for class ss_volatile.
virtual void gc_mark ()
 Marking routine for class ss_volatile.

Private Attributes

srp< ss_typewhat

Static Private Attributes

static ptr< ::lestes::std::map<
srp< ss_type >, srp< ss_type > > > 
the_instances = ::lestes::std::map< srp< ss_type >, srp< ss_type > > ::create()
 holder for the class instances
static ptr< reflection_listreflection = reflection

Detailed Description

Class for volatile types.

Singleton class.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::ss_volatile::ss_volatile ( ptr< ss_type a__ss_volatile__what  )  [protected]

Generated constructor for class ss_volatile.

Generated constructor for class ss_volatile.

Author:
lsg


Member Function Documentation

ptr< ss_type > lestes::lang::cplus::sem::ss_volatile::what_get (  )  const

The method what_get returns the value of the field ss_volatile::what.

Returns:
The value of ss_volatile::what.
Author:
lsg

void lestes::lang::cplus::sem::ss_volatile::what_set ( const ptr< ss_type > &  x  ) 

The method what_set sets the field ss_volatile::what to the given value.

Parameters:
[in] x The new value to set ss_volatile::what to.
Author:
lsg

bool lestes::lang::cplus::sem::ss_volatile::is_void (  )  [virtual]

Is this type void?

Used for genarating pi calls. Differentiate between call and callv. Generic case returns false;

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

bool lestes::lang::cplus::sem::ss_volatile::is_volatile (  )  [virtual]

Is this type volatile?

Used for generating side effects. Returns true.

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

ptr< ss_type > lestes::lang::cplus::sem::ss_volatile::instance ( ptr< ss_type x  )  [static]

get the instance representing appropriately qualified argument type

Returns volatilized version of a given type. The volatilization is an idempotent operation. Constization and volatilization is commutative.

Precondition:
x != NULL
Parameters:
x The type to make volatile.
Returns:
The volatilized type.

ptr<::lestes::std::list< srp< or_ics_functional > > > lestes::lang::cplus::sem::ss_volatile::accept_or_ics_base ( ptr< or_ics_base v  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type.

or_cv_enum lestes::lang::cplus::sem::ss_volatile::accept_or_ics_base_cv ( ptr< or_ics_base_cv v  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type.

ptr<::lestes::md::types::tm_data_type_base > lestes::lang::cplus::sem::ss_volatile::accept_ss_type2tm_type_gen_base ( ptr< ss_type2tm_type_gen_base v  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type.

void lestes::lang::cplus::sem::ss_volatile::accept_ss_type_visitor ( ptr< ss_type_visitor v  )  [virtual]

Implements lestes::lang::cplus::sem::ss_type.

ptr< ss_volatile > lestes::lang::cplus::sem::ss_volatile::create ( ptr< ss_type a__ss_volatile__what  )  [static]

First generated factory method for class ss_volatile.

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

Author:
lsg

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

for purposes of dumping

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

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

for purposes of dumping

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

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

Marking routine for class ss_volatile.

Marking routine is used for garbage collection.

Author:
lsg

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


Member Data Documentation

srp< ss_type > lestes::lang::cplus::sem::ss_volatile::what [private]

ptr<::lestes::std::map< srp< ss_type >, srp< ss_type > > > lestes::lang::cplus::sem::ss_volatile::the_instances = ::lestes::std::map< srp< ss_type >, srp< ss_type > > ::create() [static, private]

holder for the class instances

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

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


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