Typedefs | |
typedef std::map < TagBase::swf_tag_t, TagHeader::Factory * > | factory_map_t |
Definition of a map to handle factories. | |
typedef std::pair < TagBase::swf_tag_t, TagHeader::Factory * > | factory_pair_t |
Definition of a pair to handle factories. | |
Functions | |
void | RegisterFactory (TagHeader::Factory *factory) |
Register a tag factory. | |
void | UnregisterFactory (TagHeader::Factory *factory) |
Remove a factory being destroyed from the list of factories. | |
Variables | |
factory_map_t * | g_list_of_factories |
Map of all the registered factories. |
typedef std::map<TagBase::swf_tag_t, TagHeader::Factory *> factory_map_t [static] |
This map is used to sort all the factories by tag.
typedef std::pair<TagBase::swf_tag_t, TagHeader::Factory *> factory_pair_t [static] |
This pair represents the items defined in the factory map.
void @20::RegisterFactory | ( | TagHeader::Factory * | factory | ) | [static] |
This function inserts a tag factory that is later used to load a Flash file.
[in] | factory | The factory to register. |
References sswf::TagHeader::Factory::GetPriority(), and sswf::TagHeader::Factory::GetTag().
Referenced by sswf::TagHeader::Factory::Factory().
void @20::UnregisterFactory | ( | TagHeader::Factory * | factory | ) | [static] |
This function removes the specified factory from the list of factories defined in the TagHeader.
[in] | factory | The factory to remove from the list of factories |
References sswf::TagHeader::Factory::GetTag().
Referenced by sswf::TagHeader::Factory::~Factory().
factory_map_t* g_list_of_factories [static] |
This variable is dynamically allocated once a factory is being registered. The factories are automatically registered on creation.
Referenced by sswf::TagHeader::GetFactory().