corrade-vassal – Rev 1

Subversion Repositories:
Rev:
/// <summary>**************************************************************************
/// 
/// $Id: MonochromeInputRestrictedProfile.java,v 1.1 2002/07/25 14:56:56 grosbois Exp $
/// 
/// Copyright Eastman Kodak Company, 343 State Street, Rochester, NY 14650
/// $Date $
/// ***************************************************************************
/// </summary>
using System;
using ICCCurveType = CSJ2K.Icc.Tags.ICCCurveType;
namespace CSJ2K.Icc
{
        
        /// <summary> This class is a 1 component RestrictedICCProfile
        /// 
        /// </summary>
        /// <version>   1.0
        /// </version>
        /// <author>    Bruce A Kern
        /// </author>
        public class MonochromeInputRestrictedProfile:RestrictedICCProfile
        {
                /// <summary> Get the type of RestrictedICCProfile for this object</summary>
                /// <returns> kMonochromeInput
                /// </returns>
                override public int Type
                {
                        get
                        {
                                return kMonochromeInput;
                        }
                        
                }
                
                /// <summary> Factory method which returns a 1 component RestrictedICCProfile</summary>
                /// <param name="c">Gray TRC curve
                /// </param>
                /// <returns> the RestrictedICCProfile
                /// </returns>
                public static new RestrictedICCProfile createInstance(ICCCurveType c)
                {
                        return new MonochromeInputRestrictedProfile(c);
                }
                
                /// <summary> Construct a 1 component RestrictedICCProfile</summary>
                /// <param name="c">Gray TRC curve
                /// </param>
                private MonochromeInputRestrictedProfile(ICCCurveType c):base(c)
                {
                }
                
                /// <returns> String representation of a MonochromeInputRestrictedProfile
                /// </returns>
                public override System.String ToString()
                {
                        System.Text.StringBuilder rep = new System.Text.StringBuilder("Monochrome Input Restricted ICC profile" + eol);
                        
                        rep.Append("trc[GRAY]:" + eol).Append(trc[GRAY]).Append(eol);
                        
                        return rep.ToString();
                }
                
                /* end class MonochromeInputRestrictedProfile */
        }
}

Generated by GNU Enscript 1.6.5.90.