Mantid
|
UsageReporter : The Usage reporter is responsible for collating, and sending all usage data. More...
#include <UsageService.h>
Public Member Functions | |
::Json::Value | asJson () const |
FeatureUsage (const FeatureType &type, std::string name, const bool internal, std::string application) | |
Constructor. More... | |
bool | operator< (const FeatureUsage &r) const |
Public Attributes | |
std::string | application |
bool | internal |
std::string | name |
FeatureType | type |
Protected Member Functions | |
std::string | featureTypeToString () const |
Convert the stored feature type enum to a string. More... | |
UsageReporter : The Usage reporter is responsible for collating, and sending all usage data.
This centralizes all the logic covering Usage Reporting including:
Definition at line 41 of file UsageService.h.
Mantid::Kernel::FeatureUsage::FeatureUsage | ( | const FeatureType & | type, |
std::string | name, | ||
const bool | internal, | ||
std::string | application | ||
) |
Json::Value Mantid::Kernel::FeatureUsage::asJson | ( | ) | const |
Definition at line 75 of file UsageService.cpp.
References application, featureTypeToString(), internal, and name.
|
protected |
Convert the stored feature type enum to a string.
Definition at line 60 of file UsageService.cpp.
References Mantid::Kernel::Algorithm, Mantid::Kernel::Feature, Mantid::Kernel::Function, Mantid::Kernel::Interface, and type.
Referenced by asJson().
bool Mantid::Kernel::FeatureUsage::operator< | ( | const FeatureUsage & | r | ) | const |
Definition at line 40 of file UsageService.cpp.
std::string Mantid::Kernel::FeatureUsage::application |
Definition at line 52 of file UsageService.h.
Referenced by asJson().
bool Mantid::Kernel::FeatureUsage::internal |
Definition at line 51 of file UsageService.h.
Referenced by asJson(), and operator<().
std::string Mantid::Kernel::FeatureUsage::name |
Definition at line 50 of file UsageService.h.
Referenced by asJson(), and operator<().
FeatureType Mantid::Kernel::FeatureUsage::type |
Definition at line 49 of file UsageService.h.
Referenced by featureTypeToString(), and operator<().