classdef (Hidden = true) SymbolicDimensionInfoAdaptor < rtw.connectivity.BaseAdaptor
    % SymbolicDimensionDefinitionsAdaptor - Adaptor class from coder.descriptor.SymbolicDimensionsInfo
    % to the CodeInfo version
    %
    %   This is an undocumented class. Its methods and properties are likely to
    %   change without warning from one release to the next.
    
    %   Copyright 2020 The MathWorks, Inc.
    
    properties
        Name
        Value
    end
    
    methods
        function this = SymbolicDimensionInfoAdaptor(aSymbolicDimensionInfoAdaptor)
            
            assert(isa(aSymbolicDimensionInfoAdaptor, 'coder.descriptor.SymbolicDimensionInfo'), ...
                'Unexpected class in SymbolicDimensionsInfoAdaptor');
            this.CodeDescObj = aSymbolicDimensionInfoAdaptor;
        end
        
        function res = get.Name(this)
            res = this.CodeDescObj.Name;
        end
        
        function res = get.Value(this)
            res = this.CodeDescObj.DynamicTypedValue;
        end
        
    end
end