Manpage logo

SPVM::Native::ClassVar - Information of Class Variables

Name  Description  Usage  Instance Methods  get_index  get_name  get_basic_type  get_type_dimension  get_type_flag  get_current_basic_type  is_cache  Copyright & License 

Name

SPVM::Native::ClassVar − Information of Class Variables

Description

The Native::ClassVar class of SPVM has methods to manipulate information of class variables.

Usage

use Native::ClassVar;

Instance Methods

get_index

"method get_index : int ();"

Gets the index.

If a memory error occurs, an exception is thrown.

get_name

"method get_name : string ();"

Gets the name.

If a memory error occurs, an exception is thrown.

get_basic_type

"method get_basic_type : Native::BasicType ();"

Gets Native::BasicType object.

If a memory error occurs, an exception is thrown.

get_type_dimension

"method get_type_dimension : int ();"

Gets the type dimension.

If a memory error occurs, an exception is thrown.

get_type_flag

"method get_type_flag : int ();"

Gets the type flag.

If a memory error occurs, an exception is thrown.

get_current_basic_type

"method get_current_basic_type : Native::BasicType ();"

Gets the current Native::BasicType object that defines this class variable.

If a memory error occurs, an exception is thrown.

is_cache

"method is_cache : int ();"

If "cache" class variable attribute is specified, returns 1, otherwise returns 0.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License


Updated 2026-06-01 - jenkler.se | uex.se