2
0

ValidationState.3 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. .TH "ValidationState" 3 "Tue Aug 9 2022" "openPilotLog" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. ValidationState \- The \fBValidationState\fP class encapsulates a QBitArray that has a bit set (or unset) depending on wether the input for the associated index has been verified\&. The indexes correspond to the mandatory items enumerated in the ValidationItem enum\&.
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .PP
  10. \fC#include <newflightdialog\&.h>\fP
  11. .SS "Public Types"
  12. .in +1c
  13. .ti -1c
  14. .RI "enum \fBValidationItem\fP { \fBdoft\fP = 0, \fBdept\fP = 1, \fBdest\fP = 2, \fBtofb\fP = 3, \fBtonb\fP = 4, \fBpic\fP = 5, \fBacft\fP = 6 }"
  15. .br
  16. .RI "The ValidationItem enum contains the items that are mandatory for logging a flight: Date of Flight, Departure, Destination, Time Off Blocks, Time On Blocks, Pilot in Command, Aircraft Registration\&. "
  17. .in -1c
  18. .SS "Public Member Functions"
  19. .in +1c
  20. .ti -1c
  21. .RI "void \fBvalidate\fP (\fBValidationItem\fP item)"
  22. .br
  23. .ti -1c
  24. .RI "void \fBvalidate\fP (int index)"
  25. .br
  26. .ti -1c
  27. .RI "void \fBinvalidate\fP (\fBValidationItem\fP item)"
  28. .br
  29. .ti -1c
  30. .RI "void \fBinvalidate\fP (int index)"
  31. .br
  32. .ti -1c
  33. .RI "bool \fBallValid\fP () const"
  34. .br
  35. .ti -1c
  36. .RI "bool \fBtimesValid\fP () const"
  37. .br
  38. .ti -1c
  39. .RI "bool \fBlocationsValid\fP () const"
  40. .br
  41. .ti -1c
  42. .RI "bool \fBnightDataValid\fP () const"
  43. .br
  44. .ti -1c
  45. .RI "bool \fBacftValid\fP () const"
  46. .br
  47. .ti -1c
  48. .RI "bool \fBvalidAt\fP (int index) const"
  49. .br
  50. .ti -1c
  51. .RI "bool \fBvalidAt\fP (\fBValidationItem\fP item) const"
  52. .br
  53. .ti -1c
  54. .RI "void \fBprintValidationStatus\fP () const"
  55. .br
  56. .in -1c
  57. .SH "Detailed Description"
  58. .PP
  59. The \fBValidationState\fP class encapsulates a QBitArray that has a bit set (or unset) depending on wether the input for the associated index has been verified\&. The indexes correspond to the mandatory items enumerated in the ValidationItem enum\&.
  60. .SH "Author"
  61. .PP
  62. Generated automatically by Doxygen for openPilotLog from the source code\&.