flux sdk  v01.02.02-171-g49b3b33
Embedded C++ SDK
Loading...
Searching...
No Matches
flxContainer< T > Class Template Reference

#include <flxCoreProps.h>

Inheritance diagram for flxContainer< T >:
flxFlux

Public Types

typedef std::vector< T * >::iterator iterator
 

Public Member Functions

 flxContainer ()
 
auto size () -> decltype(_vector.size())
 
size_t n_children (void)
 
void push_back (T *value)
 
void push_back (T &value)
 
void pop_back (void)
 
void insert (typename std::vector< T * >::iterator it, T *value)
 
bool insert_after (T *value, T *prev)
 
auto back (void) -> decltype(_vector.back())
 
auto front () -> decltype(_vector.front())
 
T *& at (size_t pos)
 
auto cbegin () -> decltype(_vector.cbegin())
 
auto cend () -> decltype(_vector.cend())
 
auto begin () -> decltype(_vector.begin())
 
auto end () -> decltype(_vector.end())
 
auto rbegin () -> decltype(_vector.rbegin())
 
auto rend () -> decltype(_vector.rend())
 
auto empty () -> decltype(_vector.empty())
 
iterator erase (iterator pos)
 
void remove (T *value)
 
bool contains (T *value)
 
flxTypeID getType (void)
 
virtual bool save (flxStorage *pStorage)
 
virtual bool restore (flxStorage *pStorage)
 

Static Public Member Functions

static flxTypeID type (void)
 

Protected Attributes

std::vector< T * > _vector
 

Member Typedef Documentation

◆ iterator

template<class T >
typedef std::vector<T*>::iterator flxContainer< T >::iterator

Constructor & Destructor Documentation

◆ flxContainer()

template<class T >
flxContainer< T >::flxContainer ( )
inline

Member Function Documentation

◆ at()

template<class T >
T *& flxContainer< T >::at ( size_t  pos)
inline

◆ back()

template<class T >
auto flxContainer< T >::back ( void  ) -> decltype(_vector.back())
inline

◆ begin()

template<class T >
auto flxContainer< T >::begin ( ) -> decltype(_vector.begin())
inline

◆ cbegin()

template<class T >
auto flxContainer< T >::cbegin ( ) -> decltype(_vector.cbegin())
inline

◆ cend()

template<class T >
auto flxContainer< T >::cend ( ) -> decltype(_vector.cend())
inline

◆ contains()

template<class T >
bool flxContainer< T >::contains ( T *  value)
inline

◆ empty()

template<class T >
auto flxContainer< T >::empty ( ) -> decltype(_vector.empty())
inline

◆ end()

template<class T >
auto flxContainer< T >::end ( ) -> decltype(_vector.end())
inline

◆ erase()

template<class T >
iterator flxContainer< T >::erase ( iterator  pos)
inline

◆ front()

template<class T >
auto flxContainer< T >::front ( ) -> decltype(_vector.front())
inline

◆ getType()

template<class T >
flxTypeID flxContainer< T >::getType ( void  )
inline

◆ insert()

template<class T >
void flxContainer< T >::insert ( typename std::vector< T * >::iterator  it,
T *  value 
)
inline

◆ insert_after()

template<class T >
bool flxContainer< T >::insert_after ( T *  value,
T *  prev 
)
inline

◆ n_children()

template<class T >
size_t flxContainer< T >::n_children ( void  )
inline

◆ pop_back()

template<class T >
void flxContainer< T >::pop_back ( void  )
inline

◆ push_back() [1/2]

template<class T >
void flxContainer< T >::push_back ( T &  value)
inline

◆ push_back() [2/2]

template<class T >
void flxContainer< T >::push_back ( T *  value)
inline

◆ rbegin()

template<class T >
auto flxContainer< T >::rbegin ( ) -> decltype(_vector.rbegin())
inline

◆ remove()

template<class T >
void flxContainer< T >::remove ( T *  value)
inline

◆ rend()

template<class T >
auto flxContainer< T >::rend ( ) -> decltype(_vector.rend())
inline

◆ restore()

template<class T >
virtual bool flxContainer< T >::restore ( flxStorage pStorage)
inlinevirtual

Reimplemented in flxFlux.

◆ save()

template<class T >
virtual bool flxContainer< T >::save ( flxStorage pStorage)
inlinevirtual

Reimplemented in flxFlux.

◆ size()

template<class T >
auto flxContainer< T >::size ( ) -> decltype(_vector.size())
inline

◆ type()

template<class T >
static flxTypeID flxContainer< T >::type ( void  )
inlinestatic

Member Data Documentation

◆ _vector

template<class T >
std::vector<T *> flxContainer< T >::_vector
protected

The documentation for this class was generated from the following file: