DSIExtKeySegment Class Reference

A simple immutable class which represents one segment (value) in a SeekCondition. More...

List of all members.

Public Member Functions

 DSIExtKeySegment (const void *in_buffer, simba_uint32 in_length)
 Constructor.
 DSIExtKeySegment (SqlData &in_sqlData)
 Constructor.
 DSIExtKeySegment ()
 Constructor.
const void * GetBuffer () const
 Get a pointer to the value.
simba_uint32 GetLength () const
 Get the length of the segment, in bytes.
bool IsNull () const
 Get whether the segment is NULL.

Detailed Description

A simple immutable class which represents one segment (value) in a SeekCondition.


Constructor & Destructor Documentation

DSIExtKeySegment (  )  [inline]

Constructor.

Creates a DSIExtKeySegment holding NULL data.

DSIExtKeySegment ( SqlData in_sqlData  )  [inline, explicit]

Constructor.

Parameters:
in_sqlData SqlData to get data from.
DSIExtKeySegment ( const void *  in_buffer,
simba_uint32  in_length 
) [inline]

Constructor.

Parameters:
in_buffer Pointer to the segment data. (NOT OWN)
in_length Length of the segment data.

Member Function Documentation

const void* GetBuffer (  )  const [inline]

Get a pointer to the value.

Returns:
A pointer to the value. (NOT OWN)
simba_uint32 GetLength (  )  const [inline]

Get the length of the segment, in bytes.

Returns:
The length of the segment, in bytes.
bool IsNull (  )  const [inline]

Get whether the segment is NULL.

Returns:
true if the segment is NULL, false otherwise.

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

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