10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
LicensingResponse.h
1
#ifndef TENDUKE_EE_LICENSING_LICENSINGRESPONSE_H
2
#define TENDUKE_EE_LICENSING_LICENSINGRESPONSE_H
3
4
#include "./LicensingError.h"
5
6
#include <map>
7
#include <string>
8
9
namespace
tenduke
{
namespace
ee
{
namespace
licensing
{
10
11
16
class
LicensingResponse
17
{
18
public
:
23
explicit
LicensingResponse
(
const
std::map<std::string, tenduke::ee::licensing::LicensingError> &
errors
)
24
:
errors
(
errors
)
25
{}
26
27
virtual
~LicensingResponse
() =
default
;
28
36
virtual
bool
failed
() = 0;
37
42
bool
hasErrors
()
const
43
{
44
return
!
errors
.empty();
45
}
46
47
public
:
50
const
std::map<std::string, tenduke::ee::licensing::LicensingError>
errors
;
51
};
52
53
54
}}}
55
56
#endif
//TENDUKE_EE_LICENSING_LICENSINGRESPONSE_H
tenduke::ee::licensing::LicensingResponse
Response from tenduke::ee::licensing::LicensingRequest.
Definition
LicensingResponse.h:17
tenduke::ee::licensing::LicensingResponse::LicensingResponse
LicensingResponse(const std::map< std::string, tenduke::ee::licensing::LicensingError > &errors)
Constructs new instance.
Definition
LicensingResponse.h:23
tenduke::ee::licensing::LicensingResponse::failed
virtual bool failed()=0
Checks if request failed.
tenduke::ee::licensing::LicensingResponse::errors
const std::map< std::string, tenduke::ee::licensing::LicensingError > errors
Errors of this response.
Definition
LicensingResponse.h:50
tenduke::ee::licensing::LicensingResponse::hasErrors
bool hasErrors() const
Checks if there are any errors.
Definition
LicensingResponse.h:42
tenduke::ee::licensing
Classes, functions and globals related to 10Duke Enterprise licensing.
Definition
AuthzLicensingClient.h:13
tenduke::ee
Classes, functions and globals of 10Duke Enterprise C++ Client.
Definition
APIRequest.h:4
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
client
enterprise
api
src
licensing
LicensingResponse.h
Generated by
1.17.0