plot_data< Point > Class Template Reference

#include <plot_data.h>

Inheritance diagram for plot_data< Point >:
chart_data

Public Types

typedef series_collection_t::const_reference const_reference
 
typedef series_collection_t::reference reference
 
typedef series_collection_t::size_type size_type
 
typedef series_collection_t::iterator iterator
 
typedef series_collection_t::const_iterator const_iterator
 

Public Member Functions

const series< Point > & at (const size_t index) const INTEROP_THROW_SPEC((model
 
series< Point > & operator[] (const size_t index) INTEROP_THROW_SPEC((model
 
const series< Point > & operator[] (const size_t index) const INTEROP_THROW_SPEC((model
 
size_t size () const
 
bool empty () const
 
void clear ()
 
void resize (const size_t n)
 
void assign (const size_t n, const series< Point > &val)
 
void push_back (const series< Point > &val)
 
const_iterator begin () const
 
const_iterator end () const
 
- Public Member Functions inherited from chart_data
void set_axes (const axes &xyaxes)
 
void set_xaxis (const axis &xaxes)
 
void set_yaxis (const axis &yaxes)
 
void set_xlabel (const std::string &label)
 
void set_ylabel (const std::string &label)
 
void set_range (const float xmin, const float xmax, const float ymin, const float ymax)
 
void set_xrange (const float vmin, const float vmax)
 
void set_yrange (const float vmin, const float vmax)
 
void set_title (const std::string &title)
 
void clear ()
 
const axisx_axis () const
 
const axisy_axis () const
 
const std::string & title () const
 
const axesxyaxes () const
 

Friends

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

Detailed Description

template<class Point>
class illumina::interop::model::plot::plot_data< Point >

Encapsulates all data for a single plot

Member Typedef Documentation

typedef series_collection_t::const_iterator const_iterator

Constant iterator

typedef series_collection_t::const_reference const_reference

Constant reference to data point

typedef series_collection_t::iterator iterator

Iterator

typedef series_collection_t::reference reference

Reference to data point

typedef series_collection_t::size_type size_type

Size type

Member Function Documentation

void assign ( const size_t  n,
const series< Point > &  val 
)
inline

Assign value to collection

Parameters
ngiven size
valvalue to assign
const_iterator begin ( ) const
inline

Get iterator to start of collection

Returns
iterator to start of collection
void clear ( )
inline

Clear all series

const_iterator end ( ) const
inline

Get iterator to end of collection

Returns
iterator to end of collection
void push_back ( const series< Point > &  val)
inline

Push a value to the back of the collection

Parameters
valvalue to add
void resize ( const size_t  n)
inline

Resize collection to given size

Parameters
ngiven size

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const plot_data< Point > &  data 
)
friend
std::istream& operator>> ( std::istream &  in,
plot_data< Point > &  data 
)
friend

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