CoinUtils  trunk
CoinArbitraryArrayWithLength Class Reference

arbitrary version More...

#include <CoinIndexedVector.hpp>

+ Inheritance diagram for CoinArbitraryArrayWithLength:
+ Collaboration diagram for CoinArbitraryArrayWithLength:

List of all members.

Public Member Functions

Get methods.
int getSize () const
 Get the size.
void ** array () const
 Get Array.
Set methods
void setSize (int value)
 Set the size.
Condition methods
char * conditionalNew (int length, int sizeWanted)
 Conditionally gets new array.
Constructors and destructors
 CoinArbitraryArrayWithLength (int length=1)
 Default constructor - NULL.
 CoinArbitraryArrayWithLength (int length, int size)
 Alternate Constructor - length in bytes - size_ -1.
 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.
 CoinArbitraryArrayWithLength (const CoinArbitraryArrayWithLength &rhs)
 Copy constructor.
 CoinArbitraryArrayWithLength (const CoinArbitraryArrayWithLength *rhs)
 Copy constructor.2.
CoinArbitraryArrayWithLengthoperator= (const CoinArbitraryArrayWithLength &rhs)
 Assignment operator.

Protected Attributes

Private member data
int lengthInBytes_
 Length in bytes.

Detailed Description

arbitrary version

Definition at line 990 of file CoinIndexedVector.hpp.


Constructor & Destructor Documentation

Default constructor - NULL.

Definition at line 1021 of file CoinIndexedVector.hpp.

CoinArbitraryArrayWithLength::CoinArbitraryArrayWithLength ( int  length,
int  size 
) [inline]

Alternate Constructor - length in bytes - size_ -1.

Definition at line 1024 of file CoinIndexedVector.hpp.

CoinArbitraryArrayWithLength::CoinArbitraryArrayWithLength ( int  length,
int  size,
int  mode 
) [inline]

Alternate Constructor - length in bytes mode - 0 size_ set to size 1 size_ set to size and zeroed.

Definition at line 1030 of file CoinIndexedVector.hpp.

Copy constructor.

Definition at line 1033 of file CoinIndexedVector.hpp.

Copy constructor.2.

Definition at line 1036 of file CoinIndexedVector.hpp.


Member Function Documentation

int CoinArbitraryArrayWithLength::getSize ( ) const [inline]

Get the size.

Reimplemented from CoinArrayWithLength.

Definition at line 996 of file CoinIndexedVector.hpp.

Get Array.

Reimplemented from CoinArrayWithLength.

Definition at line 999 of file CoinIndexedVector.hpp.

Set the size.

Reimplemented from CoinArrayWithLength.

Definition at line 1006 of file CoinIndexedVector.hpp.

char* CoinArbitraryArrayWithLength::conditionalNew ( int  length,
int  sizeWanted 
) [inline]

Conditionally gets new array.

Definition at line 1013 of file CoinIndexedVector.hpp.

CoinArbitraryArrayWithLength& CoinArbitraryArrayWithLength::operator= ( const CoinArbitraryArrayWithLength rhs) [inline]

Assignment operator.

Definition at line 1039 of file CoinIndexedVector.hpp.


Member Data Documentation

Length in bytes.

Definition at line 1047 of file CoinIndexedVector.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines