Go to the documentation of this file.
24 friend class GeometryLimit_Factory;
33 static const int intervalOutOfBounds = 1000;
83 QString getLimitsAsString(
bool first =
true)
const;
84 int getUserDefinedInterval(
double d,
bool first =
true)
const;
85 bool getDoubleFromString(QString& str,
double& value)
const;
86 bool getIntervalFromString(QString& str,
double& value1,
double& value2)
const;
90 static inline double lastLimitIgnoreValue = 99;
Definition: CoreDocument.h:269
PropertyReal factor2
Definition: GeometryLimit.h:50
bool mustbeSaved() const override
Return 'true' if this object must always be saved in the file.
void restoreProperty(Core::Property *property, const Base::String &aName, Base::AbstractXMLReader &reader, Base::PersistenceVersion &version) override
Restores property from from reader in specified version.
PropertyReal factor
Definition: GeometryLimit.h:43
PropertyTextList textLimits
Definition: GeometryLimit.h:46
std::map< Core::DocObject *, Core::DocObject * > DocObjectMap
Definition: DocObject.h:50
int getInterval(const Base::String &str, bool first=true)
int getNumberOfIntervals(bool first=true) const
PropertyText npkChapter
Definition: GeometryLimit.h:39
GeometryLimitType
Definition: GeometryLimit.h:27
Definition: DocObject.h:54
void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version) override
Restores the PropertyContainer from reader in specified version.
Definition: Persistence.h:13
PropertyTextMap userDefinedLimits2
Definition: GeometryLimit.h:52
Definition: GeometryLimit.h:18
PropertyRealList limits2
Definition: GeometryLimit.h:51
#define LX_NODE_HEADER()
Definition: PropertyMacros.h:7
PropertyTextList textLimits2
Definition: GeometryLimit.h:53
DECLARE_OBJECT_FACTORY_NOIFC(PropertyBoolDescriptor_Factory, PropertyBoolDescriptor)
QString getAsStringComplete() const
PropertyText detail
Definition: GeometryLimit.h:42
QString getAsString(bool first=true) const
Definition: AbstractXMLReader.h:7
int getNPKPositionNumberForInterval(int i, bool first=true) const
PropertyText name
Definition: GeometryLimit.h:40
Definition: PropertyText.h:8
Definition: PropertyTextMap.h:8
Definition: PropertyTextList.h:8
PropertyInteger indexDecimalPart
Definition: GeometryLimit.h:38
Core::DocObject * copy(Core::CoreDocument *toDoc, DocObjectMap ©Map) override
LX_CORE_EXPORT Version & version
Definition: PropertyReal.h:43
PropertyInteger index
Definition: GeometryLimit.h:37
Definition: Property.h:72
DECLARE_PROPERTY_TEMPLATES(Core::ColorSetForPED, LX_CORE_EXPORT)
int getInterval(double d, bool first=true)
PropertyText detail2
Definition: GeometryLimit.h:49
A Utf-16 (windows) or ucs4 (unix) encoded string class.
Definition: String.h:18
PropertyText name2
Definition: GeometryLimit.h:47
PropertyRealList limits
Definition: GeometryLimit.h:44
PropertyInteger geometryLimitType
Definition: GeometryLimit.h:35
QString getIntervalAsString(int i, bool first=true) const
PropertyInteger lccCompany
Definition: GeometryLimit.h:36
Definition: PropertyReal.h:8
#define TYPESYSTEM_HEADER()
define for subclassing Base::BaseClass
Definition: Base.h:12
PropertyText unit
Definition: GeometryLimit.h:41
PropertyTextMap userDefinedLimits
Definition: GeometryLimit.h:45
Definition: PropertyInteger.h:8
PropertyText unit2
Definition: GeometryLimit.h:48
virtual QString getKeyText(bool first=true) const