|
Clp
1.17.6
|
arbitrary version More...
#include <CoinIndexedVector.hpp>
Inheritance diagram for CoinArbitraryArrayWithLength:
Collaboration diagram for CoinArbitraryArrayWithLength:Public Member Functions | |
Get methods. | |
| CoinBigIndex | getSize () const |
| Get the size. More... | |
| void ** | array () const |
| Get Array. More... | |
Set methods | |
| void | setSize (int value) |
| Set the size. More... | |
Condition methods | |
| char * | conditionalNew (CoinBigIndex length, CoinBigIndex sizeWanted) |
| Conditionally gets new array. More... | |
Constructors and destructors | |
| CoinArbitraryArrayWithLength (int length=1) | |
| Default constructor - NULL. More... | |
| CoinArbitraryArrayWithLength (int length, int size) | |
| Alternate Constructor - length in bytes - size_ -1. More... | |
| CoinArbitraryArrayWithLength (int length, int size, int mode) | |
| Alternate Constructor - length in bytes mode - 0 size_ set to size 1 size_ set to size and zeroed. More... | |
| CoinArbitraryArrayWithLength (const CoinArbitraryArrayWithLength &rhs) | |
| Copy constructor. More... | |
| CoinArbitraryArrayWithLength (const CoinArbitraryArrayWithLength *rhs) | |
| Copy constructor.2. More... | |
| CoinArbitraryArrayWithLength & | operator= (const CoinArbitraryArrayWithLength &rhs) |
| Assignment operator. More... | |
Public Member Functions inherited from CoinArrayWithLength | |
| CoinBigIndex | getSize () const |
| Get the size. More... | |
| CoinBigIndex | rawSize () const |
| Get the size. More... | |
| bool | switchedOn () const |
| See if persistence already on. More... | |
| CoinBigIndex | capacity () const |
| Get the capacity (just read it) 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 | switchOn (int alignment=3) |
| Set the size to -2 and alignment. 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 (CoinBigIndex sizeWanted) |
| Conditionally gets new array. More... | |
| void | conditionalDelete () |
| Conditionally deletes. More... | |
| CoinArrayWithLength () | |
| Default constructor - NULL. More... | |
| CoinArrayWithLength (CoinBigIndex size) | |
| Alternate Constructor - length in bytes - size_ -1. More... | |
| 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. 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, CoinBigIndex numberBytes) |
| Assignment with length - does not copy. More... | |
| ~CoinArrayWithLength () | |
| Destructor. More... | |
| void | getArray (CoinBigIndex size) |
| Get array with alignment. More... | |
| void | reallyFreeArray () |
| Really get rid of array with alignment. More... | |
| void | getCapacity (CoinBigIndex numberBytes, CoinBigIndex numberIfNeeded=-1) |
| Get enough space (if more needed then do at least needed) More... | |
Protected Attributes | |
Private member data | |
| CoinBigIndex | lengthInBytes_ |
| Length in bytes. More... | |
Protected Attributes inherited from CoinArrayWithLength | |
| char * | array_ |
| Array. More... | |
| CoinBigIndex | size_ |
| Size of array in bytes. More... | |
| int | offset_ |
| Offset of array. More... | |
| int | alignment_ |
| Alignment wanted (power of 2) More... | |
arbitrary version
Definition at line 1217 of file CoinIndexedVector.hpp.
|
inline |
Default constructor - NULL.
Definition at line 1256 of file CoinIndexedVector.hpp.
|
inline |
Alternate Constructor - length in bytes - size_ -1.
Definition at line 1263 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 1273 of file CoinIndexedVector.hpp.
|
inline |
Copy constructor.
Definition at line 1279 of file CoinIndexedVector.hpp.
|
inline |
Copy constructor.2.
Definition at line 1284 of file CoinIndexedVector.hpp.
|
inline |
Get the size.
Definition at line 1223 of file CoinIndexedVector.hpp.
|
inline |
Get Array.
Definition at line 1228 of file CoinIndexedVector.hpp.
|
inline |
Set the size.
Definition at line 1237 of file CoinIndexedVector.hpp.
|
inline |
Conditionally gets new array.
Definition at line 1246 of file CoinIndexedVector.hpp.
|
inline |
Assignment operator.
Definition at line 1289 of file CoinIndexedVector.hpp.
|
protected |
Length in bytes.
Definition at line 1300 of file CoinIndexedVector.hpp.
1.8.5