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

#include <unoidl.hxx>

Public Types

enum  Type {
  TYPE_BOOLEAN ,
  TYPE_BYTE ,
  TYPE_SHORT ,
  TYPE_UNSIGNED_SHORT ,
  TYPE_LONG ,
  TYPE_UNSIGNED_LONG ,
  TYPE_HYPER ,
  TYPE_UNSIGNED_HYPER ,
  TYPE_FLOAT ,
  TYPE_DOUBLE
}
 

Public Member Functions

 ConstantValue (bool value)
 
 ConstantValue (sal_Int8 value)
 
 ConstantValue (sal_Int16 value)
 
 ConstantValue (sal_uInt16 value)
 
 ConstantValue (sal_Int32 value)
 
 ConstantValue (sal_uInt32 value)
 
 ConstantValue (sal_Int64 value)
 
 ConstantValue (sal_uInt64 value)
 
 ConstantValue (float value)
 
 ConstantValue (double value)
 

Public Attributes

Type type
 
union {
   bool   booleanValue
 
   sal_Int8   byteValue
 
   sal_Int16   shortValue
 
   sal_uInt16   unsignedShortValue
 
   sal_Int32   longValue
 
   sal_uInt32   unsignedLongValue
 
   sal_Int64   hyperValue
 
   sal_uInt64   unsignedHyperValue
 
   float   floatValue
 
   double   doubleValue
 
}; 
 

Detailed Description

Definition at line 411 of file unoidl.hxx.

Member Enumeration Documentation

◆ Type

Enumerator
TYPE_BOOLEAN 
TYPE_BYTE 
TYPE_SHORT 
TYPE_UNSIGNED_SHORT 
TYPE_LONG 
TYPE_UNSIGNED_LONG 
TYPE_HYPER 
TYPE_UNSIGNED_HYPER 
TYPE_FLOAT 
TYPE_DOUBLE 

Definition at line 412 of file unoidl.hxx.

Constructor & Destructor Documentation

◆ ConstantValue() [1/10]

unoidl::ConstantValue::ConstantValue ( bool  value)
inline

Definition at line 417 of file unoidl.hxx.

References type, TYPE_BOOLEAN, and value.

◆ ConstantValue() [2/10]

unoidl::ConstantValue::ConstantValue ( sal_Int8  value)
inline

Definition at line 419 of file unoidl.hxx.

References type, and value.

◆ ConstantValue() [3/10]

unoidl::ConstantValue::ConstantValue ( sal_Int16  value)
inline

Definition at line 421 of file unoidl.hxx.

References type, TYPE_SHORT, and value.

◆ ConstantValue() [4/10]

unoidl::ConstantValue::ConstantValue ( sal_uInt16  value)
inline

Definition at line 423 of file unoidl.hxx.

References type, and value.

◆ ConstantValue() [5/10]

unoidl::ConstantValue::ConstantValue ( sal_Int32  value)
inline

Definition at line 427 of file unoidl.hxx.

References type, TYPE_LONG, and value.

◆ ConstantValue() [6/10]

unoidl::ConstantValue::ConstantValue ( sal_uInt32  value)
inline

Definition at line 429 of file unoidl.hxx.

References type, and value.

◆ ConstantValue() [7/10]

unoidl::ConstantValue::ConstantValue ( sal_Int64  value)
inline

Definition at line 433 of file unoidl.hxx.

References type, and value.

◆ ConstantValue() [8/10]

unoidl::ConstantValue::ConstantValue ( sal_uInt64  value)
inline

Definition at line 435 of file unoidl.hxx.

References type, and value.

◆ ConstantValue() [9/10]

unoidl::ConstantValue::ConstantValue ( float  value)
inline

Definition at line 439 of file unoidl.hxx.

References type, TYPE_FLOAT, and value.

◆ ConstantValue() [10/10]

unoidl::ConstantValue::ConstantValue ( double  value)
inline

Definition at line 441 of file unoidl.hxx.

References type, TYPE_DOUBLE, and value.

Member Data Documentation

◆ 

union { ... } unoidl::ConstantValue::@3

◆ booleanValue

bool unoidl::ConstantValue::booleanValue

Definition at line 446 of file unoidl.hxx.

Referenced by unoidl::operator==().

◆ byteValue

sal_Int8 unoidl::ConstantValue::byteValue

Definition at line 447 of file unoidl.hxx.

Referenced by unoidl::operator==().

◆ doubleValue

double unoidl::ConstantValue::doubleValue

Definition at line 455 of file unoidl.hxx.

Referenced by unoidl::operator==().

◆ floatValue

float unoidl::ConstantValue::floatValue

Definition at line 454 of file unoidl.hxx.

Referenced by unoidl::operator==().

◆ hyperValue

sal_Int64 unoidl::ConstantValue::hyperValue

Definition at line 452 of file unoidl.hxx.

Referenced by unoidl::operator==().

◆ longValue

sal_Int32 unoidl::ConstantValue::longValue

Definition at line 450 of file unoidl.hxx.

Referenced by unoidl::operator==().

◆ shortValue

sal_Int16 unoidl::ConstantValue::shortValue

Definition at line 448 of file unoidl.hxx.

Referenced by unoidl::operator==().

◆ type

Type unoidl::ConstantValue::type

Definition at line 443 of file unoidl.hxx.

Referenced by unoidl::operator==().

◆ unsignedHyperValue

sal_uInt64 unoidl::ConstantValue::unsignedHyperValue

Definition at line 453 of file unoidl.hxx.

Referenced by unoidl::operator==().

◆ unsignedLongValue

sal_uInt32 unoidl::ConstantValue::unsignedLongValue

Definition at line 451 of file unoidl.hxx.

Referenced by unoidl::operator==().

◆ unsignedShortValue

sal_uInt16 unoidl::ConstantValue::unsignedShortValue

Definition at line 449 of file unoidl.hxx.

Referenced by unoidl::operator==().


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