Chromium Embedded Framework (CEF)
131.2.1+ge081753+chromium-131.0.6778.13
|
Template class that provides common functionality for CEF structure wrapping. More...
#include "include/internal/cef_types_wrappers.h"
Public Types | |
using | struct_type = typename traits::struct_type |
Public Member Functions | |
CefStructBase () | |
virtual | ~CefStructBase () |
CefStructBase (const CefStructBase &r) | |
CefStructBase (const struct_type &r) | |
void | AttachTo (struct_type &source) |
Attach to the source structure's existing values. More... | |
void | DetachTo (struct_type &target) |
Relinquish ownership of values to the target structure. More... | |
void | Set (const struct_type &source, bool copy) |
Set this object's values. More... | |
CefStructBase & | operator= (const CefStructBase &s) |
CefStructBase & | operator= (const struct_type &s) |
Protected Member Functions | |
void | Init () |
Static Protected Member Functions | |
static void | Clear (struct_type *s) |
Protected Attributes | |
struct_type * | attached_to_ |
Template class that provides common functionality for CEF structure wrapping.
Use only with non-POD types that benefit from referencing unowned members.
using CefStructBase< traits >::struct_type = typename traits::struct_type |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
Attach to the source structure's existing values.
DetachTo() can be called to insert the values back into the existing structure.
|
inlinestaticprotected |
|
inline |
Relinquish ownership of values to the target structure.
|
inlineprotected |
|
inline |
|
inline |
|
inline |
Set this object's values.
If |copy| is true the source structure's values will be copied instead of referenced.
|
protected |