ALib C++ Library
Library Version: 2312 R0
Documentation generated by doxygen
Public Types | Public Fields | Public Methods | List of all members
DomainSubstitutionRule Struct Reference
Collaboration diagram for DomainSubstitutionRule:
[legend]

Class Description

Domain substitution rules.

Definition at line 64 of file loxpimpl.cpp.

Public Types

enum  Type { Exact, StartsWith, EndsWith, Substring }
 

Public Fields

NString32 Replacement
 The replacement.
 
NString32 Search
 The path to search.
 
Type type
 

Public Methods

 DomainSubstitutionRule (const NString &s, const NString &r)
 

Member Enumeration Documentation

◆ Type

enum Type
strong

Rule types.

Enumerator
Exact 

Exact match.

StartsWith 

Starts with match.

EndsWith 

Ends with match.

Substring 

Any sub-string.

Definition at line 67 of file loxpimpl.cpp.

Constructor & Destructor Documentation

◆ DomainSubstitutionRule()

DomainSubstitutionRule ( const NString s,
const NString r 
)
inline

Constructor.

Parameters
sThe path to search.
rThe replacement.

Definition at line 84 of file loxpimpl.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ type

Type type

Denotes the type of the rule, depending of what was set in originally as search path

Definition at line 75 of file loxpimpl.cpp.


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