ParseControl

ParseControl
Scaleform::GFx::State
    Scaleform::GFx::ParseControl
Declaration
class ParseControl : public State;
Description

ParseControl is used to determine which SWF/GFX file parsing messages are generated during loading. Parse logging support can be excluded from builds by defining appropriate macros in 'GFxConfig.h', such as GFX_VERBOSE_PARSE (this may be done to keep release builds smaller on consoles, for example). If this is done, the corresponding parse messages will not be generated in the log even if the appropriate verbose flags are set.

   GFx::Loader loader;
   ...
   // Cause loading to generate a basic parse log.
   Ptr<ParseControl> pparseControl = *new GFx::ParseControl();
   pparseControl->SetParseFlags(ParseControl::VerboseParse);
   loader.SetParseControl(pparseControl);
Enumerations
Enumeration 
Description 
Enumeration that describes parse conditions. 
Methods
Method 
Description 
Returns the active parse control flags. 
Used to determine if verbose output during parsing is required. 
Used to determine if verbose output during action parsing is required. 
Used to determine if verbose output during morph shape parsing is required. 
Used to determine if verbose output during shape parsing is required. 
ParseControl constructor. 
Set the active parse control flags. 
File

GFx_Loader.h