lestes::md::types::type_info_base Class Reference

Provides informations about ss_types. More...

#include <type_info_base.g.hh>

Inheritance diagram for lestes::md::types::type_info_base:

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ::lestes::md::types::num_rangeget_range_for_numeric_type (ptr< ::lestes::lang::cplus::sem::ss_type > type)
 Gets range of given type.
virtual bool does_value_match_type (ucn_string value, ptr< ::lestes::lang::cplus::sem::ss_type > type) override
 Tells whether a value is of given type.
lstring get_decimal_representation (ucn_string value, ptr< ::lestes::md::types::tm_data_type_base > type)
 Converts string representing number with octal/hexa/decimal base to decimal based number.
virtual ptr< ::lestes::lang::cplus::sem::ss_typeget_ptrdiff_t_type () override
 Returns ss_type corresponding to ptrdiff_t type.
virtual ptr< ::lestes::lang::cplus::sem::ss_typeget_size_t_type () override
 Returns ss_type corresponding to size_t type.
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

 type_info_base ()
 Generated constructor for class type_info_base.
virtual void gc_mark ()
 Marking routine for class type_info_base.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Provides informations about ss_types.

Note: A concrete derived class is target dependent and it is placed in /target/machine/${TARGET_CPU}/lestes/md/types/ directory.


Constructor & Destructor Documentation

lestes::md::types::type_info_base::type_info_base (  )  [protected]

Generated constructor for class type_info_base.

Generated constructor for class type_info_base.

Author:
lsg


Member Function Documentation

ptr< ::lestes::md::types::num_range > lestes::md::types::type_info_base::get_range_for_numeric_type ( ptr< ::lestes::lang::cplus::sem::ss_type type  ) 

Gets range of given type.

Parameters:
type A ss_type.

virtual bool lestes::md::types::type_info_base::does_value_match_type ( ucn_string  value,
ptr< ::lestes::lang::cplus::sem::ss_type type 
) [pure virtual]

Tells whether a value is of given type.

Parameters:
value A value.
type A ss_type.

Implemented in lestes::md::types::type_info.

lstring lestes::md::types::type_info_base::get_decimal_representation ( ucn_string  value,
ptr< ::lestes::md::types::tm_data_type_base type 
)

Converts string representing number with octal/hexa/decimal base to decimal based number.

Parameters:
value A value.
type A ss_type.

virtual ptr< ::lestes::lang::cplus::sem::ss_type > lestes::md::types::type_info_base::get_ptrdiff_t_type (  )  [pure virtual]

Returns ss_type corresponding to ptrdiff_t type.

Implemented in lestes::md::types::type_info.

virtual ptr< ::lestes::lang::cplus::sem::ss_type > lestes::md::types::type_info_base::get_size_t_type (  )  [pure virtual]

Returns ss_type corresponding to size_t type.

Implemented in lestes::md::types::type_info.

ptr< object::reflection_list > lestes::md::types::type_info_base::reflection_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::std::object.

Reimplemented in lestes::md::types::type_info.

ptr< object::field_list_list > lestes::md::types::type_info_base::field_values_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::std::object.

Reimplemented in lestes::md::types::type_info.

void lestes::md::types::type_info_base::gc_mark ( void   )  [protected, virtual]

Marking routine for class type_info_base.

Marking routine is used for garbage collection.

Author:
lsg

Reimplemented from lestes::std::mem::keystone.

Reimplemented in lestes::md::types::type_info.


Member Data Documentation

ptr< object::reflection_list > lestes::md::types::type_info_base::reflection = reflection [static, private]

Reimplemented from lestes::std::object.

Reimplemented in lestes::md::types::type_info.


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