Base class of all properties This is the father of all properties. More...
#include <Property.h>
Public Member Functions | |
virtual Property * | Copy (void) const =0 |
Returns a new copy of the property (mainly for Undo/Redo and transactions). | |
std::string | encodeAttribute (const std::string &) const |
Encodes an attribute upon saving. | |
PropertyContainer * | getContainer (void) const |
Get a pointer to the PropertyContainer derived class the property belongs to. | |
const char * | getDocumentation (void) const |
Get the documentation of this property. | |
virtual const char * | getEditorName (void) const |
Get the class name of the associated property editor item. | |
const char * | getGroup (void) const |
Get the group of this property. | |
virtual unsigned int | getMemSize (void) const |
This method is used to get the size of objects It is not meant to have the exact size, it is more or less an estimation which runs fast! Is it two bytes or a GB? This method is defined in Base::Persistence. | |
const char * | getName (void) const |
get the name of this property in the belonging container | |
short | getType (void) const |
Get the type of the property in the container. | |
virtual Base::Type | getTypeId (void) const |
bool | isTouched (void) const |
Test if this property is touched. | |
virtual void | Paste (const Property &from)=0 |
Paste the value from the property (mainly for Undo/Redo and transactions). | |
Property () | |
void | purgeTouched (void) |
Reset this property touched. | |
void | setContainer (PropertyContainer *Father) |
Is called by the framework to set the father (container). | |
void | touch () |
Set the property touched. | |
virtual | ~Property () |
Static Public Member Functions | |
static void * | create (void) |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Public Attributes | |
std::bitset< 32 > | StatusBits |
Status bits of the property The first 8 bits are used for the base system the rest can be used in descendent classes to to mark special stati on the objects. | |
Protected Member Functions | |
void | aboutToSetValue (void) |
Gets called by all setValue() methods before the value has changed. | |
void | hasSetValue (void) |
Gets called by all setValue() methods after the value has changed. | |
Friends | |
class | PropertyContainer |
Base class of all properties This is the father of all properties.
Properties are objects which are used in the document tree to parametrize e.g. features and their graphical output. They are also used to gain access from the scripting facility. /par This abstract base class defines all methods shared by all possible properties. It is also possible to define user properties and use them in the framework...
Definition at line 48 of file Property.h.
Property::Property | ( | ) |
Definition at line 48 of file Property.cpp.
Property::~Property | ( | ) | [virtual] |
Definition at line 54 of file Property.cpp.
void Property::aboutToSetValue | ( | void | ) | [protected] |
Gets called by all setValue() methods before the value has changed.
Definition at line 98 of file Property.cpp.
References App::PropertyContainer::onBeforeChange().
Referenced by Sketcher::PropertyConstraintList::acceptGeometry(), Mesh::PropertyMeshKernel::append(), Mesh::PropertyMeshKernel::clear(), Mesh::PropertyMeshKernel::createSegment(), Mesh::PropertyMeshKernel::deleteFacetIndices(), Mesh::PropertyMeshKernel::deletePointIndices(), Mesh::PropertyMeshKernel::harmonizeNormals(), Robot::PropertyTrajectory::Paste(), Part::PropertyFilletEdges::Paste(), Part::PropertyPartShape::Paste(), App::PropertyMaterial::Paste(), App::PropertyColorList::Paste(), App::PropertyColor::Paste(), App::PropertyBool::Paste(), App::PropertyStringList::Paste(), App::PropertyString::Paste(), App::PropertyFloatList::Paste(), App::PropertyFloat::Paste(), App::PropertyIntegerList::Paste(), App::PropertyPath::Paste(), App::PropertyInteger::Paste(), App::PropertyPythonObject::Paste(), Points::PropertyPointKernel::Paste(), App::PropertyLinkSubList::Paste(), App::PropertyLinkList::Paste(), App::PropertyLinkSub::Paste(), App::PropertyLink::Paste(), App::PropertyPlacementLink::Paste(), App::PropertyPlacement::Paste(), App::PropertyMatrix::Paste(), App::PropertyVectorList::Paste(), App::PropertyVector::Paste(), App::PropertyFileIncluded::Paste(), Sketcher::PropertyConstraintList::Paste(), Points::PropertyCurvatureList::Paste(), Mesh::PropertyMeshKernel::Paste(), Mesh::PropertyCurvatureList::Paste(), Fem::PropertyFemMesh::Paste(), Mesh::PropertyMeshKernel::removeDuplicatedFacets(), Mesh::PropertyMeshKernel::removeDuplicatedPoints(), Mesh::PropertyMeshKernel::removeFoldsOnSurface(), Mesh::PropertyMeshKernel::removeNonManifolds(), Mesh::PropertyMeshKernel::removeSelfIntersections(), App::PropertyMaterial::Restore(), App::PropertyPythonObject::Restore(), Points::PropertyPointKernel::Restore(), App::PropertyPlacement::Restore(), App::PropertyMatrix::Restore(), App::PropertyVector::Restore(), App::PropertyFileIncluded::Restore(), Mesh::PropertyMeshKernel::Restore(), App::PropertyPythonObject::RestoreDocFile(), Points::PropertyPointKernel::RestoreDocFile(), App::PropertyFileIncluded::RestoreDocFile(), Mesh::PropertyMeshKernel::RestoreDocFile(), Fem::PropertyFemMesh::RestoreDocFile(), App::PropertyMaterial::setAmbientColor(), App::PropertyMaterial::setDiffuseColor(), App::PropertyMaterial::setEmmisiveColor(), Mesh::PropertyMeshKernel::setPointIndices(), App::PropertyFloatConstraint::setPyObject(), App::PropertyFloat::setPyObject(), App::PropertyIntegerConstraint::setPyObject(), App::PropertyInteger::setPyObject(), App::PropertyPythonObject::setPyObject(), App::PropertyMaterial::setShininess(), App::PropertyMaterial::setSpecularColor(), App::PropertyMaterial::setTransparency(), Robot::PropertyTrajectory::setValue(), Part::PropertyFilletEdges::setValue(), Part::PropertyPartShape::setValue(), App::PropertyMaterial::setValue(), App::PropertyColorList::setValue(), App::PropertyColor::setValue(), App::PropertyBool::setValue(), App::PropertyStringList::setValue(), App::PropertyString::setValue(), App::PropertyFloatList::setValue(), App::PropertyFloat::setValue(), App::PropertyIntegerList::setValue(), App::PropertyPath::setValue(), App::PropertyInteger::setValue(), App::PropertyPythonObject::setValue(), Points::PropertyPointKernel::setValue(), App::PropertyLinkSubList::setValue(), App::PropertyLinkList::setValue(), App::PropertyLinkSub::setValue(), App::PropertyLink::setValue(), Part::PropertyGeometryList::setValue(), App::PropertyPlacement::setValue(), App::PropertyMatrix::setValue(), App::PropertyVectorList::setValue(), App::PropertyVector::setValue(), App::PropertyFileIncluded::setValue(), Sketcher::PropertyConstraintList::setValue(), Points::PropertyCurvatureList::setValue(), Mesh::PropertyMeshKernel::setValue(), Mesh::PropertyCurvatureList::setValue(), Fem::PropertyFemMesh::setValue(), Mesh::PropertyMeshKernel::setValuePtr(), Fem::PropertyFemMesh::setValuePtr(), Part::PropertyFilletEdges::setValues(), App::PropertyColorList::setValues(), App::PropertyStringList::setValues(), App::PropertyFloatList::setValues(), App::PropertyIntegerList::setValues(), App::PropertyLinkSubList::setValues(), App::PropertyLinkList::setValues(), Part::PropertyGeometryList::setValues(), App::PropertyVectorList::setValues(), Sketcher::PropertyConstraintList::setValues(), Points::PropertyCurvatureList::setValues(), Mesh::PropertyCurvatureList::setValues(), Mesh::PropertyMeshKernel::smooth(), Mesh::PropertyMeshKernel::startEditing(), Mesh::PropertyMeshKernel::swapMesh(), Mesh::PropertyCurvatureList::transform(), Mesh::PropertyNormalList::transform(), Part::PropertyPartShape::transformGeometry(), Points::PropertyPointKernel::transformGeometry(), Mesh::PropertyMeshKernel::transformGeometry(), Fem::PropertyFemMesh::transformGeometry(), Mesh::PropertyMeshKernel::validateDeformations(), Mesh::PropertyMeshKernel::validateDegenerations(), and Mesh::PropertyMeshKernel::validateIndices().
Property * Property::Copy | ( | void | ) | const [pure virtual] |
Returns a new copy of the property (mainly for Undo/Redo and transactions).
Implemented in App::PropertyFileIncluded, App::PropertyVector, App::PropertyVectorList, App::PropertyMatrix, App::PropertyPlacement, App::PropertyPlacementLink, App::PropertyLink, App::PropertyLinkSub, App::PropertyLinkList, App::PropertyLinkSubList, App::PropertyPythonObject, App::PropertyInteger, App::PropertyPath, App::PropertyIntegerList, App::PropertyFloat, App::PropertyFloatList, App::PropertyString, App::PropertyStringList, App::PropertyBool, App::PropertyColor, App::PropertyColorList, App::PropertyMaterial, Fem::PropertyFemMesh, Mesh::PropertyCurvatureList, Mesh::PropertyMeshKernel, Part::PropertyGeometryList, Part::PropertyPartShape, Part::PropertyFilletEdges, Points::PropertyCurvatureList, Points::PropertyPointKernel, Robot::PropertyTrajectory, and Sketcher::PropertyConstraintList.
Definition at line 104 of file Property.cpp.
Referenced by App::Document::_copyObject(), SketcherGui::ViewProviderCustom::onChanged(), PartGui::ViewProviderCustom::onChanged(), and App::TransactionObject::setProperty().
void * App::Property::create | ( | void | ) | [static] |
Reimplemented from Base::Persistence.
Reimplemented in App::PropertyLists, App::PropertyFile, App::PropertyFileIncluded, App::PropertyVector, App::PropertyVectorList, App::PropertyMatrix, App::PropertyPlacement, App::PropertyPlacementLink, App::PropertyGeometry, App::PropertyComplexGeoData, App::PropertyLink, App::PropertyLinkSub, App::PropertyLinkList, App::PropertyLinkSubList, App::PropertyPythonObject, App::PropertyInteger, App::PropertyPath, App::PropertyEnumeration, App::PropertyIntegerConstraint, App::PropertyPercent, App::PropertyIntegerList, App::PropertyFloat, App::PropertyFloatConstraint, App::PropertyFloatList, App::PropertyString, App::PropertyFont, App::PropertyStringList, App::PropertyBool, App::PropertyColor, App::PropertyColorList, App::PropertyMaterial, App::PropertyDistance, App::PropertyLength, App::PropertyAngle, App::PropertySpeed, App::PropertyAcceleration, Fem::PropertyFemMesh, Mesh::PropertyNormalList, Mesh::PropertyCurvatureList, Mesh::PropertyMeshKernel, Part::PropertyGeometryList, Part::PropertyPartShape, Part::PropertyFilletEdges, Points::PropertyGreyValue, Points::PropertyGreyValueList, Points::PropertyNormalList, Points::PropertyCurvatureList, Points::PropertyPointKernel, Robot::PropertyTrajectory, and Sketcher::PropertyConstraintList.
Definition at line 42 of file Property.cpp.
std::string Property::encodeAttribute | ( | const std::string & | str | ) | const |
Encodes an attribute upon saving.
Definition at line 117 of file Property.cpp.
Referenced by App::PropertyStringList::Save(), App::PropertyString::Save(), App::PropertyEnumeration::Save(), and App::PropertyPath::Save().
Base::Type App::Property::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Base::Persistence.
Reimplemented in App::PropertyLists, App::PropertyFile, App::PropertyFileIncluded, App::PropertyVector, App::PropertyVectorList, App::PropertyMatrix, App::PropertyPlacement, App::PropertyPlacementLink, App::PropertyGeometry, App::PropertyComplexGeoData, App::PropertyLink, App::PropertyLinkSub, App::PropertyLinkList, App::PropertyLinkSubList, App::PropertyPythonObject, App::PropertyInteger, App::PropertyPath, App::PropertyEnumeration, App::PropertyIntegerConstraint, App::PropertyPercent, App::PropertyIntegerList, App::PropertyFloat, App::PropertyFloatConstraint, App::PropertyFloatList, App::PropertyString, App::PropertyFont, App::PropertyStringList, App::PropertyBool, App::PropertyColor, App::PropertyColorList, App::PropertyMaterial, App::PropertyDistance, App::PropertyLength, App::PropertyAngle, App::PropertySpeed, App::PropertyAcceleration, Fem::PropertyFemMesh, Mesh::PropertyNormalList, Mesh::PropertyCurvatureList, Mesh::PropertyMeshKernel, Part::PropertyGeometryList, Part::PropertyPartShape, Part::PropertyFilletEdges, Points::PropertyGreyValue, Points::PropertyGreyValueList, Points::PropertyNormalList, Points::PropertyCurvatureList, Points::PropertyPointKernel, Robot::PropertyTrajectory, and Sketcher::PropertyConstraintList.
Definition at line 42 of file Property.cpp.
Referenced by App::DynamicProperty::addDynamicProperty(), Gui::ViewProviderPythonFeaturePy::supportedProperties(), Part::FeaturePythonPy::supportedProperties(), Mesh::FeaturePythonPy::supportedProperties(), and App::FeaturePythonPy::supportedProperties().
PropertyContainer* App::Property::getContainer | ( | void | ) | const [inline] |
Get a pointer to the PropertyContainer derived class the property belongs to.
Definition at line 86 of file Property.h.
Referenced by App::Document::breakDependency(), App::PropertyFileIncluded::getDocTransientPath(), Gui::PropertyEditor::PropertyItem::pythonIdentifier(), App::PropertyLinkSubList::Restore(), App::PropertyLinkList::Restore(), App::PropertyLinkSub::Restore(), App::PropertyLink::Restore(), Part::PropertyPartShape::RestoreDocFile(), and Part::PropertyPartShape::SaveDocFile().
const char * Property::getDocumentation | ( | void | ) | const |
Get the documentation of this property.
Definition at line 74 of file Property.cpp.
References App::PropertyContainer::getPropertyDocumentation().
Referenced by App::DynamicProperty::addDynamicProperties(), and Gui::PropertyEditor::PropertyItem::toolTip().
virtual const char* App::Property::getEditorName | ( | void | ) | const [inline, virtual] |
Get the class name of the associated property editor item.
Reimplemented in App::PropertyFile, App::PropertyFileIncluded, App::PropertyVector, App::PropertyPlacement, App::PropertyInteger, App::PropertyPath, App::PropertyEnumeration, App::PropertyIntegerConstraint, App::PropertyFloat, App::PropertyFloatConstraint, App::PropertyString, App::PropertyFont, App::PropertyStringList, App::PropertyBool, App::PropertyColor, App::PropertyDistance, App::PropertyLength, App::PropertyAngle, App::PropertySpeed, App::PropertyAcceleration, and Mesh::PropertyMeshKernel.
Definition at line 71 of file Property.h.
Referenced by Gui::PropertyEditor::PropertyModel::buildUp().
const char * Property::getGroup | ( | void | ) | const |
Get the group of this property.
Definition at line 69 of file Property.cpp.
References App::PropertyContainer::getPropertyGroup().
Referenced by App::DynamicProperty::addDynamicProperties(), Gui::PropertyEditor::PropertyModel::buildUp(), and Part::Primitive::onChanged().
virtual unsigned int App::Property::getMemSize | ( | void | ) | const [inline, virtual] |
This method is used to get the size of objects It is not meant to have the exact size, it is more or less an estimation which runs fast! Is it two bytes or a GB? This method is defined in Base::Persistence.
Implements Base::Persistence.
Reimplemented in App::PropertyVector, App::PropertyVectorList, App::PropertyMatrix, App::PropertyPlacement, App::PropertyLink, App::PropertyLinkSub, App::PropertyLinkList, App::PropertyLinkSubList, App::PropertyPythonObject, App::PropertyInteger, App::PropertyPath, App::PropertyIntegerList, App::PropertyFloat, App::PropertyFloatList, App::PropertyString, App::PropertyStringList, App::PropertyBool, App::PropertyColor, App::PropertyColorList, App::PropertyMaterial, Fem::PropertyFemMesh, Mesh::PropertyCurvatureList, Mesh::PropertyMeshKernel, Part::PropertyGeometryList, Part::PropertyPartShape, Part::PropertyFilletEdges, Points::PropertyCurvatureList, Points::PropertyPointKernel, Robot::PropertyTrajectory, and Sketcher::PropertyConstraintList.
Definition at line 62 of file Property.h.
References Base::Persistence::getMemSize().
const char * Property::getName | ( | void | ) | const |
get the name of this property in the belonging container
Definition at line 59 of file Property.cpp.
References App::PropertyContainer::getName().
Referenced by App::DynamicProperty::addDynamicProperties(), Gui::PropertyEditor::PropertyModel::buildUp(), SketcherGui::ViewProviderCustom::onChanged(), PartGui::ViewProviderCustom::onChanged(), App::DynamicProperty::Restore(), Part::PropertyFilletEdges::Save(), App::PropertyColorList::Save(), App::PropertyFloatList::Save(), App::PropertyVectorList::Save(), Points::PropertyCurvatureList::Save(), Mesh::PropertyCurvatureList::Save(), Gui::ViewProviderMeasureDistance::updateData(), InspectionGui::ViewProviderInspection::updateData(), Gui::ViewProviderAnnotationLabel::updateData(), and Gui::ViewProviderAnnotation::updateData().
short Property::getType | ( | void | ) | const |
Get the type of the property in the container.
Definition at line 64 of file Property.cpp.
References App::PropertyContainer::getPropertyType().
Referenced by App::DynamicProperty::addDynamicProperties().
Base::Type App::Property::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Base::Persistence.
Reimplemented in App::PropertyLists, App::PropertyFile, App::PropertyFileIncluded, App::PropertyVector, App::PropertyVectorList, App::PropertyMatrix, App::PropertyPlacement, App::PropertyPlacementLink, App::PropertyGeometry, App::PropertyComplexGeoData, App::PropertyLink, App::PropertyLinkSub, App::PropertyLinkList, App::PropertyLinkSubList, App::PropertyPythonObject, App::PropertyInteger, App::PropertyPath, App::PropertyEnumeration, App::PropertyIntegerConstraint, App::PropertyPercent, App::PropertyIntegerList, App::PropertyFloat, App::PropertyFloatConstraint, App::PropertyFloatList, App::PropertyString, App::PropertyFont, App::PropertyStringList, App::PropertyBool, App::PropertyColor, App::PropertyColorList, App::PropertyMaterial, App::PropertyDistance, App::PropertyLength, App::PropertyAngle, App::PropertySpeed, App::PropertyAcceleration, Fem::PropertyFemMesh, Mesh::PropertyNormalList, Mesh::PropertyCurvatureList, Mesh::PropertyMeshKernel, Part::PropertyGeometryList, Part::PropertyPartShape, Part::PropertyFilletEdges, Points::PropertyGreyValue, Points::PropertyGreyValueList, Points::PropertyNormalList, Points::PropertyCurvatureList, Points::PropertyPointKernel, Robot::PropertyTrajectory, and Sketcher::PropertyConstraintList.
Definition at line 42 of file Property.cpp.
Referenced by App::Document::_copyObject(), StdCmdRandomColor::activated(), StdCmdPlacement::activated(), App::DynamicProperty::addDynamicProperties(), Gui::ViewProviderPythonFeatureImp::attach(), Gui::ViewProviderPythonFeatureImp::claimChildren(), MeshGui::ViewProviderMeshCurvature::curvatureInfo(), App::FeaturePythonImp::execute(), Mesh::SegmentByMesh::execute(), Mesh::RemoveComponents::execute(), Mesh::FillHoles::execute(), Mesh::FixIndices::execute(), Mesh::FixDeformations::execute(), Mesh::FixDegenerations::execute(), Mesh::FixDuplicatedPoints::execute(), Mesh::FixDuplicatedFaces::execute(), Mesh::FixNonManifolds::execute(), Mesh::FlipNormals::execute(), Mesh::HarmonizeNormals::execute(), exporter(), Gui::ViewProviderPythonFeatureImp::finishRestoring(), Gui::ViewProviderPythonFeatureImp::getDefaultDisplayMode(), Gui::ViewProviderPythonFeatureImp::getDisplayModes(), Gui::ViewProviderPythonFeatureImp::getIcon(), InspectionGui::ViewProviderInspection::getIcon(), InspectionGui::ViewProviderInspection::inspectDistance(), Gui::Dialog::DlgMaterialPropertiesImp::on_ambientColor_changed(), Gui::Dialog::DlgMaterialPropertiesImp::on_diffuseColor_changed(), Gui::Dialog::DlgMaterialPropertiesImp::on_emissiveColor_changed(), Gui::Dialog::DlgMaterialPropertiesImp::on_shininess_valueChanged(), Gui::Dialog::DlgMaterialPropertiesImp::on_specularColor_changed(), Gui::ViewProviderPythonFeatureImp::onChanged(), Gui::ViewProviderAnnotationLabel::onChanged(), App::FeaturePythonImp::onChanged(), App::PropertyPythonObject::Paste(), App::PropertyContainer::Restore(), Part::Box::Restore(), App::DynamicProperty::Restore(), Sandbox::DocumentObjectProtectorPy::setattr(), Gui::ViewProviderPythonFeatureImp::setDisplayMode(), InspectionGui::ViewProviderInspection::setDistances(), Gui::ViewProviderPythonFeatureImp::setEdit(), Gui::Dialog::DlgMaterialPropertiesImp::setViewProviders(), PartGui::ViewProviderPartBase::showControlPoints(), Gui::TaskView::TaskSelectLinkProperty::TaskSelectLinkProperty(), Gui::PropertyEditor::PropertyPlacementItem::toolTip(), Gui::ViewProviderPythonFeatureImp::unsetEdit(), Gui::ViewProviderPythonFeatureImp::updateData(), SketcherGui::ViewProviderCustom::updateData(), PartGui::ViewProviderCustom::updateData(), DrawingGui::ViewProviderDrawingPage::updateData(), MeshGui::ViewProviderMeshFaceSet::updateData(), Gui::ViewProviderMeasureDistance::updateData(), InspectionGui::ViewProviderInspection::updateData(), PartGui::ViewProviderPartExt::updateData(), Gui::ViewProviderDocumentObjectGroup::updateData(), PartGui::ViewProviderCurveNet::updateData(), MeshGui::ViewProviderMeshCurvature::updateData(), Gui::ViewProviderAnnotationLabel::updateData(), Gui::ViewProviderAnnotation::updateData(), PartGui::ViewProvider2DObject::updateData(), PointsGui::ViewProviderPoints::updateData(), PartGui::ViewProviderEllipsoid::updateData(), PartGui::ViewProviderPartBase::updateData(), MeshGui::ViewProviderMeshObject::updateData(), MeshGui::ViewProviderIndexedFaceSet::updateData(), Gui::PropertyEditor::PropertyTransientFileItem::value(), Gui::PropertyEditor::PropertyPathItem::value(), Gui::PropertyEditor::PropertyFileItem::value(), Gui::PropertyEditor::PropertyColorItem::value(), Gui::PropertyEditor::PropertyStringListItem::value(), Gui::PropertyEditor::PropertyEnumItem::value(), Gui::PropertyEditor::PropertyPlacementItem::value(), Gui::PropertyEditor::PropertyVectorItem::value(), Gui::PropertyEditor::PropertyBoolItem::value(), Gui::PropertyEditor::PropertyFloatConstraintItem::value(), Gui::PropertyEditor::PropertyUnitItem::value(), Gui::PropertyEditor::PropertyFloatItem::value(), Gui::PropertyEditor::PropertyIntegerConstraintItem::value(), Gui::PropertyEditor::PropertyIntegerItem::value(), Gui::PropertyEditor::PropertyFontItem::value(), and Gui::PropertyEditor::PropertyStringItem::value().
void Property::hasSetValue | ( | void | ) | [protected] |
Gets called by all setValue() methods after the value has changed.
Definition at line 91 of file Property.cpp.
References App::PropertyContainer::onChanged(), and StatusBits.
Referenced by Sketcher::PropertyConstraintList::acceptGeometry(), Mesh::PropertyMeshKernel::append(), Mesh::PropertyMeshKernel::clear(), Mesh::PropertyMeshKernel::createSegment(), Mesh::PropertyMeshKernel::deleteFacetIndices(), Mesh::PropertyMeshKernel::deletePointIndices(), Mesh::PropertyMeshKernel::finishEditing(), Mesh::PropertyMeshKernel::harmonizeNormals(), Robot::PropertyTrajectory::Paste(), Part::PropertyFilletEdges::Paste(), Part::PropertyPartShape::Paste(), App::PropertyMaterial::Paste(), App::PropertyColorList::Paste(), App::PropertyColor::Paste(), App::PropertyBool::Paste(), App::PropertyStringList::Paste(), App::PropertyString::Paste(), App::PropertyFloatList::Paste(), App::PropertyFloat::Paste(), App::PropertyIntegerList::Paste(), App::PropertyPath::Paste(), App::PropertyInteger::Paste(), App::PropertyPythonObject::Paste(), Points::PropertyPointKernel::Paste(), App::PropertyLinkSubList::Paste(), App::PropertyLinkList::Paste(), App::PropertyLinkSub::Paste(), App::PropertyLink::Paste(), App::PropertyPlacementLink::Paste(), App::PropertyPlacement::Paste(), App::PropertyMatrix::Paste(), App::PropertyVectorList::Paste(), App::PropertyVector::Paste(), App::PropertyFileIncluded::Paste(), Sketcher::PropertyConstraintList::Paste(), Points::PropertyCurvatureList::Paste(), Mesh::PropertyMeshKernel::Paste(), Mesh::PropertyCurvatureList::Paste(), Fem::PropertyFemMesh::Paste(), Mesh::PropertyMeshKernel::removeDuplicatedFacets(), Mesh::PropertyMeshKernel::removeDuplicatedPoints(), Mesh::PropertyMeshKernel::removeFoldsOnSurface(), Mesh::PropertyMeshKernel::removeNonManifolds(), Mesh::PropertyMeshKernel::removeSelfIntersections(), App::PropertyMaterial::Restore(), App::PropertyPythonObject::Restore(), Points::PropertyPointKernel::Restore(), App::PropertyPlacement::Restore(), App::PropertyMatrix::Restore(), App::PropertyVector::Restore(), App::PropertyFileIncluded::Restore(), Mesh::PropertyMeshKernel::Restore(), App::PropertyPythonObject::RestoreDocFile(), Points::PropertyPointKernel::RestoreDocFile(), App::PropertyFileIncluded::RestoreDocFile(), Mesh::PropertyMeshKernel::RestoreDocFile(), Fem::PropertyFemMesh::RestoreDocFile(), App::PropertyMaterial::setAmbientColor(), App::PropertyMaterial::setDiffuseColor(), App::PropertyMaterial::setEmmisiveColor(), Mesh::PropertyMeshKernel::setPointIndices(), App::PropertyFloatConstraint::setPyObject(), App::PropertyFloat::setPyObject(), App::PropertyIntegerConstraint::setPyObject(), App::PropertyInteger::setPyObject(), App::PropertyPythonObject::setPyObject(), App::PropertyMaterial::setShininess(), App::PropertyMaterial::setSpecularColor(), App::PropertyMaterial::setTransparency(), Robot::PropertyTrajectory::setValue(), Part::PropertyFilletEdges::setValue(), Part::PropertyPartShape::setValue(), App::PropertyMaterial::setValue(), App::PropertyColorList::setValue(), App::PropertyColor::setValue(), App::PropertyBool::setValue(), App::PropertyStringList::setValue(), App::PropertyString::setValue(), App::PropertyFloatList::setValue(), App::PropertyFloat::setValue(), App::PropertyIntegerList::setValue(), App::PropertyPath::setValue(), App::PropertyInteger::setValue(), App::PropertyPythonObject::setValue(), Points::PropertyPointKernel::setValue(), App::PropertyLinkSubList::setValue(), App::PropertyLinkList::setValue(), App::PropertyLinkSub::setValue(), App::PropertyLink::setValue(), Part::PropertyGeometryList::setValue(), App::PropertyPlacement::setValue(), App::PropertyMatrix::setValue(), App::PropertyVectorList::setValue(), App::PropertyVector::setValue(), App::PropertyFileIncluded::setValue(), Sketcher::PropertyConstraintList::setValue(), Points::PropertyCurvatureList::setValue(), Mesh::PropertyMeshKernel::setValue(), Mesh::PropertyCurvatureList::setValue(), Fem::PropertyFemMesh::setValue(), Mesh::PropertyMeshKernel::setValuePtr(), Fem::PropertyFemMesh::setValuePtr(), Part::PropertyFilletEdges::setValues(), App::PropertyColorList::setValues(), App::PropertyStringList::setValues(), App::PropertyFloatList::setValues(), App::PropertyIntegerList::setValues(), App::PropertyLinkSubList::setValues(), App::PropertyLinkList::setValues(), Part::PropertyGeometryList::setValues(), App::PropertyVectorList::setValues(), Sketcher::PropertyConstraintList::setValues(), Points::PropertyCurvatureList::setValues(), Mesh::PropertyCurvatureList::setValues(), Mesh::PropertyMeshKernel::smooth(), Mesh::PropertyMeshKernel::swapMesh(), Mesh::PropertyCurvatureList::transform(), Mesh::PropertyNormalList::transform(), Part::PropertyPartShape::transformGeometry(), Points::PropertyPointKernel::transformGeometry(), Mesh::PropertyMeshKernel::transformGeometry(), Fem::PropertyFemMesh::transformGeometry(), Mesh::PropertyMeshKernel::validateDeformations(), Mesh::PropertyMeshKernel::validateDegenerations(), and Mesh::PropertyMeshKernel::validateIndices().
void App::Property::init | ( | void | ) | [static] |
Reimplemented from Base::Persistence.
Reimplemented in App::PropertyLists, App::PropertyFile, App::PropertyFileIncluded, App::PropertyVector, App::PropertyVectorList, App::PropertyMatrix, App::PropertyPlacement, App::PropertyPlacementLink, App::PropertyGeometry, App::PropertyComplexGeoData, App::PropertyLink, App::PropertyLinkSub, App::PropertyLinkList, App::PropertyLinkSubList, App::PropertyPythonObject, App::PropertyInteger, App::PropertyPath, App::PropertyEnumeration, App::PropertyIntegerConstraint, App::PropertyPercent, App::PropertyIntegerList, App::PropertyFloat, App::PropertyFloatConstraint, App::PropertyFloatList, App::PropertyString, App::PropertyFont, App::PropertyStringList, App::PropertyBool, App::PropertyColor, App::PropertyColorList, App::PropertyMaterial, App::PropertyDistance, App::PropertyLength, App::PropertyAngle, App::PropertySpeed, App::PropertyAcceleration, Fem::PropertyFemMesh, Mesh::PropertyNormalList, Mesh::PropertyCurvatureList, Mesh::PropertyMeshKernel, Part::PropertyGeometryList, Part::PropertyPartShape, Part::PropertyFilletEdges, Points::PropertyGreyValue, Points::PropertyGreyValueList, Points::PropertyNormalList, Points::PropertyCurvatureList, Points::PropertyPointKernel, Robot::PropertyTrajectory, and Sketcher::PropertyConstraintList.
Definition at line 42 of file Property.cpp.
bool App::Property::isTouched | ( | void | ) | const [inline] |
Test if this property is touched.
Definition at line 90 of file Property.h.
Referenced by Sketcher::SketchObjectSF::mustExecute(), Part::Wedge::mustExecute(), Part::Helix::mustExecute(), Part::Torus::mustExecute(), Part::Cone::mustExecute(), Part::Cylinder::mustExecute(), Part::Ellipsoid::mustExecute(), Part::Sphere::mustExecute(), Part::Plane::mustExecute(), Part::Vertex::mustExecute(), Part::Loft::mustExecute(), Part::RuledSurface::mustExecute(), Inspection::Feature::mustExecute(), PartDesign::Revolution::mustExecute(), Part::Revolution::mustExecute(), Points::ImportAscii::mustExecute(), PartDesign::Pocket::mustExecute(), Part::Polygon::mustExecute(), Part::ImportStep::mustExecute(), Part::ImportIges::mustExecute(), Part::ImportBrep::mustExecute(), Part::MultiFuse::mustExecute(), Part::CurveNet::mustExecute(), Part::MultiCommon::mustExecute(), Part::Circle::mustExecute(), Part::Box::mustExecute(), Part::Boolean::mustExecute(), PartDesign::Pad::mustExecute(), Part::Mirroring::mustExecute(), Mesh::Cube::mustExecute(), Mesh::Torus::mustExecute(), Mesh::Cone::mustExecute(), Mesh::Cylinder::mustExecute(), Mesh::Ellipsoid::mustExecute(), Mesh::Sphere::mustExecute(), Mesh::SetOperations::mustExecute(), Mesh::SegmentByMesh::mustExecute(), Mesh::Import::mustExecute(), Mesh::Export::mustExecute(), Mesh::FixDefects::mustExecute(), Mesh::Curvature::mustExecute(), PartDesign::Fillet::mustExecute(), Part::Fillet::mustExecute(), PartDesign::Face::mustExecute(), Part::Extrusion::mustExecute(), PartDesign::Chamfer::mustExecute(), Part::Chamfer::mustExecute(), and Sandbox::SandboxObject::mustExecute().
void Property::Paste | ( | const Property & | from | ) | [pure virtual] |
Paste the value from the property (mainly for Undo/Redo and transactions).
Definition at line 111 of file Property.cpp.
Referenced by SketcherGui::ViewProviderCustom::onChanged(), and PartGui::ViewProviderCustom::onChanged().
void App::Property::purgeTouched | ( | void | ) | [inline] |
Reset this property touched.
Definition at line 92 of file Property.h.
void Property::setContainer | ( | PropertyContainer * | Father | ) |
Is called by the framework to set the father (container).
Definition at line 79 of file Property.cpp.
Referenced by App::DynamicProperty::addDynamicProperty().
void Property::touch | ( | void | ) |
Set the property touched.
Definition at line 84 of file Property.cpp.
References App::PropertyContainer::onChanged(), and StatusBits.
Referenced by Sketcher::PropertyConstraintList::checkGeometry(), FemGui::ViewProviderFemMesh::ViewProviderFemMesh(), Gui::ViewProviderGeometryObject::ViewProviderGeometryObject(), PartGui::ViewProviderPartBase::ViewProviderPartBase(), and PartGui::ViewProviderPartExt::ViewProviderPartExt().
friend class PropertyContainer [friend] |
Definition at line 102 of file Property.h.
std::bitset<32> App::Property::StatusBits |
Status bits of the property The first 8 bits are used for the base system the rest can be used in descendent classes to to mark special stati on the objects.
The bits and their meaning are listed below: 0 - object is marked as 'touched' 1 - object is marked as 'immutable'
Definition at line 111 of file Property.h.
Referenced by hasSetValue(), Gui::ViewProviderDocumentObjectGroup::hide(), Gui::ViewProviderDocumentObject::hide(), Gui::ViewProviderDocumentObject::onChanged(), Part::Box::onChanged(), Gui::ViewProviderDocumentObjectGroup::Restore(), Part::Box::Restore(), Gui::ViewProviderDocumentObjectGroup::show(), Gui::ViewProviderDocumentObject::show(), and touch().