NAPISD
PAHdb website C++ backend
Public Types | Public Member Functions | List of all members
Curve Class Reference
Inheritance diagram for Curve:
CanvasItem LineProperties

Public Types

typedef std::vector< double >::iterator iterator
 
typedef const std::vector< double >::const_iterator const_iterator
 
- Public Types inherited from CanvasItem
enum class  Type : char {
  I_None , I_Point , I_Line , I_Curve ,
  I_Plot , I_Text , I_Panels
}
 
- Public Types inherited from LineProperties
enum class  Style : char {
  Continuous = 1 , Dashed , LongDashed , LongDashedShortGaps ,
  DashedLongGasp
}
 

Public Member Functions

Curveclone () const
 
void setXAndY (const std::vector< double > &x, const std::vector< double > &y)
 
void setXAndY (const double x, const double y)
 
void setXErr (const double xerr)
 
void setXErr (const std::vector< double > &xerr)
 
void setYErr (const double yerr)
 
void setYErr (const std::vector< double > &yerr)
 
std::vector< double > const & getX () const
 
std::vector< double > const & getXErr () const
 
std::vector< double > const & getY () const
 
std::vector< double > const & getYErr () const
 
void clear ()
 
void setFillColor (std::string_view color)
 
std::string_view getFillColor () const
 
void setFill (bool on)
 
bool isFill ()
 
void setSymbol (char symbol)
 
const char & getSymbol () const
 
void setSymbolSize (int size)
 
const int & getSymbolSize () const
 
- Public Member Functions inherited from LineProperties
void setColor (std::string_view color)
 
std::string_view getColor () const
 
void setLineWidth (int width)
 
const int & getLineWidth () const
 
void setLineStyle (Style style)
 
const Style & getLineStyle () const
 

Additional Inherited Members

- Public Attributes inherited from CanvasItem
Type type
 

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

Since FY2019 the NASA Ames PAH IR Spectroscopic Database is being supported through a directed Work Package at NASA Ames titled: "Laboratory Astrophysics - The NASA Ames PAH IR Spectroscopic Database".
Since FY2023 the NASA Ames PAH IR Spectroscopic Database is being supported through the Laboratory Astrophysics Rd 2 directed Work Package at NASA Ames.
© Copyright 2021-2023, Christiaan Boersma