#include <ruby.h>
#include <set>
#include <algorithm>
Go to the source code of this file.
Typedefs | |
typedef std::set< VALUE > | ValueSet |
Functions | |
static VALUE | array_to_value_set (VALUE self) |
static VALUE | enumerable_to_value_set (VALUE self) |
static VALUE | enumerable_to_value_set_i (VALUE i, VALUE *memo) |
static ValueSet & | get_wrapped_set (VALUE self) |
void | Init_value_set () |
static VALUE | value_set_alloc (VALUE klass) |
static VALUE | value_set_clear (VALUE self) |
static VALUE | value_set_delete (VALUE vself, VALUE v) |
static VALUE | value_set_delete_if (VALUE self) |
static VALUE | value_set_difference (VALUE vself, VALUE vother) |
static VALUE | value_set_difference_bang (VALUE vself, VALUE vother) |
static VALUE | value_set_dup (VALUE vself, VALUE vother) |
static VALUE | value_set_each (VALUE self) |
static VALUE | value_set_empty_p (VALUE self) |
static VALUE | value_set_equal (VALUE vself, VALUE vother) |
static void | value_set_free (ValueSet const *set) |
static VALUE | value_set_include_all_p (VALUE vself, VALUE vother) |
static VALUE | value_set_include_p (VALUE vself, VALUE vother) |
static VALUE | value_set_initialize_copy (VALUE vself, VALUE vother) |
static VALUE | value_set_insert (VALUE vself, VALUE v) |
static VALUE | value_set_intersection (VALUE vself, VALUE vother) |
static VALUE | value_set_intersection_bang (VALUE vself, VALUE vother) |
static VALUE | value_set_intersects (VALUE vself, VALUE vother) |
static void | value_set_mark (ValueSet const *set) |
static VALUE | value_set_merge (VALUE vself, VALUE vother) |
static VALUE | value_set_size (VALUE self) |
static VALUE | value_set_to_value_set (VALUE self) |
static VALUE | value_set_union (VALUE vself, VALUE vother) |
Variables | |
static VALUE | cValueSet |
static ID | id_new |
typedef std::set<VALUE> ValueSet |
Definition at line 10 of file value_set.cc.
static VALUE array_to_value_set | ( | VALUE | self | ) | [static] |
Definition at line 355 of file value_set.cc.
static VALUE enumerable_to_value_set | ( | VALUE | self | ) | [static] |
Definition at line 380 of file value_set.cc.
static VALUE enumerable_to_value_set_i | ( | VALUE | i, |
VALUE * | memo | ||
) | [static] |
Definition at line 368 of file value_set.cc.
static ValueSet& get_wrapped_set | ( | VALUE | self | ) | [static] |
Definition at line 11 of file value_set.cc.
void Init_value_set | ( | ) |
Definition at line 399 of file value_set.cc.
static VALUE value_set_alloc | ( | VALUE | klass | ) | [static] |
Definition at line 20 of file value_set.cc.
static VALUE value_set_clear | ( | VALUE | self | ) | [static] |
Definition at line 325 of file value_set.cc.
static VALUE value_set_delete | ( | VALUE | vself, |
VALUE | v | ||
) | [static] |
Definition at line 299 of file value_set.cc.
static VALUE value_set_delete_if | ( | VALUE | self | ) | [static] |
Definition at line 70 of file value_set.cc.
static VALUE value_set_difference | ( | VALUE | vself, |
VALUE | vother | ||
) | [static] |
Definition at line 266 of file value_set.cc.
static VALUE value_set_difference_bang | ( | VALUE | vself, |
VALUE | vother | ||
) | [static] |
Definition at line 245 of file value_set.cc.
static VALUE value_set_dup | ( | VALUE | vself, |
VALUE | vother | ||
) | [static] |
Definition at line 106 of file value_set.cc.
static VALUE value_set_each | ( | VALUE | self | ) | [static] |
Definition at line 52 of file value_set.cc.
static VALUE value_set_empty_p | ( | VALUE | self | ) | [static] |
Definition at line 30 of file value_set.cc.
static VALUE value_set_equal | ( | VALUE | vself, |
VALUE | vother | ||
) | [static] |
Definition at line 311 of file value_set.cc.
static void value_set_free | ( | ValueSet const * | set | ) | [static] |
Definition at line 19 of file value_set.cc.
static VALUE value_set_include_all_p | ( | VALUE | vself, |
VALUE | vother | ||
) | [static] |
Definition at line 122 of file value_set.cc.
static VALUE value_set_include_p | ( | VALUE | vself, |
VALUE | vother | ||
) | [static] |
Definition at line 90 of file value_set.cc.
static VALUE value_set_initialize_copy | ( | VALUE | vself, |
VALUE | vother | ||
) | [static] |
Definition at line 336 of file value_set.cc.
static VALUE value_set_insert | ( | VALUE | vself, |
VALUE | v | ||
) | [static] |
Definition at line 287 of file value_set.cc.
static VALUE value_set_intersection | ( | VALUE | vself, |
VALUE | vother | ||
) | [static] |
Definition at line 195 of file value_set.cc.
static VALUE value_set_intersection_bang | ( | VALUE | vself, |
VALUE | vother | ||
) | [static] |
Definition at line 174 of file value_set.cc.
static VALUE value_set_intersects | ( | VALUE | vself, |
VALUE | vother | ||
) | [static] |
Definition at line 214 of file value_set.cc.
static void value_set_mark | ( | ValueSet const * | set | ) | [static] |
Definition at line 18 of file value_set.cc.
static VALUE value_set_merge | ( | VALUE | vself, |
VALUE | vother | ||
) | [static] |
Definition at line 157 of file value_set.cc.
static VALUE value_set_size | ( | VALUE | self | ) | [static] |
Definition at line 41 of file value_set.cc.
static VALUE value_set_to_value_set | ( | VALUE | self | ) | [static] |
Definition at line 99 of file value_set.cc.
static VALUE value_set_union | ( | VALUE | vself, |
VALUE | vother | ||
) | [static] |
Definition at line 138 of file value_set.cc.
VALUE cValueSet [static] |
Definition at line 7 of file value_set.cc.
ID id_new [static] |
Definition at line 8 of file value_set.cc.