CConformanceChecker Class Reference
class CConformanceChecker : public CBase |
Class for checking the the content of a DOM tree against the Conformance Document. (Checking legacy content.)
Constructor & Destructor Documentation
Member Functions Documentation
Check(CMDXMLDocument *, TMmsSmilVersion, TInt)
Checks if the DOM tree's content is legacy content or not.
Parameters
CMDXMLDocument * aXmldoc | - the root of the DOM tree - the version of the Conformance Document - the flags to gide the checking (combination of TFlags values) |
TMmsSmilVersion aVersion | |
TInt aFlags | |
CheckBodyContent(CMDXMLNode *)
Checks the content of the body element
CheckBodyStructure(CMDXMLNode *)
Checks the structure of the body element:
false - otherwise
CheckHeadStructure(CMDXMLNode *)
Checks the structure of the head element: allowed to contain only layout and meta element
CheckLayoutContent(CMDXMLNode *)
Checks the content of the layout element
false - otherwise
CheckMixedRegionAttribute(TDesC &, TBool &, TBool &)
Checks if the given value is ending with percent or pixel and if this is conforming to the already set pixel and percent values.
Parameters
TDesC & aValue | - value to check,should be the value of 'width', 'height', 'top', 'left' attributes for a region |
TBool & aPercent | - true if the value should end with percent |
TBool & aPixel | - true if the value should be in pixel |
CheckParContent(CMDXMLNode *)
Checks the content of the par element
CheckRegionNames(TDesC &, TBool &, TBool &)
Checks if the given value is exactly "Image" or "Text" and if it is duplicated (checking the transmitted boolean parameters).
Parameters
TDesC & aValue | - value to check, |
TBool & aFoundImage | - true if the "Image" value will be duplicate |
TBool & aFoundText | - true if the "Text" value will be duplicate |
IsInMilliseconds(TDesC &)
TBool
| IsInMilliseconds | ( | TDesC & | aValue | ) | const [private] |
Checks if a descriptor is ending with 'ms'
Parameters
TDesC & aValue | - value to check |
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.