public static void Main()
Console.WriteLine(GetBaptismCertificateReportSetting());
Console.WriteLine(GetCommunionCertificateReportSetting());
Console.WriteLine(GetCommunionNotificationLetterReportSetting());
Console.WriteLine(GetConfirmationCertificateReportSetting());
Console.WriteLine(GetConfirmationNotificationLetterReportSetting());
Console.WriteLine(GetMarriageCertificateReportSetting());
Console.WriteLine(GetMarriageNotificationLetterReportSetting());
public static class Shifts{
public static Int32 parishShift = 1 << 1;
public static Int32 spouseNameShift = 1 << 2;
public static Int32 fatherShift = 1 << 3;
public static Int32 motherMaidenNameShift = 1 << 5;
public static Int32 birthplaceShift = 1 << 6;
public static Int32 saintShift = 1 << 7;
public static Int32 sponsorsShift = 1 << 12;
public static Int32 clergyShift = 1 << 13;
public static Int32 nameShift = 1 << 14;
public static Int32 fullMaidenNameShift = 1 << 15;
static int GetBaptismCertificateReportSetting(){
return Shifts.parishShift + Shifts.fatherShift + Shifts.motherMaidenNameShift + Shifts.birthplaceShift + Shifts.sponsorsShift + Shifts.clergyShift + Shifts.nameShift;
static int GetCommunionCertificateReportSetting(){
return Shifts.parishShift + Shifts.fatherShift + Shifts.motherMaidenNameShift + Shifts.clergyShift;
static int GetCommunionNotificationLetterReportSetting(){
return Shifts.parishShift + Shifts.fatherShift + Shifts.motherMaidenNameShift + Shifts.sponsorsShift + Shifts.clergyShift;
static int GetConfirmationCertificateReportSetting(){
return Shifts.parishShift + Shifts.fatherShift + Shifts.motherMaidenNameShift + Shifts.saintShift + Shifts.sponsorsShift + Shifts.clergyShift;
static int GetConfirmationNotificationLetterReportSetting(){
return Shifts.parishShift + Shifts.fatherShift + Shifts.motherMaidenNameShift + Shifts.sponsorsShift + Shifts.clergyShift;
static int GetMarriageCertificateReportSetting(){
return Shifts.parishShift + Shifts.spouseNameShift + Shifts.sponsorsShift + Shifts.clergyShift + Shifts.fullMaidenNameShift;
static int GetMarriageNotificationLetterReportSetting(){
return Shifts.parishShift + Shifts.spouseNameShift + Shifts.sponsorsShift + Shifts.clergyShift + Shifts.fullMaidenNameShift;