Top |
Functions
GScanner * | gimp_scanner_new_file () |
GScanner * | gimp_scanner_new_gfile () |
GScanner * | gimp_scanner_new_stream () |
GScanner * | gimp_scanner_new_string () |
void | gimp_scanner_destroy () |
gboolean | gimp_scanner_parse_token () |
gboolean | gimp_scanner_parse_identifier () |
gboolean | gimp_scanner_parse_string () |
gboolean | gimp_scanner_parse_string_no_validate () |
gboolean | gimp_scanner_parse_data () |
gboolean | gimp_scanner_parse_int () |
gboolean | gimp_scanner_parse_int64 () |
gboolean | gimp_scanner_parse_float () |
gboolean | gimp_scanner_parse_boolean () |
gboolean | gimp_scanner_parse_color () |
gboolean | gimp_scanner_parse_matrix2 () |
Functions
gimp_scanner_new_file ()
GScanner * gimp_scanner_new_file (const gchar *filename
,GError **error
);
Since: 2.4
gimp_scanner_new_gfile ()
GScanner * gimp_scanner_new_gfile (GFile *file
,GError **error
);
Since: 2.10
gimp_scanner_new_stream ()
GScanner * gimp_scanner_new_stream (GInputStream *input
,GError **error
);
Since: 2.10
gimp_scanner_new_string ()
GScanner * gimp_scanner_new_string (const gchar *text
,gint text_len
,GError **error
);
Since: 2.4
gimp_scanner_parse_token ()
gboolean gimp_scanner_parse_token (GScanner *scanner
,GTokenType token
);
Parameters
scanner |
A GScanner created by |
|
token |
the GTokenType expected as next token. |
Since: 2.4
gimp_scanner_parse_identifier ()
gboolean gimp_scanner_parse_identifier (GScanner *scanner
,const gchar *identifier
);
Parameters
scanner |
A GScanner created by |
|
identifier |
the expected identifier. |
Since: 2.4
gimp_scanner_parse_string ()
gboolean gimp_scanner_parse_string (GScanner *scanner
,gchar **dest
);
Parameters
scanner |
A GScanner created by |
|
dest |
Return location for the parsed string |
Since: 2.4
gimp_scanner_parse_string_no_validate ()
gboolean gimp_scanner_parse_string_no_validate (GScanner *scanner
,gchar **dest
);
Parameters
scanner |
A GScanner created by |
|
dest |
Return location for the parsed string |
Since: 2.4
gimp_scanner_parse_data ()
gboolean gimp_scanner_parse_data (GScanner *scanner
,gint length
,guint8 **dest
);
Parameters
scanner |
A GScanner created by |
|
length |
Length of the data to parse |
|
dest |
Return location for the parsed data |
Since: 2.4
gimp_scanner_parse_int ()
gboolean gimp_scanner_parse_int (GScanner *scanner
,gint *dest
);
Parameters
scanner |
A GScanner created by |
|
dest |
Return location for the parsed integer |
Since: 2.4
gimp_scanner_parse_int64 ()
gboolean gimp_scanner_parse_int64 (GScanner *scanner
,gint64 *dest
);
Parameters
scanner |
A GScanner created by |
|
dest |
Return location for the parsed integer |
Since: 2.8
gimp_scanner_parse_float ()
gboolean gimp_scanner_parse_float (GScanner *scanner
,gdouble *dest
);
Parameters
scanner |
A GScanner created by |
|
dest |
Return location for the parsed float |
Since: 2.4
gimp_scanner_parse_boolean ()
gboolean gimp_scanner_parse_boolean (GScanner *scanner
,gboolean *dest
);
Parameters
scanner |
A GScanner created by |
|
dest |
Return location for the parsed boolean |
Since: 2.4
gimp_scanner_parse_color ()
gboolean gimp_scanner_parse_color (GScanner *scanner
,GimpRGB *dest
);
Parameters
scanner |
A GScanner created by |
|
dest |
Pointer to a color to store the result |
Since: 2.4
gimp_scanner_parse_matrix2 ()
gboolean gimp_scanner_parse_matrix2 (GScanner *scanner
,GimpMatrix2 *dest
);
Parameters
scanner |
A GScanner created by |
|
dest |
Pointer to a matrix to store the result |
Since: 2.4