|
glibmm
2.33.3
|
This is an intermediate type. More...
#include <glibmm/slisthandle.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::SListHandleIterator < Tr > | const_iterator |
| typedef Glib::Container_Helpers::SListHandleIterator < Tr > | iterator |
Public Member Functions | |
| template<class Cont > | |
| SListHandle (const Cont& container) | |
| SListHandle (GSList* glist, Glib::OwnershipType ownership) | |
| SListHandle (const SListHandle< T, Tr >& other) | |
| ~SListHandle () | |
| 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 |
| GSList* | 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 Tr::CppType Glib::SListHandle::CppType |
| typedef Tr::CType Glib::SListHandle::CType |
| typedef size_t Glib::SListHandle::size_type |
| typedef CppType Glib::SListHandle::value_type |
| Glib::SListHandle::SListHandle | ( | const Cont & | container | ) | [inline] |
| Glib::SListHandle::SListHandle | ( | GSList * | glist, |
| Glib::OwnershipType | ownership | ||
| ) | [inline] |
| Glib::SListHandle::SListHandle | ( | const SListHandle< T, Tr >& | other | ) | [inline] |
| Glib::SListHandle::~SListHandle | ( | ) |
| void Glib::SListHandle::assign_to | ( | Cont & | container | ) | const [inline] |
| const_iterator Glib::SListHandle::begin | ( | ) | const [inline] |
| void Glib::SListHandle::copy | ( | Out | pdest | ) | const [inline] |
| GSList* Glib::SListHandle::data | ( | ) | const [inline] |
| bool Glib::SListHandle::empty | ( | ) | const [inline] |
| const_iterator Glib::SListHandle::end | ( | ) | const [inline] |
| Glib::SListHandle::operator std::deque< U > | ( | ) | const [inline] |
| Glib::SListHandle::operator std::list< U > | ( | ) | const [inline] |
| Glib::SListHandle::operator std::vector< U > | ( | ) | const [inline] |
| size_t Glib::SListHandle::size | ( | ) | const [inline] |
1.7.5