Planetary Orbital Evolution due to Tides
Orbital evolution of two objects experiencing tides
Core::OneArgumentFunction< InputDataType, OutputDataType > Class Template Referenceabstract

The base class for functions which take a single argument and return a single value. More...

#include <Functions.h>

+ Inheritance diagram for Core::OneArgumentFunction< InputDataType, OutputDataType >:
+ Collaboration diagram for Core::OneArgumentFunction< InputDataType, OutputDataType >:

Public Member Functions

virtual OutputDataType operator() (InputDataType in_value) const =0
 The value of the function at the given abscissa. More...
 
virtual InputDataType range_high () const =0
 The lower end of the range over which the function is defined. More...
 
virtual InputDataType range_low () const =0
 The upper end of the range over which the function is defined. More...
 
virtual InterpSolutionIterator crossings (double y=0) const =0
 An iterator over the abscissas where the function takes the given y value. More...
 
virtual ~OneArgumentFunction ()
 Provide a virtual destructor for a virtual class. More...
 

Private Member Functions

template<class Archive >
void serialize (Archive &, const unsigned int)
 Serialize this function. More...
 

Friends

class boost::serialization::access
 Needed for serialization to work. More...
 

Detailed Description

template<class InputDataType, class OutputDataType>
class Core::OneArgumentFunction< InputDataType, OutputDataType >

The base class for functions which take a single argument and return a single value.

Definition at line 36 of file Functions.h.

Constructor & Destructor Documentation

◆ ~OneArgumentFunction()

template<class InputDataType, class OutputDataType>
virtual Core::OneArgumentFunction< InputDataType, OutputDataType >::~OneArgumentFunction ( )
inlinevirtual

Provide a virtual destructor for a virtual class.

Definition at line 62 of file Functions.h.

Member Function Documentation

◆ crossings()

◆ operator()()

◆ range_high()

◆ range_low()

◆ serialize()

template<class InputDataType, class OutputDataType>
template<class Archive >
void Core::OneArgumentFunction< InputDataType, OutputDataType >::serialize ( Archive &  ,
const unsigned  int 
)
inlineprivate

Serialize this function.

Definition at line 43 of file Functions.h.

Friends And Related Function Documentation

◆ boost::serialization::access

template<class InputDataType, class OutputDataType>
friend class boost::serialization::access
friend

Needed for serialization to work.

Definition at line 39 of file Functions.h.


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