MineTrustConnectorSDK.CPP
MTConnectorSDK::PackageSummary Struct Reference

#include <MTConnectorSDK.h>

Public Attributes

std::string packageUID
std::string displayName
std::string serverUrl
std::string mineTrustRoot
std::string visibility
bool isAccessible = false
bool isDeleted = false
bool isArchived = false
bool isConfigurationPackage = false
std::string configurationFlavour
std::unique_ptr< int > fileID
bool locallyEnabled = false

Detailed Description

Represents a summary of a package available on a registered MineTrust server, populated entirely from the local SQLite tag cache without a network round-trip.

Examples
NativeApp.cpp.

Member Data Documentation

◆ configurationFlavour

std::string MTConnectorSDK::PackageSummary::configurationFlavour

Gets the configuration flavour — one of "Enterprise", "Product", or null.

◆ displayName

std::string MTConnectorSDK::PackageSummary::displayName

Gets the display name of the package (from PackageConfiguration\\DisplayName tag).

◆ fileID

std::unique_ptr<int> MTConnectorSDK::PackageSummary::fileID

Gets the MineTrust file ID for the package's config JSON (useful for polling watcher registration).

◆ isAccessible

bool MTConnectorSDK::PackageSummary::isAccessible = false

Gets whether the package's root folder is accessible to the current user (inverse of MTFolderLite.IsAccessDenied).

◆ isArchived

bool MTConnectorSDK::PackageSummary::isArchived = false

Gets whether the package has been marked as archived (from PackageConfiguration\\Archived tag presence).

◆ isConfigurationPackage

bool MTConnectorSDK::PackageSummary::isConfigurationPackage = false

Gets whether the package is a configuration package (from ConfigurationPackage\\* tag presence).

◆ isDeleted

bool MTConnectorSDK::PackageSummary::isDeleted = false

Gets whether the package has been marked as deleted (from PackageConfiguration\\Deleted tag presence).

◆ locallyEnabled

bool MTConnectorSDK::PackageSummary::locallyEnabled = false

Gets whether the package is locally enabled on this client (joined with on-disk enumeration).

◆ mineTrustRoot

std::string MTConnectorSDK::PackageSummary::mineTrustRoot

Gets the MineTrust root folder path for the package (from PackageConfiguration\\MineTrustRoot tag).

◆ packageUID

std::string MTConnectorSDK::PackageSummary::packageUID

Gets the unique identifier of the package.

◆ serverUrl

std::string MTConnectorSDK::PackageSummary::serverUrl

Gets the server URL associated with the package (from PackageConfiguration\\ServerUrl tag).

◆ visibility

std::string MTConnectorSDK::PackageSummary::visibility

Gets the visibility of the package — one of "Shared", "Private", or null (from PackageConfiguration\\Visibility tag).


The documentation for this struct was generated from the following file: