|
|
| Author |
Message |
|
| Allan |
Posted: Sun Nov 15, 2009 10:09 pm |
|
|
|
User
Joined: 29 Jun 2009
Posts: 30
|
Named-value set implementation providing some informational, subset and conversion functionality.
Header of the nv_set module:
Code: %%%
%%% Functions for dealing with named-value sets.
%%%
%%% Created by Allan Wegan <allanwegan@allanwegan.de>
%%% This module, nv_set.hrl, nv_set_tests.erl, nv.erl, nv.hrl, and nv_tests.erl
%%% may be used by everyone for everything.
%%%
-module(nv_set).
-include_lib("nv_set/include/nv_set.hrl").
%%% Public functions:
-export([
create/0, create/1,
is_empty/1, is_equal/2,
has_element/2, has_elements/2,
has_value/3, has_values/2,
get_element/2, get_elements/2,
get_value/2, get_value/3,
set_element/2, set_elements/2,
set_value/3,
delete_element/2, delete_elements/2,
to_nv_list/1, to_tuple_list/1,
subset/2,
subset_as_nv_list/2, subset_as_tuple_list/2, subset_as_value_list/2,
subset_as_tuple/2, subset_as_record/3
]). |
| Description: |
| nv_set and nv modules, type definition includes and unit tests |
|
 Download |
| Filename: |
nv_set-0.0.zip |
| Filesize: |
25.55 KB |
| Downloaded: |
880 Time(s) |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|
|