LLDB  mainline
Public Types | Public Member Functions | Private Attributes | List of all members
CoreSimulatorSupport::DeviceType Class Reference

#include <PlatformiOSSimulatorCoreSimulatorSupport.h>

Collaboration diagram for CoreSimulatorSupport::DeviceType:
Collaboration graph
[legend]

Public Types

enum  ProductFamilyID : int32_t { ProductFamilyID::iPhone = 1, ProductFamilyID::iPad = 2, ProductFamilyID::appleTV = 3, ProductFamilyID::appleWatch = 4 }
 

Public Member Functions

 DeviceType ()
 
 DeviceType (id d)
 
 operator bool ()
 
std::string GetName ()
 
lldb_private::ConstString GetIdentifier ()
 
ModelIdentifier GetModelIdentifier ()
 
lldb_private::ConstString GetProductFamily ()
 
ProductFamilyID GetProductFamilyID ()
 

Private Attributes

id m_dev
 
llvm::Optional< ModelIdentifierm_model_identifier
 

Detailed Description

Definition at line 70 of file PlatformiOSSimulatorCoreSimulatorSupport.h.

Member Enumeration Documentation

◆ ProductFamilyID

Enumerator
iPhone 
iPad 
appleTV 
appleWatch 

Definition at line 72 of file PlatformiOSSimulatorCoreSimulatorSupport.h.

Constructor & Destructor Documentation

◆ DeviceType() [1/2]

CoreSimulatorSupport::DeviceType::DeviceType ( )

Definition at line 69 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

◆ DeviceType() [2/2]

CoreSimulatorSupport::DeviceType::DeviceType ( id  d)

Definition at line 72 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

Member Function Documentation

◆ GetIdentifier()

ConstString CoreSimulatorSupport::DeviceType::GetIdentifier ( )

Definition at line 77 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

References m_dev.

◆ GetModelIdentifier()

CoreSimulatorSupport::ModelIdentifier CoreSimulatorSupport::DeviceType::GetModelIdentifier ( )

◆ GetName()

std::string CoreSimulatorSupport::DeviceType::GetName ( )

Definition at line 203 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

References m_dev.

◆ GetProductFamily()

ConstString CoreSimulatorSupport::DeviceType::GetProductFamily ( )

Definition at line 81 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

References m_dev.

◆ GetProductFamilyID()

CoreSimulatorSupport::DeviceType::ProductFamilyID CoreSimulatorSupport::DeviceType::GetProductFamilyID ( )

◆ operator bool()

CoreSimulatorSupport::DeviceType::operator bool ( )
explicit

Definition at line 75 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

References m_dev, and nil.

Member Data Documentation

◆ m_dev

id CoreSimulatorSupport::DeviceType::m_dev
private

◆ m_model_identifier

llvm::Optional<ModelIdentifier> CoreSimulatorSupport::DeviceType::m_model_identifier
private

Definition at line 97 of file PlatformiOSSimulatorCoreSimulatorSupport.h.


The documentation for this class was generated from the following files: