MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays Class Reference

Subclass to delete dynamically allocated memory with delete[]. More...

#include <AbstractLinAlgPack_MatrixSparseCOORSerial.hpp>

Inheritance diagram for AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays:
Inheritance graph
[legend]

Public Member Functions

 ReleaseValRowColArrays (value_type *val, index_type *row_i, index_type *col_j)
 Gives pointers to buffers to delete[]. More...
 
 ~ReleaseValRowColArrays ()
 
bool resource_is_bound () const
 Overridden from ReleaseResource. More...
 
void release_ownership ()
 Release ownership of memory. More...
 
value_typeval ()
 
index_typerow_i ()
 
index_typecol_j ()
 
- Public Member Functions inherited from MemMngPack::ReleaseResource
virtual ~ReleaseResource ()
 When object is deleted so will the resource if it is not needed anymore. More...
 

Private Member Functions

 ReleaseValRowColArrays ()
 
 ReleaseValRowColArrays (const ReleaseValRowColArrays &)
 
ReleaseValRowColArraysoperator= (const ReleaseValRowColArrays &)
 

Private Attributes

value_typeval_
 
index_typerow_i_
 
index_typecol_j_
 
bool owns_mem_
 

Detailed Description

Subclass to delete dynamically allocated memory with delete[].

This subclass can be used by the client to cause

Definition at line 74 of file AbstractLinAlgPack_MatrixSparseCOORSerial.hpp.

Constructor & Destructor Documentation

AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::ReleaseValRowColArrays ( value_type val,
index_type row_i,
index_type col_j 
)
inline

Gives pointers to buffers to delete[].

Definition at line 79 of file AbstractLinAlgPack_MatrixSparseCOORSerial.hpp.

AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::~ReleaseValRowColArrays ( )
AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::ReleaseValRowColArrays ( )
private
AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::ReleaseValRowColArrays ( const ReleaseValRowColArrays )
private

Member Function Documentation

bool AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::resource_is_bound ( ) const
virtual

Overridden from ReleaseResource.

Implements MemMngPack::ReleaseResource.

Definition at line 64 of file AbstractLinAlgPack_MatrixSparseCOORSerial.cpp.

void AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::release_ownership ( )
inline

Release ownership of memory.

Definition at line 94 of file AbstractLinAlgPack_MatrixSparseCOORSerial.hpp.

value_type* AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::val ( )
inline
index_type* AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::row_i ( )
inline
index_type* AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::col_j ( )
inline
ReleaseValRowColArrays& AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::operator= ( const ReleaseValRowColArrays )
private

Member Data Documentation

value_type* AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::val_
private
index_type* AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::row_i_
private
index_type* AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::col_j_
private
bool AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::owns_mem_
private

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