gcontini
2020-01-09 b6277b30756c96404bc747f32ae45e9d3e205447
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
 * default_strategy.cpp
 *
 *  Created on: Jan 2, 2020
 *      Author: devel
 */
 
#include "default_strategy.hpp"
 
namespace license {
 
DefaultStrategy::DefaultStrategy() {
    // TODO Auto-generated constructor stub
}
 
DefaultStrategy::~DefaultStrategy() {
    // TODO Auto-generated destructor stub
}
 
DefaultStrategy::DefaultStrategy(const DefaultStrategy& other) {
    // TODO Auto-generated constructor stub
}
 
IDENTIFICATION_STRATEGY DefaultStrategy::identification_strategy() const { return STRATEGY_DEFAULT; }
 
void DefaultStrategy::identify_pc(PcIdentifier& identifier) const {}
 
std::vector<PcIdentifier> DefaultStrategy::alternative_ids() const {}
 
EVENT_TYPE DefaultStrategy::validate_identifier(const PcIdentifier& identifier) const {
    // default strategy should always realize itself as a concrete strategy
    return IDENTIFIERS_MISMATCH;
}
 
} /* namespace license */