<< TypeCIdentifier
 Top   Types   Functions   Classes   Index 
TypeNumeric >>

struct CrlTypeEnum / crl_type_enum_t

Concrete Class


Description

An enum: the value must look like a symbol in CRL, the symbol must be part of the enum value list declared here, and the symbol token will become an instance of ValueUnsigned by the map stored in this Type.

This is not fully implemented by now.

In CRL2 file syntax, this type is called

enum

Kinship

Immediate super class: TypeScalar

Type Aliases

typedefEnumUserPrintFile UserPrintFile
typedefEnumUserPrintVChar UserPrintVChar

Inherited Slots

int Object::class_id
int Object::heap_sig
int Object::ref_count
UserData Object::user_data

Members

UserPrintFileget_user_print_file()
UserPrintVCharget_user_print_vchar()
voidset_user_print_file(UserPrintFile)
voidset_user_print_vchar(UserPrintVChar)
CrlTypeEnum()

Inherited Members

From ClassC++C
Crl::address_default_user_print_file
Crl::address_default_user_print_vchar
Crl::bool_default_user_print_file
Crl::bool_default_user_print_vchar
Crl::context_default
Crl::enum_default_user_print_file
Crl::enum_default_user_print_vchar
Crl::float_default_user_print_file
Crl::float_default_user_print_vchar
Crl::get_string2symbol
Crl::get_string2symbol_default
Crl::get_user_data_delete_hook
Crl::gmt_default_user_print_file
Crl::gmt_default_user_print_vchar
Crl::identifier_default_user_print_file
Crl::identifier_default_user_print_vchar
Crl::init
Crl::is_c_identifier
Crl::is_initialised
Crl::is_lowcase_identifier
Crl::is_normalised_decimal
Crl::klass_id_to_crl_name
Crl::klass_id_to_name
Crl::set_handle_foreign_item
Crl::set_string2symbol
Crl::set_user_data_delete_hook
Crl::signed_default_user_print_file
Crl::signed_default_user_print_vchar
Crl::string2symbol
Crl::string_default_user_print_file
Crl::string_default_user_print_vchar
Crl::symbol_default_user_print_file
Crl::symbol_default_user_print_vchar
Crl::type_any
Crl::unsigned_default_user_print_file
Crl::unsigned_default_user_print_vchar
Object::operator delete
Object::operator new
Object::operator!=crl_type_enum_is_not_equal
Object::operator<crl_type_enum_is_less_than
Object::operator<=crl_type_enum_is_less_equal
Object::operator==crl_type_enum_is_equal
Object::operator>crl_type_enum_is_greater_than
Object::operator>=crl_type_enum_is_greater_equal
Object::_ref
Object::_ref_unref
Object::_unref
Object::_unref_no_delete
Type::boxcrl_type_enum_get_box
Type::check_applicationcrl_type_enum_check_application
Type::check_floatcrl_type_enum_check_float
Type::check_itemcrl_type_enum_check_item
Type::check_mapcrl_type_enum_check_map
Type::check_missingcrl_type_enum_check_missing
Type::check_nullcrl_type_enum_check_null
Object::check_sigcrl_type_enum_check_sig
Type::check_signedcrl_type_enum_check_signed
Type::check_stringcrl_type_enum_check_string
Type::check_unsignedcrl_type_enum_check_unsigned
Type::check_vectorcrl_type_enum_check_vector
Object::class_idcrl_type_enum_get_class_id
Object::cmpcrl_type_enum_cmp
Object::cmp_shallowcrl_type_enum_cmp_shallow
TypeSimple::crl_namecrl_type_enum_crl_name
Type::find_symcrl_type_enum_find_sym
Object::graphcrl_type_enum_get_graph_const
Object::hashcrl_type_enum_hash
Object::hash_shallowcrl_type_enum_hash_shallow
Object::heap_sigcrl_type_enum_get_heap_sig
Object::klass_idcrl_type_enum_get_klass_id
Object::klass_namecrl_type_enum_get_klass_name
Object::mapcrl_type_enum_map
Object::map_subcrl_type_enum_map_sub_with_data
Type::maximumcrl_type_enum_get_maximum
Type::minimumcrl_type_enum_get_minimum
Type::nth_signedcrl_type_enum_nth_signed
Type::nth_unsignedcrl_type_enum_nth_unsigned
Object::printcrl_type_enum_print_vchar
Object::ref_count
Object::routinecrl_type_enum_get_routine_const
Object::set_user_datacrl_type_enum_set_user_data
Type::spawncrl_type_enum_spawn
Object::to_vcharcrl_type_enum_to_vchar
Object::user_datacrl_type_enum_get_user_data_const
Type::user_printcrl_type_enum_user_print_vchar_string


Detailed Descriptions


#if CRL_NEED_TYPE_ENUM

[constructor] CrlTypeEnum ()

C++: CrlTypeEnum::CrlTypeEnum ()
C: crl_type_enum_t * crl_type_enum_new (void)
#endif


#if CRL_NEED_TYPE_ENUM

static UserPrintVChar get_user_print_vchar ()

C++: CrlEnumUserPrintVChar CrlTypeEnum::get_user_print_vchar ()
C: crl_enum_user_print_vchar_t crl_type_enum_get_user_print_vchar (void)

The implementation of this function is trivial, i.e., it always returns m_user_print_vchar .

#endif


#if CRL_NEED_TYPE_ENUM

static void set_user_print_vchar (UserPrintVChar)

C++: void CrlTypeEnum::set_user_print_vchar (CrlEnumUserPrintVChar)
C: void crl_type_enum_set_user_print_vchar (crl_enum_user_print_vchar_t)
#endif


#if CRL_NEED_TYPE_ENUM

static UserPrintFile get_user_print_file ()

C++: CrlEnumUserPrintFile CrlTypeEnum::get_user_print_file ()
C: crl_enum_user_print_file_t crl_type_enum_get_user_print_file (void)

The implementation of this function is trivial, i.e., it always returns m_user_print_file .

#endif


#if CRL_NEED_TYPE_ENUM

static void set_user_print_file (UserPrintFile)

C++: void CrlTypeEnum::set_user_print_file (CrlEnumUserPrintFile)
C: void crl_type_enum_set_user_print_file (crl_enum_user_print_file_t)
#endif


Occurrences of CrlTypeEnum

voidCrl::enum_default_user_print_file(FILE *, TypeEnum const *, signed_t)
voidCrl::enum_default_user_print_vchar(VChar *, TypeEnum const *, signed_t)
CrlTypeEnum::CrlTypeEnum()
TypeEnum *CrlObject::as_TypeEnum()
TypeEnum const *CrlObject::as_TypeEnum() const
TypeEnum *CrlObject::cast_TypeEnum()
TypeEnum const *CrlObject::cast_TypeEnum() const


Generated by erwin-cgen © AbsInt Angewandte Informatik GmbH