record TgoBsonRegularExpression

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TgoBsonRegularExpression = record

Description

A BSON Regular Expression

Overview

Methods

class function Create(const APattern: String): TgoBsonRegularExpression; overload; static;
class function Create(const APattern, AOptions: String): TgoBsonRegularExpression; overload; static;
class operator Implicit(const A: String): TgoBsonRegularExpression; static;
class operator Implicit(const A: TgoBsonRegularExpression): TgoBsonValue; static;
class operator Equal(const A, B: TgoBsonRegularExpression): Boolean; static;
class operator NotEqual(const A, B: TgoBsonRegularExpression): Boolean; static;
function IsNil: Boolean; inline;
procedure SetNil; inline;
function Clone: TgoBsonRegularExpression; inline;
function DeepClone: TgoBsonRegularExpression; inline;
function ToBson: TBytes; inline;
function ToJson: String; overload; inline;
function ToJson(const ASettings: TgoJsonWriterSettings): String; overload; inline;

Properties

property Pattern: String read GetPattern;
property Options: String read GetOptions;

Description

Methods

class function Create(const APattern: String): TgoBsonRegularExpression; overload; static;

Creates a BSON Regular Expression.

Parameters
APattern
the regex pattern
Returns

The BSON Regular Expression

class function Create(const APattern, AOptions: String): TgoBsonRegularExpression; overload; static;

Creates a BSON Regular Expression.

Parameters
APattern
the regex pattern
AOptions
the regex options
Returns

The BSON Regular Expression

class operator Implicit(const A: String): TgoBsonRegularExpression; static;

Implicitly converts a regex pattern String to a BSON Regular Expression

class operator Implicit(const A: TgoBsonRegularExpression): TgoBsonValue; static;

Implicitly casts a BSON Regular Expression to a BSON value.

class operator Equal(const A, B: TgoBsonRegularExpression): Boolean; static;

See TgoBsonValue.Equal

class operator NotEqual(const A, B: TgoBsonRegularExpression): Boolean; static;

See TgoBsonValue.NotEqual

function IsNil: Boolean; inline;

See TgoBsonValue.IsNil

procedure SetNil; inline;

See TgoBsonValue.SetNil

function Clone: TgoBsonRegularExpression; inline;

See TgoBsonValue.Clone

function DeepClone: TgoBsonRegularExpression; inline;

See TgoBsonValue.DeepClone

function ToBson: TBytes; inline;

See TgoBsonValue.ToBson

function ToJson: String; overload; inline;

See TgoBsonValue.ToJson

function ToJson(const ASettings: TgoJsonWriterSettings): String; overload; inline;

See TgoBsonValue.ToJson

Properties

property Pattern: String read GetPattern;

The regex pattern

property Options: String read GetOptions;

The regex options


Generated by P2PasDoc 0.13.0 on 2017-04-25 12:54:26