 
#include <libsswf.h>
 
| 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 | ParseData (const Data &data) | 
| Parse the mode from the Data buffer. | |
| 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 | 
References f_strict.
Referenced by Duplicate().
| 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.
References ActionStrictMode(), f_strict, SetStrict(), and sswf::Action::Tag().
| ErrorManager::error_code_t ActionStrictMode::ParseData | ( | const Data & | data | ) |  [private, virtual] | 
This function parses the strict mode from the Data buffer passed in.
| [in] | data | The Data buffer where the strict mode is saved | 
Reimplemented from sswf::Action.
References sswf::ErrorManager::ERROR_CODE_NONE, f_strict, and sswf::Data::GetByte().
| 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.
References sswf::ErrorManager::ERROR_CODE_NONE, f_strict, and sswf::Data::PutByte().
| 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 | 
References f_strict.
Referenced by Duplicate().
| bool sswf::ActionStrictMode::f_strict  [private] | 
Referenced by ActionStrictMode(), Duplicate(), ParseData(), SaveData(), and SetStrict().
 1.5.5
 1.5.5