GDB (API)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
discriminant_range Struct Reference

#include "gdbtypes.h"

Public Member Functions

bool contains (ULONGEST value, bool is_unsigned) const
 

Public Attributes

ULONGEST low
 
ULONGEST high
 

Detailed Description

Information about a single discriminant.

Definition at line 214 of file gdbtypes.h.

Member Function Documentation

◆ contains()

bool discriminant_range::contains ( ULONGEST  value,
bool  is_unsigned 
) const
inline

Return true if VALUE is contained in this range. IS_UNSIGNED is true if this should be an unsigned comparison; false for signed.

Definition at line 223 of file gdbtypes.h.

Member Data Documentation

◆ high

ULONGEST discriminant_range::high

Definition at line 218 of file gdbtypes.h.

◆ low

ULONGEST discriminant_range::low

The range of values for the variant. This is an inclusive range.

Definition at line 218 of file gdbtypes.h.


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