OpenLexocad  27.0
PropertyCompoundPlaneAngle.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include <Base/Writer.h>
5 #include <Core/core_defines2.h>
7 
8 #include "Core/Property.h"
9 #include "Core/Variant.h"
10 
11 namespace Core
12 {
14 {
16 
17 public:
19  virtual ~PropertyCompoundPlaneAngle(void);
20 
21  void setValue(const Geom::CompoundPlaneAngle& value);
22  bool setValueFromVariant(const Core::Variant& value);
23  void copyValue(Core::Property* p);
24 
25  const Geom::CompoundPlaneAngle& getValue() const;
26  Core::Variant getVariant(void) const;
27 
28  virtual void save(Base::AbstractWriter& writer, Base::PersistanceVersion& save_version);
29 
31  virtual void restore(Base::AbstractXMLReader& reader, Base::PersistanceVersion& version);
32  virtual bool isEqual(const Property*) const;
33 
34 protected:
36 };
37 
38 
39 
40 DECLARE_PROPERTY_FACTORY(PropertyCompoundPlaneAngle_Factory, Core::PropertyCompoundPlaneAngle);
42 
43 
44 
45 } // namespace Core
DECLARE_OPTIONAL_PROPERTY_HEADER(PropertyColorOpt, Core::PropertyColor)
#define CORE_EXPORT
Definition: core_defines2.h:10
A compound measure of plane angle in degrees, minutes, seconds, and optionally millionth-seconds of a...
Definition: CompoundPlaneAngle.h:14
Definition: PropertyCompoundPlaneAngle.h:13
Definition: Persistance.h:20
LX_CORE_EXPORT Version & version
Definition: Variant.h:90
Definition: AbstractXMLReader.h:10
Definition: Base.h:19
Definition: Writer.h:27
Geom::CompoundPlaneAngle _value
Definition: PropertyCompoundPlaneAngle.h:35
Definition: Property.h:81
TYPESYSTEM_HEADER()
DECLARE_PROPERTY_FACTORY(PropertyAxis1_Factory, Core::PropertyAxis1)