#include <vector_object.hpp>
Inheritance diagram for ph::common::vector_object_helper:
Definition at line 24 of file common/vector_object.hpp.
Public Member Functions | |
void | helper_delete_object (bool owned) |
bool | helper_add (object_base *parent, object_base *obj, bool own, bool owned) |
bool | helper_remove (object_base *obj) |
bool | helper_singleton () const |
bool | helper_count () const |
Protected Attributes | |
std::vector< object_base * > | _vector |
|
Delete the objects attached. Only deletes if the objects are actually owned by this. Definition at line 31 of file common/vector_object.hpp. References _vector. Referenced by persist_test::c_vector::delete_object(), and reflect_test::c_vector::delete_object(). |
|
Add a new object to the collection. Definition at line 44 of file common/vector_object.hpp. References _vector, ph::common::outerable_object_base::outer(), and ph::common::object_base::outerable(). Referenced by persist_test::c_vector::add(), and reflect_test::c_vector::add(). |
|
remove an object from the collection. Definition at line 59 of file common/vector_object.hpp. References _vector. Referenced by persist_test::c_vector::remove(), and reflect_test::c_vector::remove(). |
|
Vectors are not singleton objects. Definition at line 72 of file common/vector_object.hpp. Referenced by persist_test::c_vector::singleton(), and reflect_test::c_vector::singleton(). |
|
Return the number of objects in the vector. Definition at line 80 of file common/vector_object.hpp. References _vector. Referenced by persist_test::c_vector::count(), and reflect_test::c_vector::count(). |
|
Definition at line 89 of file common/vector_object.hpp. Referenced by reflect_test::c_vector::accept(), helper_add(), helper_count(), helper_delete_object(), helper_remove(), and persist_test::c_vector::vector(). |