|
pwfengine
|
An element of a wrapper. The element is indentified by its schema. More...
#include <PWrapperElement.h>
Public Member Functions | |
| PWrapperElement (PWrapper *wrapper, PWrapperElement *parent, PSchemaElement elementSchema) | |
| PWrapperElement (PWrapper *wrapper, PWrapperElement &parent, const QString &elementType, const QString &elementName) | |
| PWrapper * | wrapper () const |
| PWrapperElement * | parentElement () |
| PSchemaElement | schema () const |
| QString | name () const |
| PFindSchemaElement * | schemaFinder () const |
| PWrapperElement * | childElement (const PSchemaElement &elementSchema) |
| PWrapperRequire * | childRequire (const PSchemaElement &requireSchema) |
Protected Member Functions | |
| QString | type () const |
Friends | |
| class | PWrapperElementPrivate |
An element of a wrapper. The element is indentified by its schema.
| PWrapperElement::PWrapperElement | ( | PWrapper * | wrapper, |
| PWrapperElement * | parent, | ||
| PSchemaElement | elementSchema | ||
| ) |
| PWrapperElement::PWrapperElement | ( | PWrapper * | wrapper, |
| PWrapperElement & | parent, | ||
| const QString & | elementType, | ||
| const QString & | elementName | ||
| ) |
Create a wrapper element without fully specifying its schema, this will be detected by having its name and type by creating a PFindSchemaElement that will starts its search from parent and that can be accessed with schemaFinder().
| elementType | the element type, e.g data, search, etc. |
| elementName | the name of the element, e.g: foo |
| PWrapperElement * PWrapperElement::childElement | ( | const PSchemaElement & | elementSchema | ) |
| PWrapperRequire * PWrapperElement::childRequire | ( | const PSchemaElement & | requireSchema | ) |
| QString PWrapperElement::name | ( | ) | const |
| PFindSchemaElement * PWrapperElement::schemaFinder | ( | ) | const |
| QString PWrapperElement::type | ( | ) | const [protected] |
1.7.4