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

#include <alglibmisc.h>

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

Public Member Functions

 _hqrndstate_owner ()
 
 _hqrndstate_owner (const _hqrndstate_owner &rhs)
 
_hqrndstate_owneroperator= (const _hqrndstate_owner &rhs)
 
virtual ~_hqrndstate_owner ()
 
alglib_impl::hqrndstatec_ptr ()
 
alglib_impl::hqrndstatec_ptr () const
 

Protected Attributes

alglib_impl::hqrndstatep_struct
 

Detailed Description

Definition at line 84 of file alglibmisc.h.

Constructor & Destructor Documentation

◆ _hqrndstate_owner() [1/2]

alglib::_hqrndstate_owner::_hqrndstate_owner ( )

Definition at line 50 of file alglibmisc.cpp.

51 {
53  if( p_struct==NULL )
54  throw ap_error("ALGLIB: malloc error");
56  throw ap_error("ALGLIB: malloc error");
57 }
#define ae_false
Definition: ap.h:196
void * ae_malloc(size_t size, ae_state *state)
Definition: ap.cpp:222
alglib_impl::hqrndstate * p_struct
Definition: alglibmisc.h:94
ae_bool _hqrndstate_init(void *_p, ae_state *_state, ae_bool make_automatic)

◆ _hqrndstate_owner() [2/2]

alglib::_hqrndstate_owner::_hqrndstate_owner ( const _hqrndstate_owner rhs)

Definition at line 59 of file alglibmisc.cpp.

60 {
62  if( p_struct==NULL )
63  throw ap_error("ALGLIB: malloc error");
64  if( !alglib_impl::_hqrndstate_init_copy(p_struct, const_cast<alglib_impl::hqrndstate*>(rhs.p_struct), NULL, ae_false) )
65  throw ap_error("ALGLIB: malloc error");
66 }
#define ae_false
Definition: ap.h:196
void * ae_malloc(size_t size, ae_state *state)
Definition: ap.cpp:222
alglib_impl::hqrndstate * p_struct
Definition: alglibmisc.h:94
ae_bool _hqrndstate_init_copy(void *_dst, void *_src, ae_state *_state, ae_bool make_automatic)

◆ ~_hqrndstate_owner()

alglib::_hqrndstate_owner::~_hqrndstate_owner ( )
virtual

Definition at line 78 of file alglibmisc.cpp.

79 {
82 }
void _hqrndstate_clear(void *_p)
alglib_impl::hqrndstate * p_struct
Definition: alglibmisc.h:94
void ae_free(void *p)
Definition: ap.cpp:237

Member Function Documentation

◆ c_ptr() [1/2]

alglib_impl::hqrndstate * alglib::_hqrndstate_owner::c_ptr ( )

Definition at line 84 of file alglibmisc.cpp.

85 {
86  return p_struct;
87 }
alglib_impl::hqrndstate * p_struct
Definition: alglibmisc.h:94

◆ c_ptr() [2/2]

alglib_impl::hqrndstate * alglib::_hqrndstate_owner::c_ptr ( ) const

Definition at line 89 of file alglibmisc.cpp.

90 {
91  return const_cast<alglib_impl::hqrndstate*>(p_struct);
92 }
alglib_impl::hqrndstate * p_struct
Definition: alglibmisc.h:94

◆ operator=()

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

Definition at line 68 of file alglibmisc.cpp.

69 {
70  if( this==&rhs )
71  return *this;
73  if( !alglib_impl::_hqrndstate_init_copy(p_struct, const_cast<alglib_impl::hqrndstate*>(rhs.p_struct), NULL, ae_false) )
74  throw ap_error("ALGLIB: malloc error");
75  return *this;
76 }
void _hqrndstate_clear(void *_p)
#define ae_false
Definition: ap.h:196
alglib_impl::hqrndstate * p_struct
Definition: alglibmisc.h:94
ae_bool _hqrndstate_init_copy(void *_dst, void *_src, ae_state *_state, ae_bool make_automatic)

Member Data Documentation

◆ p_struct

alglib_impl::hqrndstate* alglib::_hqrndstate_owner::p_struct
protected

Definition at line 94 of file alglibmisc.h.


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