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

#include <interpolation.h>

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

Public Member Functions

 _barycentricinterpolant_owner ()
 
 _barycentricinterpolant_owner (const _barycentricinterpolant_owner &rhs)
 
_barycentricinterpolant_owneroperator= (const _barycentricinterpolant_owner &rhs)
 
virtual ~_barycentricinterpolant_owner ()
 
alglib_impl::barycentricinterpolantc_ptr ()
 
alglib_impl::barycentricinterpolantc_ptr () const
 

Protected Attributes

alglib_impl::barycentricinterpolantp_struct
 

Detailed Description

Definition at line 286 of file interpolation.h.

Constructor & Destructor Documentation

◆ _barycentricinterpolant_owner() [1/2]

alglib::_barycentricinterpolant_owner::_barycentricinterpolant_owner ( )

Definition at line 332 of file interpolation.cpp.

333 {
335  if( p_struct==NULL )
336  throw ap_error("ALGLIB: malloc error");
338  throw ap_error("ALGLIB: malloc error");
339 }
alglib_impl::barycentricinterpolant * p_struct
#define ae_false
Definition: ap.h:196
void * ae_malloc(size_t size, ae_state *state)
Definition: ap.cpp:222
ae_bool _barycentricinterpolant_init(void *_p, ae_state *_state, ae_bool make_automatic)

◆ _barycentricinterpolant_owner() [2/2]

alglib::_barycentricinterpolant_owner::_barycentricinterpolant_owner ( const _barycentricinterpolant_owner rhs)

Definition at line 341 of file interpolation.cpp.

342 {
344  if( p_struct==NULL )
345  throw ap_error("ALGLIB: malloc error");
346  if( !alglib_impl::_barycentricinterpolant_init_copy(p_struct, const_cast<alglib_impl::barycentricinterpolant*>(rhs.p_struct), NULL, ae_false) )
347  throw ap_error("ALGLIB: malloc error");
348 }
alglib_impl::barycentricinterpolant * p_struct
#define ae_false
Definition: ap.h:196
void * ae_malloc(size_t size, ae_state *state)
Definition: ap.cpp:222
ae_bool _barycentricinterpolant_init_copy(void *_dst, void *_src, ae_state *_state, ae_bool make_automatic)

◆ ~_barycentricinterpolant_owner()

alglib::_barycentricinterpolant_owner::~_barycentricinterpolant_owner ( )
virtual

Definition at line 360 of file interpolation.cpp.

361 {
363  ae_free(p_struct);
364 }
alglib_impl::barycentricinterpolant * p_struct
void _barycentricinterpolant_clear(void *_p)
void ae_free(void *p)
Definition: ap.cpp:237

Member Function Documentation

◆ c_ptr() [1/2]

alglib_impl::barycentricinterpolant * alglib::_barycentricinterpolant_owner::c_ptr ( )

Definition at line 366 of file interpolation.cpp.

367 {
368  return p_struct;
369 }
alglib_impl::barycentricinterpolant * p_struct

◆ c_ptr() [2/2]

alglib_impl::barycentricinterpolant * alglib::_barycentricinterpolant_owner::c_ptr ( ) const

Definition at line 371 of file interpolation.cpp.

372 {
373  return const_cast<alglib_impl::barycentricinterpolant*>(p_struct);
374 }
alglib_impl::barycentricinterpolant * p_struct

◆ operator=()

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

Definition at line 350 of file interpolation.cpp.

351 {
352  if( this==&rhs )
353  return *this;
355  if( !alglib_impl::_barycentricinterpolant_init_copy(p_struct, const_cast<alglib_impl::barycentricinterpolant*>(rhs.p_struct), NULL, ae_false) )
356  throw ap_error("ALGLIB: malloc error");
357  return *this;
358 }
alglib_impl::barycentricinterpolant * p_struct
#define ae_false
Definition: ap.h:196
ae_bool _barycentricinterpolant_init_copy(void *_dst, void *_src, ae_state *_state, ae_bool make_automatic)
void _barycentricinterpolant_clear(void *_p)

Member Data Documentation

◆ p_struct

alglib_impl::barycentricinterpolant* alglib::_barycentricinterpolant_owner::p_struct
protected

Definition at line 296 of file interpolation.h.


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