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

#include <dataanalysis.h>

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

Public Member Functions

 _decisionforest_owner ()
 
 _decisionforest_owner (const _decisionforest_owner &rhs)
 
_decisionforest_owneroperator= (const _decisionforest_owner &rhs)
 
virtual ~_decisionforest_owner ()
 
alglib_impl::decisionforestc_ptr ()
 
alglib_impl::decisionforestc_ptr () const
 

Protected Attributes

alglib_impl::decisionforestp_struct
 

Detailed Description

Definition at line 553 of file dataanalysis.h.

Constructor & Destructor Documentation

◆ _decisionforest_owner() [1/2]

alglib::_decisionforest_owner::_decisionforest_owner ( )

Definition at line 1194 of file dataanalysis.cpp.

1195 {
1197  if( p_struct==NULL )
1198  throw ap_error("ALGLIB: malloc error");
1200  throw ap_error("ALGLIB: malloc error");
1201 }
#define ae_false
Definition: ap.h:196
void * ae_malloc(size_t size, ae_state *state)
Definition: ap.cpp:222
alglib_impl::decisionforest * p_struct
Definition: dataanalysis.h:563
ae_bool _decisionforest_init(void *_p, ae_state *_state, ae_bool make_automatic)

◆ _decisionforest_owner() [2/2]

alglib::_decisionforest_owner::_decisionforest_owner ( const _decisionforest_owner rhs)

Definition at line 1203 of file dataanalysis.cpp.

1204 {
1206  if( p_struct==NULL )
1207  throw ap_error("ALGLIB: malloc error");
1208  if( !alglib_impl::_decisionforest_init_copy(p_struct, const_cast<alglib_impl::decisionforest*>(rhs.p_struct), NULL, ae_false) )
1209  throw ap_error("ALGLIB: malloc error");
1210 }
#define ae_false
Definition: ap.h:196
void * ae_malloc(size_t size, ae_state *state)
Definition: ap.cpp:222
alglib_impl::decisionforest * p_struct
Definition: dataanalysis.h:563
ae_bool _decisionforest_init_copy(void *_dst, void *_src, ae_state *_state, ae_bool make_automatic)

◆ ~_decisionforest_owner()

alglib::_decisionforest_owner::~_decisionforest_owner ( )
virtual

Definition at line 1222 of file dataanalysis.cpp.

1223 {
1225  ae_free(p_struct);
1226 }
alglib_impl::decisionforest * p_struct
Definition: dataanalysis.h:563
void _decisionforest_clear(void *_p)
void ae_free(void *p)
Definition: ap.cpp:237

Member Function Documentation

◆ c_ptr() [1/2]

alglib_impl::decisionforest * alglib::_decisionforest_owner::c_ptr ( )

Definition at line 1228 of file dataanalysis.cpp.

1229 {
1230  return p_struct;
1231 }
alglib_impl::decisionforest * p_struct
Definition: dataanalysis.h:563

◆ c_ptr() [2/2]

alglib_impl::decisionforest * alglib::_decisionforest_owner::c_ptr ( ) const

Definition at line 1233 of file dataanalysis.cpp.

1234 {
1235  return const_cast<alglib_impl::decisionforest*>(p_struct);
1236 }
alglib_impl::decisionforest * p_struct
Definition: dataanalysis.h:563

◆ operator=()

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

Definition at line 1212 of file dataanalysis.cpp.

1213 {
1214  if( this==&rhs )
1215  return *this;
1217  if( !alglib_impl::_decisionforest_init_copy(p_struct, const_cast<alglib_impl::decisionforest*>(rhs.p_struct), NULL, ae_false) )
1218  throw ap_error("ALGLIB: malloc error");
1219  return *this;
1220 }
#define ae_false
Definition: ap.h:196
alglib_impl::decisionforest * p_struct
Definition: dataanalysis.h:563
void _decisionforest_clear(void *_p)
ae_bool _decisionforest_init_copy(void *_dst, void *_src, ae_state *_state, ae_bool make_automatic)

Member Data Documentation

◆ p_struct

alglib_impl::decisionforest* alglib::_decisionforest_owner::p_struct
protected

Definition at line 563 of file dataanalysis.h.


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