libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
Loading...
Searching...
No Matches
GblITableVariant Struct Reference

#include <gimbal_itable_variant.h>

Inheritance diagram for GblITableVariant:
GblObject GblApp GblArenaAllocator GblCmdParser GblContext GblException GblLogger GblMainLoop GblOptionGroup GblScanner GblSettings GblTask GblTestSuite GblThread

Detailed Description

Adds Lua table-like functionality to GblVariant-compatible types.

GblITableVariant is an extension interface of GblIVariant. It adds additional methods for implementing subscripting and iteration behavior on a GblVariant-compatible type.

Note
This whole mechanism is was inspired by Lua's metatables, and the virtual methods within the interface class are analogous to metamethods
See also
GblITableVariantClass

The documentation for this struct was generated from the following file: