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

#include <dataanalysis.h>

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

Public Member Functions

 _kmeansreport_owner ()
 
 _kmeansreport_owner (const _kmeansreport_owner &rhs)
 
_kmeansreport_owneroperator= (const _kmeansreport_owner &rhs)
 
virtual ~_kmeansreport_owner ()
 
alglib_impl::kmeansreportc_ptr ()
 
alglib_impl::kmeansreportc_ptr () const
 

Protected Attributes

alglib_impl::kmeansreportp_struct
 

Detailed Description

Definition at line 520 of file dataanalysis.h.

Constructor & Destructor Documentation

◆ _kmeansreport_owner() [1/2]

alglib::_kmeansreport_owner::_kmeansreport_owner ( )

Definition at line 378 of file dataanalysis.cpp.

379 {
381  if( p_struct==NULL )
382  throw ap_error("ALGLIB: malloc error");
384  throw ap_error("ALGLIB: malloc error");
385 }
#define ae_false
Definition: ap.h:196
void * ae_malloc(size_t size, ae_state *state)
Definition: ap.cpp:222
ae_bool _kmeansreport_init(void *_p, ae_state *_state, ae_bool make_automatic)
alglib_impl::kmeansreport * p_struct
Definition: dataanalysis.h:530

◆ _kmeansreport_owner() [2/2]

alglib::_kmeansreport_owner::_kmeansreport_owner ( const _kmeansreport_owner rhs)

Definition at line 387 of file dataanalysis.cpp.

388 {
390  if( p_struct==NULL )
391  throw ap_error("ALGLIB: malloc error");
392  if( !alglib_impl::_kmeansreport_init_copy(p_struct, const_cast<alglib_impl::kmeansreport*>(rhs.p_struct), NULL, ae_false) )
393  throw ap_error("ALGLIB: malloc error");
394 }
#define ae_false
Definition: ap.h:196
void * ae_malloc(size_t size, ae_state *state)
Definition: ap.cpp:222
ae_bool _kmeansreport_init_copy(void *_dst, void *_src, ae_state *_state, ae_bool make_automatic)
alglib_impl::kmeansreport * p_struct
Definition: dataanalysis.h:530

◆ ~_kmeansreport_owner()

alglib::_kmeansreport_owner::~_kmeansreport_owner ( )
virtual

Definition at line 406 of file dataanalysis.cpp.

407 {
409  ae_free(p_struct);
410 }
void _kmeansreport_clear(void *_p)
alglib_impl::kmeansreport * p_struct
Definition: dataanalysis.h:530
void ae_free(void *p)
Definition: ap.cpp:237

Member Function Documentation

◆ c_ptr() [1/2]

alglib_impl::kmeansreport * alglib::_kmeansreport_owner::c_ptr ( )

Definition at line 412 of file dataanalysis.cpp.

413 {
414  return p_struct;
415 }
alglib_impl::kmeansreport * p_struct
Definition: dataanalysis.h:530

◆ c_ptr() [2/2]

alglib_impl::kmeansreport * alglib::_kmeansreport_owner::c_ptr ( ) const

Definition at line 417 of file dataanalysis.cpp.

418 {
419  return const_cast<alglib_impl::kmeansreport*>(p_struct);
420 }
alglib_impl::kmeansreport * p_struct
Definition: dataanalysis.h:530

◆ operator=()

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

Definition at line 396 of file dataanalysis.cpp.

397 {
398  if( this==&rhs )
399  return *this;
401  if( !alglib_impl::_kmeansreport_init_copy(p_struct, const_cast<alglib_impl::kmeansreport*>(rhs.p_struct), NULL, ae_false) )
402  throw ap_error("ALGLIB: malloc error");
403  return *this;
404 }
#define ae_false
Definition: ap.h:196
void _kmeansreport_clear(void *_p)
ae_bool _kmeansreport_init_copy(void *_dst, void *_src, ae_state *_state, ae_bool make_automatic)
alglib_impl::kmeansreport * p_struct
Definition: dataanalysis.h:530

Member Data Documentation

◆ p_struct

alglib_impl::kmeansreport* alglib::_kmeansreport_owner::p_struct
protected

Definition at line 530 of file dataanalysis.h.


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