LLVM  4.0.0
Public Member Functions | Public Attributes | List of all members
llvm::pdb::Variant Struct Reference

#include <PDBTypes.h>

Collaboration diagram for llvm::pdb::Variant:
[legend]

Public Member Functions

 Variant ()
 
 Variant (const Variant &Other)
 
 ~Variant ()
 
bool operator== (const Variant &Other) const
 
bool operator!= (const Variant &Other) const
 
Variantoperator= (const Variant &Other)
 

Public Attributes

PDB_VariantType Type
 
union {
   bool   Bool
 
   int8_t   Int8
 
   int16_t   Int16
 
   int32_t   Int32
 
   int64_t   Int64
 
   float   Single
 
   double   Double
 
   uint8_t   UInt8
 
   uint16_t   UInt16
 
   uint32_t   UInt32
 
   uint64_t   UInt64
 
   char *   String
 
Value
 

Detailed Description

Definition at line 275 of file PDBTypes.h.

Constructor & Destructor Documentation

llvm::pdb::Variant::Variant ( )
inline

Definition at line 276 of file PDBTypes.h.

llvm::pdb::Variant::Variant ( const Variant Other)
inline

Definition at line 278 of file PDBTypes.h.

llvm::pdb::Variant::~Variant ( )
inline

Definition at line 282 of file PDBTypes.h.

References llvm::pdb::String.

Member Function Documentation

bool llvm::pdb::Variant::operator!= ( const Variant Other) const
inline

Definition at line 330 of file PDBTypes.h.

Variant& llvm::pdb::Variant::operator= ( const Variant Other)
inline

Definition at line 331 of file PDBTypes.h.

References llvm::pdb::String, String, Type, and Value.

bool llvm::pdb::Variant::operator== ( const Variant Other) const
inline

Definition at line 307 of file PDBTypes.h.

References Bool, Double, Int16, Int32, Int64, Int8, Single, String, Type, UInt16, UInt32, UInt64, UInt8, and VARIANT_EQUAL_CASE.

Member Data Documentation

bool llvm::pdb::Variant::Bool

Definition at line 289 of file PDBTypes.h.

Referenced by llvm::pdb::operator<<(), and operator==().

double llvm::pdb::Variant::Double

Definition at line 295 of file PDBTypes.h.

Referenced by llvm::pdb::operator<<(), and operator==().

int16_t llvm::pdb::Variant::Int16

Definition at line 291 of file PDBTypes.h.

Referenced by llvm::pdb::operator<<(), and operator==().

int32_t llvm::pdb::Variant::Int32

Definition at line 292 of file PDBTypes.h.

Referenced by llvm::pdb::operator<<(), and operator==().

int64_t llvm::pdb::Variant::Int64

Definition at line 293 of file PDBTypes.h.

Referenced by llvm::pdb::operator<<(), and operator==().

int8_t llvm::pdb::Variant::Int8

Definition at line 290 of file PDBTypes.h.

Referenced by llvm::pdb::operator<<(), and operator==().

float llvm::pdb::Variant::Single

Definition at line 294 of file PDBTypes.h.

Referenced by llvm::pdb::operator<<(), and operator==().

char* llvm::pdb::Variant::String
PDB_VariantType llvm::pdb::Variant::Type
uint16_t llvm::pdb::Variant::UInt16

Definition at line 297 of file PDBTypes.h.

Referenced by operator==().

uint32_t llvm::pdb::Variant::UInt32

Definition at line 298 of file PDBTypes.h.

Referenced by llvm::pdb::operator<<(), and operator==().

uint64_t llvm::pdb::Variant::UInt64

Definition at line 299 of file PDBTypes.h.

Referenced by llvm::pdb::operator<<(), and operator==().

uint8_t llvm::pdb::Variant::UInt8

Definition at line 296 of file PDBTypes.h.

Referenced by llvm::pdb::operator<<(), and operator==().

union { ... } llvm::pdb::Variant::Value

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