ldas-tools-framecpp  2.6.5
Public Types | Public Member Functions | List of all members
FrameCPP::Common::Container< T > Class Template Reference

Container for Frame objects. More...

#include <IOStream.hh>

Inheritance diagram for FrameCPP::Common::Container< T >:
FrameCPP::Common::SearchContainer< T, F >

Public Types

typedef boost::shared_ptr< T > value_type
 
typedef boost::shared_ptr< T > const const_value_type
 
typedef std::vector< value_typecontainer_base_type
 
typedef container_base_type::size_type size_type
 
typedef container_base_type::iterator iterator
 
typedef container_base_type::const_iterator const_iterator
 
typedef container_base_type::reverse_iterator reverse_iterator
 
typedef container_base_type::const_reverse_iterator const_reverse_iterator
 

Public Member Functions

bool operator== (const Container< T > &c) const
 Equality operator. More...
 
bool operator!= (const Container< T > &c) const
 Inequality operator. More...
 
iterator append (value_type data)
 Append an element to the end of the container. More...
 
iterator append (const T &data)
 
IStreamStreamIn (IStream &Stream)
 
OStreamStreamOut (OStream &Stream) const
 

Detailed Description

template<class T>
class FrameCPP::Common::Container< T >

Container for Frame objects.

This allows for storage of data members of the frame specification. The container stores the members as smart pointers.

Member Typedef Documentation

◆ const_iterator

template<class T>
typedef container_base_type::const_iterator FrameCPP::Common::Container< T >::const_iterator

◆ const_reverse_iterator

template<class T>
typedef container_base_type::const_reverse_iterator FrameCPP::Common::Container< T >::const_reverse_iterator

◆ const_value_type

template<class T>
typedef boost::shared_ptr< T > const FrameCPP::Common::Container< T >::const_value_type

◆ container_base_type

template<class T>
typedef std::vector< value_type > FrameCPP::Common::Container< T >::container_base_type

◆ iterator

template<class T>
typedef container_base_type::iterator FrameCPP::Common::Container< T >::iterator

◆ reverse_iterator

template<class T>
typedef container_base_type::reverse_iterator FrameCPP::Common::Container< T >::reverse_iterator

◆ size_type

template<class T>
typedef container_base_type::size_type FrameCPP::Common::Container< T >::size_type

◆ value_type

template<class T>
typedef boost::shared_ptr< T > FrameCPP::Common::Container< T >::value_type

Member Function Documentation

◆ append() [1/2]

template<class T>
iterator FrameCPP::Common::Container< T >::append ( value_type  data)
inline

Append an element to the end of the container.

Memory for the element will be allocated and the container will own the new element.

Parameters
[in]dataThe item to append.
Returns
The iterator correspinding to the appended object.

◆ append() [2/2]

template<class T>
iterator FrameCPP::Common::Container< T >::append ( const T &  data)
inline

◆ operator!=()

template<class T>
bool FrameCPP::Common::Container< T >::operator!= ( const Container< T > &  c) const

Inequality operator.

Parameters
[in]cThe container to compare with.
Returns
true if the containers are not equal.

This chacks to see if two containers do not contain identical elements.

◆ operator==()

template<class T>
bool FrameCPP::Common::Container< T >::operator== ( const Container< T > &  c) const

Equality operator.

Parameters
[in]cThe container to compare with.
Returns
true if the containers are equal.

◆ StreamIn()

template<class T >
IStream & FrameCPP::Common::Container< T >::StreamIn ( IStream Stream)

◆ StreamOut()

template<class T >
OStream & FrameCPP::Common::Container< T >::StreamOut ( OStream Stream) const

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