data_point< X, Y > Class Template Reference

#include <data_point.h>

Public Types

typedef X x_type
 
typedef Y y_type
 

Public Member Functions

 data_point (const x_type x=0, const y_type y=0)
 
x () const
 
y () const
 
max_value () const
 
min_value () const
 
void add (const x_type x, const y_type y)
 
void set (const x_type x, const y_type y)
 

Friends

std::ostream & operator<< (std::ostream &out, const data_point &data)
 
std::istream & operator>> (std::istream &in, data_point &data)
 

Detailed Description

template<typename X, typename Y>
class illumina::interop::model::plot::data_point< X, Y >

Data point in plot

Defines the x and y coordinates

Member Typedef Documentation

typedef X x_type

Type of x-coordinate

typedef Y y_type

Type of y-coordinate

Constructor & Destructor Documentation

data_point ( const x_type  x = 0,
const y_type  y = 0 
)
inline

Constructor

Parameters
xx-coordinate
yy-coordinate

Member Function Documentation

void add ( const x_type  x,
const y_type  y 
)
inline

Add a coordinate to the point

Parameters
xx-coordinate
yy-coordinate
void set ( const x_type  x,
const y_type  y 
)
inline

Add a coordinate to the point

Parameters
xx-coordinate
yy-coordinate

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const data_point< X, Y > &  data 
)
friend
std::istream& operator>> ( std::istream &  in,
data_point< X, Y > &  data 
)
friend

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