Xlsxir v1.2.0 Xlsxir.SharedString

An Erlang Term Storage (ETS) process named :sharedstrings which holds state for data parsed from sharedStrings.xml. Provides functions to create the process, add and retreive data, and ultimately kill the process.

Summary

Functions

Stores a sharedstring at a given index in the ETS process

Validates whether the ETS process is active, returning true or false

Deletes the ETS process from memory

Returns a sharedstring at a given index of the ETS process

Initializes new ETS process with [:set, :protected, :named_table] options

Functions

add_shared_string(shared_string, index)

Stores a sharedstring at a given index in the ETS process.

alive?()

Validates whether the ETS process is active, returning true or false.

delete()

Deletes the ETS process from memory.

get_at(index)

Returns a sharedstring at a given index of the ETS process.

new()

Initializes new ETS process with [:set, :protected, :named_table] options.