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

#include <optimization.h>

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

Public Member Functions

 _mincgreport_owner ()
 
 _mincgreport_owner (const _mincgreport_owner &rhs)
 
_mincgreport_owneroperator= (const _mincgreport_owner &rhs)
 
virtual ~_mincgreport_owner ()
 
alglib_impl::mincgreportc_ptr ()
 
alglib_impl::mincgreportc_ptr () const
 

Protected Attributes

alglib_impl::mincgreportp_struct
 

Detailed Description

Definition at line 629 of file optimization.h.

Constructor & Destructor Documentation

◆ _mincgreport_owner() [1/2]

alglib::_mincgreport_owner::_mincgreport_owner ( )

Definition at line 120 of file optimization.cpp.

121 {
123  if( p_struct==NULL )
124  throw ap_error("ALGLIB: malloc error");
126  throw ap_error("ALGLIB: malloc error");
127 }
#define ae_false
Definition: ap.h:196
void * ae_malloc(size_t size, ae_state *state)
Definition: ap.cpp:222
alglib_impl::mincgreport * p_struct
Definition: optimization.h:639
ae_bool _mincgreport_init(void *_p, ae_state *_state, ae_bool make_automatic)

◆ _mincgreport_owner() [2/2]

alglib::_mincgreport_owner::_mincgreport_owner ( const _mincgreport_owner rhs)

Definition at line 129 of file optimization.cpp.

130 {
132  if( p_struct==NULL )
133  throw ap_error("ALGLIB: malloc error");
134  if( !alglib_impl::_mincgreport_init_copy(p_struct, const_cast<alglib_impl::mincgreport*>(rhs.p_struct), NULL, ae_false) )
135  throw ap_error("ALGLIB: malloc error");
136 }
#define ae_false
Definition: ap.h:196
void * ae_malloc(size_t size, ae_state *state)
Definition: ap.cpp:222
alglib_impl::mincgreport * p_struct
Definition: optimization.h:639
ae_bool _mincgreport_init_copy(void *_dst, void *_src, ae_state *_state, ae_bool make_automatic)

◆ ~_mincgreport_owner()

alglib::_mincgreport_owner::~_mincgreport_owner ( )
virtual

Definition at line 148 of file optimization.cpp.

149 {
151  ae_free(p_struct);
152 }
alglib_impl::mincgreport * p_struct
Definition: optimization.h:639
void _mincgreport_clear(void *_p)
void ae_free(void *p)
Definition: ap.cpp:237

Member Function Documentation

◆ c_ptr() [1/2]

alglib_impl::mincgreport * alglib::_mincgreport_owner::c_ptr ( )

Definition at line 154 of file optimization.cpp.

155 {
156  return p_struct;
157 }
alglib_impl::mincgreport * p_struct
Definition: optimization.h:639

◆ c_ptr() [2/2]

alglib_impl::mincgreport * alglib::_mincgreport_owner::c_ptr ( ) const

Definition at line 159 of file optimization.cpp.

160 {
161  return const_cast<alglib_impl::mincgreport*>(p_struct);
162 }
alglib_impl::mincgreport * p_struct
Definition: optimization.h:639

◆ operator=()

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

Definition at line 138 of file optimization.cpp.

139 {
140  if( this==&rhs )
141  return *this;
143  if( !alglib_impl::_mincgreport_init_copy(p_struct, const_cast<alglib_impl::mincgreport*>(rhs.p_struct), NULL, ae_false) )
144  throw ap_error("ALGLIB: malloc error");
145  return *this;
146 }
#define ae_false
Definition: ap.h:196
alglib_impl::mincgreport * p_struct
Definition: optimization.h:639
ae_bool _mincgreport_init_copy(void *_dst, void *_src, ae_state *_state, ae_bool make_automatic)
void _mincgreport_clear(void *_p)

Member Data Documentation

◆ p_struct

alglib_impl::mincgreport* alglib::_mincgreport_owner::p_struct
protected

Definition at line 639 of file optimization.h.


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