|
| EnvironmentInfo () |
| Default constructor.
|
|
| EnvironmentInfo (const std::string &fileName) |
| Construct EnvironmentInfo by loading from file.
|
|
std::string | serialize () const |
| Serialize to a string.
|
|
template<typename... Args> |
| EnvironmentInfo (Args &&...args) |
| Constructor taking variadic number of arguments.
|
|
template<typename... Args> |
void | set (Args &&...args) |
| Set multiple arguments.
|
|
template<typename... Args> |
EnvironmentInfo | copyWith (Args &&...args) const |
| Returns a copy of this object with the given argument(s) set to the new value(s)
|
|
const Platform & | platform () const |
| Get Platform.
|
|
Platform & | platform () |
| Get Platform.
|
|
EnvironmentInfo & | set (const Platform &value) |
| Set Platform.
|
|
EnvironmentInfo & | set (const Platform::CPU &value) |
| Set Platform::CPU.
|
|
EnvironmentInfo & | set (const Platform::CPU::Architecture &value) |
| Set Platform::CPU::Architecture.
|
|
EnvironmentInfo & | set (const Platform::CPU::ModelName &value) |
| Set Platform::CPU::ModelName.
|
|
EnvironmentInfo & | set (const Platform::OS &value) |
| Set Platform::OS.
|
|
EnvironmentInfo & | set (const Platform::OS::ID &value) |
| Set Platform::OS::ID.
|
|
EnvironmentInfo & | set (const Platform::OS::Version &value) |
| Set Platform::OS::Version.
|
|
const UserToolchain & | userToolchain () const |
| Get UserToolchain.
|
|
UserToolchain & | userToolchain () |
| Get UserToolchain.
|
|
EnvironmentInfo & | set (const UserToolchain &value) |
| Set UserToolchain.
|
|
EnvironmentInfo & | set (const UserToolchain::Compiler &value) |
| Set UserToolchain::Compiler.
|
|
EnvironmentInfo & | set (const UserToolchain::Compiler::ID &value) |
| Set UserToolchain::Compiler::ID.
|
|
EnvironmentInfo & | set (const UserToolchain::Compiler::Version &value) |
| Set UserToolchain::Compiler::Version.
|
|
EnvironmentInfo & | set (const UserToolchain::CxxStandard &value) |
| Set UserToolchain::CxxStandard.
|
|
EnvironmentInfo & | set (const UserToolchain::StandardLibrary &value) |
| Set UserToolchain::StandardLibrary.
|
|
EnvironmentInfo & | set (const UserToolchain::StandardLibrary::ID &value) |
| Set UserToolchain::StandardLibrary::ID.
|
|
EnvironmentInfo & | set (const UserToolchain::StandardLibrary::Version &value) |
| Set UserToolchain::StandardLibrary::Version.
|
|
const Wrapper & | wrapper () const |
| Get Wrapper.
|
|
Wrapper & | wrapper () |
| Get Wrapper.
|
|
EnvironmentInfo & | set (const Wrapper &value) |
| Set Wrapper.
|
|
template<typename T , typename std::enable_if< std::is_same< T, EnvironmentInfo::Platform >::value, int >::type = 0> |
const EnvironmentInfo::Platform & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, EnvironmentInfo::Platform::CPU >::value, int >::type = 0> |
const EnvironmentInfo::Platform::CPU & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, EnvironmentInfo::Platform::CPU::Architecture >::value, int >::type = 0> |
const EnvironmentInfo::Platform::CPU::Architecture & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, EnvironmentInfo::Platform::CPU::ModelName >::value, int >::type = 0> |
const EnvironmentInfo::Platform::CPU::ModelName & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, EnvironmentInfo::Platform::OS >::value, int >::type = 0> |
const EnvironmentInfo::Platform::OS & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, EnvironmentInfo::Platform::OS::ID >::value, int >::type = 0> |
const EnvironmentInfo::Platform::OS::ID & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, EnvironmentInfo::Platform::OS::Version >::value, int >::type = 0> |
const EnvironmentInfo::Platform::OS::Version & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, EnvironmentInfo::UserToolchain >::value, int >::type = 0> |
const EnvironmentInfo::UserToolchain & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, EnvironmentInfo::UserToolchain::Compiler >::value, int >::type = 0> |
const EnvironmentInfo::UserToolchain::Compiler & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, EnvironmentInfo::UserToolchain::Compiler::ID >::value, int >::type = 0> |
const EnvironmentInfo::UserToolchain::Compiler::ID & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, EnvironmentInfo::UserToolchain::Compiler::Version >::value, int >::type = 0> |
const EnvironmentInfo::UserToolchain::Compiler::Version & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, EnvironmentInfo::UserToolchain::CxxStandard >::value, int >::type = 0> |
const EnvironmentInfo::UserToolchain::CxxStandard & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, EnvironmentInfo::UserToolchain::StandardLibrary >::value, int >::type = 0> |
const EnvironmentInfo::UserToolchain::StandardLibrary & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, EnvironmentInfo::UserToolchain::StandardLibrary::ID >::value, int >::type = 0> |
const EnvironmentInfo::UserToolchain::StandardLibrary::ID & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, EnvironmentInfo::UserToolchain::StandardLibrary::Version >::value, int >::type = 0> |
const EnvironmentInfo::UserToolchain::StandardLibrary::Version & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, EnvironmentInfo::Wrapper >::value, int >::type = 0> |
const EnvironmentInfo::Wrapper & | get () const |
|
template<size_t i, typename std::enable_if< i==0, int >::type = 0> |
const EnvironmentInfo::Platform & | get () const |
|
template<size_t i, typename std::enable_if< i==1, int >::type = 0> |
const EnvironmentInfo::UserToolchain & | get () const |
|
template<size_t i, typename std::enable_if< i==2, int >::type = 0> |
const EnvironmentInfo::Wrapper & | get () const |
|
template<typename F > |
void | forEach (const F &f) const |
| Run the given function on each direct member with the value of the member as parameter.
|
|
template<typename F > |
void | forEach (const F &f) |
| Run the given function on each direct member with the value of the member as parameter.
|
|
bool | operator== (const EnvironmentInfo &other) const |
| Equality operator.
|
|
bool | operator!= (const EnvironmentInfo &other) const |
| Inequality operator.
|
|
std::string | toString () const |
| Get the value as string.
|
|
void | save (const std::string &fileName) const |
| Save to the given file.
|
|
void | load (const std::string &fileName) |
| Load from the given file.
|
|
Information about the current toolchain and platform.