Go to the documentation of this file.
10 #ifndef LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_OBJCXX_PLATFORMIOSSIMULATORCORESIMULATORSUPPORT_H
11 #define LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_OBJCXX_PLATFORMIOSSIMULATORCORESIMULATORSUPPORT_H
18 #include <objc/objc.h>
27 #include "llvm/ADT/Optional.h"
57 explicit operator bool()
const {
return !
m_versions.empty(); }
83 explicit operator bool();
106 explicit operator bool()
const {
return !
m_versions.empty(); }
125 explicit operator bool();
153 explicit operator bool();
220 #endif // LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_OBJCXX_PLATFORMIOSSIMULATORCORESIMULATORSUPPORT_H
bool operator<(const OSVersion &lhs, const OSVersion &rhs)
unsigned int GetVersionAtIndex(size_t idx) const
std::string GetName() const
DeviceType GetDeviceType()
lldb_private::ConstString GetProductFamily()
#define LLDB_INVALID_PROCESS_ID
void ForEach(std::function< bool(const Device &)> f)
size_t GetNumVersions() const
size_t GetNumVersions() const
std::vector< unsigned int > m_versions
bool operator!=(const OSVersion &lhs, const OSVersion &rhs)
Process Spawn(lldb_private::ProcessLaunchInfo &launch_info)
bool operator==(const OSVersion &lhs, const OSVersion &rhs)
lldb_private::Status m_error
ProductFamilyID GetProductFamilyID()
lldb_private::Status GetError()
bool Shutdown(lldb_private::Status &err)
static llvm::raw_ostream & error(Stream &strm)
Device GetFanciest(DeviceType::ProductFamilyID dev_id)
unsigned long int NSUInteger
DeviceRuntime GetDeviceRuntime()
ModelIdentifier GetModelIdentifier()
lldb_private::ConstString GetIdentifier()
llvm::Optional< DeviceType > m_dev_type
Device GetDeviceAtIndex(size_t idx)
std::string GetUDID() const
bool operator>(const OSVersion &lhs, const OSVersion &rhs)
std::string GetFamily() const
llvm::Optional< OSVersion > m_os_version
const char * GetBuild() const
string(SUBSTRING ${p} 10 -1 pStripped) if($
std::vector< unsigned int > m_versions
DeviceSet GetDevicesIf(std::function< bool(Device)> f)
llvm::Optional< ModelIdentifier > m_model_identifier
DeviceSet GetDevices(DeviceType::ProductFamilyID dev_id)
static DeviceSet GetAvailableDevices(const char *developer_dir)
bool Boot(lldb_private::Status &err)
llvm::Optional< DeviceRuntime > m_dev_runtime
unsigned int GetVersionAtIndex(size_t idx) const
static DeviceSet GetAllDevices(const char *developer_dir)