#include <libsswf.h>
Inheritance diagram for sswf::ActionStrictMode:
Public Member Functions | |
ActionStrictMode (TagBase *tag) | |
Initialize the ActionStrictMode object. | |
void | SetStrict (bool strict) |
Change the mode as required. | |
Private Member Functions | |
virtual Action * | Duplicate (void) const |
Create a clone of this ActionStrictMode object. | |
virtual ErrorManager::error_code_t | SaveData (Data &data, Data &nested_data) |
Save the mode in the Data buffer. | |
Private Attributes | |
bool | f_strict |
ActionStrictMode::ActionStrictMode | ( | TagBase * | tag | ) |
This constructor marks the mode as not strict.
Use the SetStrict() function to change the mode.
[in] | tag | The tag in which this action is being created |
Action * ActionStrictMode::Duplicate | ( | void | ) | const [private, virtual] |
This function creates a new ActionStringMode object; it copies 'this' strict mode in the new action and then it returns the pointer of the new action.
Reimplemented from sswf::Action.
ErrorManager::error_code_t ActionStrictMode::SaveData | ( | Data & | data, | |
Data & | nested_data | |||
) | [private, virtual] |
This function saves the strict mode in the Data buffer passed in.
[in] | data | The Data buffer where the strict mode is saved |
[in] | nested_data | The ActionStrictMode has no nested_data |
Reimplemented from sswf::Action.
void ActionStrictMode::SetStrict | ( | bool | strict | ) |
This function lets you change the mode from strict (true) to lazy (false).
[in] | strict | Set to 'true' to enter strict mode |
bool sswf::ActionStrictMode::f_strict [private] |