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

#include <dataanalysis.h>

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

Public Member Functions

 _clusterizerstate_owner ()
 
 _clusterizerstate_owner (const _clusterizerstate_owner &rhs)
 
_clusterizerstate_owneroperator= (const _clusterizerstate_owner &rhs)
 
virtual ~_clusterizerstate_owner ()
 
alglib_impl::clusterizerstatec_ptr ()
 
alglib_impl::clusterizerstatec_ptr () const
 

Protected Attributes

alglib_impl::clusterizerstatep_struct
 

Detailed Description

Definition at line 350 of file dataanalysis.h.

Constructor & Destructor Documentation

◆ _clusterizerstate_owner() [1/2]

alglib::_clusterizerstate_owner::_clusterizerstate_owner ( )

Definition at line 132 of file dataanalysis.cpp.

133 {
135  if( p_struct==NULL )
136  throw ap_error("ALGLIB: malloc error");
138  throw ap_error("ALGLIB: malloc error");
139 }
#define ae_false
Definition: ap.h:196
void * ae_malloc(size_t size, ae_state *state)
Definition: ap.cpp:222
ae_bool _clusterizerstate_init(void *_p, ae_state *_state, ae_bool make_automatic)
alglib_impl::clusterizerstate * p_struct
Definition: dataanalysis.h:360

◆ _clusterizerstate_owner() [2/2]

alglib::_clusterizerstate_owner::_clusterizerstate_owner ( const _clusterizerstate_owner rhs)

Definition at line 141 of file dataanalysis.cpp.

142 {
144  if( p_struct==NULL )
145  throw ap_error("ALGLIB: malloc error");
146  if( !alglib_impl::_clusterizerstate_init_copy(p_struct, const_cast<alglib_impl::clusterizerstate*>(rhs.p_struct), NULL, ae_false) )
147  throw ap_error("ALGLIB: malloc error");
148 }
#define ae_false
Definition: ap.h:196
void * ae_malloc(size_t size, ae_state *state)
Definition: ap.cpp:222
alglib_impl::clusterizerstate * p_struct
Definition: dataanalysis.h:360
ae_bool _clusterizerstate_init_copy(void *_dst, void *_src, ae_state *_state, ae_bool make_automatic)

◆ ~_clusterizerstate_owner()

alglib::_clusterizerstate_owner::~_clusterizerstate_owner ( )
virtual

Definition at line 160 of file dataanalysis.cpp.

161 {
163  ae_free(p_struct);
164 }
void _clusterizerstate_clear(void *_p)
alglib_impl::clusterizerstate * p_struct
Definition: dataanalysis.h:360
void ae_free(void *p)
Definition: ap.cpp:237

Member Function Documentation

◆ c_ptr() [1/2]

alglib_impl::clusterizerstate * alglib::_clusterizerstate_owner::c_ptr ( )

Definition at line 166 of file dataanalysis.cpp.

167 {
168  return p_struct;
169 }
alglib_impl::clusterizerstate * p_struct
Definition: dataanalysis.h:360

◆ c_ptr() [2/2]

alglib_impl::clusterizerstate * alglib::_clusterizerstate_owner::c_ptr ( ) const

Definition at line 171 of file dataanalysis.cpp.

172 {
173  return const_cast<alglib_impl::clusterizerstate*>(p_struct);
174 }
alglib_impl::clusterizerstate * p_struct
Definition: dataanalysis.h:360

◆ operator=()

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

Definition at line 150 of file dataanalysis.cpp.

151 {
152  if( this==&rhs )
153  return *this;
155  if( !alglib_impl::_clusterizerstate_init_copy(p_struct, const_cast<alglib_impl::clusterizerstate*>(rhs.p_struct), NULL, ae_false) )
156  throw ap_error("ALGLIB: malloc error");
157  return *this;
158 }
#define ae_false
Definition: ap.h:196
void _clusterizerstate_clear(void *_p)
alglib_impl::clusterizerstate * p_struct
Definition: dataanalysis.h:360
ae_bool _clusterizerstate_init_copy(void *_dst, void *_src, ae_state *_state, ae_bool make_automatic)

Member Data Documentation

◆ p_struct

alglib_impl::clusterizerstate* alglib::_clusterizerstate_owner::p_struct
protected

Definition at line 360 of file dataanalysis.h.


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