Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Shared::Interval Class Reference

#include <interval.h>

Public Member Functions

 Interval ()
 
 Interval (const Interval &)=delete
 
int numberOfElements ()
 
void deleteElementAtIndex (int index)
 
double element (int i)
 
double start ()
 
double end ()
 
double step ()
 
void setStart (double f)
 
void setEnd (double f)
 
void setStep (double f)
 
void setElement (int i, double f)
 

Static Public Attributes

static constexpr int k_maxNumberOfElements = 100
 

Detailed Description

Definition at line 6 of file interval.h.

Constructor & Destructor Documentation

◆ Interval() [1/2]

Shared::Interval::Interval ( )

Definition at line 6 of file interval.cpp.

◆ Interval() [2/2]

Shared::Interval::Interval ( const Interval )
delete

Member Function Documentation

◆ deleteElementAtIndex()

void Shared::Interval::deleteElementAtIndex ( int  index)

Definition at line 20 of file interval.cpp.

◆ element()

double Shared::Interval::element ( int  i)

Definition at line 28 of file interval.cpp.

◆ end()

double Shared::Interval::end ( )

Definition at line 38 of file interval.cpp.

◆ numberOfElements()

int Shared::Interval::numberOfElements ( )

Definition at line 15 of file interval.cpp.

◆ setElement()

void Shared::Interval::setElement ( int  i,
double  f 
)

Definition at line 61 of file interval.cpp.

◆ setEnd()

void Shared::Interval::setEnd ( double  f)

Definition at line 51 of file interval.cpp.

◆ setStart()

void Shared::Interval::setStart ( double  f)

Definition at line 46 of file interval.cpp.

◆ setStep()

void Shared::Interval::setStep ( double  f)

Definition at line 56 of file interval.cpp.

◆ start()

double Shared::Interval::start ( )

Definition at line 34 of file interval.cpp.

◆ step()

double Shared::Interval::step ( )

Definition at line 42 of file interval.cpp.

Member Data Documentation

◆ k_maxNumberOfElements

constexpr int Shared::Interval::k_maxNumberOfElements = 100
static

Definition at line 22 of file interval.h.


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