![]() |
LicenseSpring C++ SDK 7.31.0
Easily add Software Licensing to your application
|
Helper struct for filtering installation files by environment and channel. More...
#include <LicenseSpring/InstallationFile.h>
Public Member Functions | |
InstallFileFilter ()=default | |
Default constructor, creates empty filter. Corresponds to default channel and environment. | |
InstallFileFilter (const char *channel, const char *env=nullptr) | |
Constructs filter with given channel and environment from c-strings. | |
InstallFileFilter (const std::string &channel, const std::string &env=std::string()) | |
Constructs filter with given channel and environment. | |
Public Attributes | |
std::string | Channel |
Channel from where installation file should be requested. | |
std::string | Environment |
Environment for which installation file should be requested. | |
Helper struct for filtering installation files by environment and channel.
Definition at line 18 of file InstallationFile.h.
|
default |
Default constructor, creates empty filter. Corresponds to default channel and environment.
|
inline |
Constructs filter with given channel and environment from c-strings.
channel | Channel to filter by |
env | Environment to filter by |
Definition at line 26 of file InstallationFile.h.
|
inline |
Constructs filter with given channel and environment.
channel | Channel to filter by |
env | Environment to filter by |
Definition at line 35 of file InstallationFile.h.
std::string LicenseSpring::InstallFileFilter::Channel |
Channel from where installation file should be requested.
For example can be "prod", "dev", whatever. Empty string means default channel.
Definition at line 40 of file InstallationFile.h.
std::string LicenseSpring::InstallFileFilter::Environment |
Environment for which installation file should be requested.
For example can be "win", "win32", "win64", "mac", "linux", "linux32", "linux64".
Definition at line 44 of file InstallationFile.h.