Xmipp  v3.23.11-Nereus
Public Member Functions | Protected Attributes | List of all members
alglib::_minlmstate_owner Class Reference

#include <optimization.h>

Inheritance diagram for alglib::_minlmstate_owner:
Inheritance graph
[legend]
Collaboration diagram for alglib::_minlmstate_owner:
Collaboration graph
[legend]

Public Member Functions

 _minlmstate_owner ()
 
 _minlmstate_owner (const _minlmstate_owner &rhs)
 
_minlmstate_owneroperator= (const _minlmstate_owner &rhs)
 
virtual ~_minlmstate_owner ()
 
alglib_impl::minlmstatec_ptr ()
 
alglib_impl::minlmstatec_ptr () const
 

Protected Attributes

alglib_impl::minlmstatep_struct
 

Detailed Description

Definition at line 905 of file optimization.h.

Constructor & Destructor Documentation

◆ _minlmstate_owner() [1/2]

alglib::_minlmstate_owner::_minlmstate_owner ( )

Definition at line 3966 of file optimization.cpp.

3967 {
3969  if( p_struct==NULL )
3970  throw ap_error("ALGLIB: malloc error");
3972  throw ap_error("ALGLIB: malloc error");
3973 }
#define ae_false
Definition: ap.h:196
void * ae_malloc(size_t size, ae_state *state)
Definition: ap.cpp:222
ae_bool _minlmstate_init(void *_p, ae_state *_state, ae_bool make_automatic)
alglib_impl::minlmstate * p_struct
Definition: optimization.h:915

◆ _minlmstate_owner() [2/2]

alglib::_minlmstate_owner::_minlmstate_owner ( const _minlmstate_owner rhs)

Definition at line 3975 of file optimization.cpp.

3976 {
3978  if( p_struct==NULL )
3979  throw ap_error("ALGLIB: malloc error");
3980  if( !alglib_impl::_minlmstate_init_copy(p_struct, const_cast<alglib_impl::minlmstate*>(rhs.p_struct), NULL, ae_false) )
3981  throw ap_error("ALGLIB: malloc error");
3982 }
#define ae_false
Definition: ap.h:196
void * ae_malloc(size_t size, ae_state *state)
Definition: ap.cpp:222
ae_bool _minlmstate_init_copy(void *_dst, void *_src, ae_state *_state, ae_bool make_automatic)
alglib_impl::minlmstate * p_struct
Definition: optimization.h:915

◆ ~_minlmstate_owner()

alglib::_minlmstate_owner::~_minlmstate_owner ( )
virtual

Definition at line 3994 of file optimization.cpp.

3995 {
3997  ae_free(p_struct);
3998 }
void _minlmstate_clear(void *_p)
alglib_impl::minlmstate * p_struct
Definition: optimization.h:915
void ae_free(void *p)
Definition: ap.cpp:237

Member Function Documentation

◆ c_ptr() [1/2]

alglib_impl::minlmstate * alglib::_minlmstate_owner::c_ptr ( )

Definition at line 4000 of file optimization.cpp.

4001 {
4002  return p_struct;
4003 }
alglib_impl::minlmstate * p_struct
Definition: optimization.h:915

◆ c_ptr() [2/2]

alglib_impl::minlmstate * alglib::_minlmstate_owner::c_ptr ( ) const

Definition at line 4005 of file optimization.cpp.

4006 {
4007  return const_cast<alglib_impl::minlmstate*>(p_struct);
4008 }
alglib_impl::minlmstate * p_struct
Definition: optimization.h:915

◆ operator=()

_minlmstate_owner & alglib::_minlmstate_owner::operator= ( const _minlmstate_owner rhs)

Definition at line 3984 of file optimization.cpp.

3985 {
3986  if( this==&rhs )
3987  return *this;
3989  if( !alglib_impl::_minlmstate_init_copy(p_struct, const_cast<alglib_impl::minlmstate*>(rhs.p_struct), NULL, ae_false) )
3990  throw ap_error("ALGLIB: malloc error");
3991  return *this;
3992 }
#define ae_false
Definition: ap.h:196
void _minlmstate_clear(void *_p)
ae_bool _minlmstate_init_copy(void *_dst, void *_src, ae_state *_state, ae_bool make_automatic)
alglib_impl::minlmstate * p_struct
Definition: optimization.h:915

Member Data Documentation

◆ p_struct

alglib_impl::minlmstate* alglib::_minlmstate_owner::p_struct
protected

Definition at line 915 of file optimization.h.


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