7 #ifndef Os_FileModeEnumAc_HPP 8 #define Os_FileModeEnumAc_HPP 115 return this->
e == e1;
121 return !(*
this == e1);
127 friend std::ostream& operator<<(
153 #if FW_SERIALIZABLE_TO_STRING
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
Open file for writing and truncates file if it exists, ie same flags as creat()
The size of the serial representation.
Open file for writing; writes don't return until data is on disk.
bool operator!=(T e1) const
Inequality operator.
FileMode()
Constructor (default value of OPEN_NO_MODE)
FileMode(const T e1)
Constructor (user-provided value)
SerializeStatus
forward declaration for string
FileMode(const FileMode &obj)
Copy constructor.
FPP shadow-enum representing Os::File::Mode.
File mode not yet selected.
The number of enumerated constants.
bool isValid() const
Check raw enum value for validity.
C++-compatible configuration header for fprime configuration.
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
T t
For backwards compatibility.
FileMode & operator=(const FileMode &obj)
Copy assignment operator (object)
bool operator==(T e1) const
Equality operator.
I32 SerialType
The serial representation type.