|
glibmm
2.64.0
|
This is an intermediate type. More...
#include <glibmm/listhandle.h>
Public Types | |
| using | CppType = typename Tr::CppType |
| using | CType = typename Tr::CType |
| using | value_type = CppType |
| using | size_type = std::size_t |
| using | difference_type = std::ptrdiff_t |
| using | const_iterator = Glib::Container_Helpers::ListHandleIterator< Tr > |
| using | iterator = Glib::Container_Helpers::ListHandleIterator< Tr > |
Public Member Functions | |
| template<class Cont > | |
| ListHandle (const Cont& container) | |
| ListHandle (GList* glist, Glib::OwnershipType ownership) | |
| ListHandle (const ListHandle< T, Tr >& other) | |
| ~ListHandle () noexcept | |
| 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 |
| std::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.
| using Glib::ListHandle< T, Tr >::const_iterator = Glib::Container_Helpers::ListHandleIterator<Tr> |
| using Glib::ListHandle< T, Tr >::CppType = typename Tr::CppType |
| using Glib::ListHandle< T, Tr >::CType = typename Tr::CType |
| using Glib::ListHandle< T, Tr >::difference_type = std::ptrdiff_t |
| using Glib::ListHandle< T, Tr >::iterator = Glib::Container_Helpers::ListHandleIterator<Tr> |
| using Glib::ListHandle< T, Tr >::size_type = std::size_t |
| using Glib::ListHandle< T, Tr >::value_type = CppType |
|
inline |
|
inline |
|
inline |
|
noexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
1.8.11