#include <countable.hpp>
Inherited by iterable, iterable< char, gsgl::data::simple_array_iterator< char > >, iterable< float, gsgl::data::dictionary_iterator< float, wchar_t > >, iterable< float, gsgl::data::simple_array_iterator< float > >, iterable< gsgl::data::broker_creator *, gsgl::data::dictionary_iterator< gsgl::data::broker_creator *, gsgl::string > >, iterable< gsgl::data::config_record, gsgl::data::list_iterator< gsgl::data::config_record > >, iterable< gsgl::data::dictionary< int, int >, gsgl::data::dictionary_iterator< gsgl::data::dictionary< int, int >, int > >, iterable< gsgl::data::dictionary< T, I >::dict_node *, gsgl::data::simple_array_iterator< gsgl::data::dictionary< T, I >::dict_node * > >, iterable< gsgl::data::log_target *, gsgl::data::list_iterator< gsgl::data::log_target * > >, iterable< gsgl::data::pair< T, U > *, gsgl::data::simple_array_iterator< gsgl::data::pair< T, U > * > >, iterable< gsgl::data_object *, gsgl::data::list_iterator< gsgl::data_object * > >, iterable< gsgl::framework::package *, gsgl::data::list_iterator< gsgl::framework::package * > >, iterable< gsgl::framework::pkg_library *, gsgl::data::list_iterator< gsgl::framework::pkg_library * > >, iterable< gsgl::framework::pkg_scenery *, gsgl::data::list_iterator< gsgl::framework::pkg_scenery * > >, iterable< gsgl::framework::pkg_vehicle *, gsgl::data::list_iterator< gsgl::framework::pkg_vehicle * > >, iterable< gsgl::framework::tabbox::tab_rec, gsgl::data::list_iterator< gsgl::framework::tabbox::tab_rec > >, iterable< gsgl::framework::treebox_node *, gsgl::data::list_iterator< gsgl::framework::treebox_node * > >, iterable< gsgl::framework::treebox_node *, gsgl::data::simple_array_iterator< gsgl::framework::treebox_node * > >, iterable< gsgl::framework::widget *, gsgl::data::simple_array_iterator< gsgl::framework::widget * > >, iterable< gsgl::io::directory, gsgl::data::list_iterator< gsgl::io::directory > >, iterable< gsgl::io::file, gsgl::data::list_iterator< gsgl::io::file > >, iterable< gsgl::physics::vehicle_module *, gsgl::data::simple_array_iterator< gsgl::physics::vehicle_module * > >, iterable< gsgl::platform::buffer_pool::bucket *, gsgl::data::simple_array_iterator< gsgl::platform::buffer_pool::bucket * > >, iterable< gsgl::platform::buffer_pool::object_record, gsgl::data::simple_array_iterator< gsgl::platform::buffer_pool::object_record > >, iterable< gsgl::platform::shader_base *, gsgl::data::list_iterator< gsgl::platform::shader_base * > >, iterable< gsgl::platform::texture *, gsgl::data::dictionary_iterator< gsgl::platform::texture *, wchar_t > >, iterable< gsgl::platform::vertex_buffer *, gsgl::data::list_iterator< gsgl::platform::vertex_buffer * > >, iterable< gsgl::scenegraph::light *, gsgl::data::pqueue_iterator< gsgl::scenegraph::light *, float > >, iterable< gsgl::scenegraph::light *, gsgl::data::simple_array_iterator< gsgl::scenegraph::light * > >, iterable< gsgl::scenegraph::material_impl *, gsgl::data::dictionary_iterator< gsgl::scenegraph::material_impl *, gsgl::string > >, iterable< gsgl::scenegraph::mesh *, gsgl::data::dictionary_iterator< gsgl::scenegraph::mesh *, gsgl::string > >, iterable< gsgl::scenegraph::model *, gsgl::data::simple_array_iterator< gsgl::scenegraph::model * > >, iterable< gsgl::scenegraph::model_part *, gsgl::data::simple_array_iterator< gsgl::scenegraph::model_part * > >, iterable< gsgl::scenegraph::node *, gsgl::data::list_iterator< gsgl::scenegraph::node * > >, iterable< gsgl::scenegraph::node *, gsgl::data::pqueue_iterator< gsgl::scenegraph::node *, float > >, iterable< gsgl::scenegraph::node *, gsgl::data::simple_array_iterator< gsgl::scenegraph::node * > >, iterable< gsgl::scenegraph::submesh *, gsgl::data::simple_array_iterator< gsgl::scenegraph::submesh * > >, iterable< gsgl::string *, gsgl::data::simple_array_iterator< gsgl::string * > >, iterable< gsgl::string, gsgl::data::dictionary_iterator< gsgl::string, gsgl::string > >, iterable< gsgl::string, gsgl::data::list_iterator< gsgl::string > >, iterable< I, gsgl::data::simple_array_iterator< I > >, iterable< T *, gsgl::data::dictionary_iterator< T *, gsgl::string > >, iterable< T, gsgl::data::dictionary_iterator< T, I > >, iterable< T, gsgl::data::list_iterator< T > >, iterable< T, gsgl::data::pqueue_iterator< T, I > >, iterable< T, gsgl::data::simple_array_iterator< T > >, iterable< unsigned char, gsgl::data::simple_array_iterator< unsigned char > >, iterable< unsigned int, gsgl::data::dictionary_iterator< unsigned int, gsgl::string > >, iterable< unsigned int, gsgl::data::simple_array_iterator< unsigned int > >, iterable< wchar_t, gsgl::data::simple_array_iterator< wchar_t > >, and iterable< wchar_t, gsgl::string_iterator >.
Definition at line 46 of file countable.hpp.
Public Member Functions | |
virtual void | clear ()=0 |
Clears the contents of the collection. | |
countable () | |
virtual bool | is_empty () const |
Returns true if the collection is empty. | |
virtual gsgl::index_t | size () const =0 |
The number of elements in the collection. | |
virtual | ~countable () |
countable | ( | ) | [inline] |
Definition at line 49 of file countable.hpp.
virtual ~countable | ( | ) | [inline, virtual] |
Definition at line 50 of file countable.hpp.
virtual void clear | ( | ) | [pure virtual] |
Clears the contents of the collection.
Implemented in simple_array, dictionary, list, pqueue, string, simple_array< gsgl::string * >, simple_array< gsgl::platform::buffer_pool::bucket * >, simple_array< gsgl::framework::treebox_node * >, simple_array< float >, simple_array< gsgl::scenegraph::model_part * >, simple_array< unsigned int >, simple_array< gsgl::framework::widget * >, simple_array< gsgl::scenegraph::light * >, simple_array< gsgl::physics::vehicle_module * >, simple_array< unsigned char >, simple_array< gsgl::scenegraph::model * >, simple_array< wchar_t >, simple_array< gsgl::scenegraph::node * >, simple_array< char >, simple_array< gsgl::scenegraph::submesh * >, simple_array< gsgl::data::pair * >, simple_array< I >, simple_array< gsgl::platform::buffer_pool::object_record >, simple_array< gsgl::data::dictionary< T, I >::dict_node * >, dictionary< T *, gsgl::string >, dictionary< gsgl::scenegraph::mesh *, gsgl::string >, dictionary< gsgl::platform::texture *, wchar_t >, dictionary< gsgl::scenegraph::material_impl *, gsgl::string >, dictionary< gsgl::data::dictionary< int, int >, int >, dictionary< unsigned int, gsgl::string >, dictionary< gsgl::string, gsgl::string >, dictionary< gsgl::data::broker_creator *, gsgl::string >, dictionary< float, wchar_t >, list< gsgl::framework::treebox_node * >, list< gsgl::data::log_target * >, list< gsgl::io::file >, list< gsgl::string >, list< gsgl::framework::pkg_scenery * >, list< gsgl::platform::shader_base * >, list< gsgl::framework::pkg_library * >, list< gsgl::data::config_record >, list< gsgl::data_object * >, list< gsgl::io::directory >, list< gsgl::scenegraph::node * >, list< gsgl::platform::vertex_buffer * >, list< gsgl::framework::tabbox::tab_rec >, list< gsgl::framework::pkg_vehicle * >, list< gsgl::framework::package * >, pqueue< gsgl::scenegraph::light *, float >, and pqueue< gsgl::scenegraph::node *, float >.
virtual bool is_empty | ( | ) | const [inline, virtual] |
Returns true if the collection is empty.
Definition at line 59 of file countable.hpp.
Referenced by application::application(), broker_creator::broker_creator(), config_variable< gsgl::platform::color >::config_variable(), file::file(), font_impl::font_impl(), config_record::from_stream(), application::get_config_overrides(), node::get_name(), brokered_object::get_type_name(), event_map::load_keyboard_events(), application::load_scenery(), model_part::model_part(), package::package(), physics_frame::physics_frame(), solar_system::solar_system(), stellar_db::stellar_db(), and vehicle::vehicle().
virtual gsgl::index_t size | ( | ) | const [pure virtual] |
The number of elements in the collection.
Implemented in simple_array, iterable, list, pqueue, string, simple_array< gsgl::string * >, simple_array< gsgl::platform::buffer_pool::bucket * >, simple_array< gsgl::framework::treebox_node * >, simple_array< float >, simple_array< gsgl::scenegraph::model_part * >, simple_array< unsigned int >, simple_array< gsgl::framework::widget * >, simple_array< gsgl::scenegraph::light * >, simple_array< gsgl::physics::vehicle_module * >, simple_array< unsigned char >, simple_array< gsgl::scenegraph::model * >, simple_array< wchar_t >, simple_array< gsgl::scenegraph::node * >, simple_array< char >, simple_array< gsgl::scenegraph::submesh * >, simple_array< gsgl::data::pair * >, simple_array< I >, simple_array< gsgl::platform::buffer_pool::object_record >, simple_array< gsgl::data::dictionary< T, I >::dict_node * >, iterable< gsgl::data::pair< T, U > *, gsgl::data::simple_array_iterator< gsgl::data::pair< T, U > * > >, iterable< T, gsgl::data::dictionary_iterator< T, I > >, iterable< gsgl::data::broker_creator *, gsgl::data::dictionary_iterator< gsgl::data::broker_creator *, gsgl::string > >, iterable< gsgl::physics::vehicle_module *, gsgl::data::simple_array_iterator< gsgl::physics::vehicle_module * > >, iterable< gsgl::scenegraph::material_impl *, gsgl::data::dictionary_iterator< gsgl::scenegraph::material_impl *, gsgl::string > >, iterable< gsgl::framework::treebox_node *, gsgl::data::simple_array_iterator< gsgl::framework::treebox_node * > >, iterable< gsgl::platform::vertex_buffer *, gsgl::data::list_iterator< gsgl::platform::vertex_buffer * > >, iterable< gsgl::scenegraph::node *, gsgl::data::simple_array_iterator< gsgl::scenegraph::node * > >, iterable< gsgl::scenegraph::node *, gsgl::data::list_iterator< gsgl::scenegraph::node * > >, iterable< wchar_t, gsgl::string_iterator >, iterable< gsgl::platform::buffer_pool::object_record, gsgl::data::simple_array_iterator< gsgl::platform::buffer_pool::object_record > >, iterable< gsgl::framework::widget *, gsgl::data::simple_array_iterator< gsgl::framework::widget * > >, iterable< unsigned int, gsgl::data::dictionary_iterator< unsigned int, gsgl::string > >, iterable< char, gsgl::data::simple_array_iterator< char > >, iterable< gsgl::platform::shader_base *, gsgl::data::list_iterator< gsgl::platform::shader_base * > >, iterable< gsgl::data::config_record, gsgl::data::list_iterator< gsgl::data::config_record > >, iterable< gsgl::framework::treebox_node *, gsgl::data::list_iterator< gsgl::framework::treebox_node * > >, iterable< gsgl::data::log_target *, gsgl::data::list_iterator< gsgl::data::log_target * > >, iterable< unsigned char, gsgl::data::simple_array_iterator< unsigned char > >, iterable< gsgl::scenegraph::light *, gsgl::data::pqueue_iterator< gsgl::scenegraph::light *, float > >, iterable< I, gsgl::data::simple_array_iterator< I > >, iterable< gsgl::platform::texture *, gsgl::data::dictionary_iterator< gsgl::platform::texture *, wchar_t > >, iterable< gsgl::scenegraph::light *, gsgl::data::simple_array_iterator< gsgl::scenegraph::light * > >, iterable< gsgl::data_object *, gsgl::data::list_iterator< gsgl::data_object * > >, iterable< gsgl::framework::pkg_vehicle *, gsgl::data::list_iterator< gsgl::framework::pkg_vehicle * > >, iterable< gsgl::framework::pkg_scenery *, gsgl::data::list_iterator< gsgl::framework::pkg_scenery * > >, iterable< gsgl::string, gsgl::data::list_iterator< gsgl::string > >, iterable< gsgl::framework::pkg_library *, gsgl::data::list_iterator< gsgl::framework::pkg_library * > >, iterable< gsgl::platform::buffer_pool::bucket *, gsgl::data::simple_array_iterator< gsgl::platform::buffer_pool::bucket * > >, iterable< gsgl::io::file, gsgl::data::list_iterator< gsgl::io::file > >, iterable< gsgl::scenegraph::model_part *, gsgl::data::simple_array_iterator< gsgl::scenegraph::model_part * > >, iterable< gsgl::scenegraph::node *, gsgl::data::pqueue_iterator< gsgl::scenegraph::node *, float > >, iterable< T, gsgl::data::simple_array_iterator< T > >, iterable< gsgl::string *, gsgl::data::simple_array_iterator< gsgl::string * > >, iterable< gsgl::io::directory, gsgl::data::list_iterator< gsgl::io::directory > >, iterable< T, gsgl::data::list_iterator< T > >, iterable< unsigned int, gsgl::data::simple_array_iterator< unsigned int > >, iterable< gsgl::framework::package *, gsgl::data::list_iterator< gsgl::framework::package * > >, iterable< gsgl::framework::tabbox::tab_rec, gsgl::data::list_iterator< gsgl::framework::tabbox::tab_rec > >, iterable< float, gsgl::data::simple_array_iterator< float > >, iterable< wchar_t, gsgl::data::simple_array_iterator< wchar_t > >, iterable< gsgl::data::dictionary< T, I >::dict_node *, gsgl::data::simple_array_iterator< gsgl::data::dictionary< T, I >::dict_node * > >, iterable< gsgl::scenegraph::mesh *, gsgl::data::dictionary_iterator< gsgl::scenegraph::mesh *, gsgl::string > >, iterable< gsgl::data::dictionary< int, int >, gsgl::data::dictionary_iterator< gsgl::data::dictionary< int, int >, int > >, iterable< gsgl::scenegraph::model *, gsgl::data::simple_array_iterator< gsgl::scenegraph::model * > >, iterable< T *, gsgl::data::dictionary_iterator< T *, gsgl::string > >, iterable< float, gsgl::data::dictionary_iterator< float, wchar_t > >, iterable< gsgl::scenegraph::submesh *, gsgl::data::simple_array_iterator< gsgl::scenegraph::submesh * > >, iterable< gsgl::string, gsgl::data::dictionary_iterator< gsgl::string, gsgl::string > >, iterable< T, gsgl::data::pqueue_iterator< T, I > >, list< gsgl::framework::treebox_node * >, list< gsgl::data::log_target * >, list< gsgl::io::file >, list< gsgl::string >, list< gsgl::framework::pkg_scenery * >, list< gsgl::platform::shader_base * >, list< gsgl::framework::pkg_library * >, list< gsgl::data::config_record >, list< gsgl::data_object * >, list< gsgl::io::directory >, list< gsgl::scenegraph::node * >, list< gsgl::platform::vertex_buffer * >, list< gsgl::framework::tabbox::tab_rec >, list< gsgl::framework::pkg_vehicle * >, list< gsgl::framework::package * >, pqueue< gsgl::scenegraph::light *, float >, and pqueue< gsgl::scenegraph::node *, float >.