kv_list() = [{term(), term()}]
get_sup_child/2 |
Searches the childern of the supervisor SupPid for a child whose Nth
element compares equal to Id . |
keyfind/2 | Equivalent to keyfind(Key, KVList, undefined). |
keyfind/3 |
Returns the value to the given Key or Default if it doesn't exist. |
keypop/2 | Equivalent to keypop(Key, KVList1, undefined). |
keypop/3 |
Searches the list of tuples KVList1 for a tuple whose Nth element
compares equal to Key . |
keyupdate/3 | Equivalent to keyupdate(Fun, Keys, undefined, TupleList). |
keyupdate/4 |
Updates the given Keys by the result of calling Fun(OldValue) . |
object_key/2 | Returns the key for the given object or list of objects. |
read_tabfile/1 | Reads the file info related to a tabfile saved previously. |
to_string/1 | Converts the input data to a string. |
write_tabfile/2 | Writes to a file a content related to a table. |
get_sup_child(SupPid, Id) -> Child
Searches the childern of the supervisor SupPid
for a child whose Nth
element compares equal to Id
.
keyfind(Key, KVList) -> any()
Equivalent to keyfind(Key, KVList, undefined).
keyfind(Key::term(), KVList::kv_list(), Default::term()) -> term()
Returns the value to the given Key
or Default
if it doesn't exist.
keypop(Key, KVList1) -> any()
Equivalent to keypop(Key, KVList1, undefined).
keypop(Key, KVList1, Default) -> {Value, KVList2}
Searches the list of tuples KVList1
for a tuple whose Nth element
compares equal to Key
. Returns {Value, KVList2}
if such a tuple
is found, otherwise {Default, KVList1}
. KVList2
is a copy of
KVList1
where the first occurrence of Tuple has been removed.
keyupdate(Fun, Keys, TupleList) -> any()
Equivalent to keyupdate(Fun, Keys, undefined, TupleList).
keyupdate(Fun, Keys, Init, KVList1) -> KVList2
Updates the given Keys
by the result of calling Fun(OldValue)
.
If Key
doesn't exist, then Init
is set.
Returns the key for the given object or list of objects.
read_tabfile(Filename::shards:filename()) -> term() | no_return()
Reads the file info related to a tabfile saved previously.
to_string(Data::term()) -> string() | no_return()
Converts the input data to a string.
write_tabfile(Filename::shards:filename(), Content::term()) -> ok | {error, term()}
Writes to a file a content related to a table.
Generated by EDoc