#include <libsswf.h>
Public Member Functions | |
virtual ErrorManager::error_code_t | Save (Data &data) |
Save the TagEnd in the specified Data buffer. | |
TagEnd (TagBase *parent) | |
Initialize the TagEnd. | |
virtual swf_type_t | TypeFlags (void) const |
Returns the type flags of the TagEnd. | |
Private Member Functions | |
virtual ErrorManager::error_code_t | ParseTag (swf_tag_t tag, const Data &data) |
Parse data from a file into a End tag. |
It seems that a TagEnd is not mandatory, but it can help to have it so the movie can be considered 100% valid. For this reason, the SSWF library will automatically add an sswf::TagEnd whenever none are present. Also, if the control list does not end with a sswf::TagShowFrame, that tag is also added.
if not(control list ends with TagEnd) then if not(control list ends with TagShowFrame) then add TagShowFrame to control list end if add TagEnd to control list end if
TagEnd::TagEnd | ( | TagBase * | parent | ) |
A TagEnd is empty. The only initialization is the parent of the tag.
parent | The parent tag of this tag |
ErrorManager::error_code_t TagEnd::ParseTag | ( | swf_tag_t | tag, | |
const Data & | data | |||
) | [private, virtual] |
This function does nothing since the End tag has no data.
[in] | tag | The tag that generated this call |
[in] | data | The Data buffer from the Flash file being loaded |
Implements sswf::TagBase.
References sswf::ErrorManager::ERROR_CODE_NONE.
ErrorManager::error_code_t TagEnd::Save | ( | Data & | data | ) | [virtual] |
This function saves the TagEnd which is saving a 16 bits zero in the Data buffer.
Implements sswf::TagBase.
References sswf::ErrorManager::ERROR_CODE_NONE, sswf::TagBase::Name(), sswf::TagBase::Parent(), sswf::TagBase::Previous(), sswf::TagBase::SaveTag(), sswf::TagBase::ShowFrame(), and sswf::TagBase::SWF_TAG_END.
TagBase::swf_type_t TagEnd::TypeFlags | ( | void | ) | const [virtual] |
The TagEnd is a CONTROL tag.
Implements sswf::TagBase.
References SWF_TYPE_CONTROL.