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

Container for Frame objects. More...

#include <Container.hh>

Inherits vector< boost::shared_ptr< T > >.

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...
 
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...
 

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 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 ( 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.

◆ operator!=() [1/2]

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!=() [2/2]

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.

◆ operator==() [1/2]

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.

◆ operator==() [2/2]

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.

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