double * version More...
#include <CoinIndexedVector.hpp>
Public Member Functions | |
Get methods. | |
int | getSize () const |
Get the size. | |
double * | array () const |
Get Array. | |
Set methods | |
void | setSize (int value) |
Set the size. | |
Condition methods | |
double * | conditionalNew (int sizeWanted) |
Conditionally gets new array. | |
Constructors and destructors | |
CoinDoubleArrayWithLength () | |
Default constructor - NULL. | |
CoinDoubleArrayWithLength (int size) | |
Alternate Constructor - length in bytes - size_ -1. | |
CoinDoubleArrayWithLength (int size, int mode) | |
Alternate Constructor - length in bytes mode - 0 size_ set to size 1 size_ set to size and zeroed. | |
CoinDoubleArrayWithLength (const CoinDoubleArrayWithLength &rhs) | |
Copy constructor. | |
CoinDoubleArrayWithLength (const CoinDoubleArrayWithLength *rhs) | |
Copy constructor.2. | |
CoinDoubleArrayWithLength & | operator= (const CoinDoubleArrayWithLength &rhs) |
Assignment operator. | |
![]() | |
int | rawSize () const |
Get the size. | |
bool | switchedOn () const |
See if persistence already on. | |
int | getCapacity () const |
Get the capacity. | |
void | setCapacity () |
Set the capacity to >=0 if <=-2. | |
void | switchOff () |
Set the size to -1. | |
void | setPersistence (int flag, int currentLength) |
Does what is needed to set persistence. | |
void | clear () |
Zero out array. | |
void | swap (CoinArrayWithLength &other) |
Swaps memory between two members. | |
void | extend (int newSize) |
Extend a persistent array keeping data (size in bytes) | |
char * | conditionalNew (long sizeWanted) |
Conditionally gets new array. | |
void | conditionalDelete () |
Conditionally deletes. | |
CoinArrayWithLength () | |
Default constructor - NULL. | |
CoinArrayWithLength (int size) | |
Alternate Constructor - length in bytes - size_ -1. | |
CoinArrayWithLength (int size, int mode) | |
Alternate Constructor - length in bytes mode - 0 size_ set to size 1 size_ set to size and zeroed. | |
CoinArrayWithLength (const CoinArrayWithLength &rhs) | |
Copy constructor. | |
CoinArrayWithLength (const CoinArrayWithLength *rhs) | |
Copy constructor.2. | |
CoinArrayWithLength & | operator= (const CoinArrayWithLength &rhs) |
Assignment operator. | |
void | copy (const CoinArrayWithLength &rhs, int numberBytes=-1) |
Assignment with length (if -1 use internal length) | |
void | allocate (const CoinArrayWithLength &rhs, int numberBytes) |
Assignment with length - does not copy. | |
~CoinArrayWithLength () | |
Destructor. |
Additional Inherited Members | |
![]() | |
char * | array_ |
Array. | |
int | size_ |
Size of array in bytes. |
double * version
Definition at line 557 of file CoinIndexedVector.hpp.
|
inline |
Default constructor - NULL.
Definition at line 587 of file CoinIndexedVector.hpp.
|
inline |
Alternate Constructor - length in bytes - size_ -1.
Definition at line 590 of file CoinIndexedVector.hpp.
|
inline |
Alternate Constructor - length in bytes mode - 0 size_ set to size 1 size_ set to size and zeroed.
Definition at line 596 of file CoinIndexedVector.hpp.
|
inline |
Copy constructor.
Definition at line 599 of file CoinIndexedVector.hpp.
|
inline |
Copy constructor.2.
Definition at line 602 of file CoinIndexedVector.hpp.
|
inline |
Get the size.
Reimplemented from CoinArrayWithLength.
Definition at line 563 of file CoinIndexedVector.hpp.
|
inline |
Get Array.
Reimplemented from CoinArrayWithLength.
Definition at line 566 of file CoinIndexedVector.hpp.
|
inline |
Set the size.
Reimplemented from CoinArrayWithLength.
Definition at line 573 of file CoinIndexedVector.hpp.
|
inline |
Conditionally gets new array.
Definition at line 580 of file CoinIndexedVector.hpp.
|
inline |
Assignment operator.
Definition at line 605 of file CoinIndexedVector.hpp.