LibreOffice Module forms (master) 1
|
represents the XForms *m*odel *i*tem *p*roperties (MIPs) for a given XNode in the instance data at a given point in time. More...
#include <mip.hxx>
Public Member Functions | |
MIP () | |
void | inherit (const MIP &) |
inherit from upper-level MIPs More... | |
void | join (const MIP &) |
join with same-level MIPs More... | |
const OUString & | getTypeName () const |
void | setTypeName (const OUString &) |
void | resetTypeName () |
bool | isReadonly () const |
void | setReadonly (bool) |
void | resetReadonly () |
bool | isRequired () const |
void | setRequired (bool) |
void | resetRequired () |
bool | isRelevant () const |
void | setRelevant (bool) |
void | resetRelevant () |
bool | isConstraint () const |
void | setConstraint (bool) |
void | resetConstraint () |
void | setConstraintExplanation (const OUString &) |
const OUString & | getConstraintExplanation () const |
void | setHasCalculate (bool) |
Private Attributes | |
bool | mbHasReadonly |
bool | mbReadonly |
bool | mbHasRequired |
bool | mbRequired |
bool | mbHasRelevant |
bool | mbRelevant |
bool | mbHasConstraint |
bool | mbConstraint |
bool | mbHasCalculate |
bool | mbHasTypeName |
OUString | msTypeName |
OUString | msConstraintExplanation |
represents the XForms *m*odel *i*tem *p*roperties (MIPs) for a given XNode in the instance data at a given point in time.
The values will not be updated; for updated values new MIP objects have to be created/queried.
xforms::MIP::MIP | ( | ) |
Definition at line 26 of file mip.cxx.
References mbHasCalculate, resetConstraint(), resetReadonly(), resetRelevant(), resetRequired(), and resetTypeName().
|
inline |
Definition at line 88 of file mip.hxx.
References msConstraintExplanation.
Referenced by xforms::Binding::explainInvalid(), and inherit().
|
inline |
Definition at line 62 of file mip.hxx.
References msTypeName.
Referenced by xforms::Binding::explainInvalid(), xforms::Binding::getDataType(), xforms::Model::getDefaultServiceNameForNode(), and inherit().
void xforms::MIP::inherit | ( | const MIP & | rMip | ) |
inherit from upper-level MIPs
Definition at line 36 of file mip.cxx.
References getConstraintExplanation(), getTypeName(), isConstraint(), isReadonly(), isRelevant(), isRequired(), mbConstraint, mbHasCalculate, mbHasConstraint, mbHasReadonly, mbHasRelevant, mbHasRequired, mbHasTypeName, mbReadonly, mbRelevant, mbRequired, msConstraintExplanation, and msTypeName.
Referenced by join(), and xforms::Model::queryMIP().
|
inline |
Definition at line 82 of file mip.hxx.
References mbConstraint.
Referenced by xforms::Binding::explainInvalid(), xforms::Binding::getLocalMIP(), inherit(), and xforms::Binding::isValid().
bool xforms::MIP::isReadonly | ( | ) | const |
Definition at line 76 of file mip.cxx.
References mbHasCalculate, mbHasReadonly, and mbReadonly.
Referenced by xforms::Binding::getReadOnly(), and inherit().
|
inline |
Definition at line 77 of file mip.hxx.
References mbRelevant.
Referenced by cloneNodes(), xforms::Binding::getRelevant(), and inherit().
|
inline |
Definition at line 72 of file mip.hxx.
References mbRequired.
Referenced by xforms::Binding::explainInvalid(), inherit(), and xforms::Binding::isValid().
void xforms::MIP::join | ( | const MIP & | rMip | ) |
join with same-level MIPs
Definition at line 70 of file mip.cxx.
References inherit().
Referenced by xforms::Model::queryMIP().
void xforms::MIP::resetConstraint | ( | ) |
Definition at line 87 of file mip.cxx.
References mbConstraint, mbHasConstraint, and msConstraintExplanation.
Referenced by MIP().
void xforms::MIP::resetReadonly | ( | ) |
Definition at line 78 of file mip.cxx.
References mbHasReadonly, and mbReadonly.
Referenced by MIP().
void xforms::MIP::resetRelevant | ( | ) |
Definition at line 84 of file mip.cxx.
References mbHasRelevant, and mbRelevant.
Referenced by MIP().
void xforms::MIP::resetRequired | ( | ) |
Definition at line 81 of file mip.cxx.
References mbHasRequired, and mbRequired.
Referenced by MIP().
void xforms::MIP::resetTypeName | ( | ) |
Definition at line 94 of file mip.cxx.
References mbHasTypeName, and msTypeName.
Referenced by MIP().
void xforms::MIP::setConstraint | ( | bool | b | ) |
Definition at line 86 of file mip.cxx.
References mbConstraint, mbHasConstraint, and msConstraintExplanation.
Referenced by xforms::Binding::getLocalMIP().
void xforms::MIP::setConstraintExplanation | ( | const OUString & | s | ) |
Definition at line 89 of file mip.cxx.
References msConstraintExplanation.
Referenced by xforms::Binding::getLocalMIP().
void xforms::MIP::setHasCalculate | ( | bool | b | ) |
Definition at line 91 of file mip.cxx.
References mbHasCalculate.
Referenced by xforms::Binding::getLocalMIP().
void xforms::MIP::setReadonly | ( | bool | b | ) |
Definition at line 77 of file mip.cxx.
References mbHasReadonly, and mbReadonly.
Referenced by xforms::Binding::getLocalMIP().
void xforms::MIP::setRelevant | ( | bool | b | ) |
Definition at line 83 of file mip.cxx.
References mbHasRelevant, and mbRelevant.
Referenced by xforms::Binding::getLocalMIP().
void xforms::MIP::setRequired | ( | bool | b | ) |
Definition at line 80 of file mip.cxx.
References mbHasRequired, and mbRequired.
Referenced by xforms::Binding::getLocalMIP().
void xforms::MIP::setTypeName | ( | const OUString & | s | ) |
Definition at line 93 of file mip.cxx.
References mbHasTypeName, and msTypeName.
Referenced by xforms::Binding::getLocalMIP().
|
private |
Definition at line 42 of file mip.hxx.
Referenced by inherit(), isConstraint(), resetConstraint(), and setConstraint().
|
private |
Definition at line 44 of file mip.hxx.
Referenced by inherit(), isReadonly(), MIP(), and setHasCalculate().
|
private |
Definition at line 41 of file mip.hxx.
Referenced by inherit(), resetConstraint(), and setConstraint().
|
private |
Definition at line 32 of file mip.hxx.
Referenced by inherit(), isReadonly(), resetReadonly(), and setReadonly().
|
private |
Definition at line 38 of file mip.hxx.
Referenced by inherit(), resetRelevant(), and setRelevant().
|
private |
Definition at line 35 of file mip.hxx.
Referenced by inherit(), resetRequired(), and setRequired().
|
private |
Definition at line 46 of file mip.hxx.
Referenced by inherit(), resetTypeName(), and setTypeName().
|
private |
Definition at line 33 of file mip.hxx.
Referenced by inherit(), isReadonly(), resetReadonly(), and setReadonly().
|
private |
Definition at line 39 of file mip.hxx.
Referenced by inherit(), isRelevant(), resetRelevant(), and setRelevant().
|
private |
Definition at line 36 of file mip.hxx.
Referenced by inherit(), isRequired(), resetRequired(), and setRequired().
|
private |
Definition at line 49 of file mip.hxx.
Referenced by getConstraintExplanation(), inherit(), resetConstraint(), setConstraint(), and setConstraintExplanation().
|
private |
Definition at line 47 of file mip.hxx.
Referenced by getTypeName(), inherit(), resetTypeName(), and setTypeName().