unsigned int * version More...
#include <CoinIndexedVector.hpp>
Public Member Functions | |
Get methods. | |
int | getSize () const |
Get the size. More... | |
unsigned int * | array () const |
Get Array. More... | |
Set methods | |
void | setSize (int value) |
Set the size. More... | |
Condition methods | |
unsigned int * | conditionalNew (int sizeWanted) |
Conditionally gets new array. More... | |
Constructors and destructors | |
CoinUnsignedIntArrayWithLength () | |
Default constructor - NULL. More... | |
CoinUnsignedIntArrayWithLength (int size) | |
Alternate Constructor - length in bytes - size_ -1. More... | |
CoinUnsignedIntArrayWithLength (int size, int mode) | |
Alternate Constructor - length in bytes mode - 0 size_ set to size 1 size_ set to size and zeroed. More... | |
CoinUnsignedIntArrayWithLength (const CoinUnsignedIntArrayWithLength &rhs) | |
Copy constructor. More... | |
CoinUnsignedIntArrayWithLength (const CoinUnsignedIntArrayWithLength *rhs) | |
Copy constructor.2. More... | |
CoinUnsignedIntArrayWithLength & | operator= (const CoinUnsignedIntArrayWithLength &rhs) |
Assignment operator. More... | |
![]() | |
int | getSize () const |
Get the size. More... | |
int | rawSize () const |
Get the size. More... | |
bool | switchedOn () const |
See if persistence already on. More... | |
int | getCapacity () const |
Get the capacity. More... | |
void | setCapacity () |
Set the capacity to >=0 if <=-2. More... | |
const char * | array () const |
Get Array. More... | |
void | setSize (int value) |
Set the size. More... | |
void | switchOff () |
Set the size to -1. More... | |
void | setPersistence (int flag, int currentLength) |
Does what is needed to set persistence. More... | |
void | clear () |
Zero out array. More... | |
void | swap (CoinArrayWithLength &other) |
Swaps memory between two members. More... | |
void | extend (int newSize) |
Extend a persistent array keeping data (size in bytes) More... | |
char * | conditionalNew (long sizeWanted) |
Conditionally gets new array. More... | |
void | conditionalDelete () |
Conditionally deletes. More... | |
CoinArrayWithLength () | |
Default constructor - NULL. More... | |
CoinArrayWithLength (int size) | |
Alternate Constructor - length in bytes - size_ -1. More... | |
CoinArrayWithLength (int size, int mode) | |
Alternate Constructor - length in bytes mode - 0 size_ set to size 1 size_ set to size and zeroed. More... | |
CoinArrayWithLength (const CoinArrayWithLength &rhs) | |
Copy constructor. More... | |
CoinArrayWithLength (const CoinArrayWithLength *rhs) | |
Copy constructor.2. More... | |
CoinArrayWithLength & | operator= (const CoinArrayWithLength &rhs) |
Assignment operator. More... | |
void | copy (const CoinArrayWithLength &rhs, int numberBytes=-1) |
Assignment with length (if -1 use internal length) More... | |
void | allocate (const CoinArrayWithLength &rhs, int numberBytes) |
Assignment with length - does not copy. More... | |
~CoinArrayWithLength () | |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
char * | array_ |
Array. More... | |
int | size_ |
Size of array in bytes. More... | |
unsigned int * version
Definition at line 773 of file CoinIndexedVector.hpp.
|
inline |
Default constructor - NULL.
Definition at line 803 of file CoinIndexedVector.hpp.
|
inline |
Alternate Constructor - length in bytes - size_ -1.
Definition at line 806 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 812 of file CoinIndexedVector.hpp.
|
inline |
Copy constructor.
Definition at line 815 of file CoinIndexedVector.hpp.
|
inline |
Copy constructor.2.
Definition at line 818 of file CoinIndexedVector.hpp.
|
inline |
Get the size.
Definition at line 779 of file CoinIndexedVector.hpp.
|
inline |
Get Array.
Definition at line 782 of file CoinIndexedVector.hpp.
|
inline |
Set the size.
Definition at line 789 of file CoinIndexedVector.hpp.
|
inline |
Conditionally gets new array.
Definition at line 796 of file CoinIndexedVector.hpp.
|
inline |
Assignment operator.
Definition at line 821 of file CoinIndexedVector.hpp.