a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models Logo
make_vector< T > Class Template Reference

#include <std_make_vector.h>

Detailed Description

template<typename T>
class make_vector< T >

Definition at line 15 of file std_make_vector.h.

Public Types

typedef make_vector< T > my_type
 

Public Member Functions

 operator std::vector< T > () const
 
my_typeoperator<< (const T &val)
 

Private Attributes

std::vector< T > data_
 

Member Typedef Documentation

◆ my_type

template<typename T >
typedef make_vector<T> make_vector< T >::my_type

Definition at line 17 of file std_make_vector.h.

Member Function Documentation

◆ operator std::vector< T >()

template<typename T >
make_vector< T >::operator std::vector< T > ( ) const
inline

Definition at line 24 of file std_make_vector.h.

24  {
25  return data_;
26  }

◆ operator<<()

template<typename T >
my_type& make_vector< T >::operator<< ( const T &  val)
inline

Definition at line 19 of file std_make_vector.h.

19  {
20  data_.push_back(val);
21  return *this;
22  }

Member Data Documentation

◆ data_

template<typename T >
std::vector<T> make_vector< T >::data_
private

Definition at line 28 of file std_make_vector.h.


The documentation for this class was generated from the following file:
make_vector::data_
std::vector< T > data_
Definition: std_make_vector.h:28