Kernel Tuning Toolkit
2.3
Loading...
Searching...
No Matches
PlatformInfo.h
Go to the documentation of this file.
1
4
#pragma once
5
6
#include <string>
7
8
#include <
KttPlatform.h
>
9
#include <
KttTypes.h
>
10
11
namespace
ktt
12
{
13
17
class
KTT_API
PlatformInfo
18
{
19
public
:
25
explicit
PlatformInfo
(
const
PlatformIndex
index,
const
std::string& name);
26
31
PlatformIndex
GetIndex
()
const
;
32
37
const
std::string&
GetName
()
const
;
38
43
const
std::string&
GetVendor
()
const
;
44
49
const
std::string&
GetVersion
()
const
;
50
55
const
std::string&
GetExtensions
()
const
;
56
61
std::string
GetString
()
const
;
62
67
void
SetVendor
(
const
std::string& vendor);
68
73
void
SetVersion
(
const
std::string& version);
74
79
void
SetExtensions
(
const
std::string& extensions);
80
81
private
:
82
PlatformIndex
m_Index;
83
std::string m_Name;
84
std::string m_Vendor;
85
std::string m_Version;
86
std::string m_Extensions;
87
};
88
89
}
// namespace ktt
KttPlatform.h
KttTypes.h
ktt::PlatformInfo
Definition
PlatformInfo.h:18
ktt::PlatformInfo::GetVendor
const std::string & GetVendor() const
ktt::PlatformInfo::SetVendor
void SetVendor(const std::string &vendor)
ktt::PlatformInfo::GetExtensions
const std::string & GetExtensions() const
ktt::PlatformInfo::GetName
const std::string & GetName() const
ktt::PlatformInfo::PlatformInfo
PlatformInfo(const PlatformIndex index, const std::string &name)
ktt::PlatformInfo::SetExtensions
void SetExtensions(const std::string &extensions)
ktt::PlatformInfo::GetString
std::string GetString() const
ktt::PlatformInfo::GetVersion
const std::string & GetVersion() const
ktt::PlatformInfo::GetIndex
PlatformIndex GetIndex() const
ktt::PlatformInfo::SetVersion
void SetVersion(const std::string &version)
ktt
Definition
KttPlatform.h:41
ktt::PlatformIndex
uint32_t PlatformIndex
Definition
KttTypes.h:25
Source
Api
Info
PlatformInfo.h
Generated by
1.9.8