classdef BuildToolStandard
    % BUILDTOOLLANGSTANDARD stores the highest language standard that
    % can be supported by a certain build tool

    %   Copyright 2016 The MathWorks, Inc.
    
    properties
        highestStandard = '*'
        langStandardMaps
    end
    
    
    methods
        
        % -----------------------------------------------------------------
        % Constructor
        % -----------------------------------------------------------------
        function h = BuildToolStandard(langStandard)
            if (nargin == 0) 
                h.highestStandard = '*';
                h.langStandardMaps = coder.make.BuildToolLangStandardMap;
            else
                h.highestStandard = langStandard;
                h.langStandardMaps = coder.make.BuildToolLangStandardMap;
            end
        end
        
        function value = getHighestStandard(h)
            value = h.highestStandard;
        end
        
        function value = getLangStandardMaps(h)
            value = h.langStandardMaps;
        end
        
    end
    
end


