CSP_packedVector Class Reference

#include <CSP.hpp>

List of all members.

Public Member Functions

 CSP_packedVector (const int size, const int *indices, const double *elements)
 CSP_packedVector ()
 CSP_packedVector (BCP_buffer &buf)
void pack (BCP_buffer &buf) const
void unpack (BCP_buffer &buf)
const int * getIndices () const
const double * getElements () const
const int getSize () const
 CSP_packedVector (const CSP_packedVector &pv)

Private Member Functions

CSP_packedVectoroperator= (const CSP_packedVector &pv)

Private Attributes

int size_
int * indices_
double * elements_


Detailed Description

Definition at line 27 of file CSP.hpp.


Constructor & Destructor Documentation

CSP_packedVector::CSP_packedVector ( const int  size,
const int *  indices,
const double *  elements 
) [inline]

Definition at line 37 of file CSP.hpp.

References CoinDisjointCopyN(), elements_, indices_, and size_.

CSP_packedVector::CSP_packedVector (  )  [inline]

Definition at line 47 of file CSP.hpp.

CSP_packedVector::CSP_packedVector ( BCP_buffer buf  )  [inline]

Definition at line 51 of file CSP.hpp.

References elements_, indices_, size_, and BCP_buffer::unpack().

CSP_packedVector::CSP_packedVector ( const CSP_packedVector pv  )  [inline]

Definition at line 82 of file CSP.hpp.

References CoinDisjointCopyN(), elements_, indices_, and size_.


Member Function Documentation

void CSP_packedVector::pack ( BCP_buffer buf  )  const [inline]

Definition at line 56 of file CSP.hpp.

References elements_, indices_, BCP_buffer::pack(), and size_.

Referenced by PATTERN::pack().

void CSP_packedVector::unpack ( BCP_buffer buf  )  [inline]

Definition at line 61 of file CSP.hpp.

References elements_, indices_, size_, and BCP_buffer::unpack().

Referenced by PATTERN::PATTERN().

const int* CSP_packedVector::getIndices (  )  const [inline]

Definition at line 69 of file CSP.hpp.

References indices_.

const double* CSP_packedVector::getElements (  )  const [inline]

Definition at line 73 of file CSP.hpp.

References elements_.

const int CSP_packedVector::getSize (  )  const [inline]

Definition at line 77 of file CSP.hpp.

References size_.

CSP_packedVector& CSP_packedVector::operator= ( const CSP_packedVector pv  )  [private]


Member Data Documentation

int CSP_packedVector::size_ [private]

Definition at line 30 of file CSP.hpp.

Referenced by CSP_packedVector(), getSize(), pack(), and unpack().

int* CSP_packedVector::indices_ [private]

Definition at line 31 of file CSP.hpp.

Referenced by CSP_packedVector(), getIndices(), pack(), and unpack().

double* CSP_packedVector::elements_ [private]

Definition at line 32 of file CSP.hpp.

Referenced by CSP_packedVector(), getElements(), pack(), and unpack().


The documentation for this class was generated from the following file:
Generated on Thu Jan 15 03:03:19 2009 for coin-Bcp by  doxygen 1.4.7