CoinUtils 2.11.4
|
CoinFactorizationLongDouble * version. More...
#include <CoinIndexedVector.hpp>
Public Member Functions | |
Get methods. | |
CoinBigIndex | getSize () const |
Get the size. | |
long double * | array () const |
Get Array. | |
Set methods | |
void | setSize (int value) |
Set the size. | |
Condition methods | |
long double * | conditionalNew (CoinBigIndex sizeWanted) |
Conditionally gets new array. | |
Constructors and destructors | |
CoinFactorizationLongDoubleArrayWithLength () | |
Default constructor - NULL. | |
CoinFactorizationLongDoubleArrayWithLength (int size) | |
Alternate Constructor - length in bytes - size_ -1. | |
CoinFactorizationLongDoubleArrayWithLength (int size, int mode) | |
Alternate Constructor - length in bytes mode - 0 size_ set to size 1 size_ set to size and zeroed. | |
CoinFactorizationLongDoubleArrayWithLength (const CoinFactorizationLongDoubleArrayWithLength &rhs) | |
Copy constructor. | |
CoinFactorizationLongDoubleArrayWithLength (const CoinFactorizationLongDoubleArrayWithLength *rhs) | |
Copy constructor.2. | |
CoinFactorizationLongDoubleArrayWithLength & | operator= (const CoinFactorizationLongDoubleArrayWithLength &rhs) |
Assignment operator. | |
![]() | |
CoinBigIndex | getSize () const |
Get the size. | |
CoinBigIndex | rawSize () const |
Get the size. | |
bool | switchedOn () const |
See if persistence already on. | |
CoinBigIndex | capacity () const |
Get the capacity (just read it) | |
void | setCapacity () |
Set the capacity to >=0 if <=-2. | |
const char * | array () const |
Get Array. | |
void | setSize (int value) |
Set the size. | |
void | switchOff () |
Set the size to -1. | |
void | switchOn (int alignment=3) |
Set the size to -2 and alignment. | |
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 (CoinBigIndex sizeWanted) |
Conditionally gets new array. | |
void | conditionalDelete () |
Conditionally deletes. | |
CoinArrayWithLength () | |
Default constructor - NULL. | |
CoinArrayWithLength (CoinBigIndex size) | |
Alternate Constructor - length in bytes - size_ -1. | |
CoinArrayWithLength (CoinBigIndex size, int mode) | |
Alternate Constructor - length in bytes mode - 0 size_ set to size mode>0 size_ set to size and zeroed if size<=0 just does alignment If abs(mode) >2 then align on that as power of 2. | |
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, CoinBigIndex numberBytes) |
Assignment with length - does not copy. | |
~CoinArrayWithLength () | |
Destructor. | |
void | getArray (CoinBigIndex size) |
Get array with alignment. | |
void | reallyFreeArray () |
Really get rid of array with alignment. | |
void | getCapacity (CoinBigIndex numberBytes, CoinBigIndex numberIfNeeded=-1) |
Get enough space (if more needed then do at least needed) | |
Additional Inherited Members | |
![]() | |
char * | array_ |
Array. | |
CoinBigIndex | size_ |
Size of array in bytes. | |
int | offset_ |
Offset of array. | |
int | alignment_ |
Alignment wanted (power of 2) | |
CoinFactorizationLongDouble * version.
Definition at line 832 of file CoinIndexedVector.hpp.
|
inline |
Default constructor - NULL.
Definition at line 870 of file CoinIndexedVector.hpp.
|
inline |
Alternate Constructor - length in bytes - size_ -1.
Definition at line 876 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 885 of file CoinIndexedVector.hpp.
|
inline |
Copy constructor.
Definition at line 890 of file CoinIndexedVector.hpp.
|
inline |
Copy constructor.2.
Definition at line 895 of file CoinIndexedVector.hpp.
|
inline |
Get the size.
Definition at line 838 of file CoinIndexedVector.hpp.
|
inline |
Get Array.
Definition at line 843 of file CoinIndexedVector.hpp.
|
inline |
Set the size.
Definition at line 852 of file CoinIndexedVector.hpp.
|
inline |
Conditionally gets new array.
Definition at line 861 of file CoinIndexedVector.hpp.
|
inline |
Assignment operator.
Definition at line 900 of file CoinIndexedVector.hpp.