LibreOffice Module forms (master) 1
Public Member Functions | Private Attributes | List of all members
xforms::MIP Class Reference

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
 

Detailed Description

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.

Definition at line 30 of file mip.hxx.

Constructor & Destructor Documentation

◆ MIP()

xforms::MIP::MIP ( )

Member Function Documentation

◆ getConstraintExplanation()

const OUString & xforms::MIP::getConstraintExplanation ( ) const
inline

Definition at line 88 of file mip.hxx.

References msConstraintExplanation.

Referenced by xforms::Binding::explainInvalid(), and inherit().

◆ getTypeName()

const OUString & xforms::MIP::getTypeName ( ) const
inline

◆ inherit()

void xforms::MIP::inherit ( const MIP rMip)

◆ isConstraint()

bool xforms::MIP::isConstraint ( ) const
inline

◆ isReadonly()

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().

◆ isRelevant()

bool xforms::MIP::isRelevant ( ) const
inline

Definition at line 77 of file mip.hxx.

References mbRelevant.

Referenced by cloneNodes(), xforms::Binding::getRelevant(), and inherit().

◆ isRequired()

bool xforms::MIP::isRequired ( ) const
inline

Definition at line 72 of file mip.hxx.

References mbRequired.

Referenced by xforms::Binding::explainInvalid(), inherit(), and xforms::Binding::isValid().

◆ join()

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().

◆ resetConstraint()

void xforms::MIP::resetConstraint ( )

Definition at line 87 of file mip.cxx.

References mbConstraint, mbHasConstraint, and msConstraintExplanation.

Referenced by MIP().

◆ resetReadonly()

void xforms::MIP::resetReadonly ( )

Definition at line 78 of file mip.cxx.

References mbHasReadonly, and mbReadonly.

Referenced by MIP().

◆ resetRelevant()

void xforms::MIP::resetRelevant ( )

Definition at line 84 of file mip.cxx.

References mbHasRelevant, and mbRelevant.

Referenced by MIP().

◆ resetRequired()

void xforms::MIP::resetRequired ( )

Definition at line 81 of file mip.cxx.

References mbHasRequired, and mbRequired.

Referenced by MIP().

◆ resetTypeName()

void xforms::MIP::resetTypeName ( )

Definition at line 94 of file mip.cxx.

References mbHasTypeName, and msTypeName.

Referenced by MIP().

◆ setConstraint()

void xforms::MIP::setConstraint ( bool  b)

Definition at line 86 of file mip.cxx.

References mbConstraint, mbHasConstraint, and msConstraintExplanation.

Referenced by xforms::Binding::getLocalMIP().

◆ setConstraintExplanation()

void xforms::MIP::setConstraintExplanation ( const OUString &  s)

Definition at line 89 of file mip.cxx.

References msConstraintExplanation.

Referenced by xforms::Binding::getLocalMIP().

◆ setHasCalculate()

void xforms::MIP::setHasCalculate ( bool  b)

Definition at line 91 of file mip.cxx.

References mbHasCalculate.

Referenced by xforms::Binding::getLocalMIP().

◆ setReadonly()

void xforms::MIP::setReadonly ( bool  b)

Definition at line 77 of file mip.cxx.

References mbHasReadonly, and mbReadonly.

Referenced by xforms::Binding::getLocalMIP().

◆ setRelevant()

void xforms::MIP::setRelevant ( bool  b)

Definition at line 83 of file mip.cxx.

References mbHasRelevant, and mbRelevant.

Referenced by xforms::Binding::getLocalMIP().

◆ setRequired()

void xforms::MIP::setRequired ( bool  b)

Definition at line 80 of file mip.cxx.

References mbHasRequired, and mbRequired.

Referenced by xforms::Binding::getLocalMIP().

◆ setTypeName()

void xforms::MIP::setTypeName ( const OUString &  s)

Definition at line 93 of file mip.cxx.

References mbHasTypeName, and msTypeName.

Referenced by xforms::Binding::getLocalMIP().

Member Data Documentation

◆ mbConstraint

bool xforms::MIP::mbConstraint
private

Definition at line 42 of file mip.hxx.

Referenced by inherit(), isConstraint(), resetConstraint(), and setConstraint().

◆ mbHasCalculate

bool xforms::MIP::mbHasCalculate
private

Definition at line 44 of file mip.hxx.

Referenced by inherit(), isReadonly(), MIP(), and setHasCalculate().

◆ mbHasConstraint

bool xforms::MIP::mbHasConstraint
private

Definition at line 41 of file mip.hxx.

Referenced by inherit(), resetConstraint(), and setConstraint().

◆ mbHasReadonly

bool xforms::MIP::mbHasReadonly
private

Definition at line 32 of file mip.hxx.

Referenced by inherit(), isReadonly(), resetReadonly(), and setReadonly().

◆ mbHasRelevant

bool xforms::MIP::mbHasRelevant
private

Definition at line 38 of file mip.hxx.

Referenced by inherit(), resetRelevant(), and setRelevant().

◆ mbHasRequired

bool xforms::MIP::mbHasRequired
private

Definition at line 35 of file mip.hxx.

Referenced by inherit(), resetRequired(), and setRequired().

◆ mbHasTypeName

bool xforms::MIP::mbHasTypeName
private

Definition at line 46 of file mip.hxx.

Referenced by inherit(), resetTypeName(), and setTypeName().

◆ mbReadonly

bool xforms::MIP::mbReadonly
private

Definition at line 33 of file mip.hxx.

Referenced by inherit(), isReadonly(), resetReadonly(), and setReadonly().

◆ mbRelevant

bool xforms::MIP::mbRelevant
private

Definition at line 39 of file mip.hxx.

Referenced by inherit(), isRelevant(), resetRelevant(), and setRelevant().

◆ mbRequired

bool xforms::MIP::mbRequired
private

Definition at line 36 of file mip.hxx.

Referenced by inherit(), isRequired(), resetRequired(), and setRequired().

◆ msConstraintExplanation

OUString xforms::MIP::msConstraintExplanation
private

◆ msTypeName

OUString xforms::MIP::msTypeName
private

Definition at line 47 of file mip.hxx.

Referenced by getTypeName(), inherit(), resetTypeName(), and setTypeName().


The documentation for this class was generated from the following files: