35#include "../bfl_err.h"
36#include "../wrappers/matrix/vector_wrapper.h"
37#include "../wrappers/matrix/matrix_wrapper.h"
74 unsigned int DimensionGet ()
const;
77 void DimensionSet (
unsigned int dim);
90 template <
typename S>
friend ostream &
operator<< (ostream & stream,
93 template <
typename S>
friend istream & operator>> (istream & stream,
151 template <
typename T>
void Sample<T>::DimensionSet (
unsigned int dim)
155 template <
typename S> ostream & operator<< (ostream & stream,
Sample<S> & my_sample)
157 stream << my_sample.
ValueGet() << endl;
161 template <
typename S> istream & operator>> (istream & stream,
Sample<S> & my_sample)
Sample(const Sample< T > &my_sample)
Copy Constructor.
Sample & operator=(const Sample &my_sample)
Operator =.
friend ostream & operator<<(ostream &stream, Sample< S > &my_sample)
Print a sample.
Sample(unsigned int dimension=0)
Constructor.
virtual ~Sample()
Destructor.
const T & ValueGet() const
Get the value of the Sample.
void ValueSet(const T &value)
Set the value of the Sample.
T & ValueGet()
Get the value of the Sample.