#include <srcMORole.h>
|
| MORole () |
| default constructor: constructs an invalid instance of MORole More...
|
|
| MORole (const MORole &) |
| copy constructor: creates a (deep) copy of the object More...
|
|
| MORole (const QDomElement &) |
| special constructor: create from the XML representation, deserializing the object More...
|
|
virtual | ~MORole () |
| destructor: deletes this copy of the object More...
|
|
virtual void | addrights (Nullable< QString > a) |
|
virtual void | clearrights () |
|
virtual Nullable< QString > | description () const |
|
virtual Nullable< QString > | flags () const |
|
virtual Nullable< QString > | name () const |
|
MORole & | operator= (const MORole &) |
| copy assignment: creates a (deep) copy of the object More...
|
|
virtual QList< QString > | rights () const |
|
virtual void | setdescription (Nullable< QString > s) |
|
virtual void | setflags (Nullable< QString > s) |
|
virtual void | setname (Nullable< QString > s) |
|
virtual void | setrights (QList< QString > s) |
|
QString | toString () |
| Serializes the object to XML and returns the string representation of that XML. More...
|
|
QDomElement | toXml (QDomDocument &doc, QString name="Role") |
| Transforms the object into its XML representation, the element node returned is not appended to the document - you have to do that yourself. More...
|
|
void | toXml (QDomDocument &, QDomElement &) |
| Serializes the object into the given element. More...
|
|
MORole::MORole |
( |
const MORole & |
o | ) |
|
MORole::MORole |
( |
const QDomElement & |
root | ) |
|
|
explicit |
virtual MORole::~MORole |
( |
| ) |
|
|
inlinevirtual |
destructor: deletes this copy of the object
virtual void MORole::addrights |
( |
Nullable< QString > |
a | ) |
|
|
inlinevirtual |
virtual void MORole::clearrights |
( |
| ) |
|
|
inlinevirtual |
virtual Nullable<QString> MORole::description |
( |
| ) |
const |
|
inlinevirtual |
virtual Nullable<QString> MORole::flags |
( |
| ) |
const |
|
inlinevirtual |
MORole MORole::fromString |
( |
const QString & |
txt | ) |
|
|
static |
create MORole from XML formatted string (inverse of toString)
References MORole().
MORole MORole::fromXml |
( |
const QDomElement & |
root | ) |
|
|
static |
virtual Nullable<QString> MORole::name |
( |
| ) |
const |
|
inlinevirtual |
virtual QList<QString> MORole::rights |
( |
| ) |
const |
|
inlinevirtual |
virtual void MORole::setdescription |
( |
Nullable< QString > |
s | ) |
|
|
inlinevirtual |
virtual void MORole::setflags |
( |
Nullable< QString > |
s | ) |
|
|
inlinevirtual |
virtual void MORole::setname |
( |
Nullable< QString > |
s | ) |
|
|
inlinevirtual |
virtual void MORole::setrights |
( |
QList< QString > |
s | ) |
|
|
inlinevirtual |
QString MORole::toString |
( |
| ) |
|
Serializes the object to XML and returns the string representation of that XML.
References toXml().
QDomElement MORole::toXml |
( |
QDomDocument & |
doc, |
|
|
QString |
name = "Role" |
|
) |
| |
Transforms the object into its XML representation, the element node returned is not appended to the document - you have to do that yourself.
- Parameters
-
doc | the DOM document node for which to generate the element |
name | the name to give the generated element, per default "MORole" is used |
Referenced by toString().
void MORole::toXml |
( |
QDomDocument & |
doc, |
|
|
QDomElement & |
r |
|
) |
| |
Nullable<QString> MORole::mp_description |
|
protected |
Nullable<QString> MORole::mp_flags |
|
protected |
Nullable<QString> MORole::mp_name |
|
protected |
QList<QString> MORole::mp_rights |
|
protected |
The documentation for this class was generated from the following files: