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

#include <optimization.h>

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

Public Member Functions

 _minqpstate_owner ()
 
 _minqpstate_owner (const _minqpstate_owner &rhs)
 
_minqpstate_owneroperator= (const _minqpstate_owner &rhs)
 
virtual ~_minqpstate_owner ()
 
alglib_impl::minqpstatec_ptr ()
 
alglib_impl::minqpstatec_ptr () const
 

Protected Attributes

alglib_impl::minqpstatep_struct
 

Detailed Description

Definition at line 820 of file optimization.h.

Constructor & Destructor Documentation

◆ _minqpstate_owner() [1/2]

alglib::_minqpstate_owner::_minqpstate_owner ( )

Definition at line 3095 of file optimization.cpp.

3096 {
3098  if( p_struct==NULL )
3099  throw ap_error("ALGLIB: malloc error");
3101  throw ap_error("ALGLIB: malloc error");
3102 }
#define ae_false
Definition: ap.h:196
void * ae_malloc(size_t size, ae_state *state)
Definition: ap.cpp:222
ae_bool _minqpstate_init(void *_p, ae_state *_state, ae_bool make_automatic)
alglib_impl::minqpstate * p_struct
Definition: optimization.h:830

◆ _minqpstate_owner() [2/2]

alglib::_minqpstate_owner::_minqpstate_owner ( const _minqpstate_owner rhs)

Definition at line 3104 of file optimization.cpp.

3105 {
3107  if( p_struct==NULL )
3108  throw ap_error("ALGLIB: malloc error");
3109  if( !alglib_impl::_minqpstate_init_copy(p_struct, const_cast<alglib_impl::minqpstate*>(rhs.p_struct), NULL, ae_false) )
3110  throw ap_error("ALGLIB: malloc error");
3111 }
#define ae_false
Definition: ap.h:196
void * ae_malloc(size_t size, ae_state *state)
Definition: ap.cpp:222
ae_bool _minqpstate_init_copy(void *_dst, void *_src, ae_state *_state, ae_bool make_automatic)
alglib_impl::minqpstate * p_struct
Definition: optimization.h:830

◆ ~_minqpstate_owner()

alglib::_minqpstate_owner::~_minqpstate_owner ( )
virtual

Definition at line 3123 of file optimization.cpp.

3124 {
3126  ae_free(p_struct);
3127 }
void _minqpstate_clear(void *_p)
alglib_impl::minqpstate * p_struct
Definition: optimization.h:830
void ae_free(void *p)
Definition: ap.cpp:237

Member Function Documentation

◆ c_ptr() [1/2]

alglib_impl::minqpstate * alglib::_minqpstate_owner::c_ptr ( )

Definition at line 3129 of file optimization.cpp.

3130 {
3131  return p_struct;
3132 }
alglib_impl::minqpstate * p_struct
Definition: optimization.h:830

◆ c_ptr() [2/2]

alglib_impl::minqpstate * alglib::_minqpstate_owner::c_ptr ( ) const

Definition at line 3134 of file optimization.cpp.

3135 {
3136  return const_cast<alglib_impl::minqpstate*>(p_struct);
3137 }
alglib_impl::minqpstate * p_struct
Definition: optimization.h:830

◆ operator=()

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

Definition at line 3113 of file optimization.cpp.

3114 {
3115  if( this==&rhs )
3116  return *this;
3118  if( !alglib_impl::_minqpstate_init_copy(p_struct, const_cast<alglib_impl::minqpstate*>(rhs.p_struct), NULL, ae_false) )
3119  throw ap_error("ALGLIB: malloc error");
3120  return *this;
3121 }
void _minqpstate_clear(void *_p)
#define ae_false
Definition: ap.h:196
ae_bool _minqpstate_init_copy(void *_dst, void *_src, ae_state *_state, ae_bool make_automatic)
alglib_impl::minqpstate * p_struct
Definition: optimization.h:830

Member Data Documentation

◆ p_struct

alglib_impl::minqpstate* alglib::_minqpstate_owner::p_struct
protected

Definition at line 830 of file optimization.h.


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