Coolquest, Inc. Home Products Support About Contact
cbold_logo_gif C++BOLD Example Parts Library cbold_logo_gif

<<  File View  >> Class View Parts Library Examples Home

 

// This File Generated by:  pt_to_h.exe
// Source File:             headers.pt
// Destination File:        headers.h
 
#ifndef _headers_h_
#define _headers_h_
 
// AR_OFF -- auto registration is not needed
 
// THIS FILE IS IN THE PUBLIC DOMAIN.
// IT IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT
// NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 
class CP_HEADER2 : public TPart {
 
public:
  port   P;     // AR_BUS(2,1)
 
  CP_HEADER2() {
    SetPackage( "HEADER2_100MIL", 2 );
    SetReferencePrefix( "H" );
  }
 
  virtual void Register() {
    regb( P, 2, 1 );
          P.AddPin( 2, "2" );
          P.AddPin( 1, "1" );
  }
};
 
class CP_HEADER3 : public TPart {
 
public:
  port   P;     // AR_BUS(3,1)
 
  CP_HEADER3() {
    SetPackage( "HEADER3_100MIL", 3 );
    SetReferencePrefix( "H" );
  }
 
  virtual void Register() {
    regb( P, 3, 1 );
          P.AddPin( 3, "3" );
          P.AddPin( 2, "2" );
          P.AddPin( 1, "1" );
  }
};
 
class CP_HEADER5X2 : public TPart {
 
public:
  port   P;     // AR_BUS(10,1)
 
  CP_HEADER5X2() {
    SetPackage( "HEADER5X2_100MIL", 10 );
    SetReferencePrefix( "H" );
  }
 
  virtual void Register() {
    regb( P, 10, 1 );
          P.AddPin( 10, "10" );
          P.AddPin( 9, "9" );
          P.AddPin( 8, "8" );
          P.AddPin( 7, "7" );
          P.AddPin( 6, "6" );
          P.AddPin( 5, "5" );
          P.AddPin( 4, "4" );
          P.AddPin( 3, "3" );
          P.AddPin( 2, "2" );
          P.AddPin( 1, "1" );
  }
};
 
class CP_HEADER10X2 : public TPart {
 
public:
  port   P;     // AR_BUS(20,1)
 
  CP_HEADER10X2() {
    SetPackage( "HEADER10X2_100MIL", 20 );
    SetReferencePrefix( "H" );
  }
 
  virtual void Register() {
    regb( P, 20, 1 );
          P.AddPin( 20, "20" );
          P.AddPin( 19, "19" );
          P.AddPin( 18, "18" );
          P.AddPin( 17, "17" );
          P.AddPin( 16, "16" );
          P.AddPin( 15, "15" );
          P.AddPin( 14, "14" );
          P.AddPin( 13, "13" );
          P.AddPin( 12, "12" );
          P.AddPin( 11, "11" );
          P.AddPin( 10, "10" );
          P.AddPin( 9, "9" );
          P.AddPin( 8, "8" );
          P.AddPin( 7, "7" );
          P.AddPin( 6, "6" );
          P.AddPin( 5, "5" );
          P.AddPin( 4, "4" );
          P.AddPin( 3, "3" );
          P.AddPin( 2, "2" );
          P.AddPin( 1, "1" );
  }
};
 
class CP_HEADER10X2CS : public TPart {     // header with compact shroud
 
public:
  port   P;     // AR_BUS(20,1)
 
  CP_HEADER10X2CS() {
    SetPackage( "HEADER10X2CS_100MIL", 20 );
    SetReferencePrefix( "H" );
  }
 
  virtual void Register() {
    regb( P, 20, 1 );
          P.AddPin( 20, "20" );
          P.AddPin( 19, "19" );
          P.AddPin( 18, "18" );
          P.AddPin( 17, "17" );
          P.AddPin( 16, "16" );
          P.AddPin( 15, "15" );
          P.AddPin( 14, "14" );
          P.AddPin( 13, "13" );
          P.AddPin( 12, "12" );
          P.AddPin( 11, "11" );
          P.AddPin( 10, "10" );
          P.AddPin( 9, "9" );
          P.AddPin( 8, "8" );
          P.AddPin( 7, "7" );
          P.AddPin( 6, "6" );
          P.AddPin( 5, "5" );
          P.AddPin( 4, "4" );
          P.AddPin( 3, "3" );
          P.AddPin( 2, "2" );
          P.AddPin( 1, "1" );
  }
};
 
class CP_HEADER25X2 : public TPart {
 
public:
  port   P;     // AR_BUS(50,1)
 
  CP_HEADER25X2() {
    SetPackage( "HEADER25X2_100MIL", 50 );
    SetReferencePrefix( "H" );
  }
 
  virtual void Register() {
    regb( P, 50, 1 );
          P.AddPin( 50, "50" );
          P.AddPin( 49, "49" );
          P.AddPin( 48, "48" );
          P.AddPin( 47, "47" );
          P.AddPin( 46, "46" );
          P.AddPin( 45, "45" );
          P.AddPin( 44, "44" );
          P.AddPin( 43, "43" );
          P.AddPin( 42, "42" );
          P.AddPin( 41, "41" );
          P.AddPin( 40, "40" );
          P.AddPin( 39, "39" );
          P.AddPin( 38, "38" );
          P.AddPin( 37, "37" );
          P.AddPin( 36, "36" );
          P.AddPin( 35, "35" );
          P.AddPin( 34, "34" );
          P.AddPin( 33, "33" );
          P.AddPin( 32, "32" );
          P.AddPin( 31, "31" );
          P.AddPin( 30, "30" );
          P.AddPin( 29, "29" );
          P.AddPin( 28, "28" );
          P.AddPin( 27, "27" );
          P.AddPin( 26, "26" );
          P.AddPin( 25, "25" );
          P.AddPin( 24, "24" );
          P.AddPin( 23, "23" );
          P.AddPin( 22, "22" );
          P.AddPin( 21, "21" );
          P.AddPin( 20, "20" );
          P.AddPin( 19, "19" );
          P.AddPin( 18, "18" );
          P.AddPin( 17, "17" );
          P.AddPin( 16, "16" );
          P.AddPin( 15, "15" );
          P.AddPin( 14, "14" );
          P.AddPin( 13, "13" );
          P.AddPin( 12, "12" );
          P.AddPin( 11, "11" );
          P.AddPin( 10, "10" );
          P.AddPin( 9, "9" );
          P.AddPin( 8, "8" );
          P.AddPin( 7, "7" );
          P.AddPin( 6, "6" );
          P.AddPin( 5, "5" );
          P.AddPin( 4, "4" );
          P.AddPin( 3, "3" );
          P.AddPin( 2, "2" );
          P.AddPin( 1, "1" );
  }
};
 
class CP_HEADER2RT : public TPart {
 
public:
  port   P;     // AR_BUS(2,1)
 
  CP_HEADER2RT() {
    SetPackage( "HEADER2RT_100MIL", 2 );
    SetReferencePrefix( "H" );
  }
 
  virtual void Register() {
    regb( P, 2, 1 );
          P.AddPin( 2, "2" );
          P.AddPin( 1, "1" );
  }
};
 
class CP_HEADER5X2RT : public TPart {
 
public:
  port   P;     // AR_BUS(10,1)
 
  CP_HEADER5X2RT() {
    SetPackage( "HEADER5X2RT_100MIL", 10 );
    SetReferencePrefix( "H" );
  }
 
  virtual void Register() {
    regb( P, 10, 1 );
          P.AddPin( 10, "10" );
          P.AddPin( 9, "9" );
          P.AddPin( 8, "8" );
          P.AddPin( 7, "7" );
          P.AddPin( 6, "6" );
          P.AddPin( 5, "5" );
          P.AddPin( 4, "4" );
          P.AddPin( 3, "3" );
          P.AddPin( 2, "2" );
          P.AddPin( 1, "1" );
  }
};
 
class CP_HEADER10X2RT : public TPart {
 
public:
  port   P;     // AR_BUS(20,1)
 
  CP_HEADER10X2RT() {
    SetPackage( "HEADER10X2RT_100MIL", 20 );
    SetReferencePrefix( "H" );
  }
 
  virtual void Register() {
    regb( P, 20, 1 );
          P.AddPin( 20, "20" );
          P.AddPin( 19, "19" );
          P.AddPin( 18, "18" );
          P.AddPin( 17, "17" );
          P.AddPin( 16, "16" );
          P.AddPin( 15, "15" );
          P.AddPin( 14, "14" );
          P.AddPin( 13, "13" );
          P.AddPin( 12, "12" );
          P.AddPin( 11, "11" );
          P.AddPin( 10, "10" );
          P.AddPin( 9, "9" );
          P.AddPin( 8, "8" );
          P.AddPin( 7, "7" );
          P.AddPin( 6, "6" );
          P.AddPin( 5, "5" );
          P.AddPin( 4, "4" );
          P.AddPin( 3, "3" );
          P.AddPin( 2, "2" );
          P.AddPin( 1, "1" );
  }
};
 
 
#endif

 

<<  File View  >> Class View Parts Library Examples Home

Legal Copyright © 2007 by Coolquest, Inc. Contact