RobWorkProject  23.9.11-
Public Types | Public Member Functions | Friends | List of all members
Path< T > Class Template Reference

This is a std::Vector overloaded with some extra constructor functionality. More...

#include <Path.hpp>

Inherits vector< T >.

Public Types

typedef rw::core::Ptr< PathPtr
 smart pointer type to this class
 

Public Member Functions

 Path ()
 Default constructor.
 
 Path (size_t cnt)
 Constructor adding cnt elements. Objects of type T is added using default constructor. More...
 
 Path (size_t cnt, const T &value)
 Constructor adding cnt elements with value value. More...
 
template<typename input_iterator >
 Path (input_iterator start, input_iterator end)
 Constructs Path and copies elements from start to end into the path. More...
 
 Path (const std::vector< T > &v)
 Construct Path and copies elements from v. More...
 
Path< T > & operator= (const std::vector< T > &rhs)
 Construct Path and copies elements from rhs. More...
 

Friends

class boost::serialization::access
 

Detailed Description

template<class T>
class rw::trajectory::Path< T >

This is a std::Vector overloaded with some extra constructor functionality.

Constructor & Destructor Documentation

◆ Path() [1/4]

Path ( size_t  cnt)
inline

Constructor adding cnt elements. Objects of type T is added using default constructor.

Parameters
cnt[in] Number of elements in data structure.

◆ Path() [2/4]

Path ( size_t  cnt,
const T &  value 
)
inline

Constructor adding cnt elements with value value.

Parameters
cnt[in] Number of elements in data structure.
value[in] Values with which to initialize elements.

◆ Path() [3/4]

Path ( input_iterator  start,
input_iterator  end 
)
inline

Constructs Path and copies elements from start to end into the path.

Parameters
start[in] Start of iterator to input data
end[in] End for iterator to input data.

◆ Path() [4/4]

Path ( const std::vector< T > &  v)
inline

Construct Path and copies elements from v.

Parameters
v[in] vector to copy data from

Member Function Documentation

◆ operator=()

Path<T>& operator= ( const std::vector< T > &  rhs)
inline

Construct Path and copies elements from rhs.

Parameters
rhs[in] vector to copy data from

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