KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
kjb::tracking::Generic_trajectory_element< T > Struct Template Reference

Represents an element of a trajectory of a particular entity. More...

#include <tracking_trajectory.h>

Public Member Functions

 Generic_trajectory_element ()
 
 Generic_trajectory_element (const T &value_)
 
bool parse (const std::string &line)
 Reads an element from a line of a file. More...
 
void write (std::ofstream &ofs) const
 Writes this element to a stream. More...
 

Static Public Member Functions

static void write_invalid (std::ofstream &ofs)
 Writes this element to a stream. More...
 

Public Attributes

value
 

Friends

void swap (Generic_trajectory_element< T > &t1, Generic_trajectory_element< T > &t2)
 Swap two trajectories. More...
 

Detailed Description

template<class T>
struct kjb::tracking::Generic_trajectory_element< T >

Represents an element of a trajectory of a particular entity.

Constructor & Destructor Documentation

template<class T>
kjb::tracking::Generic_trajectory_element< T >::Generic_trajectory_element ( const T &  value_)
inline

Member Function Documentation

template<class T>
bool kjb::tracking::Generic_trajectory_element< T >::parse ( const std::string &  line)
inline

Reads an element from a line of a file.

template<class T>
void kjb::tracking::Generic_trajectory_element< T >::write ( std::ofstream &  ofs) const
inline

Writes this element to a stream.

template<class T>
static void kjb::tracking::Generic_trajectory_element< T >::write_invalid ( std::ofstream &  ofs)
inlinestatic

Writes this element to a stream.

Friends And Related Function Documentation

template<class T>
void swap ( Generic_trajectory_element< T > &  t1,
Generic_trajectory_element< T > &  t2 
)
friend

Swap two trajectories.

Member Data Documentation

template<class T>
T kjb::tracking::Generic_trajectory_element< T >::value

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