LibreOffice Module unoidl (master) 1
Public Types | Static Public Member Functions | Public Attributes | List of all members
unoidl::detail::SourceProviderExpr Struct Reference

#include <sourceprovider-parser-requires.hxx>

Public Types

enum  Type {
  TYPE_BOOL ,
  TYPE_INT ,
  TYPE_UINT ,
  TYPE_FLOAT
}
 

Static Public Member Functions

static SourceProviderExpr Bool (bool v)
 
static SourceProviderExpr Int (sal_Int64 v)
 
static SourceProviderExpr Uint (sal_uInt64 v)
 
static SourceProviderExpr Float (double v)
 

Public Attributes

Type type
 
union {
   bool   bval
 
   sal_Int64   ival
 
   sal_uInt64   uval
 
   double   fval
 
}; 
 

Detailed Description

Definition at line 37 of file sourceprovider-parser-requires.hxx.

Member Enumeration Documentation

◆ Type

Enumerator
TYPE_BOOL 
TYPE_INT 
TYPE_UINT 
TYPE_FLOAT 

Definition at line 66 of file sourceprovider-parser-requires.hxx.

Member Function Documentation

◆ Bool()

static SourceProviderExpr unoidl::detail::SourceProviderExpr::Bool ( bool  v)
inlinestatic

Definition at line 38 of file sourceprovider-parser-requires.hxx.

References bval, type, TYPE_BOOL, and v.

◆ Float()

static SourceProviderExpr unoidl::detail::SourceProviderExpr::Float ( double  v)
inlinestatic

Definition at line 59 of file sourceprovider-parser-requires.hxx.

References fval, type, TYPE_FLOAT, and v.

◆ Int()

static SourceProviderExpr unoidl::detail::SourceProviderExpr::Int ( sal_Int64  v)
inlinestatic

Definition at line 45 of file sourceprovider-parser-requires.hxx.

References ival, type, TYPE_INT, and v.

◆ Uint()

static SourceProviderExpr unoidl::detail::SourceProviderExpr::Uint ( sal_uInt64  v)
inlinestatic

Definition at line 52 of file sourceprovider-parser-requires.hxx.

References type, TYPE_UINT, uval, and v.

Member Data Documentation

◆ 

union { ... } unoidl::detail::SourceProviderExpr::@1

◆ bval

bool unoidl::detail::SourceProviderExpr::bval

Definition at line 70 of file sourceprovider-parser-requires.hxx.

Referenced by Bool().

◆ fval

double unoidl::detail::SourceProviderExpr::fval

Definition at line 73 of file sourceprovider-parser-requires.hxx.

Referenced by Float().

◆ ival

sal_Int64 unoidl::detail::SourceProviderExpr::ival

Definition at line 71 of file sourceprovider-parser-requires.hxx.

Referenced by Int().

◆ type

Type unoidl::detail::SourceProviderExpr::type

Definition at line 68 of file sourceprovider-parser-requires.hxx.

Referenced by Bool(), Float(), Int(), and Uint().

◆ uval

sal_uInt64 unoidl::detail::SourceProviderExpr::uval

Definition at line 72 of file sourceprovider-parser-requires.hxx.

Referenced by Uint().


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