ACurrencyEntry.3 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. .TH "ACurrencyEntry" 3 "Fri Mar 4 2022" "openPilotLog" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. ACurrencyEntry
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .PP
  10. Inherits \fBAEntry\fP\&.
  11. .SS "Public Types"
  12. .in +1c
  13. .ti -1c
  14. .RI "enum class \fBCurrencyName\fP { \fBLicence\fP = 1, \fBTypeRating\fP = 2, \fBLineCheck\fP = 3, \fBMedical\fP = 4, \fBCustom1\fP = 5, \fBCustom2\fP = 6 }"
  15. .br
  16. .in -1c
  17. .SS "Public Member Functions"
  18. .in +1c
  19. .ti -1c
  20. .RI "\fBACurrencyEntry\fP (CurrencyName name)"
  21. .br
  22. .RI "ACurrencyEntry::ACurrencyEntry Creates an ACurrenyEntry object\&. "
  23. .ti -1c
  24. .RI "\fBACurrencyEntry\fP (CurrencyName name, QDate expiration_date)"
  25. .br
  26. .ti -1c
  27. .RI "\fBACurrencyEntry\fP (const \fBACurrencyEntry\fP &te)=default"
  28. .br
  29. .ti -1c
  30. .RI "\fBACurrencyEntry\fP & \fBoperator=\fP (const \fBACurrencyEntry\fP &te)=default"
  31. .br
  32. .ti -1c
  33. .RI "bool \fBisValid\fP () const"
  34. .br
  35. .RI "\fBACurrencyEntry::isValid\fP returns true if the object holds a valid expiration date\&. "
  36. .in -1c
  37. .SS "Additional Inherited Members"
  38. .SH "Constructor & Destructor Documentation"
  39. .PP
  40. .SS "ACurrencyEntry::ACurrencyEntry (ACurrencyEntry::CurrencyName currency_name)"
  41. .PP
  42. ACurrencyEntry::ACurrencyEntry Creates an ACurrenyEntry object\&. The Data Position is initalized by using the strongly typed enum CurrencyName, which maps to the static row id for the currency\&.
  43. .SH "Member Function Documentation"
  44. .PP
  45. .SS "bool ACurrencyEntry::isValid () const"
  46. .PP
  47. \fBACurrencyEntry::isValid\fP returns true if the object holds a valid expiration date\&. Unless a user has previously entered an expiration date, this will return false\&.
  48. .PP
  49. \fBReturns\fP
  50. .RS 4
  51. .RE
  52. .PP
  53. .SH "Author"
  54. .PP
  55. Generated automatically by Doxygen for openPilotLog from the source code\&.