glibmm: glibmm Enums and Flags
Functions | |
| FileTest | Glib::operator| (FileTest lhs, FileTest rhs) |
| FileTest | Glib::operator& (FileTest lhs, FileTest rhs) |
| FileTest | Glib::operator^ (FileTest lhs, FileTest rhs) |
| FileTest | Glib::operator~ (FileTest flags) |
| FileTest& | Glib::operator|= (FileTest& lhs, FileTest rhs) |
| FileTest& | Glib::operator&= (FileTest& lhs, FileTest rhs) |
| FileTest& | Glib::operator^= (FileTest& lhs, FileTest rhs) |
| IOFlags | Glib::operator| (IOFlags lhs, IOFlags rhs) |
| IOFlags | Glib::operator& (IOFlags lhs, IOFlags rhs) |
| IOFlags | Glib::operator^ (IOFlags lhs, IOFlags rhs) |
| IOFlags | Glib::operator~ (IOFlags flags) |
| IOFlags& | Glib::operator|= (IOFlags& lhs, IOFlags rhs) |
| IOFlags& | Glib::operator&= (IOFlags& lhs, IOFlags rhs) |
| IOFlags& | Glib::operator^= (IOFlags& lhs, IOFlags rhs) |
| IOCondition | Glib::operator| (IOCondition lhs, IOCondition rhs) |
| IOCondition | Glib::operator& (IOCondition lhs, IOCondition rhs) |
| IOCondition | Glib::operator^ (IOCondition lhs, IOCondition rhs) |
| IOCondition | Glib::operator~ (IOCondition flags) |
| IOCondition& | Glib::operator|= (IOCondition& lhs, IOCondition rhs) |
| IOCondition& | Glib::operator&= (IOCondition& lhs, IOCondition rhs) |
| IOCondition& | Glib::operator^= (IOCondition& lhs, IOCondition rhs) |
| KeyFileFlags | Glib::operator| (KeyFileFlags lhs, KeyFileFlags rhs) |
| KeyFileFlags | Glib::operator& (KeyFileFlags lhs, KeyFileFlags rhs) |
| KeyFileFlags | Glib::operator^ (KeyFileFlags lhs, KeyFileFlags rhs) |
| KeyFileFlags | Glib::operator~ (KeyFileFlags flags) |
| KeyFileFlags& | Glib::operator|= (KeyFileFlags& lhs, KeyFileFlags rhs) |
| KeyFileFlags& | Glib::operator&= (KeyFileFlags& lhs, KeyFileFlags rhs) |
| KeyFileFlags& | Glib::operator^= (KeyFileFlags& lhs, KeyFileFlags rhs) |
| ParseFlags | Glib::Markup::operator| (ParseFlags lhs, ParseFlags rhs) |
| ParseFlags | Glib::Markup::operator& (ParseFlags lhs, ParseFlags rhs) |
| ParseFlags | Glib::Markup::operator^ (ParseFlags lhs, ParseFlags rhs) |
| ParseFlags | Glib::Markup::operator~ (ParseFlags flags) |
| ParseFlags& | Glib::Markup::operator|= (ParseFlags& lhs, ParseFlags rhs) |
| ParseFlags& | Glib::Markup::operator&= (ParseFlags& lhs, ParseFlags rhs) |
| ParseFlags& | Glib::Markup::operator^= (ParseFlags& lhs, ParseFlags rhs) |
| ModuleFlags | Glib::operator| (ModuleFlags lhs, ModuleFlags rhs) |
| ModuleFlags | Glib::operator& (ModuleFlags lhs, ModuleFlags rhs) |
| ModuleFlags | Glib::operator^ (ModuleFlags lhs, ModuleFlags rhs) |
| ModuleFlags | Glib::operator~ (ModuleFlags flags) |
| ModuleFlags& | Glib::operator|= (ModuleFlags& lhs, ModuleFlags rhs) |
| ModuleFlags& | Glib::operator&= (ModuleFlags& lhs, ModuleFlags rhs) |
| ModuleFlags& | Glib::operator^= (ModuleFlags& lhs, ModuleFlags rhs) |
| RegexCompileFlags | Glib::operator| (RegexCompileFlags lhs, RegexCompileFlags rhs) |
| RegexCompileFlags | Glib::operator& (RegexCompileFlags lhs, RegexCompileFlags rhs) |
| RegexCompileFlags | Glib::operator^ (RegexCompileFlags lhs, RegexCompileFlags rhs) |
| RegexCompileFlags | Glib::operator~ (RegexCompileFlags flags) |
| RegexCompileFlags& | Glib::operator|= (RegexCompileFlags& lhs, RegexCompileFlags rhs) |
| RegexCompileFlags& | Glib::operator&= (RegexCompileFlags& lhs, RegexCompileFlags rhs) |
| RegexCompileFlags& | Glib::operator^= (RegexCompileFlags& lhs, RegexCompileFlags rhs) |
| RegexMatchFlags | Glib::operator| (RegexMatchFlags lhs, RegexMatchFlags rhs) |
| RegexMatchFlags | Glib::operator& (RegexMatchFlags lhs, RegexMatchFlags rhs) |
| RegexMatchFlags | Glib::operator^ (RegexMatchFlags lhs, RegexMatchFlags rhs) |
| RegexMatchFlags | Glib::operator~ (RegexMatchFlags flags) |
| RegexMatchFlags& | Glib::operator|= (RegexMatchFlags& lhs, RegexMatchFlags rhs) |
| RegexMatchFlags& | Glib::operator&= (RegexMatchFlags& lhs, RegexMatchFlags rhs) |
| RegexMatchFlags& | Glib::operator^= (RegexMatchFlags& lhs, RegexMatchFlags rhs) |
| SpawnFlags | Glib::operator| (SpawnFlags lhs, SpawnFlags rhs) |
| SpawnFlags | Glib::operator& (SpawnFlags lhs, SpawnFlags rhs) |
| SpawnFlags | Glib::operator^ (SpawnFlags lhs, SpawnFlags rhs) |
| SpawnFlags | Glib::operator~ (SpawnFlags flags) |
| SpawnFlags& | Glib::operator|= (SpawnFlags& lhs, SpawnFlags rhs) |
| SpawnFlags& | Glib::operator&= (SpawnFlags& lhs, SpawnFlags rhs) |
| SpawnFlags& | Glib::operator^= (SpawnFlags& lhs, SpawnFlags rhs) |
| AsciiType | Glib::operator| (AsciiType lhs, AsciiType rhs) |
| AsciiType | Glib::operator& (AsciiType lhs, AsciiType rhs) |
| AsciiType | Glib::operator^ (AsciiType lhs, AsciiType rhs) |
| AsciiType | Glib::operator~ (AsciiType flags) |
| AsciiType& | Glib::operator|= (AsciiType& lhs, AsciiType rhs) |
| AsciiType& | Glib::operator&= (AsciiType& lhs, AsciiType rhs) |
| AsciiType& | Glib::operator^= (AsciiType& lhs, AsciiType rhs) |
Detailed Description
Enumeration Type Documentation
| enum Glib::AsciiType |
- Bitwise operators:
AsciiType operator|(AsciiType, AsciiType)
AsciiType operator&(AsciiType, AsciiType)
AsciiType operator^(AsciiType, AsciiType)
AsciiType operator~(AsciiType)
AsciiType& operator|=(AsciiType&, AsciiType)
AsciiType& operator&=(AsciiType&, AsciiType)
AsciiType& operator^=(AsciiType&, AsciiType)
| Enumerator | |
|---|---|
| ASCII_ALNUM | |
| ASCII_ALPHA | |
| ASCII_CNTRL | |
| ASCII_DIGIT | |
| ASCII_GRAPH | |
| ASCII_LOWER | |
| ASCII_PRINT | |
| ASCII_PUNCT | |
| ASCII_SPACE | |
| ASCII_UPPER | |
| ASCII_XDIGIT | |
The hashing algorithm to be used by Checksum when performing the digest of some data.
Note that the ChecksumType enumeration may be extended at a later date to include new hashing algorithm types.
| enum Glib::Date::DMY |
| enum Glib::FileTest |
A test to perform on a file using g_file_test().
- Bitwise operators:
FileTest operator|(FileTest, FileTest)
FileTest operator&(FileTest, FileTest)
FileTest operator^(FileTest, FileTest)
FileTest operator~(FileTest)
FileTest& operator|=(FileTest&, FileTest)
FileTest& operator&=(FileTest&, FileTest)
FileTest& operator^=(FileTest&, FileTest)
| enum Glib::IOCondition |
A bitwise combination representing a condition to watch for on an event source.
- Bitwise operators:
IOCondition operator|(IOCondition, IOCondition)
IOCondition operator&(IOCondition, IOCondition)
IOCondition operator^(IOCondition, IOCondition)
IOCondition operator~(IOCondition)
IOCondition& operator|=(IOCondition&, IOCondition)
IOCondition& operator&=(IOCondition&, IOCondition)
IOCondition& operator^=(IOCondition&, IOCondition)
| Enumerator | |
|---|---|
| IO_IN |
A bitwise combination representing an I/O condition to watch for on an event source. The flags correspond to those used by the if((condition & Glib::IO_OUT) != 0)
do_some_output();
There is data to read. |
| IO_OUT |
Data can be written (without blocking). |
| IO_PRI |
There is urgent data to read. |
| IO_ERR |
Error condition. |
| IO_HUP |
Hung up (the connection has been broken, usually forpipes and sockets). |
| IO_NVAL |
Invalid request. The file descriptor is not open. |
| enum Glib::IOFlags |
Specifies properties of a IOChannel.
Some of the flags can only be read with g_io_channel_get_flags(), but not changed with g_io_channel_set_flags().
- Bitwise operators:
IOFlags operator|(IOFlags, IOFlags)
IOFlags operator&(IOFlags, IOFlags)
IOFlags operator^(IOFlags, IOFlags)
IOFlags operator~(IOFlags)
IOFlags& operator|=(IOFlags&, IOFlags)
IOFlags& operator&=(IOFlags&, IOFlags)
IOFlags& operator^=(IOFlags&, IOFlags)
| enum Glib::IOStatus |
| enum Glib::KeyFileFlags |
Flags which influence the parsing.
- Bitwise operators:
KeyFileFlags operator|(KeyFileFlags, KeyFileFlags)
KeyFileFlags operator&(KeyFileFlags, KeyFileFlags)
KeyFileFlags operator^(KeyFileFlags, KeyFileFlags)
KeyFileFlags operator~(KeyFileFlags)
KeyFileFlags& operator|=(KeyFileFlags&, KeyFileFlags)
KeyFileFlags& operator&=(KeyFileFlags&, KeyFileFlags)
KeyFileFlags& operator^=(KeyFileFlags&, KeyFileFlags)
| enum Glib::ModuleFlags |
Flags passed to g_module_open().
Note that these flags are not supported on all platforms.
- Bitwise operators:
ModuleFlags operator|(ModuleFlags, ModuleFlags)
ModuleFlags operator&(ModuleFlags, ModuleFlags)
ModuleFlags operator^(ModuleFlags, ModuleFlags)
ModuleFlags operator~(ModuleFlags)
ModuleFlags& operator|=(ModuleFlags&, ModuleFlags)
ModuleFlags& operator&=(ModuleFlags&, ModuleFlags)
ModuleFlags& operator^=(ModuleFlags&, ModuleFlags)
| enum Glib::Date::Month |
Enumeration representing a month; values are DATE_JANUARY, DATE_FEBRUARY, etc.
DATE_BAD_MONTH is the invalid value.
| enum Glib::NormalizeMode |
Defines how a Unicode string is transformed in a canonical form, standardizing such issues as whether a character with an accent is represented as a base character and combining accent or as a single precomposed character.
Unicode strings should generally be normalized before comparing them.
| Enumerator | |
|---|---|
| NORMALIZE_DEFAULT |
standardize differences that do not affect thetext content, such as the above-mentioned accent representation. |
| NORMALIZE_NFD |
another name for Normalize::DEFAULT. |
| NORMALIZE_DEFAULT_COMPOSE |
like Normalize::DEFAULT, but withcomposed forms rather than a maximally decomposed form. |
| NORMALIZE_NFC |
another name for Normalize::DEFAULT_COMPOSE. |
| NORMALIZE_ALL |
beyond Normalize::DEFAULT also standardize the"compatibility" characters in Unicode, such as SUPERSCRIPT THREEto the standard forms (in this case DIGIT THREE). Formattinginformation may be lost but for most text operations suchcharacters should be considered the same. |
| NORMALIZE_NFKD |
another name for Normalize::ALL. |
| NORMALIZE_ALL_COMPOSE |
like Normalize::ALL, but with composedforms rather than a maximally decomposed form. |
| NORMALIZE_NFKC |
another name for Normalize::ALL_COMPOSE. |
Flags that affect the behaviour of the parser.
- Bitwise operators:
ParseFlags operator|(ParseFlags, ParseFlags)
ParseFlags operator&(ParseFlags, ParseFlags)
ParseFlags operator^(ParseFlags, ParseFlags)
ParseFlags operator~(ParseFlags)
ParseFlags& operator|=(ParseFlags&, ParseFlags)
ParseFlags& operator&=(ParseFlags&, ParseFlags)
ParseFlags& operator^=(ParseFlags&, ParseFlags)
Flags specifying compile-time options.
- Bitwise operators:
RegexCompileFlags operator|(RegexCompileFlags, RegexCompileFlags)
RegexCompileFlags operator&(RegexCompileFlags, RegexCompileFlags)
RegexCompileFlags operator^(RegexCompileFlags, RegexCompileFlags)
RegexCompileFlags operator~(RegexCompileFlags)
RegexCompileFlags& operator|=(RegexCompileFlags&, RegexCompileFlags)
RegexCompileFlags& operator&=(RegexCompileFlags&, RegexCompileFlags)
RegexCompileFlags& operator^=(RegexCompileFlags&, RegexCompileFlags)
Flags specifying match-time options.
- Bitwise operators:
RegexMatchFlags operator|(RegexMatchFlags, RegexMatchFlags)
RegexMatchFlags operator&(RegexMatchFlags, RegexMatchFlags)
RegexMatchFlags operator^(RegexMatchFlags, RegexMatchFlags)
RegexMatchFlags operator~(RegexMatchFlags)
RegexMatchFlags& operator|=(RegexMatchFlags&, RegexMatchFlags)
RegexMatchFlags& operator&=(RegexMatchFlags&, RegexMatchFlags)
RegexMatchFlags& operator^=(RegexMatchFlags&, RegexMatchFlags)
| Enumerator | |
|---|---|
| REGEX_MATCH_ANCHORED |
The pattern is forced to be "anchored", that is,it is constrained to match only at the first matching point in thestring that is being searched. This effect can also be achieved byappropriate constructs in the pattern itself such as the "^"metacharater. |
| REGEX_MATCH_NOTBOL |
Specifies that first character of the string isnot the beginning of a line, so the circumflex metacharacter shouldnot match before it. Setting this without Regex::MULTILINE (atcompile time) causes circumflex never to match. This option affectsonly the behaviour of the circumflex metacharacter, it does notaffect "\\A". |
| REGEX_MATCH_NOTEOL |
Specifies that the end of the subject string isnot the end of a line, so the dollar metacharacter should not matchit nor (except in multiline mode) a newline immediately before it.Setting this without Regex::MULTILINE (at compile time) causesdollar never to match. This option affects only the behaviour ofthe dollar metacharacter, it does not affect "\\Z" or "\\z". |
| REGEX_MATCH_NOTEMPTY |
An empty string is not considered to be a validmatch if this option is set. If there are alternatives in the pattern,they are tried. If all the alternatives match the empty string, theentire match fails. For example, if the pattern "a?b?" is applied toa string not beginning with "a" or "b", it matches the empty stringat the start of the string. With this flag set, this match is notvalid, so GRegex searches further into the string for occurrencesof "a" or "b". |
| REGEX_MATCH_PARTIAL |
Turns on the partial matching feature, for moredocumentation on partial matching see g_match_info_is_partial_match(). |
| REGEX_MATCH_NEWLINE_CR |
Overrides the newline definition set whencreating a new Regex, setting the '\r' character as line terminator. |
| REGEX_MATCH_NEWLINE_LF |
Overrides the newline definition set whencreating a new Regex, setting the '\n' character as line terminator. |
| REGEX_MATCH_NEWLINE_CRLF |
Overrides the newline definition set whencreating a new Regex, setting the '\r\n' characters sequence as line terminator. |
| REGEX_MATCH_NEWLINE_ANY |
Overrides the newline definition set whencreating a new Regex, any Unicode newline sequenceis recognised as a newline. These are '\r', '\n' and '\rn', and thesingle characters U+000B LINE TABULATION, U+000C FORM FEED (FF),U+0085 NEXT LINE (NEL), U+2028 LINE SEPARATOR andU+2029 PARAGRAPH SEPARATOR. |
| REGEX_MATCH_NEWLINE_ANYCRLF |
Overrides the newline definition set whencreating a new Regex; any '\r', '\n', or '\r\n' character sequenceis recognized as a newline. |
| REGEX_MATCH_BSR_ANYCRLF |
Overrides the newline definition for "\\R" set whencreating a new Regex; only '\r', '\n', or '\r\n' character sequencesare recognized as a newline by "\\R". |
| REGEX_MATCH_BSR_ANY |
Overrides the newline definition for "\\R" set whencreating a new Regex; any Unicode newline character or character sequenceare recognized as a newline by "\\R". These are '\r', '\n' and '\rn', and thesingle characters U+000B LINE TABULATION, U+000C FORM FEED (FF),U+0085 NEXT LINE (NEL), U+2028 LINE SEPARATOR andU+2029 PARAGRAPH SEPARATOR. |
| REGEX_MATCH_PARTIAL_SOFT |
An alias for Regex::MATCH_PARTIAL. |
| REGEX_MATCH_PARTIAL_HARD |
Turns on the partial matching feature. In contrast toto Regex::MATCH_PARTIAL_SOFT, this stops matching as soon as a partial matchis found, without continuing to search for a possible complete match. Seeg_match_info_is_partial_match() for more information. |
| REGEX_MATCH_NOTEMPTY_ATSTART |
Like Regex::MATCH_NOTEMPTY, but only applied tothe start of the matched string. For anchoredpatterns this can only happen for pattern containing "\\K". |
| enum Glib::SeekType |
| enum Glib::SpawnFlags |
Flags passed to g_spawn_sync(), g_spawn_async() and g_spawn_async_with_pipes().
- Bitwise operators:
SpawnFlags operator|(SpawnFlags, SpawnFlags)
SpawnFlags operator&(SpawnFlags, SpawnFlags)
SpawnFlags operator^(SpawnFlags, SpawnFlags)
SpawnFlags operator~(SpawnFlags)
SpawnFlags& operator|=(SpawnFlags&, SpawnFlags)
SpawnFlags& operator&=(SpawnFlags&, SpawnFlags)
SpawnFlags& operator^=(SpawnFlags&, SpawnFlags)
| enum Glib::ThreadPriority |
Deprecated:2.32: Thread priorities no longer have any effect.
| Enumerator | |
|---|---|
| THREAD_PRIORITY_LOW |
a priority lower than normal. A priority lower than normal. |
| THREAD_PRIORITY_NORMAL |
the default priority. The default priority. |
| THREAD_PRIORITY_HIGH |
a priority higher than normal. A priority higher than normal. |
| THREAD_PRIORITY_URGENT |
the highest priority. The highest priority. |
| enum Glib::TimeType |
Disambiguates a given time in two ways.
First, specifies if the given time is in universal or local time.
Second, if the time is in local time, specifies if it is local standard time or local daylight time. This is important for the case where the same local time occurs twice (during daylight savings time transitions, for example).
| Enumerator | |
|---|---|
| TIME_TYPE_STANDARD |
the time is in local standard time. |
| TIME_TYPE_DAYLIGHT |
the time is in local daylight time. |
| TIME_TYPE_UNIVERSAL |
the time is in UTC. |
| enum Glib::NodeTree::TraverseFlags |
Specifies which nodes are visited during several of the NodeTree methods, including traverse() and find().
| enum Glib::TraverseType |
Specifies the type of traveral performed by methods such as NodeTree::_traverse() and NodeTree::find().
| Enumerator | |
|---|---|
| TRAVERSE_IN_ORDER |
Visits a node's left child first, then the node itself, then its right child. This is the one to use if you want the output sorted according to the compare function. |
| TRAVERSE_PRE_ORDER |
Visits a node, then its children. |
| TRAVERSE_POST_ORDER |
Visits the node's children, then the node itself. |
| TRAVERSE_LEVEL_ORDER |
For NodeTree, it vists the root node first, then its children, then its grandchildren, and so on. Note that this is less efficient than the other orders. This is not implemented for Glib::Tree. |
These are the possible line break classifications.
Since new unicode versions may add new types here, applications should be ready to handle unknown values. They may be regarded as UNICODE_BREAK_UNKNOWN.
See http://www.unicode.org/unicode/reports/tr14/.
| enum Glib::UnicodeType |
These are the possible character classifications from the Unicode specification.
See http://www.unicode.org/Public/UNIDATA/UnicodeData.html.
| enum Glib::Date::Weekday |
Function Documentation
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
