int Geographical_Position_Information_UpperBitsNotSet(const Geographical_Position_Information_Core* p) { bool status = true; status = status && UpperBitsNotSet64(p->Q_DIR, 2) ; status = status && UpperBitsNotSet64(p->L_PACKET, 13); status = status && UpperBitsNotSet64(p->Q_SCALE, 2) ; status = status && UpperBitsNotSet64(p->Q_NEWCOUNTRY, 1) ; if (p->Q_NEWCOUNTRY == 1) { status = status && UpperBitsNotSet64(p->NID_C, 10); } status = status && UpperBitsNotSet64(p->NID_BG, 14); status = status && UpperBitsNotSet64(p->D_POSOFF, 15); status = status && UpperBitsNotSet64(p->Q_MPOSITION, 1) ; status = status && UpperBitsNotSet64(p->M_POSITION, 24); status = status && UpperBitsNotSet64(p->N_ITER_1, 5) ; for (uint32_t i = 0; i < p->N_ITER_1; ++i) { status = status && Geographical_Position_Information_Core_1_UpperBitsNotSet(&(p->sub_1[i])); } if (status) { return 1; } else { return 0; } }
int Conditional_Level_Transition_Order_UpperBitsNotSet(const Conditional_Level_Transition_Order_Core* p) { bool status = true; status = status && UpperBitsNotSet64(p->Q_DIR, 2) ; status = status && UpperBitsNotSet64(p->L_PACKET, 13); status = status && UpperBitsNotSet64(p->M_LEVELTR, 3) ; if (p->M_LEVELTR == 1) { status = status && UpperBitsNotSet64(p->NID_NTC, 8) ; } status = status && UpperBitsNotSet64(p->N_ITER_1, 5) ; for (uint32_t i = 0; i < p->N_ITER_1; ++i) { status = status && Conditional_Level_Transition_Order_Core_1_UpperBitsNotSet(&(p->sub_1[i])); } if (status) { return 1; } else { return 0; } }
int Track_Condition_Station_Platforms_UpperBitsNotSet(const Track_Condition_Station_Platforms_Core* p) { bool status = true; status = status && UpperBitsNotSet64(p->Q_DIR, 2) ; status = status && UpperBitsNotSet64(p->L_PACKET, 13); status = status && UpperBitsNotSet64(p->Q_SCALE, 2) ; status = status && UpperBitsNotSet64(p->Q_TRACKINIT, 1) ; if (p->Q_TRACKINIT == 1) { status = status && UpperBitsNotSet64(p->D_TRACKINIT, 15); } if (p->Q_TRACKINIT == 0) { status = status && UpperBitsNotSet64(p->D_TRACKCOND, 15); status = status && UpperBitsNotSet64(p->L_TRACKCOND, 15); status = status && UpperBitsNotSet64(p->M_PLATFORM, 4) ; status = status && UpperBitsNotSet64(p->Q_PLATFORM, 2) ; status = status && UpperBitsNotSet64(p->N_ITER_1, 5) ; for (uint32_t i = 0; i < p->N_ITER_1; ++i) { status = status && Track_Condition_Station_Platforms_Core_1_UpperBitsNotSet(&(p->sub_1[i])); } } if (status) { return 1; } else { return 0; } }
int Mode_profile_UpperBitsNotSet(const Mode_profile_Core* p) { bool status = true; status = status && UpperBitsNotSet64(p->Q_DIR, 2) ; status = status && UpperBitsNotSet64(p->L_PACKET, 13); status = status && UpperBitsNotSet64(p->Q_SCALE, 2) ; status = status && UpperBitsNotSet64(p->D_MAMODE, 15); status = status && UpperBitsNotSet64(p->M_MAMODE, 2) ; status = status && UpperBitsNotSet64(p->V_MAMODE, 7) ; status = status && UpperBitsNotSet64(p->L_MAMODE, 15); status = status && UpperBitsNotSet64(p->L_ACKMAMODE, 15); status = status && UpperBitsNotSet64(p->N_ITER_1, 5) ; for (uint32_t i = 0; i < p->N_ITER_1; ++i) { status = status && Mode_profile_Core_1_UpperBitsNotSet(&(p->sub_1[i])); } if (status) { return 1; } else { return 0; } }
int Error_Reporting_UpperBitsNotSet(const Error_Reporting* p) { if (UpperBitsNotSet64(p->L_PACKET, 13) && UpperBitsNotSet64(p->M_ERROR, 8)) { return 1; } else { return 0; } }
int Stop_Shunting_on_desk_opening_UpperBitsNotSet(const Stop_Shunting_on_desk_opening* p) { if (UpperBitsNotSet64(p->Q_DIR, 2) && UpperBitsNotSet64(p->L_PACKET, 13)) { return 1; } else { return 0; } }
int Temporary_Speed_Restriction_Revocation_UpperBitsNotSet(const Temporary_Speed_Restriction_Revocation* p) { if (UpperBitsNotSet64(p->Q_DIR, 2) && UpperBitsNotSet64(p->L_PACKET, 13) && UpperBitsNotSet64(p->NID_TSR, 8)) { return 1; } else { return 0; } }
int Level_23_transition_information_UpperBitsNotSet(const Level_23_transition_information* p) { if (UpperBitsNotSet64(p->NID_PACKET, 8) && UpperBitsNotSet64(p->L_PACKET, 13) && UpperBitsNotSet64(p->NID_LTRBG, 24)) { return 1; } else { return 0; } }
int Danger_for_Shunting_information_UpperBitsNotSet(const Danger_for_Shunting_information* p) { if (UpperBitsNotSet64(p->Q_DIR, 2) && UpperBitsNotSet64(p->L_PACKET, 13) && UpperBitsNotSet64(p->Q_ASPECT, 1)) { return 1; } else { return 0; } }
int Default_balise_or_Loop_or_RIU_information_UpperBitsNotSet(const Default_balise_or_Loop_or_RIU_information* p) { if (UpperBitsNotSet64(p->NID_PACKET, 8) && UpperBitsNotSet64(p->Q_DIR, 2) && UpperBitsNotSet64(p->L_PACKET, 13)) { return 1; } else { return 0; } }
int Radio_Network_registration_UpperBitsNotSet(const Radio_Network_registration* p) { if (UpperBitsNotSet64(p->Q_DIR, 2) && UpperBitsNotSet64(p->L_PACKET, 13) && UpperBitsNotSet64(p->NID_MN, 24)) { return 1; } else { return 0; } }
int Repositioning_Information_UpperBitsNotSet(const Repositioning_Information* p) { if (UpperBitsNotSet64(p->Q_DIR, 2) && UpperBitsNotSet64(p->L_PACKET, 13) && UpperBitsNotSet64(p->Q_SCALE, 2) && UpperBitsNotSet64(p->L_SECTION, 15)) { return 1; } else { return 0; } }
int International_Static_Speed_Profile_UpperBitsNotSet(const International_Static_Speed_Profile_Core* p) { bool status = true; status = status && UpperBitsNotSet64(p->Q_DIR, 2) ; status = status && UpperBitsNotSet64(p->L_PACKET, 13); status = status && UpperBitsNotSet64(p->Q_SCALE, 2) ; status = status && UpperBitsNotSet64(p->D_STATIC, 15); status = status && UpperBitsNotSet64(p->V_STATIC, 7) ; status = status && UpperBitsNotSet64(p->Q_FRONT, 1) ; status = status && UpperBitsNotSet64(p->N_ITER_1, 5) ; for (uint32_t i = 0; i < p->N_ITER_1; ++i) { status = status && International_Static_Speed_Profile_Core_1_UpperBitsNotSet(&(p->sub_1[i])); } status = status && UpperBitsNotSet64(p->N_ITER_2, 5) ; for (uint32_t i = 0; i < p->N_ITER_2; ++i) { status = status && International_Static_Speed_Profile_Core_2_UpperBitsNotSet(&(p->sub_2[i])); } if (status) { return 1; } else { return 0; } }
int Track_Condition_Change_of_allowed_current_consumption_UpperBitsNotSet(const Track_Condition_Change_of_allowed_current_consumption* p) { if (UpperBitsNotSet64(p->Q_DIR, 2) && UpperBitsNotSet64(p->L_PACKET, 13) && UpperBitsNotSet64(p->Q_SCALE, 2) && UpperBitsNotSet64(p->D_CURRENT, 15) && UpperBitsNotSet64(p->M_CURRENT, 10)) { return 1; } else { return 0; } }
int Infill_location_reference_UpperBitsNotSet(const Infill_location_reference* p) { if (UpperBitsNotSet64(p->Q_DIR, 2) && UpperBitsNotSet64(p->L_PACKET, 13) && UpperBitsNotSet64(p->Q_NEWCOUNTRY, 1) && UpperBitsNotSet64(p->NID_C, 10) && UpperBitsNotSet64(p->NID_BG, 14)) { return 1; } else { return 0; } }
int Axle_Load_Speed_Profile_Core_1_UpperBitsNotSet(const Axle_Load_Speed_Profile_Core_1* p) { bool status = true; status = status && UpperBitsNotSet64(p->M_AXLELOADCAT_n, 7) ; status = status && UpperBitsNotSet64(p->V_AXLELOAD_n, 7) ; if (status) { return 1; } else { return 0; } }
int InternationalStaticSpeedProfile_2_1_UpperBitsNotSet(const InternationalStaticSpeedProfile_2_1* p) { int status = 1; status = status && UpperBitsNotSet64(p->NC_DIFF, 4) ; status = status && UpperBitsNotSet64(p->V_DIFF, 7) ; if (status) { return 1; } else { return 0; } }
int Error_Reporting_UpperBitsNotSet(const Error_Reporting_Core* p) { bool status = true; status = status && UpperBitsNotSet64(p->L_PACKET, 13); status = status && UpperBitsNotSet64(p->M_ERROR, 8) ; if (status) { return 1; } else { return 0; } }
int National_Values_Core_3_1_UpperBitsNotSet(const National_Values_Core_3_1* p) { bool status = true; status = status && UpperBitsNotSet64(p->V_NVKVINT, 7) ; status = status && UpperBitsNotSet64(p->M_NVKVINT, 7) ; if (status) { return 1; } else { return 0; } }
int Position_Report_Parameters_Core_1_UpperBitsNotSet(const Position_Report_Parameters_Core_1* p) { bool status = true; status = status && UpperBitsNotSet64(p->D_LOC, 15); status = status && UpperBitsNotSet64(p->Q_LGTLOC, 1) ; if (status) { return 1; } else { return 0; } }
int Default_balise_or_Loop_or_RIU_information_UpperBitsNotSet(const Default_balise_or_Loop_or_RIU_information_Core* p) { bool status = true; status = status && UpperBitsNotSet64(p->Q_DIR, 2) ; status = status && UpperBitsNotSet64(p->L_PACKET, 13); if (status) { return 1; } else { return 0; } }
int Inhibition_of_balise_group_message_consistency_reaction_UpperBitsNotSet(const Inhibition_of_balise_group_message_consistency_reaction_Core* p) { bool status = true; status = status && UpperBitsNotSet64(p->Q_DIR, 2) ; status = status && UpperBitsNotSet64(p->L_PACKET, 13); if (status) { return 1; } else { return 0; } }
int Track_Condition_Big_Metal_Masses_Core_1_UpperBitsNotSet(const Track_Condition_Big_Metal_Masses_Core_1* p) { bool status = true; status = status && UpperBitsNotSet64(p->D_TRACKCOND, 15); status = status && UpperBitsNotSet64(p->L_TRACKCOND, 15); if (status) { return 1; } else { return 0; } }
int Level23TransitionInformation_UpperBitsNotSet(const Level23TransitionInformation* p) { int status = 1; status = status && UpperBitsNotSet64(p->L_PACKET, 13); status = status && UpperBitsNotSet64(p->NID_LTRBG, 24); if (status) { return 1; } else { return 0; } }
int Inhibition_of_revocable_TSRs_from_balises_in_L23_UpperBitsNotSet(const Inhibition_of_revocable_TSRs_from_balises_in_L23_Core* p) { bool status = true; status = status && UpperBitsNotSet64(p->Q_DIR, 2) ; status = status && UpperBitsNotSet64(p->L_PACKET, 13); if (status) { return 1; } else { return 0; } }
int Train_running_number_from_RBC_UpperBitsNotSet(const Train_running_number_from_RBC_Core* p) { bool status = true; status = status && UpperBitsNotSet64(p->Q_DIR, 2) ; status = status && UpperBitsNotSet64(p->L_PACKET, 13); status = status && UpperBitsNotSet64(p->NID_OPERATIONAL, 32); if (status) { return 1; } else { return 0; } }
int DangerForShuntingInformation_UpperBitsNotSet(const DangerForShuntingInformation* p) { int status = 1; status = status && UpperBitsNotSet64(p->Q_DIR, 2) ; status = status && UpperBitsNotSet64(p->L_PACKET, 13); status = status && UpperBitsNotSet64(p->Q_ASPECT, 1) ; if (status) { return 1; } else { return 0; } }
int RadioNetworkRegistration_UpperBitsNotSet(const RadioNetworkRegistration* p) { int status = 1; status = status && UpperBitsNotSet64(p->Q_DIR, 2) ; status = status && UpperBitsNotSet64(p->L_PACKET, 13); status = status && UpperBitsNotSet64(p->NID_MN, 24); if (status) { return 1; } else { return 0; } }
int Temporary_Speed_Restriction_Revocation_UpperBitsNotSet(const Temporary_Speed_Restriction_Revocation_Core* p) { bool status = true; status = status && UpperBitsNotSet64(p->Q_DIR, 2) ; status = status && UpperBitsNotSet64(p->L_PACKET, 13); status = status && UpperBitsNotSet64(p->NID_TSR, 8) ; if (status) { return 1; } else { return 0; } }
int Stop_if_in_Staff_Responsible_UpperBitsNotSet(const Stop_if_in_Staff_Responsible_Core* p) { bool status = true; status = status && UpperBitsNotSet64(p->Q_DIR, 2) ; status = status && UpperBitsNotSet64(p->L_PACKET, 13); status = status && UpperBitsNotSet64(p->Q_SRSTOP, 1) ; if (status) { return 1; } else { return 0; } }