mmCEsim 0.3.0
mmWave Channel Estimation Simulation
Value_Vec< T > Class Template Reference

#include <value_vec.h>

Public Member Functions

 Value_Vec (const std::string &str, bool error_out_of_bound=false, T out_of_bound_val=0)
 
 Value_Vec (const YAML::Node &node, bool error_out_of_bound=false, T out_of_bound_val=0)
 
operator[] (size_t index) const
 
max () const
 
min () const
 
std::string asStr (bool quoted=false) const
 
size_t size () const noexcept
 

Private Member Functions

std::string removeBracket (const std::string &str)
 
void parseToken (const std::string &s)
 

Private Attributes

std::vector< T > _data
 
bool _error_out_of_bound
 
_out_of_bound_val
 

Constructor & Destructor Documentation

◆ Value_Vec() [1/2]

template<typename T >
Value_Vec< T >::Value_Vec ( const std::string &  str,
bool  error_out_of_bound = false,
out_of_bound_val = 0 
)
Here is the call graph for this function:

◆ Value_Vec() [2/2]

template<typename T >
Value_Vec< T >::Value_Vec ( const YAML::Node &  node,
bool  error_out_of_bound = false,
out_of_bound_val = 0 
)
Here is the call graph for this function:

Member Function Documentation

◆ asStr()

template<typename T >
std::string Value_Vec< T >::asStr ( bool  quoted = false) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ max()

template<typename T >
T Value_Vec< T >::max
Here is the caller graph for this function:

◆ min()

template<typename T >
T Value_Vec< T >::min

◆ operator[]()

template<typename T >
T Value_Vec< T >::operator[] ( size_t  index) const

◆ parseToken()

template<typename T >
void Value_Vec< T >::parseToken ( const std::string &  s)
private
Here is the caller graph for this function:

◆ removeBracket()

template<typename T >
std::string Value_Vec< T >::removeBracket ( const std::string &  str)
inlineprivate
Here is the caller graph for this function:

◆ size()

template<typename T >
size_t Value_Vec< T >::size
inlinenoexcept
Here is the caller graph for this function:

Member Data Documentation

◆ _data

template<typename T >
std::vector<T> Value_Vec< T >::_data
private

◆ _error_out_of_bound

template<typename T >
bool Value_Vec< T >::_error_out_of_bound
private

◆ _out_of_bound_val

template<typename T >
T Value_Vec< T >::_out_of_bound_val
private

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