|
glibmm 2.29.11
|
This is an intermediate type. More...
#include <glibmm/listhandle.h>
Public Types | |
| typedef Tr::CppType | CppType |
| typedef Tr::CType | CType |
| typedef CppType | value_type |
| typedef size_t | size_type |
| typedef ptrdiff_t | difference_type |
| typedef Glib::Container_Helpers::ListHandleIterator < Tr > | const_iterator |
| typedef Glib::Container_Helpers::ListHandleIterator < Tr > | iterator |
Public Member Functions | |
| template<class Cont > | |
| ListHandle (const Cont& container) | |
| ListHandle (GList* glist, Glib::OwnershipType ownership) | |
| ListHandle (const ListHandle< T, Tr >& other) | |
| ~ListHandle () | |
| const_iterator | begin () const |
| const_iterator | end () const |
| template<class U > | |
| operator std::vector< U > () const | |
| template<class U > | |
| operator std::deque< U > () const | |
| template<class U > | |
| operator std::list< U > () const | |
| template<class Cont > | |
| void | assign_to (Cont& container) const |
| template<class Out > | |
| void | copy (Out pdest) const |
| GList* | data () const |
| size_t | size () const |
| bool | empty () const |
This is an intermediate type.
When a method takes this, or returns this, you should use a standard C++ container of your choice, such as std::list or std::vector.
However, this is not used in new API. We now prefer to just use std::vector, which is less flexibile, but makes the API clearer.
| typedef Glib::Container_Helpers::ListHandleIterator<Tr> Glib::ListHandle< T, Tr >::const_iterator |
| typedef Tr::CppType Glib::ListHandle< T, Tr >::CppType |
| typedef Tr::CType Glib::ListHandle< T, Tr >::CType |
| typedef ptrdiff_t Glib::ListHandle< T, Tr >::difference_type |
| typedef Glib::Container_Helpers::ListHandleIterator<Tr> Glib::ListHandle< T, Tr >::iterator |
| typedef size_t Glib::ListHandle< T, Tr >::size_type |
| typedef CppType Glib::ListHandle< T, Tr >::value_type |
| Glib::ListHandle< T, Tr >::ListHandle | ( | const Cont & | container | ) | [inline] |
| Glib::ListHandle< T, Tr >::ListHandle | ( | GList * | glist, |
| Glib::OwnershipType | ownership | ||
| ) | [inline] |
| Glib::ListHandle< T, Tr >::ListHandle | ( | const ListHandle< T, Tr >& | other | ) | [inline] |
| Glib::ListHandle< T, Tr >::~ListHandle | ( | ) |
| void Glib::ListHandle< T, Tr >::assign_to | ( | Cont & | container | ) | const [inline] |
| const_iterator Glib::ListHandle< T, Tr >::begin | ( | ) | const [inline] |
| void Glib::ListHandle< T, Tr >::copy | ( | Out | pdest | ) | const [inline] |
| GList* Glib::ListHandle< T, Tr >::data | ( | ) | const [inline] |
| bool Glib::ListHandle< T, Tr >::empty | ( | ) | const [inline] |
| const_iterator Glib::ListHandle< T, Tr >::end | ( | ) | const [inline] |
| Glib::ListHandle< T, Tr >::operator std::deque< U > | ( | ) | const [inline] |
| Glib::ListHandle< T, Tr >::operator std::list< U > | ( | ) | const [inline] |
| Glib::ListHandle< T, Tr >::operator std::vector< U > | ( | ) | const [inline] |
| size_t Glib::ListHandle< T, Tr >::size | ( | ) | const [inline] |
1.7.3