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

Inherits vector< T >.

Public Types

typedef rw::common::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...
 

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

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