LicenseSpring C++ SDK  7.31.0
Easily add Software Licensing to your application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
LicenseSpring::InstallFileFilter Struct Reference

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. More...
 
 InstallFileFilter (const char *channel, const char *env=nullptr)
 Constructs filter with given channel and environment from c-strings. More...
 
 Environment (env)
 

Public Attributes

 __pad0__: Channel( channel )
 Constructs filter with given channel and environment. More...
 
std::string Channel
 Channel from where installation file should be requested. More...
 
std::string Environment
 Environment for which installation file should be requested. More...
 

Detailed Description

Helper struct for filtering installation files by environment and channel.

See Also
LicenseManager::getInstallationFile, getVersionList and License::check

Definition at line 18 of file InstallationFile.h.

Constructor & Destructor Documentation

LicenseSpring::InstallFileFilter::InstallFileFilter ( )
default

Default constructor, creates empty filter. Corresponds to default channel and environment.

LicenseSpring::InstallFileFilter::InstallFileFilter ( const char *  channel,
const char *  env = nullptr 
)
inline

Constructs filter with given channel and environment from c-strings.

Parameters
channelChannel to filter by
envEnvironment to filter by

Definition at line 26 of file InstallationFile.h.

Member Function Documentation

LicenseSpring::InstallFileFilter::Environment ( env  )
inline

Definition at line 36 of file InstallationFile.h.

Member Data Documentation

LicenseSpring::InstallFileFilter::__pad0__

Constructs filter with given channel and environment.

Parameters
channelChannel to filter by
envEnvironment to filter by

Definition at line 36 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.


The documentation for this struct was generated from the following file: