#include <wrap_cpp_container.hpp>

Public Types | |
|
typedef wrap_cpp_container < Impl >::iterator | iterator |
Public Member Functions | |
| void | push_back (const var &v) |
| Pushes the value onto the back. | |
| var | pop_back () |
| Removes a value from the back and returns it. | |
| var | call (const var &a0) |
| Call the object with 1 argument. | |
| int | max_args () |
| Return the maximum number arguments that the object can be called with. | |
| var | front () |
| Retrieve the first/front item. | |
| var | back () |
| Get the last/back item. | |
| var | clone () |
| Clones the object. | |
| var | keys () |
| Return a container of keys. | |
| void | short_output (ostream &ss) |
| Short output to a narrow stream. | |
| void | output (ostream &ss) |
| Outputs to a narrow stream. | |
| void | short_output (wostream &ss) |
| Short output to a wide stream. | |
| void | output (wostream &ss) |
| Outputs to a wide stream. | |
| void | pickle (pickler &p) |
| Pickle the object. | |
| void | unpickle (unpickler &p) |
| Unpickle the object. | |
| var | op_add (const var &v) |
| Addition operator. | |
| void | assign_add (const var &v) |
| Add with assignment. | |
| var | op_mul (const var &v) |
| Multiplication operator. | |
| void | assign_mul (const var &v) |
| Multiplication with assignment. | |
Definition at line 409 of file wrap_cpp_container.hpp.
| int dynamic::internal::wrap_array_container< 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 440 of file wrap_cpp_container.hpp.
| void dynamic::internal::wrap_array_container< Impl >::pickle | ( | pickler & | ) | [inline, virtual] |
Pickle the object.
Reimplemented from dynamic::var_impl.
Definition at line 505 of file wrap_cpp_container.hpp.
References dynamic::pickler::write_int(), and dynamic::pickler::write_object_type().
| void dynamic::internal::wrap_array_container< Impl >::short_output | ( | ostream & | ) | [inline, virtual] |
Short output to a narrow stream.
This call would not be recursive, whereas output() is
Reimplemented from dynamic::var_impl.
Reimplemented in dynamic::types::string_impl< Impl >.
Definition at line 465 of file wrap_cpp_container.hpp.
| void dynamic::internal::wrap_array_container< Impl >::unpickle | ( | unpickler & | ) | [inline, virtual] |
Unpickle the object.
Reimplemented from dynamic::var_impl.
Definition at line 515 of file wrap_cpp_container.hpp.
References dynamic::unpickler::read_int(), dynamic::internal::wrap_cpp_container< Impl >::size(), and dynamic::unpickle().
1.5.7.1