iDRS™ SDK 16
Loading...
Searching...
No Matches
CSearchContext_interface.h
Go to the documentation of this file.
1
7#ifndef CSEARCHCONTEXT_INTERFACE_H
8
9#define CSEARCHCONTEXT_INTERFACE_H
10
11#include "CObjPtr_interface.h"
13#include "ArrayInterface.h"
14
15#include "idrs_common.h"
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
58
125
133enum SearchType CSearchContext_GetType(const CSearchContext argCSearchContext, idrs_exception *pargException);
134
146void CSearchContext_SetIdentifier(CSearchContext argCSearchContext, const idrs_string strIdentifier, idrs_exception *pargException);
147
158const idrs_string CSearchContext_GetIdentifier(const CSearchContext argCSearchContext, idrs_exception *pargException);
159
177CSearchContext CSearchContext_FollowedBy(CSearchContext argCSearchContext, enum MatchPosition evMatchPosition, const CSearchContext objContext, idrs_exception *pargException);
178
187CSearchContextArray ArrayInterface_Create_CSearchContextArray(idrs_exception *pargException);
188
189#ifdef __cplusplus
190}
191#endif /* __cplusplus */
192
193#endif /* CSEARCHCONTEXT_INTERFACE_H */
Interface for TObjPtrArray wrapper.
Interface for CObjPtr wrapper.
SearchType
Types of searches supported.
Definition CSearchContext_interface.h:24
@ SearchNumber
Search for occurrences matching number formats, including eventual prefixes or suffixes.
Definition CSearchContext_interface.h:32
@ SearchText
Search for occurrences matching a provided text.
Definition CSearchContext_interface.h:48
@ SearchDate
Search for occurrences matching date formats.
Definition CSearchContext_interface.h:41
@ SearchRegex
Search for occurrences matching a provided regex.
Definition CSearchContext_interface.h:55
CSearchContextArray ArrayInterface_Create_CSearchContextArray(idrs_exception *pargException)
Creates a new CSearchContextArray object.
void CSearchContext_SetIdentifier(CSearchContext argCSearchContext, const idrs_string strIdentifier, idrs_exception *pargException)
Sets a unique identifier to the context.
CSearchContext CSearchContext_FollowedBy(CSearchContext argCSearchContext, enum MatchPosition evMatchPosition, const CSearchContext objContext, idrs_exception *pargException)
Specifies the next context to be searched for, after the current context has been matched.
const idrs_string CSearchContext_GetIdentifier(const CSearchContext argCSearchContext, idrs_exception *pargException)
Gets the context identifier.
MatchPosition
Position of a search match in the context of chained searches.
Definition CSearchContext_interface.h:65
@ MatchPositionUpRight
The following match must be found on top right of the current match.
Definition CSearchContext_interface.h:108
@ MatchPositionLeft
The following match must be found on the left of the current match.
Definition CSearchContext_interface.h:87
@ MatchPositionDownRight
The following match must be found on bottom right of the current match.
Definition CSearchContext_interface.h:122
@ MatchPositionUp
The following match must be found on top of the current match.
Definition CSearchContext_interface.h:73
@ MatchPositionUpLeft
The following match must be found on top left of the current match.
Definition CSearchContext_interface.h:101
@ MatchPositionDownLeft
The following match must be found on bottom left of the current match.
Definition CSearchContext_interface.h:115
@ MatchPositionRight
The following match must be found on the right of the current match.
Definition CSearchContext_interface.h:94
@ MatchPositionDown
The following match must be found on bottom of the current match.
Definition CSearchContext_interface.h:80
enum SearchType CSearchContext_GetType(const CSearchContext argCSearchContext, idrs_exception *pargException)
Gets the context search type.
Base class for data search contexts.
Class that handles a string of characters.
Interface for idrs_string wrapper.