#include <event.h>
Data Fields | |
| FAXPP_EventType | type |
| The type of the event. | |
| FAXPP_Text | prefix |
| The prefix of the event. | |
| FAXPP_Text | uri |
| The URI of the event. | |
| FAXPP_Text | name |
| The name of the event. | |
| FAXPP_Text | value |
| The value of the event. | |
| unsigned int | attr_count |
| The number of attributes in the event. | |
| FAXPP_Attribute * | attrs |
| Array of attributes. | |
| FAXPP_Text | version |
| The version of the event. | |
| FAXPP_Text | encoding |
| The encoding of the event. | |
| FAXPP_Text | standalone |
| The standalone status of the event. | |
| FAXPP_Text | system_id |
| The system literal of the event. | |
| FAXPP_Text | public_id |
| The public ID literal of the event. | |
| unsigned int | line |
| The line number of the start of the event. | |
| unsigned int | column |
| The column number of the start of the event. | |
Related Functions | |
| (Note that these are not member functions.) | |
| const char * | FAXPP_event_to_string (FAXPP_EventType type) |
| Returns a string describing the given event type. | |
Definition at line 82 of file event.h.
| const char * FAXPP_event_to_string | ( | FAXPP_EventType | type | ) | [related] |
Returns a string describing the given event type.
| type | The event type |
The prefix of the event.
Present for event types DOCTYPE_EVENT, START_ELEMENT_EVENT, SELF_CLOSING_ELEMENT_EVENT, and END_ELEMENT_EVENT
The URI of the event.
Present for event types START_ELEMENT_EVENT, SELF_CLOSING_ELEMENT_EVENT, and END_ELEMENT_EVENT
The name of the event.
Present for event types DOCTYPE_EVENT, START_ELEMENT_EVENT, SELF_CLOSING_ELEMENT_EVENT, END_ELEMENT_EVENT, PI_EVENT, ENTITY_REFERENCE_EVENT, DEC_CHAR_REFERENCE_EVENT, and HEX_CHAR_REFERENCE_EVENT
The value of the event.
Present for event types CHARACTERS_EVENT, CDATA_EVENT, IGNORABLE_WHITESPACE_EVENT, COMMENT_EVENT, PI_EVENT, ENTITY_REFERENCE_EVENT, DEC_CHAR_REFERENCE_EVENT, and HEX_CHAR_REFERENCE_EVENT
| unsigned int FAXPP_Event::attr_count |
Array of attributes.
Present for event types START_ELEMENT_EVENT, and SELF_CLOSING_ELEMENT_EVENT
The version of the event.
Present for event types START_DOCUMENT_EVENT and START_EXTERNAL_ENTITY_EVENT
The encoding of the event.
Present for event types START_DOCUMENT_EVENT and START_EXTERNAL_ENTITY_EVENT
The standalone status of the event.
Present only for the START_DOCUMENT_EVENT event type
The system literal of the event.
Present for event types DOCTYPE_EVENT and ENTITY_REFERENCE_EVENT
The public ID literal of the event.
Present for event types DOCTYPE_EVENT and ENTITY_REFERENCE_EVENT
| unsigned int FAXPP_Event::line |
| unsigned int FAXPP_Event::column |
1.5.5