int * version More...
#include <CoinIndexedVector.hpp>
Public Member Functions | |
Get methods. | |
int | getSize () const |
Get the size. | |
int * | array () const |
Get Array. | |
Set methods | |
void | setSize (int value) |
Set the size. | |
Condition methods | |
int * | conditionalNew (int sizeWanted) |
Conditionally gets new array. | |
Constructors and destructors | |
CoinIntArrayWithLength () | |
Default constructor - NULL. | |
CoinIntArrayWithLength (int size) | |
Alternate Constructor - length in bytes - size_ -1. | |
CoinIntArrayWithLength (int size, int mode) | |
Alternate Constructor - length in bytes mode - 0 size_ set to size 1 size_ set to size and zeroed. | |
CoinIntArrayWithLength (const CoinIntArrayWithLength &rhs) | |
Copy constructor. | |
CoinIntArrayWithLength (const CoinIntArrayWithLength *rhs) | |
Copy constructor.2. | |
CoinIntArrayWithLength & | operator= (const CoinIntArrayWithLength &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. |
int * version
Definition at line 665 of file CoinIndexedVector.hpp.
|
inline |
Default constructor - NULL.
Definition at line 695 of file CoinIndexedVector.hpp.
|
inline |
Alternate Constructor - length in bytes - size_ -1.
Definition at line 698 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 704 of file CoinIndexedVector.hpp.
|
inline |
Copy constructor.
Definition at line 707 of file CoinIndexedVector.hpp.
|
inline |
Copy constructor.2.
Definition at line 710 of file CoinIndexedVector.hpp.
|
inline |
Get the size.
Reimplemented from CoinArrayWithLength.
Definition at line 671 of file CoinIndexedVector.hpp.
|
inline |
Get Array.
Reimplemented from CoinArrayWithLength.
Definition at line 674 of file CoinIndexedVector.hpp.
|
inline |
Set the size.
Reimplemented from CoinArrayWithLength.
Definition at line 681 of file CoinIndexedVector.hpp.
|
inline |
Conditionally gets new array.
Definition at line 688 of file CoinIndexedVector.hpp.
|
inline |
Assignment operator.
Definition at line 713 of file CoinIndexedVector.hpp.