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

#include <solvers.h>

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

Public Member Functions

 _nleqstate_owner ()
 
 _nleqstate_owner (const _nleqstate_owner &rhs)
 
_nleqstate_owneroperator= (const _nleqstate_owner &rhs)
 
virtual ~_nleqstate_owner ()
 
alglib_impl::nleqstatec_ptr ()
 
alglib_impl::nleqstatec_ptr () const
 

Protected Attributes

alglib_impl::nleqstatep_struct
 

Detailed Description

Definition at line 371 of file solvers.h.

Constructor & Destructor Documentation

◆ _nleqstate_owner() [1/2]

alglib::_nleqstate_owner::_nleqstate_owner ( )

Definition at line 2008 of file solvers.cpp.

2009 {
2011  if( p_struct==NULL )
2012  throw ap_error("ALGLIB: malloc error");
2014  throw ap_error("ALGLIB: malloc error");
2015 }
#define ae_false
Definition: ap.h:196
void * ae_malloc(size_t size, ae_state *state)
Definition: ap.cpp:222
alglib_impl::nleqstate * p_struct
Definition: solvers.h:381
ae_bool _nleqstate_init(void *_p, ae_state *_state, ae_bool make_automatic)
Definition: solvers.cpp:8579

◆ _nleqstate_owner() [2/2]

alglib::_nleqstate_owner::_nleqstate_owner ( const _nleqstate_owner rhs)

Definition at line 2017 of file solvers.cpp.

2018 {
2020  if( p_struct==NULL )
2021  throw ap_error("ALGLIB: malloc error");
2022  if( !alglib_impl::_nleqstate_init_copy(p_struct, const_cast<alglib_impl::nleqstate*>(rhs.p_struct), NULL, ae_false) )
2023  throw ap_error("ALGLIB: malloc error");
2024 }
#define ae_false
Definition: ap.h:196
void * ae_malloc(size_t size, ae_state *state)
Definition: ap.cpp:222
ae_bool _nleqstate_init_copy(void *_dst, void *_src, ae_state *_state, ae_bool make_automatic)
Definition: solvers.cpp:8603
alglib_impl::nleqstate * p_struct
Definition: solvers.h:381

◆ ~_nleqstate_owner()

alglib::_nleqstate_owner::~_nleqstate_owner ( )
virtual

Definition at line 2036 of file solvers.cpp.

2037 {
2039  ae_free(p_struct);
2040 }
void _nleqstate_clear(void *_p)
Definition: solvers.cpp:8643
alglib_impl::nleqstate * p_struct
Definition: solvers.h:381
void ae_free(void *p)
Definition: ap.cpp:237

Member Function Documentation

◆ c_ptr() [1/2]

alglib_impl::nleqstate * alglib::_nleqstate_owner::c_ptr ( )

Definition at line 2042 of file solvers.cpp.

2043 {
2044  return p_struct;
2045 }
alglib_impl::nleqstate * p_struct
Definition: solvers.h:381

◆ c_ptr() [2/2]

alglib_impl::nleqstate * alglib::_nleqstate_owner::c_ptr ( ) const

Definition at line 2047 of file solvers.cpp.

2048 {
2049  return const_cast<alglib_impl::nleqstate*>(p_struct);
2050 }
alglib_impl::nleqstate * p_struct
Definition: solvers.h:381

◆ operator=()

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

Definition at line 2026 of file solvers.cpp.

2027 {
2028  if( this==&rhs )
2029  return *this;
2031  if( !alglib_impl::_nleqstate_init_copy(p_struct, const_cast<alglib_impl::nleqstate*>(rhs.p_struct), NULL, ae_false) )
2032  throw ap_error("ALGLIB: malloc error");
2033  return *this;
2034 }
void _nleqstate_clear(void *_p)
Definition: solvers.cpp:8643
#define ae_false
Definition: ap.h:196
ae_bool _nleqstate_init_copy(void *_dst, void *_src, ae_state *_state, ae_bool make_automatic)
Definition: solvers.cpp:8603
alglib_impl::nleqstate * p_struct
Definition: solvers.h:381

Member Data Documentation

◆ p_struct

alglib_impl::nleqstate* alglib::_nleqstate_owner::p_struct
protected

Definition at line 381 of file solvers.h.


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