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

#include <PlatformiOSSimulatorCoreSimulatorSupport.h>

Public Types

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

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 = nullptr
 
std::optional< ModelIdentifierm_model_identifier
 

Detailed Description

Definition at line 70 of file PlatformiOSSimulatorCoreSimulatorSupport.h.

Member Enumeration Documentation

◆ ProductFamilyID

Enumerator
iPhone 
iPad 
appleTV 
appleWatch 
appleXR 

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 71 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

Member Function Documentation

◆ GetIdentifier()

ConstString CoreSimulatorSupport::DeviceType::GetIdentifier ( )

Definition at line 76 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

◆ GetModelIdentifier()

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

Definition at line 169 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

References m_dev.

◆ GetName()

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

Definition at line 198 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

References m_dev.

◆ GetProductFamily()

ConstString CoreSimulatorSupport::DeviceType::GetProductFamily ( )

Definition at line 80 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

◆ GetProductFamilyID()

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

Definition at line 85 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

◆ operator bool()

CoreSimulatorSupport::DeviceType::operator bool ( )
explicit

Definition at line 74 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

Member Data Documentation

◆ m_dev

id CoreSimulatorSupport::DeviceType::m_dev = nullptr
private

Definition at line 97 of file PlatformiOSSimulatorCoreSimulatorSupport.h.

Referenced by GetModelIdentifier(), and GetName().

◆ m_model_identifier

std::optional<ModelIdentifier> CoreSimulatorSupport::DeviceType::m_model_identifier
private

Definition at line 98 of file PlatformiOSSimulatorCoreSimulatorSupport.h.


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