#include <mootTokenIO.h>
Inheritance diagram for moot::TokenIO:
|
Convert a format bitmask to a canonical string form. |
|
Guess basic format flags from a filename based on dot-separated extension substrings. Returns a bitmask suitable for passing to sanitize_format(). Recognizes filename extensions as documented in mootfiles(5).
|
|
Returns true iff no information content is requested by fmt.
|
|
Create a new TokenReader object suitable for reading the format @fmt. \fmt should be a bitmask composed of TokenIOFormat flags. Caller is responsible for deleting the object returned. |
|
Create a new TokenReader object suitable for reading the format @fmt. @fmt should be a bitmask composed of TokenIOFormat flags. Caller is responsible for delting the object returned. |
|
Top-level format-instantiation utility.
|
|
Parse a format string, which should be a comma-separated list of TokenIOFormat flag-names (without the 'tiof' prefix, matching is case-insensitive). A prefix of '!' indicates negation of the given flag. Returns the corresponding bitmask.
|
|
Sanity check for format bitmasks.
|