candle_stick_point Class Reference

#include <candle_stick_point.h>

Inheritance diagram for candle_stick_point:
data_point< float, float >

Public Types

typedef std::vector< float > float_vector_t
 
- Public Types inherited from data_point< float, float >
typedef float x_type
 
typedef float y_type
 

Public Member Functions

 candle_stick_point (const float x=0, const float p25=0, const float p50=0, const float p75=0, const float lower=std::numeric_limits< y_type >::quiet_NaN(), const float upper=std::numeric_limits< y_type >::quiet_NaN(), const size_t data_point_count=0, const float_vector_t &outliers=float_vector_t())
 
float max_value () const
 
float min_value () const
 
float p25 () const
 
float p50 () const
 
float p75 () const
 
float lower () const
 
float upper () const
 
const float_vector_toutliers () const
 
size_t data_point_count () const
 
- Public Member Functions inherited from data_point< float, float >
 data_point (const x_type x=0, const y_type y=0)
 
float x () const
 
float y () const
 
float max_value () const
 
float 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 candle_stick_point &data)
 
std::istream & operator>> (std::istream &in, candle_stick_point &data)
 

Detailed Description

Candle stick point

Member Typedef Documentation

typedef std::vector<float> float_vector_t

Define float vector type for outliers

Constructor & Destructor Documentation

candle_stick_point ( const float  x = 0,
const float  p25 = 0,
const float  p50 = 0,
const float  p75 = 0,
const float  lower = std::numeric_limits<y_type>::quiet_NaN(),
const float  upper = std::numeric_limits<y_type>::quiet_NaN(),
const size_t  data_point_count = 0,
const float_vector_t outliers = float_vector_t() 
)
inline

Constructor

Parameters
xx-coordinate
p2525th percentile
p5050th percentile
p7575th percentile
lowerlower spread
upperupper spread
data_point_countnumber of data points summarized by statistics
outlierscollection of outliers

Friends And Related Function Documentation

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

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