corrade-vassal – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 vero 1 /// <summary>**************************************************************************
2 ///
3 /// $Id: MonochromeInputRestrictedProfile.java,v 1.1 2002/07/25 14:56:56 grosbois Exp $
4 ///
5 /// Copyright Eastman Kodak Company, 343 State Street, Rochester, NY 14650
6 /// $Date $
7 /// ***************************************************************************
8 /// </summary>
9 using System;
10 using ICCCurveType = CSJ2K.Icc.Tags.ICCCurveType;
11 namespace CSJ2K.Icc
12 {
13  
14 /// <summary> This class is a 1 component RestrictedICCProfile
15 ///
16 /// </summary>
17 /// <version> 1.0
18 /// </version>
19 /// <author> Bruce A Kern
20 /// </author>
21 public class MonochromeInputRestrictedProfile:RestrictedICCProfile
22 {
23 /// <summary> Get the type of RestrictedICCProfile for this object</summary>
24 /// <returns> kMonochromeInput
25 /// </returns>
26 override public int Type
27 {
28 get
29 {
30 return kMonochromeInput;
31 }
32  
33 }
34  
35 /// <summary> Factory method which returns a 1 component RestrictedICCProfile</summary>
36 /// <param name="c">Gray TRC curve
37 /// </param>
38 /// <returns> the RestrictedICCProfile
39 /// </returns>
40 public static new RestrictedICCProfile createInstance(ICCCurveType c)
41 {
42 return new MonochromeInputRestrictedProfile(c);
43 }
44  
45 /// <summary> Construct a 1 component RestrictedICCProfile</summary>
46 /// <param name="c">Gray TRC curve
47 /// </param>
48 private MonochromeInputRestrictedProfile(ICCCurveType c):base(c)
49 {
50 }
51  
52 /// <returns> String representation of a MonochromeInputRestrictedProfile
53 /// </returns>
54 public override System.String ToString()
55 {
56 System.Text.StringBuilder rep = new System.Text.StringBuilder("Monochrome Input Restricted ICC profile" + eol);
57  
58 rep.Append("trc[GRAY]:" + eol).Append(trc[GRAY]).Append(eol);
59  
60 return rep.ToString();
61 }
62  
63 /* end class MonochromeInputRestrictedProfile */
64 }
65 }