KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
kjb::bbb::Traj_set Class Reference

#include <bbb_traj_set.h>

Public Types

typedef Iset::const_iterator const_iterator
 
typedef
Iset::const_reverse_iterator 
const_reverse_iterator
 
typedef Iset::value_type value_type
 

Public Member Functions

 Traj_set ()
 Construct an empty trajectory seet. More...
 
template<class TrIt >
 Traj_set (TrIt first, TrIt last)
 Construct a trajectory set from the given trajectory indices. More...
 
template<class SizeType >
void insert (const SizeType &j)
 Add trajectory to this association. More...
 
template<class TrIt >
void insert (TrIt first, TrIt last)
 Add a sequence of indices to this association. More...
 
void clear ()
 Clear this trajectory set. More...
 
const_iterator begin () const
 Iterator to first index. More...
 
const_iterator end () const
 Iterator to one-past-the-end index. More...
 
const_reverse_iterator rbegin () const
 Iterator to reverse first index. More...
 
const_reverse_iterator rend () const
 Iterator to reverse one-past-the-end index. More...
 
size_t size () const
 Number of trajectories in this set. More...
 
template<class OutIt >
void trajectories (const Data &data, OutIt output) const
 Get a set of pointers to trajectory. OutIt must point to const Trajectory*. More...
 

Detailed Description

Class represents a set of trajectories; more specifically, a subset of the trajectories in the data.

Member Typedef Documentation

typedef Iset::const_iterator kjb::bbb::Traj_set::const_iterator
typedef Iset::const_reverse_iterator kjb::bbb::Traj_set::const_reverse_iterator
typedef Iset::value_type kjb::bbb::Traj_set::value_type

Constructor & Destructor Documentation

kjb::bbb::Traj_set::Traj_set ( )
inline

Construct an empty trajectory seet.

template<class TrIt >
kjb::bbb::Traj_set::Traj_set ( TrIt  first,
TrIt  last 
)
inline

Construct a trajectory set from the given trajectory indices.

Member Function Documentation

const_iterator kjb::bbb::Traj_set::begin ( ) const
inline

Iterator to first index.

void kjb::bbb::Traj_set::clear ( )
inline

Clear this trajectory set.

const_iterator kjb::bbb::Traj_set::end ( ) const
inline

Iterator to one-past-the-end index.

template<class SizeType >
void kjb::bbb::Traj_set::insert ( const SizeType &  j)
inline

Add trajectory to this association.

template<class TrIt >
void kjb::bbb::Traj_set::insert ( TrIt  first,
TrIt  last 
)
inline

Add a sequence of indices to this association.

const_reverse_iterator kjb::bbb::Traj_set::rbegin ( ) const
inline

Iterator to reverse first index.

const_reverse_iterator kjb::bbb::Traj_set::rend ( ) const
inline

Iterator to reverse one-past-the-end index.

size_t kjb::bbb::Traj_set::size ( ) const
inline

Number of trajectories in this set.

template<class OutIt >
void kjb::bbb::Traj_set::trajectories ( const Data data,
OutIt  output 
) const

Get a set of pointers to trajectory. OutIt must point to const Trajectory*.


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