App::PropertyContainer Class Reference

Base class of all classes with properties. More...

#include <PropertyContainer.h>

Inheritance diagram for App::PropertyContainer:
Base::Persistence Base::BaseClass App::Document App::DocumentObject Gui::ViewProvider App::Annotation App::AnnotationLabel App::DocumentObjectFileIncluded App::DocumentObjectGroup App::FeatureTest App::GeoFeature App::MeasureDistance App::Placement Drawing::FeatureView Inspection::Feature Mesh::Curvature Mesh::Export Raytracing::RaySegment Sandbox::SandboxObject Gui::ViewProviderDocumentObject Gui::ViewProviderExtern PartGui::ViewProviderCrossSections

List of all members.

Public Member Functions

virtual void addDynamicProperties (const PropertyContainer *)
virtual App::PropertyaddDynamicProperty (const char *type, const char *name=0, const char *group=0, const char *doc=0, short attr=0, bool ro=false, bool hidden=false)
virtual App::PropertygetDynamicPropertyByName (const char *name) const
virtual std::vector< std::string > getDynamicPropertyNames () const
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?
virtual const char * getName (const Property *prop) const
 get the name of a property
virtual PropertygetPropertyByName (const char *name) const
 find a property by its name
virtual const char * getPropertyDocumentation (const char *name) const
 get the Group of a named Property
virtual const char * getPropertyDocumentation (const Property *prop) const
 get the Group of a Property
virtual const char * getPropertyGroup (const char *name) const
 get the Group of a named Property
virtual const char * getPropertyGroup (const Property *prop) const
 get the Group of a Property
virtual void getPropertyList (std::vector< Property * > &List) const
 get all properties of the class (including properties of the parent)
virtual void getPropertyMap (std::map< std::string, Property * > &Map) const
 get all properties of the class (including properties of the parent)
virtual short getPropertyType (const char *name) const
 get the Type of a named Property
virtual short getPropertyType (const Property *prop) const
 get the Type of a Property
virtual Base::Type getTypeId (void) const
virtual bool isHidden (const char *name) const
 check if the named property is hidden
virtual bool isHidden (const Property *prop) const
 check if the property is hidden
virtual bool isReadOnly (const char *name) const
 check if the nameed property is read-only
virtual bool isReadOnly (const Property *prop) const
 check if the property is read-only
 PropertyContainer ()
 A constructor.
virtual void Restore (Base::XMLReader &reader)
 This method is used to restore properties from an XML document.
virtual void Save (Base::Writer &writer) const
 This method is used to save properties to an XML document.
void setPropertyStatus (unsigned char bit, bool value)
 set the Status bit of all properties at once
virtual ~PropertyContainer ()
 A destructor.

Static Public Member Functions

static void * create (void)
static Base::Type getClassTypeId (void)
static void init (void)

Protected Member Functions

virtual const PropertyDatagetPropertyData (void) const
virtual void onBeforeChange (const Property *)
 get called before the value is changed
virtual void onChanged (const Property *)
 get called by the container when a property has changed

Static Protected Member Functions

static const PropertyDatagetPropertyDataPtr (void)

Friends

class Property

Detailed Description

Base class of all classes with properties.

Definition at line 84 of file PropertyContainer.h.


Constructor & Destructor Documentation

PropertyContainer::PropertyContainer (  ) 

A constructor.

A more elaborate description of the constructor.

Definition at line 52 of file PropertyContainer.cpp.

References App::PropertyData::parentPropertyData.

PropertyContainer::~PropertyContainer (  )  [virtual]

A destructor.

A more elaborate description of the destructor.

Definition at line 57 of file PropertyContainer.cpp.


Member Function Documentation

virtual void App::PropertyContainer::addDynamicProperties ( const PropertyContainer  )  [inline, virtual]
virtual App::Property* App::PropertyContainer::addDynamicProperty ( const char *  type,
const char *  name = 0,
const char *  group = 0,
const char *  doc = 0,
short  attr = 0,
bool  ro = false,
bool  hidden = false 
) [inline, virtual]
void * App::PropertyContainer::create ( void   )  [static]

Reimplemented from Base::Persistence.

Reimplemented in App::VRMLObject, Gui::ViewProvider, Gui::ViewProviderAnnotation, Gui::ViewProviderAnnotationLabel, Gui::ViewProviderDocumentObject, Gui::ViewProviderDocumentObjectGroup, Gui::ViewProviderExtern, Gui::ViewProviderFeature, Gui::ViewProviderGeometryObject, Gui::ViewProviderInventorObject, Gui::ViewProviderPointMarker, Gui::ViewProviderMeasureDistance, Gui::ViewProviderVRMLObject, Drawing::FeaturePage, Drawing::FeatureProjection, Drawing::FeatureView, Drawing::FeatureViewPart, Drawing::PageGroup, DrawingGui::ViewProviderDrawingPage, DrawingGui::ViewProviderDrawingView, Fem::FemMeshObject, FemGui::ViewProviderFemMesh, Image::ImagePlane, ImageGui::ViewProviderImagePlane, Inspection::Feature, Inspection::Group, InspectionGui::ViewProviderInspection, InspectionGui::ViewProviderInspectionGroup, Mesh::Curvature, Mesh::FixDefects, Mesh::HarmonizeNormals, Mesh::FlipNormals, Mesh::FixNonManifolds, Mesh::FixDuplicatedFaces, Mesh::FixDuplicatedPoints, Mesh::FixDegenerations, Mesh::FixDeformations, Mesh::FixIndices, Mesh::FillHoles, Mesh::RemoveComponents, Mesh::Export, Mesh::Import, Mesh::SegmentByMesh, Mesh::SetOperations, Mesh::Sphere, Mesh::Ellipsoid, Mesh::Cylinder, Mesh::Cone, Mesh::Torus, Mesh::Cube, Mesh::Transform, Mesh::TransformDemolding, Mesh::Feature, MeshGui::ViewProviderFace, MeshGui::ViewProviderExport, MeshGui::ViewProviderMesh, MeshGui::ViewProviderIndexedFaceSet, MeshGui::ViewProviderMeshObject, MeshGui::ViewProviderMeshCurvature, MeshGui::ViewProviderMeshDefects, MeshGui::ViewProviderMeshOrientation, MeshGui::ViewProviderMeshNonManifolds, MeshGui::ViewProviderMeshDuplicatedFaces, MeshGui::ViewProviderMeshDegenerations, MeshGui::ViewProviderMeshDuplicatedPoints, MeshGui::ViewProviderMeshIndices, MeshGui::ViewProviderMeshSelfIntersections, MeshGui::ViewProviderMeshFolds, MeshGui::ViewProviderMeshFaceSet, MeshGui::ViewProviderMeshNode, MeshGui::ViewProviderMeshTransform, MeshGui::ViewProviderMeshTransformDemolding, Part::CustomFeature, Part::Chamfer, Part::Extrusion, Part::Fillet, Part::FeatureGeometrySet, Part::Mirroring, Part::Boolean, Part::Box, Part::Circle, Part::Common, Part::MultiCommon, Part::CurveNet, Part::Cut, Part::Fuse, Part::MultiFuse, Part::ImportBrep, Part::ImportIges, Part::ImportStep, Part::Polygon, Part::Section, Part::Revolution, Part::Part2DObject, Part::Feature, Part::FeatureExt, Part::FeatureReference, Part::RuledSurface, Part::Loft, Part::Primitive, Part::Vertex, Part::Plane, Part::Sphere, Part::Ellipsoid, Part::Cylinder, Part::Cone, Part::Torus, Part::Helix, Part::Wedge, PartGui::ViewProviderPartBase, PartGui::ViewProviderEllipsoid, PartGui::ViewProviderPart, PartGui::ViewProvider2DObject, PartGui::ViewProviderBoolean, PartGui::ViewProviderMultiFuse, PartGui::ViewProviderMultiCommon, PartGui::ViewProviderBox, PartGui::ViewProviderCurveNet, PartGui::ViewProviderPartExt, PartGui::ViewProviderExtrusion, PartGui::ViewProviderImport, PartGui::ViewProviderMirror, PartGui::ViewProviderFillet, PartGui::ViewProviderChamfer, PartGui::ViewProviderCustom, PartGui::ViewProviderPartReference, PartDesign::Feature, PartDesign::Additive, PartDesign::Chamfer, PartDesign::DressUp, PartDesign::Face, PartDesign::Fillet, PartDesign::Hole, PartDesign::MainPart, PartDesign::Pad, PartDesign::PatternRectangular, PartDesign::Pocket, PartDesign::Revolution, PartDesign::SketchBased, PartDesign::Subtractive, PartDesignGui::ViewProviderChamfer, PartDesignGui::ViewProvider, PartDesignGui::ViewProviderFillet, PartDesignGui::ViewProviderHole, PartDesignGui::ViewProviderMainPart, PartDesignGui::ViewProviderPad, PartDesignGui::ViewProviderPatternRectangular, PartDesignGui::ViewProviderPocket, PartDesignGui::ViewProviderRevolution, Points::ImportAscii, Points::Feature, Points::Export, PointsGui::ViewProviderPoints, Raytracing::RayFeature, Raytracing::RayProject, Raytracing::RaySegment, Robot::Edge2TracObject, Robot::RobotObject, Robot::TrajectoryCompound, Robot::TrajectoryDressUpObject, Robot::TrajectoryObject, RobotGui::ViewProviderEdge2TracObject, RobotGui::ViewProviderRobotObject, RobotGui::ViewProviderTrajectory, RobotGui::ViewProviderTrajectoryCompound, RobotGui::ViewProviderTrajectoryDressUp, Sandbox::SandboxObject, Sketcher::SketchObject, Sketcher::SketchObjectSF, SketcherGui::ViewProviderCustom, and SketcherGui::ViewProviderSketch.

Definition at line 45 of file PropertyContainer.cpp.

Base::Type App::PropertyContainer::getClassTypeId ( void   )  [static]

Reimplemented from Base::Persistence.

Reimplemented in App::VRMLObject, Gui::ViewProvider, Gui::ViewProviderAnnotation, Gui::ViewProviderAnnotationLabel, Gui::ViewProviderDocumentObject, Gui::ViewProviderDocumentObjectGroup, Gui::ViewProviderExtern, Gui::ViewProviderFeature, Gui::ViewProviderGeometryObject, Gui::ViewProviderInventorObject, Gui::ViewProviderPointMarker, Gui::ViewProviderMeasureDistance, Gui::ViewProviderVRMLObject, Drawing::FeaturePage, Drawing::FeatureProjection, Drawing::FeatureView, Drawing::FeatureViewPart, Drawing::PageGroup, DrawingGui::ViewProviderDrawingPage, DrawingGui::ViewProviderDrawingView, Fem::FemMeshObject, FemGui::ViewProviderFemMesh, Image::ImagePlane, ImageGui::ViewProviderImagePlane, Inspection::Feature, Inspection::Group, InspectionGui::ViewProviderInspection, InspectionGui::ViewProviderInspectionGroup, Mesh::Curvature, Mesh::FixDefects, Mesh::HarmonizeNormals, Mesh::FlipNormals, Mesh::FixNonManifolds, Mesh::FixDuplicatedFaces, Mesh::FixDuplicatedPoints, Mesh::FixDegenerations, Mesh::FixDeformations, Mesh::FixIndices, Mesh::FillHoles, Mesh::RemoveComponents, Mesh::Export, Mesh::Import, Mesh::SegmentByMesh, Mesh::SetOperations, Mesh::Sphere, Mesh::Ellipsoid, Mesh::Cylinder, Mesh::Cone, Mesh::Torus, Mesh::Cube, Mesh::Transform, Mesh::TransformDemolding, Mesh::Feature, MeshGui::ViewProviderFace, MeshGui::ViewProviderExport, MeshGui::ViewProviderMesh, MeshGui::ViewProviderIndexedFaceSet, MeshGui::ViewProviderMeshObject, MeshGui::ViewProviderMeshCurvature, MeshGui::ViewProviderMeshDefects, MeshGui::ViewProviderMeshOrientation, MeshGui::ViewProviderMeshNonManifolds, MeshGui::ViewProviderMeshDuplicatedFaces, MeshGui::ViewProviderMeshDegenerations, MeshGui::ViewProviderMeshDuplicatedPoints, MeshGui::ViewProviderMeshIndices, MeshGui::ViewProviderMeshSelfIntersections, MeshGui::ViewProviderMeshFolds, MeshGui::ViewProviderMeshFaceSet, MeshGui::ViewProviderMeshNode, MeshGui::ViewProviderMeshTransform, MeshGui::ViewProviderMeshTransformDemolding, Part::CustomFeature, Part::Chamfer, Part::Extrusion, Part::Fillet, Part::FeatureGeometrySet, Part::Mirroring, Part::Boolean, Part::Box, Part::Circle, Part::Common, Part::MultiCommon, Part::CurveNet, Part::Cut, Part::Fuse, Part::MultiFuse, Part::ImportBrep, Part::ImportIges, Part::ImportStep, Part::Polygon, Part::Section, Part::Revolution, Part::Part2DObject, Part::Feature, Part::FeatureExt, Part::FeatureReference, Part::RuledSurface, Part::Loft, Part::Primitive, Part::Vertex, Part::Plane, Part::Sphere, Part::Ellipsoid, Part::Cylinder, Part::Cone, Part::Torus, Part::Helix, Part::Wedge, PartGui::ViewProviderPartBase, PartGui::ViewProviderEllipsoid, PartGui::ViewProviderPart, PartGui::ViewProvider2DObject, PartGui::ViewProviderBoolean, PartGui::ViewProviderMultiFuse, PartGui::ViewProviderMultiCommon, PartGui::ViewProviderBox, PartGui::ViewProviderCurveNet, PartGui::ViewProviderPartExt, PartGui::ViewProviderExtrusion, PartGui::ViewProviderImport, PartGui::ViewProviderMirror, PartGui::ViewProviderFillet, PartGui::ViewProviderChamfer, PartGui::ViewProviderCustom, PartGui::ViewProviderPartReference, PartDesign::Feature, PartDesign::Additive, PartDesign::Chamfer, PartDesign::DressUp, PartDesign::Face, PartDesign::Fillet, PartDesign::Hole, PartDesign::MainPart, PartDesign::Pad, PartDesign::PatternRectangular, PartDesign::Pocket, PartDesign::Revolution, PartDesign::SketchBased, PartDesign::Subtractive, PartDesignGui::ViewProviderChamfer, PartDesignGui::ViewProvider, PartDesignGui::ViewProviderFillet, PartDesignGui::ViewProviderHole, PartDesignGui::ViewProviderMainPart, PartDesignGui::ViewProviderPad, PartDesignGui::ViewProviderPatternRectangular, PartDesignGui::ViewProviderPocket, PartDesignGui::ViewProviderRevolution, Points::ImportAscii, Points::Feature, Points::Export, PointsGui::ViewProviderPoints, Raytracing::RayFeature, Raytracing::RayProject, Raytracing::RaySegment, Robot::Edge2TracObject, Robot::RobotObject, Robot::TrajectoryCompound, Robot::TrajectoryDressUpObject, Robot::TrajectoryObject, RobotGui::ViewProviderEdge2TracObject, RobotGui::ViewProviderRobotObject, RobotGui::ViewProviderTrajectory, RobotGui::ViewProviderTrajectoryCompound, RobotGui::ViewProviderTrajectoryDressUp, Sandbox::SandboxObject, Sketcher::SketchObject, Sketcher::SketchObjectSF, SketcherGui::ViewProviderCustom, and SketcherGui::ViewProviderSketch.

Definition at line 45 of file PropertyContainer.cpp.

Referenced by App::Document::_copyObject(), StdCmdHideObjects::activated(), StdCmdShowObjects::activated(), StdCmdToggleObjects::activated(), StdCmdHideSelection::activated(), StdCmdShowSelection::activated(), StdCmdToggleSelectability::activated(), StdCmdToggleVisibility::activated(), StdCmdMeasurementSimple::activated(), StdCmdPlacement::activated(), StdCmdSelectAll::activated(), CmdMeshFromGeometry::activated(), App::DocumentObjectGroupPy::addObject(), App::Document::addObject(), Gui::PointMarker::customEvent(), Gui::TreeWidget::dragMoveEvent(), Gui::TreeWidget::dropEvent(), Gui::Application::exportTo(), App::DocumentPy::findObjects(), App::PropertyFileIncluded::getDocTransientPath(), App::DocumentObjectGroup::getGroupOfObject(), App::PropertyPlacementLink::getPlacementObject(), Gui::ViewProviderDocumentObjectGroup::getViewProviders(), Gui::ViewProviderDocumentObjectGroup::hide(), StdCmdMeasureDistance::isActive(), StdCmdExport::isActive(), CmdApproxPlane::isActive(), CmdMeshFromGeometry::isActive(), App::DocumentObjectGroup::isChildOf(), App::Document::moveObject(), Gui::PropertyEditor::PropertyItem::pythonIdentifier(), App::PropertyLinkSubList::Restore(), App::PropertyLinkList::Restore(), App::PropertyLinkSub::Restore(), App::PropertyLink::Restore(), Part::PropertyPartShape::RestoreDocFile(), Part::PropertyPartShape::SaveDocFile(), CompleteGui::Workbench::setupContextMenu(), Gui::StdWorkbench::setupContextMenu(), Gui::ViewProviderDocumentObjectGroup::show(), MeshGui::Annotation::show(), Gui::DocumentItem::slotChangeObject(), App::DocumentPy::supportedTypes(), and Gui::ViewProviderGeometryObject::unsetEdit().

virtual App::Property* App::PropertyContainer::getDynamicPropertyByName ( const char *  name  )  const [inline, virtual]
virtual std::vector<std::string> App::PropertyContainer::getDynamicPropertyNames (  )  const [inline, virtual]
unsigned int PropertyContainer::getMemSize ( void   )  const [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?

Implements Base::Persistence.

Reimplemented in App::Document, and Sketcher::SketchObject.

Definition at line 62 of file PropertyContainer.cpp.

References getPropertyMap().

const char * PropertyContainer::getName ( const Property prop  )  const [virtual]
Property * PropertyContainer::getPropertyByName ( const char *  name  )  const [virtual]

find a property by its name

Definition at line 73 of file PropertyContainer.cpp.

References App::PropertyData::getPropertyByName(), and getPropertyData().

Referenced by App::Document::_copyObject(), StdCmdRandomColor::activated(), MeshGui::ViewProviderMeshCurvature::curvatureInfo(), 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(), Sandbox::DocumentObjectProtectorPy::getattr(), App::PropertyContainerPy::getCustomAttributes(), App::DocumentPy::getCustomAttributes(), InspectionGui::ViewProviderInspection::getIcon(), App::PropertyContainerPy::getPropertyByName(), InspectionGui::ViewProviderInspection::inspectDistance(), Gui::ViewProviderAnnotationLabel::onChanged(), PartGui::ViewProviderPartBase::onChanged(), PartGui::ViewProviderPartExt::reload(), PartGui::ViewProviderPartBase::reload(), Restore(), Part::Box::Restore(), Sandbox::DocumentObjectProtectorPy::setattr(), Sketcher::SketchObjectPy::setCustomAttributes(), App::PropertyContainerPy::setCustomAttributes(), App::DocumentPy::setCustomAttributes(), App::DocumentObjectPy::setCustomAttributes(), InspectionGui::ViewProviderInspection::setDistances(), Sandbox::DocumentObjectProtector::setProperty(), Gui::Application::sInsert(), Gui::ViewProviderPythonFeatureObserver::slotAppendObject(), Gui::ViewProviderPythonFeatureObserver::slotDeleteObject(), and InspectionGui::ViewProviderInspection::updateData().

const PropertyData & PropertyContainer::getPropertyData ( void   )  const [protected, virtual]

Reimplemented in App::VRMLObject, Gui::ViewProvider, Gui::ViewProviderAnnotation, Gui::ViewProviderAnnotationLabel, Gui::ViewProviderDocumentObject, Gui::ViewProviderDocumentObjectGroup, Gui::ViewProviderExtern, Gui::ViewProviderFeature, Gui::ViewProviderGeometryObject, Gui::ViewProviderInventorObject, Gui::ViewProviderPointMarker, Gui::ViewProviderMeasureDistance, Gui::ViewProviderVRMLObject, Drawing::FeaturePage, Drawing::FeatureProjection, Drawing::FeatureView, Drawing::FeatureViewPart, Drawing::PageGroup, DrawingGui::ViewProviderDrawingPage, DrawingGui::ViewProviderDrawingView, Fem::FemMeshObject, FemGui::ViewProviderFemMesh, Image::ImagePlane, ImageGui::ViewProviderImagePlane, Inspection::Feature, Inspection::Group, InspectionGui::ViewProviderInspection, InspectionGui::ViewProviderInspectionGroup, Mesh::Curvature, Mesh::FixDefects, Mesh::HarmonizeNormals, Mesh::FlipNormals, Mesh::FixNonManifolds, Mesh::FixDuplicatedFaces, Mesh::FixDuplicatedPoints, Mesh::FixDegenerations, Mesh::FixDeformations, Mesh::FixIndices, Mesh::FillHoles, Mesh::RemoveComponents, Mesh::Export, Mesh::Import, Mesh::SegmentByMesh, Mesh::SetOperations, Mesh::Sphere, Mesh::Ellipsoid, Mesh::Cylinder, Mesh::Cone, Mesh::Torus, Mesh::Cube, Mesh::Transform, Mesh::TransformDemolding, Mesh::Feature, MeshGui::ViewProviderFace, MeshGui::ViewProviderExport, MeshGui::ViewProviderMesh, MeshGui::ViewProviderIndexedFaceSet, MeshGui::ViewProviderMeshObject, MeshGui::ViewProviderMeshCurvature, MeshGui::ViewProviderMeshDefects, MeshGui::ViewProviderMeshOrientation, MeshGui::ViewProviderMeshNonManifolds, MeshGui::ViewProviderMeshDuplicatedFaces, MeshGui::ViewProviderMeshDegenerations, MeshGui::ViewProviderMeshDuplicatedPoints, MeshGui::ViewProviderMeshIndices, MeshGui::ViewProviderMeshSelfIntersections, MeshGui::ViewProviderMeshFolds, MeshGui::ViewProviderMeshFaceSet, MeshGui::ViewProviderMeshNode, MeshGui::ViewProviderMeshTransform, MeshGui::ViewProviderMeshTransformDemolding, Part::CustomFeature, Part::Chamfer, Part::Extrusion, Part::Fillet, Part::FeatureGeometrySet, Part::Mirroring, Part::Boolean, Part::Box, Part::Circle, Part::Common, Part::MultiCommon, Part::CurveNet, Part::Cut, Part::Fuse, Part::MultiFuse, Part::ImportBrep, Part::ImportIges, Part::ImportStep, Part::Polygon, Part::Section, Part::Revolution, Part::Part2DObject, Part::Feature, Part::FeatureExt, Part::FeatureReference, Part::RuledSurface, Part::Loft, Part::Primitive, Part::Vertex, Part::Plane, Part::Sphere, Part::Ellipsoid, Part::Cylinder, Part::Cone, Part::Torus, Part::Helix, Part::Wedge, PartGui::ViewProviderPartBase, PartGui::ViewProviderEllipsoid, PartGui::ViewProviderPart, PartGui::ViewProvider2DObject, PartGui::ViewProviderBoolean, PartGui::ViewProviderMultiFuse, PartGui::ViewProviderMultiCommon, PartGui::ViewProviderBox, PartGui::ViewProviderCurveNet, PartGui::ViewProviderPartExt, PartGui::ViewProviderExtrusion, PartGui::ViewProviderImport, PartGui::ViewProviderMirror, PartGui::ViewProviderFillet, PartGui::ViewProviderChamfer, PartGui::ViewProviderCustom, PartGui::ViewProviderPartReference, PartDesign::Feature, PartDesign::Additive, PartDesign::Chamfer, PartDesign::DressUp, PartDesign::Face, PartDesign::Fillet, PartDesign::Hole, PartDesign::MainPart, PartDesign::Pad, PartDesign::PatternRectangular, PartDesign::Pocket, PartDesign::Revolution, PartDesign::SketchBased, PartDesign::Subtractive, PartDesignGui::ViewProviderChamfer, PartDesignGui::ViewProvider, PartDesignGui::ViewProviderFillet, PartDesignGui::ViewProviderHole, PartDesignGui::ViewProviderMainPart, PartDesignGui::ViewProviderPad, PartDesignGui::ViewProviderPatternRectangular, PartDesignGui::ViewProviderPocket, PartDesignGui::ViewProviderRevolution, Points::ImportAscii, Points::Feature, Points::Export, PointsGui::ViewProviderPoints, Raytracing::RayFeature, Raytracing::RayProject, Raytracing::RaySegment, Robot::Edge2TracObject, Robot::RobotObject, Robot::TrajectoryCompound, Robot::TrajectoryDressUpObject, Robot::TrajectoryObject, RobotGui::ViewProviderEdge2TracObject, RobotGui::ViewProviderRobotObject, RobotGui::ViewProviderTrajectory, RobotGui::ViewProviderTrajectoryCompound, RobotGui::ViewProviderTrajectoryDressUp, Sandbox::SandboxObject, Sketcher::SketchObject, Sketcher::SketchObjectSF, SketcherGui::ViewProviderCustom, and SketcherGui::ViewProviderSketch.

Definition at line 153 of file PropertyContainer.cpp.

Referenced by getName(), getPropertyByName(), getPropertyDocumentation(), getPropertyGroup(), getPropertyList(), getPropertyMap(), getPropertyType(), isHidden(), and isReadOnly().

const PropertyData * PropertyContainer::getPropertyDataPtr ( void   )  [static, protected]

Reimplemented in App::VRMLObject, Gui::ViewProvider, Gui::ViewProviderAnnotation, Gui::ViewProviderAnnotationLabel, Gui::ViewProviderDocumentObject, Gui::ViewProviderDocumentObjectGroup, Gui::ViewProviderExtern, Gui::ViewProviderFeature, Gui::ViewProviderGeometryObject, Gui::ViewProviderInventorObject, Gui::ViewProviderPointMarker, Gui::ViewProviderMeasureDistance, Gui::ViewProviderVRMLObject, Drawing::FeaturePage, Drawing::FeatureProjection, Drawing::FeatureView, Drawing::FeatureViewPart, Drawing::PageGroup, DrawingGui::ViewProviderDrawingPage, DrawingGui::ViewProviderDrawingView, Fem::FemMeshObject, FemGui::ViewProviderFemMesh, Image::ImagePlane, ImageGui::ViewProviderImagePlane, Inspection::Feature, Inspection::Group, InspectionGui::ViewProviderInspection, InspectionGui::ViewProviderInspectionGroup, Mesh::Curvature, Mesh::FixDefects, Mesh::HarmonizeNormals, Mesh::FlipNormals, Mesh::FixNonManifolds, Mesh::FixDuplicatedFaces, Mesh::FixDuplicatedPoints, Mesh::FixDegenerations, Mesh::FixDeformations, Mesh::FixIndices, Mesh::FillHoles, Mesh::RemoveComponents, Mesh::Export, Mesh::Import, Mesh::SegmentByMesh, Mesh::SetOperations, Mesh::Sphere, Mesh::Ellipsoid, Mesh::Cylinder, Mesh::Cone, Mesh::Torus, Mesh::Cube, Mesh::Transform, Mesh::TransformDemolding, Mesh::Feature, MeshGui::ViewProviderFace, MeshGui::ViewProviderExport, MeshGui::ViewProviderMesh, MeshGui::ViewProviderIndexedFaceSet, MeshGui::ViewProviderMeshObject, MeshGui::ViewProviderMeshCurvature, MeshGui::ViewProviderMeshDefects, MeshGui::ViewProviderMeshOrientation, MeshGui::ViewProviderMeshNonManifolds, MeshGui::ViewProviderMeshDuplicatedFaces, MeshGui::ViewProviderMeshDegenerations, MeshGui::ViewProviderMeshDuplicatedPoints, MeshGui::ViewProviderMeshIndices, MeshGui::ViewProviderMeshSelfIntersections, MeshGui::ViewProviderMeshFolds, MeshGui::ViewProviderMeshFaceSet, MeshGui::ViewProviderMeshNode, MeshGui::ViewProviderMeshTransform, MeshGui::ViewProviderMeshTransformDemolding, Part::CustomFeature, Part::Chamfer, Part::Extrusion, Part::Fillet, Part::FeatureGeometrySet, Part::Mirroring, Part::Boolean, Part::Box, Part::Circle, Part::Common, Part::MultiCommon, Part::CurveNet, Part::Cut, Part::Fuse, Part::MultiFuse, Part::ImportBrep, Part::ImportIges, Part::ImportStep, Part::Polygon, Part::Section, Part::Revolution, Part::Part2DObject, Part::Feature, Part::FeatureExt, Part::FeatureReference, Part::RuledSurface, Part::Loft, Part::Primitive, Part::Vertex, Part::Plane, Part::Sphere, Part::Ellipsoid, Part::Cylinder, Part::Cone, Part::Torus, Part::Helix, Part::Wedge, PartGui::ViewProviderPartBase, PartGui::ViewProviderEllipsoid, PartGui::ViewProviderPart, PartGui::ViewProvider2DObject, PartGui::ViewProviderBoolean, PartGui::ViewProviderMultiFuse, PartGui::ViewProviderMultiCommon, PartGui::ViewProviderBox, PartGui::ViewProviderCurveNet, PartGui::ViewProviderPartExt, PartGui::ViewProviderExtrusion, PartGui::ViewProviderImport, PartGui::ViewProviderMirror, PartGui::ViewProviderFillet, PartGui::ViewProviderChamfer, PartGui::ViewProviderCustom, PartGui::ViewProviderPartReference, PartDesign::Feature, PartDesign::Additive, PartDesign::Chamfer, PartDesign::DressUp, PartDesign::Face, PartDesign::Fillet, PartDesign::Hole, PartDesign::MainPart, PartDesign::Pad, PartDesign::PatternRectangular, PartDesign::Pocket, PartDesign::Revolution, PartDesign::SketchBased, PartDesign::Subtractive, PartDesignGui::ViewProviderChamfer, PartDesignGui::ViewProvider, PartDesignGui::ViewProviderFillet, PartDesignGui::ViewProviderHole, PartDesignGui::ViewProviderMainPart, PartDesignGui::ViewProviderPad, PartDesignGui::ViewProviderPatternRectangular, PartDesignGui::ViewProviderPocket, PartDesignGui::ViewProviderRevolution, Points::ImportAscii, Points::Feature, Points::Export, PointsGui::ViewProviderPoints, Raytracing::RayFeature, Raytracing::RayProject, Raytracing::RaySegment, Robot::Edge2TracObject, Robot::RobotObject, Robot::TrajectoryCompound, Robot::TrajectoryDressUpObject, Robot::TrajectoryObject, RobotGui::ViewProviderEdge2TracObject, RobotGui::ViewProviderRobotObject, RobotGui::ViewProviderTrajectory, RobotGui::ViewProviderTrajectoryCompound, RobotGui::ViewProviderTrajectoryDressUp, Sandbox::SandboxObject, Sketcher::SketchObject, Sketcher::SketchObjectSF, SketcherGui::ViewProviderCustom, and SketcherGui::ViewProviderSketch.

Definition at line 152 of file PropertyContainer.cpp.

const char * PropertyContainer::getPropertyDocumentation ( const char *  name  )  const [virtual]

get the Group of a named Property

Definition at line 121 of file PropertyContainer.cpp.

References App::PropertyData::getDocumentation(), and getPropertyData().

const char * PropertyContainer::getPropertyDocumentation ( const Property prop  )  const [virtual]
const char * PropertyContainer::getPropertyGroup ( const char *  name  )  const [virtual]

get the Group of a named Property

Definition at line 111 of file PropertyContainer.cpp.

References App::PropertyData::getGroup(), and getPropertyData().

const char * PropertyContainer::getPropertyGroup ( const Property prop  )  const [virtual]
void PropertyContainer::getPropertyList ( std::vector< Property * > &  List  )  const [virtual]

get all properties of the class (including properties of the parent)

Definition at line 83 of file PropertyContainer.cpp.

References getPropertyData(), and App::PropertyData::getPropertyList().

Referenced by setPropertyStatus().

void PropertyContainer::getPropertyMap ( std::map< std::string, Property * > &  Map  )  const [virtual]
short PropertyContainer::getPropertyType ( const char *  name  )  const [virtual]

get the Type of a named Property

Definition at line 101 of file PropertyContainer.cpp.

References getPropertyData(), and App::PropertyData::getType().

short PropertyContainer::getPropertyType ( const Property prop  )  const [virtual]
Base::Type App::PropertyContainer::getTypeId ( void   )  const [virtual]

Reimplemented from Base::Persistence.

Reimplemented in App::VRMLObject, Gui::ViewProvider, Gui::ViewProviderAnnotation, Gui::ViewProviderAnnotationLabel, Gui::ViewProviderDocumentObject, Gui::ViewProviderDocumentObjectGroup, Gui::ViewProviderExtern, Gui::ViewProviderFeature, Gui::ViewProviderGeometryObject, Gui::ViewProviderInventorObject, Gui::ViewProviderPointMarker, Gui::ViewProviderMeasureDistance, Gui::ViewProviderVRMLObject, Drawing::FeaturePage, Drawing::FeatureProjection, Drawing::FeatureView, Drawing::FeatureViewPart, Drawing::PageGroup, DrawingGui::ViewProviderDrawingPage, DrawingGui::ViewProviderDrawingView, Fem::FemMeshObject, FemGui::ViewProviderFemMesh, Image::ImagePlane, ImageGui::ViewProviderImagePlane, Inspection::Feature, Inspection::Group, InspectionGui::ViewProviderInspection, InspectionGui::ViewProviderInspectionGroup, Mesh::Curvature, Mesh::FixDefects, Mesh::HarmonizeNormals, Mesh::FlipNormals, Mesh::FixNonManifolds, Mesh::FixDuplicatedFaces, Mesh::FixDuplicatedPoints, Mesh::FixDegenerations, Mesh::FixDeformations, Mesh::FixIndices, Mesh::FillHoles, Mesh::RemoveComponents, Mesh::Export, Mesh::Import, Mesh::SegmentByMesh, Mesh::SetOperations, Mesh::Sphere, Mesh::Ellipsoid, Mesh::Cylinder, Mesh::Cone, Mesh::Torus, Mesh::Cube, Mesh::Transform, Mesh::TransformDemolding, Mesh::Feature, MeshGui::ViewProviderFace, MeshGui::ViewProviderExport, MeshGui::ViewProviderMesh, MeshGui::ViewProviderIndexedFaceSet, MeshGui::ViewProviderMeshObject, MeshGui::ViewProviderMeshCurvature, MeshGui::ViewProviderMeshDefects, MeshGui::ViewProviderMeshOrientation, MeshGui::ViewProviderMeshNonManifolds, MeshGui::ViewProviderMeshDuplicatedFaces, MeshGui::ViewProviderMeshDegenerations, MeshGui::ViewProviderMeshDuplicatedPoints, MeshGui::ViewProviderMeshIndices, MeshGui::ViewProviderMeshSelfIntersections, MeshGui::ViewProviderMeshFolds, MeshGui::ViewProviderMeshFaceSet, MeshGui::ViewProviderMeshNode, MeshGui::ViewProviderMeshTransform, MeshGui::ViewProviderMeshTransformDemolding, Part::CustomFeature, Part::Chamfer, Part::Extrusion, Part::Fillet, Part::FeatureGeometrySet, Part::Mirroring, Part::Boolean, Part::Box, Part::Circle, Part::Common, Part::MultiCommon, Part::CurveNet, Part::Cut, Part::Fuse, Part::MultiFuse, Part::ImportBrep, Part::ImportIges, Part::ImportStep, Part::Polygon, Part::Section, Part::Revolution, Part::Part2DObject, Part::Feature, Part::FeatureExt, Part::FeatureReference, Part::RuledSurface, Part::Loft, Part::Primitive, Part::Vertex, Part::Plane, Part::Sphere, Part::Ellipsoid, Part::Cylinder, Part::Cone, Part::Torus, Part::Helix, Part::Wedge, PartGui::ViewProviderPartBase, PartGui::ViewProviderEllipsoid, PartGui::ViewProviderPart, PartGui::ViewProvider2DObject, PartGui::ViewProviderBoolean, PartGui::ViewProviderMultiFuse, PartGui::ViewProviderMultiCommon, PartGui::ViewProviderBox, PartGui::ViewProviderCurveNet, PartGui::ViewProviderPartExt, PartGui::ViewProviderExtrusion, PartGui::ViewProviderImport, PartGui::ViewProviderMirror, PartGui::ViewProviderFillet, PartGui::ViewProviderChamfer, PartGui::ViewProviderCustom, PartGui::ViewProviderPartReference, PartDesign::Feature, PartDesign::Additive, PartDesign::Chamfer, PartDesign::DressUp, PartDesign::Face, PartDesign::Fillet, PartDesign::Hole, PartDesign::MainPart, PartDesign::Pad, PartDesign::PatternRectangular, PartDesign::Pocket, PartDesign::Revolution, PartDesign::SketchBased, PartDesign::Subtractive, PartDesignGui::ViewProviderChamfer, PartDesignGui::ViewProvider, PartDesignGui::ViewProviderFillet, PartDesignGui::ViewProviderHole, PartDesignGui::ViewProviderMainPart, PartDesignGui::ViewProviderPad, PartDesignGui::ViewProviderPatternRectangular, PartDesignGui::ViewProviderPocket, PartDesignGui::ViewProviderRevolution, Points::ImportAscii, Points::Feature, Points::Export, PointsGui::ViewProviderPoints, Raytracing::RayFeature, Raytracing::RayProject, Raytracing::RaySegment, Robot::Edge2TracObject, Robot::RobotObject, Robot::TrajectoryCompound, Robot::TrajectoryDressUpObject, Robot::TrajectoryObject, RobotGui::ViewProviderEdge2TracObject, RobotGui::ViewProviderRobotObject, RobotGui::ViewProviderTrajectory, RobotGui::ViewProviderTrajectoryCompound, RobotGui::ViewProviderTrajectoryDressUp, Sandbox::SandboxObject, Sketcher::SketchObject, Sketcher::SketchObjectSF, SketcherGui::ViewProviderCustom, and SketcherGui::ViewProviderSketch.

Definition at line 45 of file PropertyContainer.cpp.

Referenced by App::Document::_copyObject(), App::DocumentObjectGroupPy::addObject(), Gui::SelectionSingleton::addSelection(), Gui::SelectionSingleton::countObjectsOfType(), Gui::TreeWidget::dragMoveEvent(), Gui::TreeWidget::dropEvent(), Robot::TrajectoryDressUpObject::execute(), Raytracing::RayFeature::execute(), Part::RuledSurface::execute(), Inspection::Feature::execute(), Drawing::FeatureViewPart::execute(), PartDesign::Revolution::execute(), Part::Revolution::execute(), Drawing::FeatureProjection::execute(), PartDesign::Pocket::execute(), PartDesign::Pad::execute(), Part::Mirroring::execute(), PartDesign::Fillet::execute(), Part::Fillet::execute(), Part::Extrusion::execute(), Part::Chamfer::execute(), Robot::Edge2TracObject::execute(), exporter(), PartGui::ViewProviderBoolean::getIcon(), Gui::SelectionSingleton::getObjectsOfType(), App::PropertyPlacementLink::getPlacementObject(), App::PropertyLinkSub::getValue(), App::PropertyLink::getValue(), Gui::ViewProviderDocumentObjectGroup::getViewProviders(), Gui::ViewProviderDocumentObjectGroup::hide(), Gui::SelectionObject::isObjectTypeOf(), Gui::PropertyEditor::PropertyItem::pythonIdentifier(), App::DynamicProperty::Restore(), Gui::SelectionSingleton::setSelection(), Gui::ViewProviderDocumentObjectGroup::show(), Gui::DocumentItem::slotChangeObject(), Gui::Document::slotNewObject(), Gui::SelectionFilter::test(), Gui::ViewProviderGeometryObject::unsetEdit(), and InspectionGui::ViewProviderInspection::updateData().

void App::PropertyContainer::init ( void   )  [static]

Reimplemented from Base::Persistence.

Reimplemented in App::VRMLObject, Gui::ViewProvider, Gui::ViewProviderAnnotation, Gui::ViewProviderAnnotationLabel, Gui::ViewProviderDocumentObject, Gui::ViewProviderDocumentObjectGroup, Gui::ViewProviderExtern, Gui::ViewProviderFeature, Gui::ViewProviderGeometryObject, Gui::ViewProviderInventorObject, Gui::ViewProviderPointMarker, Gui::ViewProviderMeasureDistance, Gui::ViewProviderVRMLObject, Drawing::FeaturePage, Drawing::FeatureProjection, Drawing::FeatureView, Drawing::FeatureViewPart, Drawing::PageGroup, DrawingGui::ViewProviderDrawingPage, DrawingGui::ViewProviderDrawingView, Fem::FemMeshObject, FemGui::ViewProviderFemMesh, Image::ImagePlane, ImageGui::ViewProviderImagePlane, Inspection::Feature, Inspection::Group, InspectionGui::ViewProviderInspection, InspectionGui::ViewProviderInspectionGroup, Mesh::Curvature, Mesh::FixDefects, Mesh::HarmonizeNormals, Mesh::FlipNormals, Mesh::FixNonManifolds, Mesh::FixDuplicatedFaces, Mesh::FixDuplicatedPoints, Mesh::FixDegenerations, Mesh::FixDeformations, Mesh::FixIndices, Mesh::FillHoles, Mesh::RemoveComponents, Mesh::Export, Mesh::Import, Mesh::SegmentByMesh, Mesh::SetOperations, Mesh::Sphere, Mesh::Ellipsoid, Mesh::Cylinder, Mesh::Cone, Mesh::Torus, Mesh::Cube, Mesh::Transform, Mesh::TransformDemolding, Mesh::Feature, MeshGui::ViewProviderFace, MeshGui::ViewProviderExport, MeshGui::ViewProviderMesh, MeshGui::ViewProviderIndexedFaceSet, MeshGui::ViewProviderMeshObject, MeshGui::ViewProviderMeshCurvature, MeshGui::ViewProviderMeshDefects, MeshGui::ViewProviderMeshOrientation, MeshGui::ViewProviderMeshNonManifolds, MeshGui::ViewProviderMeshDuplicatedFaces, MeshGui::ViewProviderMeshDegenerations, MeshGui::ViewProviderMeshDuplicatedPoints, MeshGui::ViewProviderMeshIndices, MeshGui::ViewProviderMeshSelfIntersections, MeshGui::ViewProviderMeshFolds, MeshGui::ViewProviderMeshFaceSet, MeshGui::ViewProviderMeshNode, MeshGui::ViewProviderMeshTransform, MeshGui::ViewProviderMeshTransformDemolding, Part::CustomFeature, Part::Chamfer, Part::Extrusion, Part::Fillet, Part::FeatureGeometrySet, Part::Mirroring, Part::Boolean, Part::Box, Part::Circle, Part::Common, Part::MultiCommon, Part::CurveNet, Part::Cut, Part::Fuse, Part::MultiFuse, Part::ImportBrep, Part::ImportIges, Part::ImportStep, Part::Polygon, Part::Section, Part::Revolution, Part::Part2DObject, Part::Feature, Part::FeatureExt, Part::FeatureReference, Part::RuledSurface, Part::Loft, Part::Primitive, Part::Vertex, Part::Plane, Part::Sphere, Part::Ellipsoid, Part::Cylinder, Part::Cone, Part::Torus, Part::Helix, Part::Wedge, PartGui::ViewProviderPartBase, PartGui::ViewProviderEllipsoid, PartGui::ViewProviderPart, PartGui::ViewProvider2DObject, PartGui::ViewProviderBoolean, PartGui::ViewProviderMultiFuse, PartGui::ViewProviderMultiCommon, PartGui::ViewProviderBox, PartGui::ViewProviderCurveNet, PartGui::ViewProviderPartExt, PartGui::ViewProviderExtrusion, PartGui::ViewProviderImport, PartGui::ViewProviderMirror, PartGui::ViewProviderFillet, PartGui::ViewProviderChamfer, PartGui::ViewProviderCustom, PartGui::ViewProviderPartReference, PartDesign::Feature, PartDesign::Additive, PartDesign::Chamfer, PartDesign::DressUp, PartDesign::Face, PartDesign::Fillet, PartDesign::Hole, PartDesign::MainPart, PartDesign::Pad, PartDesign::PatternRectangular, PartDesign::Pocket, PartDesign::Revolution, PartDesign::SketchBased, PartDesign::Subtractive, PartDesignGui::ViewProviderChamfer, PartDesignGui::ViewProvider, PartDesignGui::ViewProviderFillet, PartDesignGui::ViewProviderHole, PartDesignGui::ViewProviderMainPart, PartDesignGui::ViewProviderPad, PartDesignGui::ViewProviderPatternRectangular, PartDesignGui::ViewProviderPocket, PartDesignGui::ViewProviderRevolution, Points::ImportAscii, Points::Feature, Points::Export, PointsGui::ViewProviderPoints, Raytracing::RayFeature, Raytracing::RayProject, Raytracing::RaySegment, Robot::Edge2TracObject, Robot::RobotObject, Robot::TrajectoryCompound, Robot::TrajectoryDressUpObject, Robot::TrajectoryObject, RobotGui::ViewProviderEdge2TracObject, RobotGui::ViewProviderRobotObject, RobotGui::ViewProviderTrajectory, RobotGui::ViewProviderTrajectoryCompound, RobotGui::ViewProviderTrajectoryDressUp, Sandbox::SandboxObject, Sketcher::SketchObject, Sketcher::SketchObjectSF, SketcherGui::ViewProviderCustom, and SketcherGui::ViewProviderSketch.

Definition at line 45 of file PropertyContainer.cpp.

bool PropertyContainer::isHidden ( const char *  name  )  const [virtual]

check if the named property is hidden

Definition at line 141 of file PropertyContainer.cpp.

References getPropertyData(), Draft::getType(), and App::Prop_Hidden.

bool PropertyContainer::isHidden ( const Property prop  )  const [virtual]

check if the property is hidden

Definition at line 136 of file PropertyContainer.cpp.

References getPropertyData(), Draft::getType(), and App::Prop_Hidden.

Referenced by App::DynamicProperty::addDynamicProperties().

bool PropertyContainer::isReadOnly ( const char *  name  )  const [virtual]

check if the nameed property is read-only

Definition at line 131 of file PropertyContainer.cpp.

References getPropertyData(), Draft::getType(), and App::Prop_ReadOnly.

bool PropertyContainer::isReadOnly ( const Property prop  )  const [virtual]
virtual void App::PropertyContainer::onBeforeChange ( const Property  )  [inline, protected, virtual]

get called before the value is changed

Reimplemented in App::DocumentObject.

Definition at line 161 of file PropertyContainer.h.

Referenced by App::Property::aboutToSetValue().

virtual void App::PropertyContainer::onChanged ( const Property  )  [inline, protected, virtual]
void PropertyContainer::Restore ( Base::XMLReader  )  [virtual]

This method is used to restore properties from an XML document.

It uses the XMLReader class, which bases on SAX, to read the in Save() written information. Again the Vector as an example:

 void PropertyVector::Restore(Base::XMLReader &reader)
 {
   // read my Element
   reader.readElement("PropertyVector");
   // get the value of my Attribute
   _cVec.x = (float)reader.getAttributeAsFloat("valueX");
   _cVec.y = (float)reader.getAttributeAsFloat("valueY");
   _cVec.z = (float)reader.getAttributeAsFloat("valueZ");
 }

Implements Base::Persistence.

Reimplemented in App::Document, Gui::ViewProviderDocumentObjectGroup, Part::Box, Points::Feature, Robot::RobotObject, and Sketcher::SketchObject.

Definition at line 222 of file PropertyContainer.cpp.

References Base::Console(), Base::ConsoleSingleton::Error(), Base::XMLReader::getAttribute(), Base::XMLReader::getAttributeAsInteger(), Base::Type::getName(), getPropertyByName(), App::Property::getTypeId(), Base::XMLReader::readElement(), Base::XMLReader::readEndElement(), Base::Persistence::Restore(), and Base::Exception::what().

Referenced by Gui::MergeDocuments::importObjects(), Gui::Document::importObjects(), App::Document::importObjects(), App::Document::Restore(), Gui::MergeDocuments::RestoreDocFile(), and Gui::Document::RestoreDocFile().

void PropertyContainer::Save ( Base::Writer  )  const [virtual]

This method is used to save properties to an XML document.

A good example you'll find in PropertyStandard.cpp, e.g. the vector:

  void PropertyVector::Save (Writer &writer) const
  {
     writer << writer.ind() << "<PropertyVector valueX=\"" <<  _cVec.x <<
                                            "\" valueY=\"" <<  _cVec.y <<
                                            "\" valueZ=\"" <<  _cVec.z <<"\"/>" << endl;
  }

The writer.ind() expression writes the indention, just for pretty printing of the XML. As you see, the writing of the XML document is not done with a DOM implementation because of performance reasons. Therefore the programmer has to take care that a valid XML document is written. This means closing tags and writing UTF-8.

See also:
Base::Writer

Implements Base::Persistence.

Reimplemented in App::Document, App::DocumentObject, Robot::RobotObject, and Sketcher::SketchObject.

Definition at line 171 of file PropertyContainer.cpp.

References Base::Console(), Base::Writer::decInd(), Base::ConsoleSingleton::Error(), getPropertyMap(), getPropertyType(), Base::Writer::incInd(), Base::Writer::ind(), App::Prop_Transient, Base::Writer::Stream(), and Base::Exception::what().

Referenced by Gui::Document::exportObjects(), and Gui::Document::SaveDocFile().

void PropertyContainer::setPropertyStatus ( unsigned char  bit,
bool  value 
)

set the Status bit of all properties at once

Definition at line 88 of file PropertyContainer.cpp.

References getPropertyList().


Friends And Related Function Documentation

friend class Property [friend]

Definition at line 154 of file PropertyContainer.h.


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

Generated on Wed Nov 23 19:01:44 2011 for FreeCAD by  doxygen 1.6.1