Files
common/CEF4Delphi/win32/hpps/uCEFDictionaryValue.hpp
2026-06-12 23:18:12 +08:00

106 lines
4.5 KiB
C++

// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'uCEFDictionaryValue.pas' rev: 37.00 (Windows)
#ifndef uCEFDictionaryValueHPP
#define uCEFDictionaryValueHPP
#pragma delphiheader begin
#pragma option push
#if defined(__BORLANDC__) && !defined(__clang__)
#pragma option -w- // All warnings off
#pragma option -Vx // Zero-length empty class member
#endif
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
#include <System.Classes.hpp>
#include <System.SysUtils.hpp>
#include <uCEFBaseRefCounted.hpp>
#include <uCEFInterfaces.hpp>
#include <uCEFTypes.hpp>
//-- user supplied -----------------------------------------------------------
namespace Ucefdictionaryvalue
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TCefDictionaryValueRef;
//-- type declarations -------------------------------------------------------
#pragma pack(push,4)
class PASCALIMPLEMENTATION TCefDictionaryValueRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
{
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
protected:
bool __fastcall IsValid();
bool __fastcall isOwned();
bool __fastcall IsReadOnly();
bool __fastcall IsSame(const Ucefinterfaces::_di_ICefDictionaryValue that);
bool __fastcall IsEqual(const Ucefinterfaces::_di_ICefDictionaryValue that);
Ucefinterfaces::_di_ICefDictionaryValue __fastcall Copy(bool excludeEmptyChildren);
System::NativeUInt __fastcall GetSize();
bool __fastcall Clear();
bool __fastcall HasKey(const Uceftypes::ustring key);
bool __fastcall GetKeys(System::Classes::TStrings* const keys);
bool __fastcall Remove(const Uceftypes::ustring key);
Uceftypes::TCefValueType __fastcall GetType(const Uceftypes::ustring key);
Ucefinterfaces::_di_ICefValue __fastcall GetValue(const Uceftypes::ustring key);
bool __fastcall GetBool(const Uceftypes::ustring key);
int __fastcall GetInt(const Uceftypes::ustring key);
double __fastcall GetDouble(const Uceftypes::ustring key);
Uceftypes::ustring __fastcall GetString(const Uceftypes::ustring key);
Ucefinterfaces::_di_ICefBinaryValue __fastcall GetBinary(const Uceftypes::ustring key);
Ucefinterfaces::_di_ICefDictionaryValue __fastcall GetDictionary(const Uceftypes::ustring key);
Ucefinterfaces::_di_ICefListValue __fastcall GetList(const Uceftypes::ustring key);
bool __fastcall SetValue(const Uceftypes::ustring key, const Ucefinterfaces::_di_ICefValue value);
bool __fastcall SetNull(const Uceftypes::ustring key);
bool __fastcall SetBool(const Uceftypes::ustring key, bool value);
bool __fastcall SetInt(const Uceftypes::ustring key, int value);
bool __fastcall SetDouble(const Uceftypes::ustring key, double value);
bool __fastcall SetString(const Uceftypes::ustring key, const Uceftypes::ustring value);
bool __fastcall SetBinary(const Uceftypes::ustring key, const Ucefinterfaces::_di_ICefBinaryValue value);
bool __fastcall SetDictionary(const Uceftypes::ustring key, const Ucefinterfaces::_di_ICefDictionaryValue value);
bool __fastcall SetList(const Uceftypes::ustring key, const Ucefinterfaces::_di_ICefListValue value);
public:
__classmethod Ucefinterfaces::_di_ICefDictionaryValue __fastcall UnWrap(void * data);
__classmethod Ucefinterfaces::_di_ICefDictionaryValue __fastcall New();
public:
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefDictionaryValueRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefDictionaryValueRef() { }
private:
void *__ICefDictionaryValue; // Ucefinterfaces::ICefDictionaryValue
public:
#if defined(MANAGED_INTERFACE_OPERATORS)
// {B9638559-54DC-498C-8185-233EEF12BC69}
operator Ucefinterfaces::_di_ICefDictionaryValue()
{
Ucefinterfaces::_di_ICefDictionaryValue intf;
this->GetInterface(intf);
return intf;
}
#else
operator Ucefinterfaces::ICefDictionaryValue*(void) { return (Ucefinterfaces::ICefDictionaryValue*)&__ICefDictionaryValue; }
#endif
};
#pragma pack(pop)
//-- var, const, procedure ---------------------------------------------------
} /* namespace Ucefdictionaryvalue */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDICTIONARYVALUE)
using namespace Ucefdictionaryvalue;
#endif
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // uCEFDictionaryValueHPP