Banner showing base of Eiffel tower

Github

Download version 1.4.8: Windows or Linux

Base Library: Class Reflection

This library cluster has 90 classes.

ECF: base.ecf

Classes for setting and getting data attributes using class reflection.

Directory: library/base/runtime/reflection

. /class

. /data-types

. /dynamic_creation

. /enumeration

. /escaped

. /fields

. /fields/numeric

. /fields/other

. /fields/reference

. /fields/reference/makeable

. /fields/reference/string

. /helper

. /routine

. /settable

. /shared

. /table

class

EL_CLASS_META_DATA

Class reflective meta data

EL_CLASS_TYPE_ID_ENUM

Common class type identifiers accesible via EL_SHARED_CLASS_ID

EL_REFLECTIVE

Stateless class with reflective routines

Further Information

Click on class link to see notes, descendants and client examples.

EL_REFLECTIVE_I

Basic interface to reflective object useful in parallel inheritance

EL_STORABLE_CLASS_META_DATA

Reflective meta data for classes that inherit EL_REFLECTIVELY_SETTABLE_STORABLE

data-types

EL_ENUMERATION_VALUE

Wrapper object for enumeration value defined by a class inheriting from EL_ENUMERATION. An instance of an implemention class can be initialized by a name string either matching the enumeration name or imported from a foreign naming convention.

It is especially useful as a field attribute in a class inheriting EL_REFLECTIVE.

EL_REFLECTIVE_BOOLEAN_REF

Binary state object that can be associated with a descriptive name pair. on or off for example.

Further Information

Click on class link to see notes and tests.

dynamic_creation

EL_FACTORY_CLIENT

Allows descendants access to initialization agents for EL_OBJECT_FACTORY

Further Information

Click on class link to see client examples.

EL_MAKEABLE_CELL

A factory cell to create objects conforming to EL_MAKEABLE

EL_MAKEABLE_OBJECT_FACTORY

Factory to create objects conforming to EL_MAKEABLE

Further Information

Click on class link to see notes and client examples.

EL_OBJECT_FACTORY

Factory for instances of Eiffel classes conforming to parameter G

Tuple arguments act as type manifests with each type A, B, C.. conforming to G. A contract ensures all types conform. Typically you would create the tuple like this:

Types: TUPLE [A, B, C ..]
   once
      create Result
   end

Further Information

Click on class link to see client examples.

EL_REFLECTED_FIELD_FACTORY

Reflected field factory

EL_SHARED_MAKEABLE_FACTORY

Shared access to factory of objects conforming to EL_MAKEABLE

Further Information

Click on class link to see client examples.

enumeration

EL_DESCRIPTIVE_ENUMERATION

Enumeration with added descriptions parsed from text field descriptions See class EL_REFLECTIVE_DESCRIPTIONS

EL_ENUMERATION

Object for mapping names to code numbers with bi-directional lookups, i.e. obtain the code from a name and the name from a code. The generic parameter can be any NUMERIC type.

Further Information

Click on class link to see instructions, notes, descendants and client examples.

EL_TYPE_ID_ENUMERATION

Enumeration of type ids by correspondence of fields names to type names. Example: EL_CLASS_TYPE_ID_ENUM

escaped

EL_ESCAPED_STRING_32_FIELD_VALUE_TABLE

Implementation of EL_FIELD_VALUE_TABLE that escapes the value of STRING_32 field attribute types.

EL_ESCAPED_STRING_8_FIELD_VALUE_TABLE

Implementation of EL_FIELD_VALUE_TABLE that escapes the value of STRING_8 field attribute types.

EL_ESCAPED_STRING_GENERAL_FIELD_VALUE_TABLE

Implementation of EL_FIELD_VALUE_TABLE that escapes the value of field attribute string.

Further Information

Click on class link to see descendants.

EL_ESCAPED_ZSTRING_FIELD_VALUE_TABLE

Implementation of EL_FIELD_VALUE_TABLE that escapes the value of EL_ZSTRING field attribute types.

fields

EL_FIELD_INDICES_SET

Sorted set of field indices for reflected object

EL_REFLECTED_EXPANDED_FIELD

Common expanded fields including BOOLEAN, POINTER and fields conforming to NUMERIC

EL_REFLECTED_FIELD

Manages attribute field for a class

Further Information

Click on class link to see descendants.

EL_REFLECTED_FIELD_LIST

Array of reflected fields for a class

fields/numeric

EL_REFLECTED_INTEGER_16

INTEGER_16 field

EL_REFLECTED_INTEGER_32

INTEGER_32 field

EL_REFLECTED_INTEGER_64

INTEGER_64 field

EL_REFLECTED_INTEGER_8

INTEGER_8 field

EL_REFLECTED_NATURAL_16

NATURAL_16 field

EL_REFLECTED_NATURAL_32

NATURAL_32 field

EL_REFLECTED_NATURAL_64

NATURAL_64 field

EL_REFLECTED_NATURAL_8

NATURAL_8 field

EL_REFLECTED_NUMERIC_FIELD

Field conforming to NUMERIC

Further Information

Click on class link to see client examples.

EL_REFLECTED_REAL_32

REAL_32 field

EL_REFLECTED_REAL_64

REAL_32 field

fields/other

EL_REFLECTED_BOOLEAN

Reflected boolean

EL_REFLECTED_CHARACTER_32

Reflected character 32

EL_REFLECTED_CHARACTER_8

Reflected character 8

EL_REFLECTED_COLLECTION

Reflected collection

EL_REFLECTED_PATH

Field conforming to EL_PATH

EL_REFLECTED_POINTER

Reflected pointer

fields/reference

EL_CACHEABLE_REFLECTED_REFERENCE

Reference field that can be set from a set of cached values

EL_REFLECTED_BOOLEAN_REF

Field conforming to BOOLEAN_REF

Further Information

Click on class link to see tests.

EL_REFLECTED_DATE_TIME

Reflected date time

EL_REFLECTED_READABLE

Reflected readable

EL_REFLECTED_REFERENCE

Reflected reference field conforming to parameter G

Further Information

Click on class link to see descendants.

EL_REFLECTED_STORABLE

Storable object that use object reflection to read and write fields and compare objects.

EL_REFLECTED_STORABLE_TUPLE

Reflected TUPLE that can be read and written to an object of type EL_MEMORY_READER_WRITER

EL_REFLECTED_TUPLE

Reflected TUPLE that can be read from a string

fields/reference/makeable

EL_REFLECTED_MAKEABLE_FROM_STRING

Field that conforms to type EL_REFLECTED_REFERENCE [EL_MAKEABLE_FROM_STRING_GENERAL]

EL_REFLECTED_MAKEABLE_FROM_STRING_32

Reflected makeable from string 32

EL_REFLECTED_MAKEABLE_FROM_STRING_8

Reflected makeable from string 8

EL_REFLECTED_MAKEABLE_FROM_ZSTRING

Reflected makeable from zstring

fields/reference/string

EL_REFLECTED_STRING

Field that conforms to STRING_GENERAL

EL_REFLECTED_STRING_32

Reflected string 32

EL_REFLECTED_STRING_8

Reflected string 8

EL_REFLECTED_ZSTRING

Reflected zstring

helper

EL_CACHED_FIELD_READER

Abstraction to set a string field from a cached value set

Further Information

Click on class link to see descendants.

EL_COLLECTION_TYPE_ASSOCIATION

Collection type association

EL_INTERNAL

Internal reflection routines accessible via EL_MODULE_EIFFEL

EL_MODULE_EIFFEL

Shared access to routines of class EL_INTERNAL and ISE base class INTERNAL

Further Information

Click on class link to see client examples.

EL_MODULE_NAMING

Shared access to routines of class EL_NAMING_ROUTINES

Further Information

Click on class link to see client examples.

EL_NAMING_ROUTINES

Object with attribute names that are translateable TO and FROM another naming convention There are also routines to derive a name from the class generator name.

Accessible from shared object_or_type Naming in class EL_MODULE_NAMING

Further Information

Click on class link to see tests and client examples.

EL_REFLECTED_REFERENCE_OBJECT

Reflected reference object

EL_REFLECTION_HANDLER

Access control for features of class EL_REFLECTIVE

EL_REFLECTIVE_DESCRIPTIONS

Object to map textual descriptions in description to attributes

Further Information

Click on class link to see notes.

EL_WORD_SEPARATION_ADAPTER

Adapt Eiffel identifiers to other word separation conventions and vice-versa

routine

EL_FUNCTION_INFO

Function info

Further Information

Click on class link to see client examples.

EL_PROCEDURE_INFO

Procedure info

EL_ROUTINE_INFO

Routine info

EL_ROUTINE_INFO_FACTORY

Routine info factory

Further Information

Click on class link to see client examples.

settable

EL_REFLECTIVELY_SETTABLE

Object with field_table attribute of field getter-setter's. See class EL_REFLECTED_FIELD_TABLE

Further Information

Click on class link to see notes, tests, descendants and client examples.

EL_REFLECTIVE_COMMAND_LINE_CONFIG

Reflective command line config

EL_SETTABLE_FROM_STRING

Used in conjunction with EL_REFLECTIVELY_SETTABLE to reflectively set fields from name-value pairs, where value conforms to READABLE_STRING_GENERAL.

Further Information

Click on class link to see descendants and client examples.

EL_SETTABLE_FROM_STRING_32

Used in conjunction with EL_REFLECTIVE to reflectively set fields from name-value pairs, where value conforms to STRING_32.

Further Information

Click on class link to see client examples.

EL_SETTABLE_FROM_STRING_8

Used in conjunction with EL_REFLECTIVE to reflectively set fields from name-value pairs, where value conforms to STRING_8.

EL_SETTABLE_FROM_ZSTRING

Used in conjunction with EL_REFLECTIVE to reflectively set fields from name-value pairs, where value conforms to EL_ZSTRING (aka ZSTRING)

Further Information

Click on class link to see tests and client examples.

shared

EL_REFLECTION_CONSTANTS

Type constants for object reflection

EL_SHARED_CLASS_ID

Shared instance of class EL_CLASS_TYPE_ID_ENUM

EL_SHARED_NEW_INSTANCE_TABLE

Shared access to table of object creation functions to initialize reference attributes reflectively. See class EL_REFLECTED_REFERENCE.

You can indirectly add to this table by overriding new_instance_functions from class EL_REFLECTIVE.

EL_SHARED_OBJECT_POOL

Shared object pool

table

EL_FIELD_VALUE_TABLE

Table that can be filled with fields values from an object implementing class EL_REFLECTIVE using the fill_field_value_table procedure. The type of fields that can be filled is specified by generic paramter G. An optional condition predicated can be set that filters the table content according to the value of the field.

EL_FUNCTIONS_BY_RESULT_TYPE

Functions by result type

EL_INTEGER_FIELD_VALUE_TABLE

Implementation of EL_FIELD_VALUE_TABLE for the INTEGER type

EL_OBJECTS_BY_TYPE

Lookup objects by type_id

EL_REFERENCE_FIELD_VALUE_TABLE

Implementation of EL_FIELD_VALUE_TABLE for reference field attribute types

EL_REFLECTED_COLLECTION_TYPE_TABLE

Reflected collection type table

EL_REFLECTED_FIELD_TABLE

Reflected field table

EL_REFLECTED_REFERENCE_TYPE_TABLE

Table of reflected reference fields for types conforming to BASE_TYPE and indexed by type_id

EL_REFLECTED_STORABLE_REFERENCE_TYPE_TABLE

Reflected storable reference type table