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:             inductors.pt
// Destination File:        inductors.h
 
#ifndef _inductors_h_
#define _inductors_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_LCHIP603 : public TPart {     // chip inductor, e.g., ferrite, in 603 package
 
public:
  port   A;     
  port   B;     
 
  CP_LCHIP603() {
    SetPackage( "SRC603", 2 );
    SetReferencePrefix( "L" );
  }
 
  virtual void Register() {
    reg(  A );
          A.SetPin( "1" );
    reg(  B );
          B.SetPin( "2" );
  }
};
 
class CP_LCHIP805 : public TPart {     // chip inductor, e.g., ferrite, in 805 package
 
public:
  port   A;     
  port   B;     
 
  CP_LCHIP805() {
    SetPackage( "SRC805", 2 );
    SetReferencePrefix( "L" );
  }
 
  virtual void Register() {
    reg(  A );
          A.SetPin( "1" );
    reg(  B );
          B.SetPin( "2" );
  }
};
 
class CP_LCHIP1206 : public TPart {     // chip inductor, e.g., ferrite, in 1206 package
 
public:
  port   A;     
  port   B;     
 
  CP_LCHIP1206() {
    SetPackage( "SRC1206", 2 );
    SetReferencePrefix( "L" );
  }
 
  virtual void Register() {
    reg(  A );
          A.SetPin( "1" );
    reg(  B );
          B.SetPin( "2" );
  }
};
 
class CP_LCHIP2220 : public TPart {     // chip inductor, e.g., ferrite, in 2220 package
 
public:
  port   A;     
  port   B;     
 
  CP_LCHIP2220() {
    SetPackage( "SRC2220", 2 );
    SetReferencePrefix( "L" );
  }
 
  virtual void Register() {
    reg(  A );
          A.SetPin( "1" );
    reg(  B );
          B.SetPin( "2" );
  }
};
 
 
#endif

 

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

Legal Copyright © 2007 by Coolquest, Inc. Contact