#include <libsswf.h>
Inheritance diagram for sswf::TagSceneFrameData:
Public Member Functions | |
virtual ErrorManager::error_code_t | Save (Data &data) |
Save the TagSceneFrameData tag. | |
bool | SetFileData (const char *filename) |
Set a file data in the scene and frame data tag. | |
void | SetSceneFrameData (const char *data, size_t size) |
Set the data in the scene and frame data tag. | |
TagSceneFrameData (TagBase *parent) | |
Initializes the TagSceneFrameData object. | |
virtual swf_type_t | TypeFlags (void) const |
Return the type of the scene and frame data tag. | |
Private Member Functions | |
virtual ErrorManager::error_code_t | PreSave (void) |
Inform the system that version 9 is required. | |
Private Attributes | |
char * | f_data |
size_t | f_size |
TagSceneFrameData::TagSceneFrameData | ( | TagBase * | parent | ) |
The constructor initializes an empty TagSceneFrameData.
[in] | parent | The sswf::TagHeader where this sswf::TagSceneFrameData is inserted |
ErrorManager::error_code_t TagSceneFrameData::PreSave | ( | void | ) | [private, virtual] |
This function is used by the TagSceneFrameData to tell the Save() command that to save this tag a version 9 movie is required.
Reimplemented from sswf::TagBase.
ErrorManager::error_code_t TagSceneFrameData::Save | ( | Data & | data | ) | [virtual] |
This function saves the TagSceneFrameData in the specified Data buffer.
[in] | data | The Data buffer where the scene frame data is saved |
Implements sswf::TagBase.
bool TagSceneFrameData::SetFileData | ( | const char * | filename | ) |
This function reads the data from a file and uses it as the block of data of a Scene and Frame Data tag.
[in] | filename | The name of the file to read |
void TagSceneFrameData::SetSceneFrameData | ( | const char * | data, | |
size_t | size | |||
) |
This function defines the block of data of a Scene and Frame Data tag.
[in] | data | A pointer to a block of data |
[in] | size | The size of the block of data in bytes |
TagBase::swf_type_t TagSceneFrameData::TypeFlags | ( | void | ) | const [virtual] |
This function returns the type flags of the TagSceneFrameData. The TagSceneFrameData is a definition.
Implements sswf::TagBase.
char* sswf::TagSceneFrameData::f_data [private] |
size_t sswf::TagSceneFrameData::f_size [private] |