pwfengine
Public Member Functions | Friends
PSchema Class Reference

The schema of a PWrapper. More...

#include <PSchema.h>

Inheritance diagram for PSchema:
PSchemaElement

List of all members.

Public Member Functions

 PSchema (const QString &name)
bool setDocument (const QString &fileName)
bool isNull ()
QString directory () const
void setName (const QString &name)
QString name () const

Friends

class PSchemaPrivate

Detailed Description

The schema of a PWrapper.

The root element of the schema document.


Constructor & Destructor Documentation

PSchema::PSchema ( const QString &  name)

The PSchemaPrivate is searched in the PEngine and used if found, otherwise a new one will be created.


Member Function Documentation

QString PSchema::directory ( ) const
Returns:
the directory of the schema.
QString PSchema::name ( ) const
Returns:
the schema name.

Reimplemented from PSchemaElement.

bool PSchema::setDocument ( const QString &  fileName)
Parameters:
fileNamethe document filename
Note:
the element will be the document root.
void PSchema::setName ( const QString &  name)

Set the schema name.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations Enumerator