![]() |
![]() |
![]() |
![]() |
#define | AS_TYPE_VALIDATOR_ISSUE |
struct | AsValidatorIssueClass |
enum | AsIssueSeverity |
AsValidatorIssue |
AsIssueSeverity
as_issue_severity_from_string (const gchar *str
);
Converts the text representation to an enumerated value.
const gchar *
as_issue_severity_to_string (AsIssueSeverity severity
);
Converts the enumerated value to an text representation.
AsValidatorIssue *
as_validator_issue_new (void
);
Creates a new AsValidatorIssue.
const gchar *
as_validator_issue_get_tag (AsValidatorIssue *issue
);
Gets the issue tag string for this issue.
Since: 0.12.8
void as_validator_issue_set_tag (AsValidatorIssue *issue
,const gchar *tag
);
Sets the issue tag.
Since: 0.12.8
AsIssueSeverity
as_validator_issue_get_severity (AsValidatorIssue *issue
);
Gets the severity of this issue.
void as_validator_issue_set_severity (AsValidatorIssue *issue
,AsIssueSeverity severity
);
Sets the severity for this issue.
const gchar *
as_validator_issue_get_hint (AsValidatorIssue *issue
);
Get a short context hint for this issue.
Since: 0.12.8
void as_validator_issue_set_hint (AsValidatorIssue *issue
,const gchar *hint
);
Sets short issue hint.
Since: 0.12.8
const gchar *
as_validator_issue_get_explanation (AsValidatorIssue *issue
);
Get an extended explanation on this issue, or return NULL
if none is available.
Since: 0.12.8
void as_validator_issue_set_explanation (AsValidatorIssue *issue
,const gchar *explanation
);
Set explanatory text for this issue.
Since: 0.12.8
const gchar *
as_validator_issue_get_cid (AsValidatorIssue *issue
);
The component-id this issue is about.
void as_validator_issue_set_cid (AsValidatorIssue *issue
,const gchar *cid
);
Sets the component-id this issue is about.
const gchar *
as_validator_issue_get_filename (AsValidatorIssue *issue
);
The name of the file this issue was found in.
void as_validator_issue_set_filename (AsValidatorIssue *issue
,const gchar *fname
);
Sets the name of the file the issue was found in.
glong
as_validator_issue_get_line (AsValidatorIssue *issue
);
Gets the line number where this issue was found.
void as_validator_issue_set_line (AsValidatorIssue *issue
,glong line
);
Sets the line number where this issue was found.
gchar *
as_validator_issue_get_location (AsValidatorIssue *issue
);
Builds a string containing all information about the location where this issue occured that we know about.
The severity of an issue found by AsValidator