classdef tic2000
    % TIC2000 namespace class provides target info methods
    
    %   Copyright 2023 The MathWorks, Inc.
    
        
    methods(Static)
        % Checks whether thirdparty registry file is in target folder or
        % not
        function out = isThirdPartyRegistryInTargetFolder()            
            targetFolder = codertarget.tic2000.internal.getSpPkgRootDir;
            thirdPartyFileName = fullfile(targetFolder, 'registry', 'thirdpartytools', ['thirdpartytools_' lower(computer('arch')) '.xml']);
            % For Sandbox and BaT, third party registry file is in target folder, out
            % will be true
            out = isfile(thirdPartyFileName);   
        end
        % Returns target tag for documentation
        function docTag = getTargetDocTag()            
            docTag = 'tic2000';   
        end
    end    
end

