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

#include <solvers.h>

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

Public Member Functions

 _linlsqrstate_owner ()
 
 _linlsqrstate_owner (const _linlsqrstate_owner &rhs)
 
_linlsqrstate_owneroperator= (const _linlsqrstate_owner &rhs)
 
virtual ~_linlsqrstate_owner ()
 
alglib_impl::linlsqrstatec_ptr ()
 
alglib_impl::linlsqrstatec_ptr () const
 

Protected Attributes

alglib_impl::linlsqrstatep_struct
 

Detailed Description

Definition at line 259 of file solvers.h.

Constructor & Destructor Documentation

◆ _linlsqrstate_owner() [1/2]

alglib::_linlsqrstate_owner::_linlsqrstate_owner ( )

Definition at line 1140 of file solvers.cpp.

1141 {
1143  if( p_struct==NULL )
1144  throw ap_error("ALGLIB: malloc error");
1146  throw ap_error("ALGLIB: malloc error");
1147 }
#define ae_false
Definition: ap.h:196
void * ae_malloc(size_t size, ae_state *state)
Definition: ap.cpp:222
ae_bool _linlsqrstate_init(void *_p, ae_state *_state, ae_bool make_automatic)
Definition: solvers.cpp:6563
alglib_impl::linlsqrstate * p_struct
Definition: solvers.h:269

◆ _linlsqrstate_owner() [2/2]

alglib::_linlsqrstate_owner::_linlsqrstate_owner ( const _linlsqrstate_owner rhs)

Definition at line 1149 of file solvers.cpp.

1150 {
1152  if( p_struct==NULL )
1153  throw ap_error("ALGLIB: malloc error");
1154  if( !alglib_impl::_linlsqrstate_init_copy(p_struct, const_cast<alglib_impl::linlsqrstate*>(rhs.p_struct), NULL, ae_false) )
1155  throw ap_error("ALGLIB: malloc error");
1156 }
#define ae_false
Definition: ap.h:196
void * ae_malloc(size_t size, ae_state *state)
Definition: ap.cpp:222
ae_bool _linlsqrstate_init_copy(void *_dst, void *_src, ae_state *_state, ae_bool make_automatic)
Definition: solvers.cpp:6603
alglib_impl::linlsqrstate * p_struct
Definition: solvers.h:269

◆ ~_linlsqrstate_owner()

alglib::_linlsqrstate_owner::~_linlsqrstate_owner ( )
virtual

Definition at line 1168 of file solvers.cpp.

1169 {
1171  ae_free(p_struct);
1172 }
void _linlsqrstate_clear(void *_p)
Definition: solvers.cpp:6679
alglib_impl::linlsqrstate * p_struct
Definition: solvers.h:269
void ae_free(void *p)
Definition: ap.cpp:237

Member Function Documentation

◆ c_ptr() [1/2]

alglib_impl::linlsqrstate * alglib::_linlsqrstate_owner::c_ptr ( )

Definition at line 1174 of file solvers.cpp.

1175 {
1176  return p_struct;
1177 }
alglib_impl::linlsqrstate * p_struct
Definition: solvers.h:269

◆ c_ptr() [2/2]

alglib_impl::linlsqrstate * alglib::_linlsqrstate_owner::c_ptr ( ) const

Definition at line 1179 of file solvers.cpp.

1180 {
1181  return const_cast<alglib_impl::linlsqrstate*>(p_struct);
1182 }
alglib_impl::linlsqrstate * p_struct
Definition: solvers.h:269

◆ operator=()

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

Definition at line 1158 of file solvers.cpp.

1159 {
1160  if( this==&rhs )
1161  return *this;
1163  if( !alglib_impl::_linlsqrstate_init_copy(p_struct, const_cast<alglib_impl::linlsqrstate*>(rhs.p_struct), NULL, ae_false) )
1164  throw ap_error("ALGLIB: malloc error");
1165  return *this;
1166 }
#define ae_false
Definition: ap.h:196
ae_bool _linlsqrstate_init_copy(void *_dst, void *_src, ae_state *_state, ae_bool make_automatic)
Definition: solvers.cpp:6603
void _linlsqrstate_clear(void *_p)
Definition: solvers.cpp:6679
alglib_impl::linlsqrstate * p_struct
Definition: solvers.h:269

Member Data Documentation

◆ p_struct

alglib_impl::linlsqrstate* alglib::_linlsqrstate_owner::p_struct
protected

Definition at line 269 of file solvers.h.


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