26namespace matrix_science {
77 std::string getFileName()
const;
80 void setFileName(
const char* filename);
86 bool isLicenseValid()
const;
89 std::string getLicenseString()
const;
92 std::string getLicenseVersion()
const;
95 std::string getStartDate()
const;
98 std::string getEndDate()
const;
101 int getNumProcessorsLicensed()
const;
104 std::string getLicensee()
const;
107 std::string getDistributor()
const;
110 std::string getFeatures()
const;
112 int getInternalConfigurationCode()
const;
115 bool loadLicenseFile(FILE *f);
116 bool checkLicenseValid(
const char* startDate,
const char* endDate);
117 int calcChecksum(
void* entity);
118 void formLicenseString();
119 void checkInternalConfiguration();
122 std::string filename_;
123 std::string strLicenseString_;
125 std::string licenseVer_;
126 std::string startDate_;
127 std::string endDate_;
129 std::string licensee_;
130 std::string distributor_;
131 std::string features_;
133 int internalConfigurationCode_;
This class is used as a base class for several Mascot Parser classes.
Definition: ms_errors.hpp:696
The class provides access license details in read-only mode.
Definition: ms_license.hpp:52