
Public Types | |
|
typedef set_traits::container::iterator | iterator |
Public Member Functions | |
| var | call (const var &a) |
| Call the object with 1 argument. | |
| var | front () |
| Retrieve the first/front item. | |
| var | back () |
| Get the last/back item. | |
| void | output (dynamic::ostream &os) |
| Outputs to a narrow stream. | |
| void | output (dynamic::wostream &os) |
| Outputs to a wide stream. | |
| void | erase (const var &a) |
| Erases the specified item, but does not throw on error. | |
| bool | contains (const var &a) |
| Returns whether the object contains. | |
| var | clone () |
| Clones the object. | |
| int | max_args () |
| Return the maximum number arguments that the object can be called with. | |
| void | insert (const var &a) |
| Inserts an item. | |
| var | op_add (const var &other) |
| Addition operator. | |
| var | op_sub (const var &other) |
| Subtraction operator. | |
| var | op_mul (const var &other) |
| Multiplication operator. | |
| void | assign_add (const var &other) |
| Add with assignment. | |
| void | mixin (const var &other) |
| Adds the members of one object to another. | |
| void | assign_sub (const var &other) |
| Subtract with assignment. | |
| void | assign_mul (const var &other) |
| Multiplication with assignment. | |
| void | pickle (pickler &p) |
| Pickle the object. | |
| void | unpickle (unpickler &p) |
| Unpickle the object. | |
Definition at line 77 of file libdynamic/set.cpp.
| int dynamic::types::set_impl::max_args | ( | ) | [inline, virtual] |
Return the maximum number arguments that the object can be called with.
Returns -1 if the object cannot be called.
Reimplemented from dynamic::var_impl.
Definition at line 151 of file libdynamic/set.cpp.
| void dynamic::types::set_impl::pickle | ( | pickler & | ) | [inline, virtual] |
Pickle the object.
Reimplemented from dynamic::var_impl.
Definition at line 222 of file libdynamic/set.cpp.
References dynamic::pickler::write_int(), dynamic::pickler::write_object(), and dynamic::pickler::write_object_type().
| void dynamic::types::set_impl::unpickle | ( | unpickler & | ) | [inline, virtual] |
Unpickle the object.
Reimplemented from dynamic::var_impl.
Definition at line 232 of file libdynamic/set.cpp.
References dynamic::unpickler::read_int(), dynamic::unpickler::read_object(), and dynamic::internal::wrap_cpp_container< set_traits >::size().
1.5.7.1