51Degrees Common C/C++  4.1

A shared functionality library that is used by 51Degrees products

ProfileMetaData.hpp

1 /* *********************************************************************
2  * This Source Code Form is copyright of 51 Degrees Mobile Experts Limited.
3  * Copyright 2019 51 Degrees Mobile Experts Limited, 5 Charlotte Close,
4  * Caversham, Reading, Berkshire, United Kingdom RG4 7BY
5  *
6  * This Source Code Form is subject to the terms of the Mozilla Public
7  * License, v. 2.0.
8  *
9  * If a copy of the MPL was not distributed with this file, You can obtain
10  * one at http://mozilla.org/MPL/2.0/.
11  *
12  * This Source Code Form is "Incompatible With Secondary Licenses", as
13  * defined by the Mozilla Public License, v. 2.0.
14  * ********************************************************************* */
15 
16 #ifndef FIFTYONE_DEGREES_PROFILE_META_DATA_HPP
17 #define FIFTYONE_DEGREES_PROFILE_META_DATA_HPP
18 
19 #include <string>
20 #include "EntityMetaData.hpp"
21 
22 using namespace std;
23 
24 namespace FiftyoneDegrees {
25  namespace Common {
30  class ProfileMetaData : public EntityMetaData<uint32_t> {
31  public:
42 
50 
60  uint32_t profileId,
61  uint32_t signatureCount,
62  byte componentId);
63 
74  uint32_t getProfileId();
75 
80  uint32_t getSignatureCount();
81 
86  byte getComponentId();
87 
91  private:
93  uint32_t signatureCount;
94 
96  byte componentId;
97  };
98  }
99 }
100 
101 #endif
51Degrees base namespace.
Definition: Collection.hpp:24
ProfileMetaData()
Default constructor, should not be used externally as it produces an invalid instance.
Definition: ProfileMetaData.hpp:41
Base class for any entity meta data.
Definition: EntityMetaData.hpp:38
Meta data relating to a profile populated by an engine implementation.
Definition: ProfileMetaData.hpp:30