ldas-tools-framecpp  2.5.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Public Member Functions | List of all members
FrameCPP::Common::Container< T > Singleton Reference

Container for Frame objects. More...

#include <IOStream.hh>

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

Public Types

typedef
LDASTools::AL::SharedPtr< T > 
value_type
 
typedef
LDASTools::AL::SharedConstPtr
< T > 
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>
singleton 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

template<class T>
typedef container_base_type::const_iterator FrameCPP::Common::Container< T >::const_iterator
template<class T>
typedef container_base_type::const_reverse_iterator FrameCPP::Common::Container< T >::const_reverse_iterator
template<class T>
typedef LDASTools::AL::SharedConstPtr< T > FrameCPP::Common::Container< T >::const_value_type
template<class T>
typedef std::vector< value_type > FrameCPP::Common::Container< T >::container_base_type
template<class T>
typedef container_base_type::iterator FrameCPP::Common::Container< T >::iterator
template<class T>
typedef container_base_type::reverse_iterator FrameCPP::Common::Container< T >::reverse_iterator
template<class T>
typedef container_base_type::size_type FrameCPP::Common::Container< T >::size_type
template<class T>
typedef LDASTools::AL::SharedPtr< T > FrameCPP::Common::Container< T >::value_type

Member Function Documentation

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.
template<class T>
iterator FrameCPP::Common::Container< T >::append ( const T &  data)
inline
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.

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.
template<class T >
IStream & FrameCPP::Common::Container< T >::StreamIn ( IStream Stream)
template<class T >
OStream & FrameCPP::Common::Container< T >::StreamOut ( OStream Stream) const

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