Interface TgoBsonDocument._IDocument

DescriptionHierarchyEnclosing ClassFieldsMethodsProperties

Unit

Declaration

type _IDocument = interface(TgoBsonValue._IValue)

Description

@exclude

Attributes
GUID['{9E13B024-904D-44F6-BE16-33D81A0F057F}']

Hierarchy

Enclosing Class

Overview

Methods

Public function GetCount: Integer;
Public function GetAllowDuplicateNames: Boolean;
Public procedure SetAllowDuplicateNames(const Value: Boolean);
Public function GetElement(const AIndex: Integer): TgoBsonElement;
Public procedure GetValue(const AIndex: Integer; out AValue: TgoBsonValue._IValue);
Public procedure SetValue(const AIndex: Integer; const AValue: TgoBsonValue._IValue);
Public procedure GetValueByName(const AName: String; out AValue: TgoBsonValue._IValue);
Public procedure SetValueByName(const AName: String; const AValue: TgoBsonValue._IValue);
Public procedure Add(const AName: String; const AValue: TgoBsonValue._IValue);
Public procedure Get(const AName: String; const ADefault: TgoBsonValue._IValue; out AValue: TgoBsonValue._IValue);
Public function IndexOfName(const AName: String): Integer;
Public function Contains(const AName: String): Boolean;
Public function ContainsValue(const AValue: TgoBsonValue): Boolean;
Public function TryGetElement(const AName: String; out AElement: TgoBsonElement): Boolean;
Public function TryGetValue(const AName: String; out AValue: TgoBsonValue._IValue): Boolean;
Public procedure Remove(const AName: String);
Public procedure Delete(const AIndex: Integer);
Public procedure Clear;
Public procedure Merge(const AOtherDocument: TgoBsonDocument; const AOverwriteExistingElements: Boolean);
Public function ToArray: TArray<TgoBsonElement>;

Properties

Public property AllowDuplicateNames: Boolean read GetAllowDuplicateNames write SetAllowDuplicateNames;
Public property Count: Integer read GetCount;
Public property Elements[constAIndex:Integer]: TgoBsonElement read GetElement;

Description

Methods

Public function GetCount: Integer;
 
Public function GetAllowDuplicateNames: Boolean;
 
Public procedure SetAllowDuplicateNames(const Value: Boolean);
 
Public function GetElement(const AIndex: Integer): TgoBsonElement;
 
Public procedure GetValue(const AIndex: Integer; out AValue: TgoBsonValue._IValue);
 
Public procedure SetValue(const AIndex: Integer; const AValue: TgoBsonValue._IValue);
 
Public procedure GetValueByName(const AName: String; out AValue: TgoBsonValue._IValue);
 
Public procedure SetValueByName(const AName: String; const AValue: TgoBsonValue._IValue);
 
Public procedure Add(const AName: String; const AValue: TgoBsonValue._IValue);
 
Public procedure Get(const AName: String; const ADefault: TgoBsonValue._IValue; out AValue: TgoBsonValue._IValue);
 
Public function IndexOfName(const AName: String): Integer;
 
Public function Contains(const AName: String): Boolean;
 
Public function ContainsValue(const AValue: TgoBsonValue): Boolean;
 
Public function TryGetElement(const AName: String; out AElement: TgoBsonElement): Boolean;
 
Public function TryGetValue(const AName: String; out AValue: TgoBsonValue._IValue): Boolean;
 
Public procedure Remove(const AName: String);
 
Public procedure Delete(const AIndex: Integer);
 
Public procedure Clear;
 
Public procedure Merge(const AOtherDocument: TgoBsonDocument; const AOverwriteExistingElements: Boolean);
 
Public function ToArray: TArray<TgoBsonElement>;
 

Properties

Public property AllowDuplicateNames: Boolean read GetAllowDuplicateNames write SetAllowDuplicateNames;
 
Public property Count: Integer read GetCount;
 
Public property Elements[constAIndex:Integer]: TgoBsonElement read GetElement;
 

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