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]
List of all members.

Public Member Functions

 ReleaseValRowColArrays (value_type *val, index_type *row_i, index_type *col_j)
 Gives pointers to buffers to delete[].
 ~ReleaseValRowColArrays ()
bool resource_is_bound () const
 Overridden from ReleaseResource.
void release_ownership ()
 Release ownership of memory.
value_typeval ()
index_typerow_i ()
index_typecol_j ()

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 61 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 66 of file AbstractLinAlgPack_MatrixSparseCOORSerial.hpp.

AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::~ReleaseValRowColArrays (  ) 

Definition at line 42 of file AbstractLinAlgPack_MatrixSparseCOORSerial.cpp.

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 51 of file AbstractLinAlgPack_MatrixSparseCOORSerial.cpp.

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

Release ownership of memory.

Definition at line 81 of file AbstractLinAlgPack_MatrixSparseCOORSerial.hpp.

value_type* AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::val (  )  [inline]

Definition at line 82 of file AbstractLinAlgPack_MatrixSparseCOORSerial.hpp.

index_type* AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::row_i (  )  [inline]

Definition at line 83 of file AbstractLinAlgPack_MatrixSparseCOORSerial.hpp.

index_type* AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::col_j (  )  [inline]

Definition at line 84 of file AbstractLinAlgPack_MatrixSparseCOORSerial.hpp.

ReleaseValRowColArrays& AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::operator= ( const ReleaseValRowColArrays  )  [private]


Member Data Documentation

value_type* AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::val_ [private]

Definition at line 86 of file AbstractLinAlgPack_MatrixSparseCOORSerial.hpp.

index_type* AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::row_i_ [private]

Definition at line 87 of file AbstractLinAlgPack_MatrixSparseCOORSerial.hpp.

index_type* AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::col_j_ [private]

Definition at line 88 of file AbstractLinAlgPack_MatrixSparseCOORSerial.hpp.

bool AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays::owns_mem_ [private]

Definition at line 89 of file AbstractLinAlgPack_MatrixSparseCOORSerial.hpp.


The documentation for this class was generated from the following files:
Generated on Wed May 12 21:57:05 2010 for MOOCHO (Single Doxygen Collection) by  doxygen 1.4.7