ocra-recipes
Doxygen documentation for the ocra-recipes repository
Public Member Functions | List of all members
ocra::ObjectivePtr< T > Class Template Reference

#include <FunctionHelpers.h>

Public Member Functions

 ObjectivePtr ()
 
 ObjectivePtr (T *f, double weight=1.)
 
 operator Objective< T > & ()
 
 operator const Objective< T > & () const
 
 operator T & ()
 
 operator const T & () const
 
void set (T *f, double weight=1.)
 
T & getFunction ()
 
const T & getFunction () const
 
Objective< T > & getObjective ()
 
const Objective< T > & getObjective () const
 

Detailed Description

template<class T>
class ocra::ObjectivePtr< T >

Definition at line 15 of file FunctionHelpers.h.

Constructor & Destructor Documentation

template<class T>
ocra::ObjectivePtr< T >::ObjectivePtr ( )
inline

Definition at line 18 of file FunctionHelpers.h.

template<class T>
ocra::ObjectivePtr< T >::ObjectivePtr ( T *  f,
double  weight = 1. 
)
inline

Definition at line 24 of file FunctionHelpers.h.

Member Function Documentation

template<class T>
T& ocra::ObjectivePtr< T >::getFunction ( void  )
inline

Definition at line 42 of file FunctionHelpers.h.

template<class T>
const T& ocra::ObjectivePtr< T >::getFunction ( void  ) const
inline

Definition at line 49 of file FunctionHelpers.h.

template<class T>
Objective<T>& ocra::ObjectivePtr< T >::getObjective ( )
inline

Definition at line 56 of file FunctionHelpers.h.

template<class T>
const Objective<T>& ocra::ObjectivePtr< T >::getObjective ( ) const
inline

Definition at line 63 of file FunctionHelpers.h.

template<class T>
ocra::ObjectivePtr< T >::operator const Objective< T > & ( ) const
inline

Definition at line 31 of file FunctionHelpers.h.

template<class T>
ocra::ObjectivePtr< T >::operator const T & ( ) const
inline

Definition at line 34 of file FunctionHelpers.h.

template<class T>
ocra::ObjectivePtr< T >::operator Objective< T > & ( )
inline

Definition at line 30 of file FunctionHelpers.h.

template<class T>
ocra::ObjectivePtr< T >::operator T & ( )
inline

Definition at line 33 of file FunctionHelpers.h.

template<class T>
void ocra::ObjectivePtr< T >::set ( T *  f,
double  weight = 1. 
)
inline

Definition at line 36 of file FunctionHelpers.h.


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