Public Types | Public Member Functions | Private Attributes | List of all members
gtsam::ListOfOneContainer< T > Class Template Reference

#include <types.h>

Public Types

typedef const Tconst_iterator
 
typedef Titerator
 
typedef T value_type
 

Public Member Functions

const Tbegin () const
 
Tbegin ()
 
const Tend () const
 
Tend ()
 
 ListOfOneContainer (const T &element)
 
size_t size () const
 

Private Attributes

T element_
 

Detailed Description

template<typename T>
class gtsam::ListOfOneContainer< T >

A helper class that behaves as a container with one element, and works with boost::range

Definition at line 121 of file types.h.

Member Typedef Documentation

template<typename T >
typedef const T* gtsam::ListOfOneContainer< T >::const_iterator

Definition at line 125 of file types.h.

template<typename T >
typedef T* gtsam::ListOfOneContainer< T >::iterator

Definition at line 126 of file types.h.

template<typename T >
typedef T gtsam::ListOfOneContainer< T >::value_type

Definition at line 124 of file types.h.

Constructor & Destructor Documentation

template<typename T >
gtsam::ListOfOneContainer< T >::ListOfOneContainer ( const T element)
inline

Definition at line 127 of file types.h.

Member Function Documentation

template<typename T >
const T* gtsam::ListOfOneContainer< T >::begin ( ) const
inline

Definition at line 128 of file types.h.

template<typename T >
T* gtsam::ListOfOneContainer< T >::begin ( )
inline

Definition at line 130 of file types.h.

template<typename T >
const T* gtsam::ListOfOneContainer< T >::end ( ) const
inline

Definition at line 129 of file types.h.

template<typename T >
T* gtsam::ListOfOneContainer< T >::end ( )
inline

Definition at line 131 of file types.h.

template<typename T >
size_t gtsam::ListOfOneContainer< T >::size ( ) const
inline

Definition at line 132 of file types.h.

Member Data Documentation

template<typename T >
T gtsam::ListOfOneContainer< T >::element_
private

Definition at line 122 of file types.h.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:58:18