TextFile :: processingMode - Set text processing mode
Text processing mode may be set as long as it is undefined. Otherwise, the function throws an exception in order to avoid mixed text processing modes. After being set once, explicitly or implicitly, it cannot be changed, unless the file is closed or not opened.
Text processing modes define different ways for accessing, especially writing, text files.
Text processing modes are, usually, set implicitly when calling the first function requiring a certain text processing mode. One may, however, also set text processing modes explicitly before accessing the file.
Implementation overview
- Get text processing mode
TextFile :: processingMode (  ) - Set text processing mode
TextFile :: processingMode ( eTextProcessingModes )
Implementation details
-
Get text processing mode
odaba::TextProcessingModes TextFile  :: processingMode (  )
The function returns the text processing mode currently set.
to list
-
Set text processing mode
odaba::TextProcessingModes TextFile  :: processingMode ( odaba::TextProcessingModes eTextProcessingModes )
Text processing mode is set implicitly when calling a function that requires a specific text processing mode. As long as text processing mode is not set, it may also be set explicitly. When text processing mode has already been set and the value passed in eTextProcessingModes differs from the current text processing mode, the function throws an exception.
- eTextProcessingModes
- Text processing modes
Text processing modes define different ways for accessing, especially writing, text files.
Text processing modes are, usually, set implicitly when calling the first function requiring a certain text processing mode. One may, however, also set text processing modes explicitly before accessing the file.
to list
- eTextProcessingModes
- Text processing modes