FixedRowSizeColumnSegment Class Reference

Class implementing the column segment for fixed row sizes. More...

Inherits Simba::Support::AbstractColumnSegment.

List of all members.

Public Member Functions

 FixedRowSizeColumnSegment (void *in_dataBasePtr, simba_unsigned_native in_dataOffset, simba_signed_native *in_lengthBasePtr, simba_unsigned_native in_lengthOffset, simba_unsigned_native in_numberRows=0)
 Constructor.
 FixedRowSizeColumnSegment (simba_unsigned_native in_numberRows=0)
 Constructor.
void GetAttributes (void *&out_dataBasePtr, simba_unsigned_native &out_dataOffset, simba_signed_native *&out_lengthBasePtr, simba_unsigned_native &out_lengthOffset, simba_unsigned_native &out_numberRows) const
 Get value of all attributes at once.
void GetAttributes (void *&out_dataBasePtr, simba_unsigned_native &out_dataOffset, simba_signed_native *&out_lengthBasePtr, simba_unsigned_native &out_lengthOffset) const
 Get value of all attributes at once.
simba_unsigned_native GetDataOffset () const
 Get data offset.
void * GetDataPointer () const
 Get data pointer.
simba_unsigned_native GetLengthOffset () const
 Get length offset.
simba_signed_nativeGetLengthPointer () const
 Get length pointer.
void SetAttributes (void *in_dataBasePtr, simba_unsigned_native in_dataOffset, simba_signed_native *in_lengthBasePtr, simba_unsigned_native in_lengthOffset, simba_unsigned_native in_numberRows=0)
 Set all attributes at once.
void SetDataOffset (simba_unsigned_native in_dataOffset)
 Set the data offset.
void SetDataPointer (void *in_dataBasePtr)
 Set the base data pointer.
void SetLengthOffset (simba_unsigned_native in_lengthOffset)
 Set the length offset.
void SetLengthPointer (simba_signed_native *in_lengthBasePtr)
 Set the base length pointer.

Detailed Description

Class implementing the column segment for fixed row sizes.

This strategy is usable whenever the data and length pointers for the next row can be computed by adding a constant offset (the offset for the data and the one for the length can have different values). This should be usable if the DSII retrieves and stores the various rows and related lengths in either independent arrays per column or in a matrix with fixed column size.


Constructor & Destructor Documentation

FixedRowSizeColumnSegment ( simba_unsigned_native  in_numberRows = 0  )  [inline]

Constructor.

Parameters:
in_numberRows Number of rows this segment covers. 0 by default. Can be updated later by calling SetNumberRows().
FixedRowSizeColumnSegment ( void *  in_dataBasePtr,
simba_unsigned_native  in_dataOffset,
simba_signed_native in_lengthBasePtr,
simba_unsigned_native  in_lengthOffset,
simba_unsigned_native  in_numberRows = 0 
) [inline]

Constructor.

Parameters:
in_dataBasePtr Pointer where the data for the first row is stored. (NOT OWN)
in_dataOffset Offset to add to the data pointer to get to the next row.
in_lengthBasePtr Pointer where the length indicator for the first row is stored. (NOT OWN)
in_lengthOffset Offset to add to the length pointer to get to the next row.
in_numberRows Number of rows this segment covers. 0 by default. Can be updated later by calling SetNumberRows().

Member Function Documentation

void GetAttributes ( void *&  out_dataBasePtr,
simba_unsigned_native out_dataOffset,
simba_signed_native *&  out_lengthBasePtr,
simba_unsigned_native out_lengthOffset,
simba_unsigned_native out_numberRows 
) const [inline]

Get value of all attributes at once.

Parameters:
out_dataBasePtr Pointer where the data for the first row is stored. (NOT OWN)
out_dataOffset Offset to add to the data pointer to get to the next row.
out_lengthBasePtr Pointer where the length indicator for the first row is stored. (NOT OWN)
out_lengthOffset Offset to add to the length pointer to get to the next row.
out_numberRows Number of rows this segment covers.
void GetAttributes ( void *&  out_dataBasePtr,
simba_unsigned_native out_dataOffset,
simba_signed_native *&  out_lengthBasePtr,
simba_unsigned_native out_lengthOffset 
) const [inline]

Get value of all attributes at once.

Parameters:
out_dataBasePtr Pointer where the data for the first row is stored. (NOT OWN)
out_dataOffset Offset to add to the data pointer to get to the next row.
out_lengthBasePtr Pointer where the length indicator for the first row is stored. (NOT OWN)
out_lengthOffset Offset to add to the length pointer to get to the next row.
simba_unsigned_native GetDataOffset (  )  const [inline]

Get data offset.

Returns:
Data offset.
void* GetDataPointer (  )  const [inline]

Get data pointer.

Returns:
Data pointer. (NOT OWN)
simba_unsigned_native GetLengthOffset (  )  const [inline]

Get length offset.

Returns:
Length offset.
simba_signed_native* GetLengthPointer (  )  const [inline]

Get length pointer.

Returns:
Length pointer. (NOT OWN)
void SetAttributes ( void *  in_dataBasePtr,
simba_unsigned_native  in_dataOffset,
simba_signed_native in_lengthBasePtr,
simba_unsigned_native  in_lengthOffset,
simba_unsigned_native  in_numberRows = 0 
) [inline]

Set all attributes at once.

Parameters:
in_dataBasePtr Pointer where the data for the first row is stored. (NOT OWN)
in_dataOffset Offset to add to the data pointer to get to the next row.
in_lengthBasePtr Pointer where the length indicator for the first row is stored. (NOT OWN)
in_lengthOffset Offset to add to the length pointer to get to the next row.
in_numberRows Number of rows this segment covers. 0 by default.
void SetDataOffset ( simba_unsigned_native  in_dataOffset  )  [inline]

Set the data offset.

Parameters:
in_dataOffset Offset to add to the data pointer to get to the next row.
void SetDataPointer ( void *  in_dataBasePtr  )  [inline]

Set the base data pointer.

Parameters:
in_dataBasePtr Pointer where the data for the first row is stored. (NOT OWN)
void SetLengthOffset ( simba_unsigned_native  in_lengthOffset  )  [inline]

Set the length offset.

Parameters:
in_lengthOffset Offset to add to the length pointer to get to the next row.
void SetLengthPointer ( simba_signed_native in_lengthBasePtr  )  [inline]

Set the base length pointer.

Parameters:
in_lengthBasePtr Pointer where the length indicator for the first row is stored. (NOT OWN)

The documentation for this class was generated from the following file:

Generated on Wed May 17 14:21:18 2017 for SimbaEngine 10.1.3.1011 by simba