Name

SPVM::Native::ModuleFile - Information of Module Files

Description

The Native::ModuleFile class of SPVM has methods to manipulate information of module files

Usage

use Native::ModuleFile;

Instance Methods

get_module_name

method get_module_name : string ();

Returns the module name.

If a memory error occurs, an exception is thrown.

get_file

method get_file : string ();

Returns the file.

If a memory error occurs, an exception is thrown.

set_file

method set_file : void ($file : string);

Sets the file.

If a memory error occurs, an exception is thrown.

get_dir

method get_dir : string ();

Returns the directory.

If a memory error occurs, an exception is thrown.

set_dir

method set_dir : void ($dir : string);

Sets the directory.

If a memory error occurs, an exception is thrown.

get_rel_file

method get_rel_file : string ();

Returns the relative file.

If a memory error occurs, an exception is thrown.

set_rel_file

method set_rel_file : void ($rel_file : string);

Ss the relative file.

If a memory error occurs, an exception is thrown.

get_content

method get_content : string ();

Returns the content.

If a memory error occurs, an exception is thrown.

set_content

method set_content : void ($content : string);

Sets the content.

If a memory error occurs, an exception is thrown.

get_content_length

method get_content_length : int ();

Returns the length of the content.

If a memory error occurs, an exception is thrown.

set_content_length

method set_content_length : void ($content_length : int);

Sets the length of the content.

If a memory error occurs, an exception is thrown.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License