head     1.3;
branch   ;
access   ;
symbols  ;
locks    ; strict;
comment  @// @;


1.3
date     93.01.19.14.55.40;  author jnw;  state Exp;
branches ;
next     1.2;

1.2
date     92.11.12.16.59.54;  author jnw;  state Exp;
branches ;
next     1.1;

1.1
date     92.10.05.11.49.51;  author jnw;  state Exp;
branches ;
next     ;


desc
@Initial revision
@


1.3
log
@Modified to support IA_ naming convention
@
text
@// Emacs: -*- C++ -*-

static char BitwiseDIrcsid[] = "$Id: BitwiseDI.m4c,v 1.2 92/11/12 16:59:54 jnw Exp Locker: jnw $";

// $Log:	BitwiseDI.m4c,v $
// Revision 1.2  92/11/12  16:59:54  jnw
// Modified to match style of ArithDI.m4c
// 
// Revision 1.1  92/10/05  11:49:51  jnw
// Initial revision
// 

#include <stream.h>
#include "ia.h"
#include "DiscreteImage.h"
#include "BitwiseDI.h"
#include "IPSIter.h"

//Usage LAZY_..._CLASS(op symbol, op name)
// Code that follows generated by m4

LAZY_NONCOMMUTATIVE_CLASS(%,Mod)
LAZY_NONCOMMUTATIVE_CLASS(<<,Lshift)
LAZY_NONCOMMUTATIVE_CLASS(>>,Rshift)
LAZY_COMMUTATIVE_CLASS(&,And)
LAZY_COMMUTATIVE_CLASS(^,Xor)
LAZY_COMMUTATIVE_CLASS(|,Or)
LAZY_UNARY_CLASS(~,UnaryNot)
// End of code generated by m4

// Usage: ops(op symbol, op name, class argument name,
//			right scalar argument type)
//
// Following code gerated by m4

OPS(%,Mod,IA_BitwiseDI)
OPS(<<,Lshift,IA_BitwiseDI)
OPS(>>,Rshift,IA_BitwiseDI)
OPS(&,And,IA_BitwiseDI)
OPS(^,Xor,IA_BitwiseDI)
OPS(|,Or,IA_BitwiseDI)
UNARY_OP(~,UnaryNot,IA_BitwiseDI)

@


1.2
log
@Modified to match style of ArithDI.m4c
@
text
@d3 1
a3 1
static char BitwiseDIrcsid[] = "$Id: BitwiseDI.m4c,v 1.1 92/10/05 11:49:51 jnw Exp Locker: jnw $";
d6 3
d36 7
a42 7
OPS(%,Mod,BitwiseDI)
OPS(<<,Lshift,BitwiseDI)
OPS(>>,Rshift,BitwiseDI)
OPS(&,And,BitwiseDI)
OPS(^,Xor,BitwiseDI)
OPS(|,Or,BitwiseDI)
UNARY_OP(~,UnaryNot,BitwiseDI)
@


1.1
log
@Initial revision
@
text
@d3 1
a3 1
static char BitwiseDIrcsid[] = "$Id$";
d5 4
a8 1
// $Log$
d33 6
a38 6
OPS(%,Mod,BitwiseDI,T&)
OPS(<<,Lshift,BitwiseDI,unsigned)
OPS(>>,Rshift,BitwiseDI,unsigned)
OPS(&,And,BitwiseDI,T&)
OPS(^,Xor,BitwiseDI,T&)
OPS(|,Or,BitwiseDI,T&)
d40 1
@
