aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/debug_w_pmr/objects.mk
blob: dbda2a50b774509e38dc61f1c4e5b5a80d03769b (plain)
1
2
3
4
5
6
7
8
################################################################################
# Automatically-generated file. Do not edit!
################################################################################

USER_OBJS :=

LIBS := -llibc.a -l"C:/ti/TivaWare_C_Series-2.1.2.111/grlib/ccs/Debug/grlib.lib" -l"C:/ti/TivaWare_C_Series-2.1.2.111/driverlib/ccs/Debug/driverlib.lib" -l"C:/ti/TivaWare_C_Series-2.1.2.111/usblib/ccs/Debug/usblib.lib"
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: EmbroideryFile.proto
#pragma warning disable 1591, 0612, 3021
#region Designer generated code

using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Tango.PMR.Embroidery {

  /// <summary>Holder for reflection information generated from EmbroideryFile.proto</summary>
  public static partial class EmbroideryFileReflection {

    #region Descriptor
    /// <summary>File descriptor for EmbroideryFile.proto</summary>
    public static pbr::FileDescriptor Descriptor {
      get { return descriptor; }
    }
    private static pbr::FileDescriptor descriptor;

    static EmbroideryFileReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChRFbWJyb2lkZXJ5RmlsZS5wcm90bxIUVGFuZ28uUE1SLkVtYnJvaWRlcnka",
            "DUV4dGVudHMucHJvdG8aDFN0aXRjaC5wcm90bxoRU3RpdGNoQ29sb3IucHJv",
            "dG8i8gEKDkVtYnJvaWRlcnlGaWxlEhIKCkRlc2lnbk5hbWUYASABKAkSEAoI",
            "RmlsZU5hbWUYAiABKAkSEwoLU3RpdGNoQ291bnQYAyABKAUSEgoKQ29sb3JD",
            "b3VudBgEIAEoBRIuCgdFeHRlbnRzGAUgASgLMh0uVGFuZ28uUE1SLkVtYnJv",
            "aWRlcnkuRXh0ZW50cxIxCgZDb2xvcnMYBiADKAsyIS5UYW5nby5QTVIuRW1i",
            "cm9pZGVyeS5TdGl0Y2hDb2xvchIuCghTdGl0Y2hlcxgHIAMoCzIcLlRhbmdv",
            "LlBNUi5FbWJyb2lkZXJ5LlN0aXRjaEIgCh5jb20udHdpbmUudGFuZ28ucG1y",
            "LmVtYnJvaWRlcnliBnByb3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::Tango.PMR.Embroidery.ExtentsReflection.Descriptor, global::Tango.PMR.Embroidery.StitchReflection.Descriptor, global::Tango.PMR.Embroidery.StitchColorReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Embroidery.EmbroideryFile), global::Tango.PMR.Embroidery.EmbroideryFile.Parser, new[]{ "DesignName", "FileName", "StitchCount", "ColorCount", "Extents", "Colors", "Stitches" }, null, null, null)
          }));
    }
    #endregion

  }
  #region Messages
  public sealed partial class EmbroideryFile : pb::IMessage<EmbroideryFile> {
    private static readonly pb::MessageParser<EmbroideryFile> _parser = new pb::MessageParser<EmbroideryFile>(() => new EmbroideryFile());
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pb::MessageParser<EmbroideryFile> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::Tango.PMR.Embroidery.EmbroideryFileReflection.Descriptor.MessageTypes[0]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public EmbroideryFile() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public EmbroideryFile(EmbroideryFile other) : this() {
      designName_ = other.designName_;
      fileName_ = other.fileName_;
      stitchCount_ = other.stitchCount_;
      colorCount_ = other.colorCount_;
      Extents = other.extents_ != null ? other.Extents.Clone() : null;
      colors_ = other.colors_.Clone();
      stitches_ = other.stitches_.Clone();
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public EmbroideryFile Clone() {
      return new EmbroideryFile(this);
    }

    /// <summary>Field number for the "DesignName" field.</summary>
    public const int DesignNameFieldNumber = 1;
    private string designName_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public string DesignName {
      get { return designName_; }
      set {
        designName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "FileName" field.</summary>
    public const int FileNameFieldNumber = 2;
    private string fileName_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public string FileName {
      get { return fileName_; }
      set {
        fileName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

    /// <summary>Field number for the "StitchCount" field.</summary>
    public const int StitchCountFieldNumber = 3;
    private int stitchCount_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public int StitchCount {
      get { return stitchCount_; }
      set {
        stitchCount_ = value;
      }
    }

    /// <summary>Field number for the "ColorCount" field.</summary>
    public const int ColorCountFieldNumber = 4;
    private int colorCount_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public int ColorCount {
      get { return colorCount_; }
      set {
        colorCount_ = value;
      }
    }

    /// <summary>Field number for the "Extents" field.</summary>
    public const int ExtentsFieldNumber = 5;
    private global::Tango.PMR.Embroidery.Extents extents_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public global::Tango.PMR.Embroidery.Extents Extents {
      get { return extents_; }
      set {
        extents_ = value;
      }
    }

    /// <summary>Field number for the "Colors" field.</summary>
    public const int ColorsFieldNumber = 6;
    private static readonly pb::FieldCodec<global::Tango.PMR.Embroidery.StitchColor> _repeated_colors_codec
        = pb::FieldCodec.ForMessage(50, global::Tango.PMR.Embroidery.StitchColor.Parser);
    private readonly pbc::RepeatedField<global::Tango.PMR.Embroidery.StitchColor> colors_ = new pbc::RepeatedField<global::Tango.PMR.Embroidery.StitchColor>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public pbc::RepeatedField<global::Tango.PMR.Embroidery.StitchColor> Colors {
      get { return colors_; }
    }

    /// <summary>Field number for the "Stitches" field.</summary>
    public const int StitchesFieldNumber = 7;
    private static readonly pb::FieldCodec<global::Tango.PMR.Embroidery.Stitch> _repeated_stitches_codec
        = pb::FieldCodec.ForMessage(58, global::Tango.PMR.Embroidery.Stitch.Parser);
    private readonly pbc::RepeatedField<global::Tango.PMR.Embroidery.Stitch> stitches_ = new pbc::RepeatedField<global::Tango.PMR.Embroidery.Stitch>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public pbc::RepeatedField<global::Tango.PMR.Embroidery.Stitch> Stitches {
      get { return stitches_; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override bool Equals(object other) {
      return Equals(other as EmbroideryFile);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public bool Equals(EmbroideryFile other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (DesignName != other.DesignName) return false;
      if (FileName != other.FileName) return false;
      if (StitchCount != other.StitchCount) return false;
      if (ColorCount != other.ColorCount) return false;
      if (!object.Equals(Extents, other.Extents)) return false;
      if(!colors_.Equals(other.colors_)) return false;
      if(!stitches_.Equals(other.stitches_)) return false;
      return true;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      if (DesignName.Length != 0) hash ^= DesignName.GetHashCode();
      if (FileName.Length != 0) hash ^= FileName.GetHashCode();
      if (StitchCount != 0) hash ^= StitchCount.GetHashCode();
      if (ColorCount != 0) hash ^= ColorCount.GetHashCode();
      if (extents_ != null) hash ^= Extents.GetHashCode();
      hash ^= colors_.GetHashCode();
      hash ^= stitches_.GetHashCode();
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void WriteTo(pb::CodedOutputStream output) {
      if (DesignName.Length != 0) {
        output.WriteRawTag(10);
        output.WriteString(DesignName);
      }
      if (FileName.Length != 0) {
        output.WriteRawTag(18);
        output.WriteString(FileName);
      }
      if (StitchCount != 0) {
        output.WriteRawTag(24);
        output.WriteInt32(StitchCount);
      }
      if (ColorCount != 0) {
        output.WriteRawTag(32);
        output.WriteInt32(ColorCount);
      }
      if (extents_ != null) {
        output.WriteRawTag(42);
        output.WriteMessage(Extents);
      }
      colors_.WriteTo(output, _repeated_colors_codec);
      stitches_.WriteTo(output, _repeated_stitches_codec);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public int CalculateSize() {
      int size = 0;
      if (DesignName.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(DesignName);
      }
      if (FileName.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(FileName);
      }
      if (StitchCount != 0) {
        size += 1 + pb::CodedOutputStream.ComputeInt32Size(StitchCount);
      }
      if (ColorCount != 0) {
        size += 1 + pb::CodedOutputStream.ComputeInt32Size(ColorCount);
      }
      if (extents_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Extents);
      }
      size += colors_.CalculateSize(_repeated_colors_codec);
      size += stitches_.CalculateSize(_repeated_stitches_codec);
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(EmbroideryFile other) {
      if (other == null) {
        return;
      }
      if (other.DesignName.Length != 0) {
        DesignName = other.DesignName;
      }
      if (other.FileName.Length != 0) {
        FileName = other.FileName;
      }
      if (other.StitchCount != 0) {
        StitchCount = other.StitchCount;
      }
      if (other.ColorCount != 0) {
        ColorCount = other.ColorCount;
      }
      if (other.extents_ != null) {
        if (extents_ == null) {
          extents_ = new global::Tango.PMR.Embroidery.Extents();
        }
        Extents.MergeFrom(other.Extents);
      }
      colors_.Add(other.colors_);
      stitches_.Add(other.stitches_);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public void MergeFrom(pb::CodedInputStream input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            input.SkipLastField();
            break;
          case 10: {
            DesignName = input.ReadString();
            break;
          }
          case 18: {
            FileName = input.ReadString();
            break;
          }
          case 24: {
            StitchCount = input.ReadInt32();
            break;
          }
          case 32: {
            ColorCount = input.ReadInt32();
            break;
          }
          case 42: {
            if (extents_ == null) {
              extents_ = new global::Tango.PMR.Embroidery.Extents();
            }
            input.ReadMessage(extents_);
            break;
          }
          case 50: {
            colors_.AddEntriesFrom(input, _repeated_colors_codec);
            break;
          }
          case 58: {
            stitches_.AddEntriesFrom(input, _repeated_stitches_codec);
            break;
          }
        }
      }
    }

  }

  #endregion

}

#endregion Designer generated code