Home About Rice Downloads Documents Others Cooker CookerGX
Documents  >  Class  >  proxy
proxy class

Description

Provides a function to conceal the type of an instance.

Notes

This class is a standard built-in class in the Rice language.

Instance that is created by declaration is still uninitialized.

The proxy type cannot initialize by the proxy type.

Operation to the proxy will be converted to the operation of the instance that is held.

fitter

SignatureDescription
proxy()

Get a new instance of proxy class with initial value.

proxy(class)

Return a proxy type instance that is initialized by the any instance.

getter

SignatureDescription
Entity

Returns an instance that is stored in the proxy type.

Fitted

Gets the value that indicates whether this instance was already initialized.

TypeName

Gets the type name.

setter

SignatureDescription
Entity(class)

Sets a new instance to the proxy.

method

SignatureDescription
ReleaseEntity()

It releases the reference of the caller instance and returns it to the uninitialized state.

Copyright © Rice All rights reserved.