Classification of class

Large classification

Rice classes are classified largely into three groups.


Basic classes

User-defined classes

Embedded classes


Basic classes are defined by the Rice.

User-defined classes are defined by the user.

Other classes are embedded classes.

Basic classes

Basic classes are defined by the Rice. They are able to use on the all source code of the Rice.

Basic classes are:


int

long

real

bool

string

rice

proxy

pair

list

dictionary

queue

stack

error

void

dummy


The int, long, real, bool, and string express the value.

The rice is a class to operate the Rice.

The proxy and pair are classes to hide a type.

The list, dictionary, queue, and stack express the collection.

The error is a class to express the exception.

The void and dummy are classes that are used in the implementation of the Rice.

User-defined classes

User-defined classes are class written in Rice language by the user of application.

A user-defined class will be enabled only in a Rice interpreter which has carried out the user-defined class definition. It will not be shared throughout the Rice.

Embedded classes

Embedded classes are class other than basic classes and user-defined classes.

For example:


Classes which are embedded statically at the application development.

Classes which are embedded dynamically at the execution of the application.

Classes which are embedded dynamically via the Rice program.


Embedded classes will be shared throughout the Rice. They are possible to use immediately after the embedding.

Copyright © Rice All rights reserved.