Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
hdicoreSuiteInfo.h
Go to the documentation of this file.
1
7#ifndef __HDI_CORE_SUITEINFO__
8#define __HDI_CORE_SUITEINFO__
9
10#include "hdicoreTypes.h"
11
12namespace hdi
13{
14 namespace core
15 {
19 struct SuiteInfo
20 {
24 const std::string name;
25
29 const int32_t internalVersion;
30
35 const int32_t externalVersion;
36
43
51 SuiteInfo(const SuiteInfo& si_);
52
62 SuiteInfo(const std::string& name_, const int32_t intVers_, const int32_t extVers_);
63
69 virtual ~SuiteInfo();
70
79 bool operator==(const SuiteInfo& rhs_) const;
80
89 bool operator!=(const SuiteInfo& rhs_) const;
90 };
91
92 typedef std::unique_ptr<SuiteInfo> SuiteInfoUP;
93 typedef std::shared_ptr<SuiteInfo> SuiteInfoSP;
94 typedef std::weak_ptr<SuiteInfo> SuiteInfoWP;
95 }
96}
97
98#endif
99// __HDI_CORE_SUITEINFO__
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.
Stores basic information about an application suite.
Definition: hdicoreSuiteInfo.h:20
bool operator!=(const SuiteInfo &rhs_) const
Compares one SuiteInfo object to another to check for inequality.
SuiteInfo(const SuiteInfo &si_)
Constructs a new SuiteInfo object from an existing object (copy ctor)
bool operator==(const SuiteInfo &rhs_) const
Compares one SuiteInfo object to another to check for equality.
const int32_t externalVersion
Stores the external (public) version number of the suite (what would be used to acquire the suite)
Definition: hdicoreSuiteInfo.h:35
virtual ~SuiteInfo()
Destructs a SuiteInfo object.
const std::string name
Stores the name of the suite.
Definition: hdicoreSuiteInfo.h:24
SuiteInfo()
Constructs a new SuiteInfo object with default values.
const int32_t internalVersion
Stores the internal version number of the suite.
Definition: hdicoreSuiteInfo.h:29
SuiteInfo(const std::string &name_, const int32_t intVers_, const int32_t extVers_)
Constructs a new SuiteInfo object with the given values.