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

#include <dataanalysis.h>

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

Public Member Functions

 _mlptrainer_owner ()
 
 _mlptrainer_owner (const _mlptrainer_owner &rhs)
 
_mlptrainer_owneroperator= (const _mlptrainer_owner &rhs)
 
virtual ~_mlptrainer_owner ()
 
alglib_impl::mlptrainerc_ptr ()
 
alglib_impl::mlptrainerc_ptr () const
 

Protected Attributes

alglib_impl::mlptrainerp_struct
 

Detailed Description

Definition at line 991 of file dataanalysis.h.

Constructor & Destructor Documentation

◆ _mlptrainer_owner() [1/2]

alglib::_mlptrainer_owner::_mlptrainer_owner ( )

Definition at line 8308 of file dataanalysis.cpp.

8309 {
8311  if( p_struct==NULL )
8312  throw ap_error("ALGLIB: malloc error");
8314  throw ap_error("ALGLIB: malloc error");
8315 }
#define ae_false
Definition: ap.h:196
void * ae_malloc(size_t size, ae_state *state)
Definition: ap.cpp:222
alglib_impl::mlptrainer * p_struct
ae_bool _mlptrainer_init(void *_p, ae_state *_state, ae_bool make_automatic)

◆ _mlptrainer_owner() [2/2]

alglib::_mlptrainer_owner::_mlptrainer_owner ( const _mlptrainer_owner rhs)

Definition at line 8317 of file dataanalysis.cpp.

8318 {
8320  if( p_struct==NULL )
8321  throw ap_error("ALGLIB: malloc error");
8322  if( !alglib_impl::_mlptrainer_init_copy(p_struct, const_cast<alglib_impl::mlptrainer*>(rhs.p_struct), NULL, ae_false) )
8323  throw ap_error("ALGLIB: malloc error");
8324 }
#define ae_false
Definition: ap.h:196
void * ae_malloc(size_t size, ae_state *state)
Definition: ap.cpp:222
alglib_impl::mlptrainer * p_struct
ae_bool _mlptrainer_init_copy(void *_dst, void *_src, ae_state *_state, ae_bool make_automatic)

◆ ~_mlptrainer_owner()

alglib::_mlptrainer_owner::~_mlptrainer_owner ( )
virtual

Definition at line 8336 of file dataanalysis.cpp.

8337 {
8339  ae_free(p_struct);
8340 }
alglib_impl::mlptrainer * p_struct
void _mlptrainer_clear(void *_p)
void ae_free(void *p)
Definition: ap.cpp:237

Member Function Documentation

◆ c_ptr() [1/2]

alglib_impl::mlptrainer * alglib::_mlptrainer_owner::c_ptr ( )

Definition at line 8342 of file dataanalysis.cpp.

8343 {
8344  return p_struct;
8345 }
alglib_impl::mlptrainer * p_struct

◆ c_ptr() [2/2]

alglib_impl::mlptrainer * alglib::_mlptrainer_owner::c_ptr ( ) const

Definition at line 8347 of file dataanalysis.cpp.

8348 {
8349  return const_cast<alglib_impl::mlptrainer*>(p_struct);
8350 }
alglib_impl::mlptrainer * p_struct

◆ operator=()

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

Definition at line 8326 of file dataanalysis.cpp.

8327 {
8328  if( this==&rhs )
8329  return *this;
8331  if( !alglib_impl::_mlptrainer_init_copy(p_struct, const_cast<alglib_impl::mlptrainer*>(rhs.p_struct), NULL, ae_false) )
8332  throw ap_error("ALGLIB: malloc error");
8333  return *this;
8334 }
#define ae_false
Definition: ap.h:196
alglib_impl::mlptrainer * p_struct
void _mlptrainer_clear(void *_p)
ae_bool _mlptrainer_init_copy(void *_dst, void *_src, ae_state *_state, ae_bool make_automatic)

Member Data Documentation

◆ p_struct

alglib_impl::mlptrainer* alglib::_mlptrainer_owner::p_struct
protected

Definition at line 1001 of file dataanalysis.h.


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