xerus
a general purpose tensor library
xerus::internal::CholmodCommon Struct Referencefinal

wrapper object for the cholmod_common struct to automatically call the constructor and destructor More...

#include <cholmod_wrapper.h>

Collaboration diagram for xerus::internal::CholmodCommon:

Classes

struct  RestrictedAccess
 

Public Member Functions

 CholmodCommon ()
 
 ~CholmodCommon ()
 
RestrictedAccess get ()
 
std::function< void(cholmod_sparse *)> get_deleter ()
 

Public Attributes

std::unique_ptr< cholmod_common > c
 
std::mutex lock
 

Detailed Description

wrapper object for the cholmod_common struct to automatically call the constructor and destructor

Definition at line 43 of file cholmod_wrapper.h.

Constructor & Destructor Documentation

◆ CholmodCommon()

xerus::internal::CholmodCommon::CholmodCommon ( )

Definition at line 58 of file cholmod_wrapper.cpp.

◆ ~CholmodCommon()

xerus::internal::CholmodCommon::~CholmodCommon ( )

Definition at line 67 of file cholmod_wrapper.cpp.

Member Function Documentation

◆ get()

CholmodCommon::RestrictedAccess xerus::internal::CholmodCommon::get ( )

Definition at line 71 of file cholmod_wrapper.cpp.

◆ get_deleter()

std::function< void(cholmod_sparse *)> xerus::internal::CholmodCommon::get_deleter ( )

Definition at line 75 of file cholmod_wrapper.cpp.

Member Data Documentation

◆ c

std::unique_ptr<cholmod_common> xerus::internal::CholmodCommon::c

Definition at line 52 of file cholmod_wrapper.h.

◆ lock

std::mutex xerus::internal::CholmodCommon::lock

Definition at line 53 of file cholmod_wrapper.h.


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