lestes::lang::cplus::sem::ss_array Class Reference

Class for array type. More...

#include <ss_type.g.hh>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

t_size bound_get () const
 The method bound_get returns the value of the field ss_array::bound.
void bound_set (t_size)
 The method bound_set sets the field ss_array::bound to the given value.
ptr< ss_typetype_get () const
 The method type_get returns the value of the field ss_array::type.
void type_set (const ptr< ss_type > &)
 The method type_set sets the field ss_array::type to the given value.
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 (t_size size, ptr< ss_type > type)
 get the instance representing array of the argument type
static ptr< ss_arraycreate (t_size a__ss_array__bound, ptr< ss_type > a__ss_array__type)
 First generated factory method for class ss_array.

Protected Member Functions

 ss_array (t_size a__ss_array__bound, ptr< ss_type > a__ss_array__type)
 Generated constructor for class ss_array.
virtual void gc_mark ()
 Marking routine for class ss_array.

Private Attributes

t_size bound
srp< ss_typetype

Static Private Attributes

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

Detailed Description

Class for array type.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::ss_array::ss_array ( t_size  a__ss_array__bound,
ptr< ss_type a__ss_array__type 
) [protected]

Generated constructor for class ss_array.

Generated constructor for class ss_array.

Author:
lsg


Member Function Documentation

t_size lestes::lang::cplus::sem::ss_array::bound_get (  )  const

The method bound_get returns the value of the field ss_array::bound.

Returns:
The value of ss_array::bound.
Author:
lsg

void lestes::lang::cplus::sem::ss_array::bound_set ( t_size  x  ) 

The method bound_set sets the field ss_array::bound to the given value.

Parameters:
[in] x The new value to set ss_array::bound to.
Author:
lsg

ptr< ss_type > lestes::lang::cplus::sem::ss_array::type_get ( void   )  const

The method type_get returns the value of the field ss_array::type.

Returns:
The value of ss_array::type.
Author:
lsg

void lestes::lang::cplus::sem::ss_array::type_set ( const ptr< ss_type > &  x  ) 

The method type_set sets the field ss_array::type to the given value.

Parameters:
[in] x The new value to set ss_array::type to.
Author:
lsg

ptr< ss_type > lestes::lang::cplus::sem::ss_array::instance ( t_size  size,
ptr< ss_type type 
) [static]

get the instance representing array of the argument type

Returns type representing array of a given type.

Precondition:
type != NULL
Parameters:
size The size of the array.
type The base type for the array.
Returns:
The array of the given type.

ptr<::lestes::std::list< srp< or_ics_functional > > > lestes::lang::cplus::sem::ss_array::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_array::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_array::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_array::accept_ss_type_visitor ( ptr< ss_type_visitor v  )  [virtual]

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

ptr< ss_array > lestes::lang::cplus::sem::ss_array::create ( t_size  a__ss_array__bound,
ptr< ss_type a__ss_array__type 
) [static]

First generated factory method for class ss_array.

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

Author:
lsg

ptr< object::reflection_list > lestes::lang::cplus::sem::ss_array::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_array::field_values_get (  )  const [virtual]

for purposes of dumping

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

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

Marking routine for class ss_array.

Marking routine is used for garbage collection.

Author:
lsg

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


Member Data Documentation

t_size lestes::lang::cplus::sem::ss_array::bound [private]

srp< ss_type > lestes::lang::cplus::sem::ss_array::type [private]

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

holder for the class instances

ptr< object::reflection_list > lestes::lang::cplus::sem::ss_array::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:32 2007 for lestes by doxygen 1.5.1-20070107