Class TCefValueRef

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type TCefValueRef = class(TCefBaseRefCountedRef, ICefValue)

Description

This item has no description.

Hierarchy

Overview

Methods

Protected function IsValid: Boolean;
Protected function IsOwned: Boolean;
Protected function IsReadOnly: Boolean;
Protected function IsSame(const that: ICefValue): Boolean;
Protected function IsEqual(const that: ICefValue): Boolean;
Protected function Copy: ICefValue;
Protected function GetType: TCefValueType;
Protected function GetBool: Boolean;
Protected function GetInt: Integer;
Protected function GetDouble: Double;
Protected function GetString: ustring;
Protected function GetBinary: ICefBinaryValue;
Protected function GetDictionary: ICefDictionaryValue;
Protected function GetList: ICefListValue;
Protected function SetNull: Boolean;
Protected function SetBool(value: boolean): Boolean;
Protected function SetInt(value: Integer): Boolean;
Protected function SetDouble(value: Double): Boolean;
Protected function SetString(const value: ustring): Boolean;
Protected function SetBinary(const value: ICefBinaryValue): Boolean;
Protected function SetDictionary(const value: ICefDictionaryValue): Boolean;
Protected function SetList(const value: ICefListValue): Boolean;
Public class function UnWrap(data: Pointer): ICefValue;
Public class function New: ICefValue;

Description

Methods

Protected function IsValid: Boolean;

This item has no description. Showing description inherited from ICefValue.IsValid.

Returns true (1) if the underlying data is valid. This will always be true (1) for simple types. For complex types (binary, dictionary and list) the underlying data may become invalid if owned by another object (e.g. list or dictionary) and that other object is then modified or destroyed. This value object can be re-used by calling Set*() even if the underlying data is invalid.

Protected function IsOwned: Boolean;

This item has no description. Showing description inherited from ICefValue.IsOwned.

Returns true (1) if the underlying data is owned by another object.

Protected function IsReadOnly: Boolean;

This item has no description. Showing description inherited from ICefValue.IsReadOnly.

Returns true (1) if the underlying data is read-only. Some APIs may expose read-only objects.

Protected function IsSame(const that: ICefValue): Boolean;

This item has no description. Showing description inherited from ICefValue.IsSame.

Returns true (1) if this object and |that| object have the same underlying data. If true (1) modifications to this object will also affect |that| object and vice-versa.

Protected function IsEqual(const that: ICefValue): Boolean;

This item has no description. Showing description inherited from ICefValue.IsEqual.

Returns true (1) if this object and |that| object have an equivalent underlying value but are not necessarily the same object.

Protected function Copy: ICefValue;

This item has no description. Showing description inherited from ICefValue.Copy.

Returns a copy of this object. The underlying data will also be copied.

Protected function GetType: TCefValueType;

This item has no description. Showing description inherited from ICefValue.GetType.

Returns the underlying value type.

Protected function GetBool: Boolean;

This item has no description. Showing description inherited from ICefValue.GetBool.

Returns the underlying value as type bool.

Protected function GetInt: Integer;

This item has no description. Showing description inherited from ICefValue.GetInt.

Returns the underlying value as type int.

Protected function GetDouble: Double;

This item has no description. Showing description inherited from ICefValue.GetDouble.

Returns the underlying value as type double.

Protected function GetString: ustring;

This item has no description. Showing description inherited from ICefValue.GetString.

Returns the underlying value as type string.

Protected function GetBinary: ICefBinaryValue;

This item has no description. Showing description inherited from ICefValue.GetBinary.

Returns the underlying value as type binary. The returned reference may become invalid if the value is owned by another object or if ownership is transferred to another object in the future. To maintain a reference to the value after assigning ownership to a dictionary or list pass this object to the set_value() function instead of passing the returned reference to set_binary().

Protected function GetDictionary: ICefDictionaryValue;

This item has no description. Showing description inherited from ICefValue.GetDictionary.

Returns the underlying value as type dictionary. The returned reference may become invalid if the value is owned by another object or if ownership is transferred to another object in the future. To maintain a reference to the value after assigning ownership to a dictionary or list pass this object to the set_value() function instead of passing the returned reference to set_dictionary().

Protected function GetList: ICefListValue;

This item has no description. Showing description inherited from ICefValue.GetList.

Returns the underlying value as type list. The returned reference may become invalid if the value is owned by another object or if ownership is transferred to another object in the future. To maintain a reference to the value after assigning ownership to a dictionary or list pass this object to the set_value() function instead of passing the returned reference to set_list().

Protected function SetNull: Boolean;

This item has no description. Showing description inherited from ICefValue.SetNull.

Sets the underlying value as type null. Returns true (1) if the value was set successfully.

Protected function SetBool(value: boolean): Boolean;

This item has no description. Showing description inherited from ICefValue.SetBool.

Sets the underlying value as type bool. Returns true (1) if the value was set successfully.

Protected function SetInt(value: Integer): Boolean;

This item has no description. Showing description inherited from ICefValue.SetInt.

Sets the underlying value as type int. Returns true (1) if the value was set successfully.

Protected function SetDouble(value: Double): Boolean;

This item has no description. Showing description inherited from ICefValue.SetDouble.

Sets the underlying value as type double. Returns true (1) if the value was set successfully.

Protected function SetString(const value: ustring): Boolean;

This item has no description. Showing description inherited from ICefValue.SetString.

Sets the underlying value as type string. Returns true (1) if the value was set successfully.

Protected function SetBinary(const value: ICefBinaryValue): Boolean;

This item has no description. Showing description inherited from ICefValue.SetBinary.

Sets the underlying value as type binary. Returns true (1) if the value was set successfully. This object keeps a reference to |value| and ownership of the underlying data remains unchanged.

Protected function SetDictionary(const value: ICefDictionaryValue): Boolean;

This item has no description. Showing description inherited from ICefValue.SetDictionary.

Sets the underlying value as type dict. Returns true (1) if the value was set successfully. This object keeps a reference to |value| and ownership of the underlying data remains unchanged.

Protected function SetList(const value: ICefListValue): Boolean;

This item has no description. Showing description inherited from ICefValue.SetList.

Sets the underlying value as type list. Returns true (1) if the value was set successfully. This object keeps a reference to |value| and ownership of the underlying data remains unchanged.

Public class function UnWrap(data: Pointer): ICefValue;

This item has no description.

Public class function New: ICefValue;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.