LikeNode Struct Reference

Struct that defines the nodes which contain parts of the parsed LIKE pattern. More...

List of all members.

Public Member Functions

LikeVector::const_iterator GetBackTrackNode (const LikeVector &in_LikeVector) const
 Get the backtrack node.
 LikeNode (simba_int32 in_underscoreSkipCount, simba_int32 in_backtrackIndex)
 Construct a SKIP NODE.
 LikeNode (LikeNodeType in_type, simba_int32 in_prevIndex, simba_int32 in_currIndex, simba_int32 in_backTrackIndex, const simba_byte *in_pattern)
 Constructor for for LITERAL AND SEARCH nodes.
 LikeNode ()
 Default Constructor.

Public Attributes

simba_int32 m_backTrackIndex
 The iterator to the backtrack node.
simba_int32 m_byteLength
 The length of the byte array in bytes.
const void * m_constByteArray
 Points to a const position in the pattern. (NOT OWN).
LikeNodeType m_nodeType
 The type of like node.
simba_int32 m_skipNGraphemeClusters
 The number of grapheme clusters to skip, 0 by default.

Detailed Description

Struct that defines the nodes which contain parts of the parsed LIKE pattern.


Constructor & Destructor Documentation

LikeNode (  )  [inline]

Default Constructor.

LikeNode ( LikeNodeType  in_type,
simba_int32  in_prevIndex,
simba_int32  in_currIndex,
simba_int32  in_backTrackIndex,
const simba_byte *  in_pattern 
) [inline]

Constructor for for LITERAL AND SEARCH nodes.

Parameters:
in_type The type of LikeNode.
in_prevIndex The previous index.
in_currIndex The current index.
in_backTrackIndex The backtrack index for node backtracking.
in_pattern The input pattern to be used for node population. (NOT OWN)
LikeNode ( simba_int32  in_underscoreSkipCount,
simba_int32  in_backtrackIndex 
) [inline]

Construct a SKIP NODE.

Parameters:
in_underscoreSkipCount The number of graphemes to skip.
in_backtrackIndex The backtrack index for node backtracking.

Member Function Documentation

LikeVector::const_iterator GetBackTrackNode ( const LikeVector in_LikeVector  )  const [inline]

Get the backtrack node.

Returns:
the backtrack LikeNode.

Member Data Documentation

simba_int32 m_backTrackIndex

The iterator to the backtrack node.

simba_int32 m_byteLength

The length of the byte array in bytes.

const void* m_constByteArray

Points to a const position in the pattern. (NOT OWN).

The type of like node.

The number of grapheme clusters to skip, 0 by default.


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

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