Interface of a property value. More...
#include <arcane/core/XmlProperty.h>
Public Member Functions | |
| XmlPropertyValue (const XmlNode &node, IPropertyType *type, IPropertyTypeInstance *type_instance) | |
| void | valueToString (String &str) const override |
| Stores the property value in str. | |
| void | nameToString (String &str) const override |
| Stores the property name in str. | |
| void | setValueFromString (const String &str) override |
| Positions the new property value at str. | |
| bool | isDefaultValue () const override |
| Returns whether the current value is the default value. | |
| bool | isOriginalValue () const override |
| Returns whether the current value is the original value. | |
| void | originalValueToString (String &str) const override |
| Stores the original property value in str. | |
| bool | canBeEdited () const override |
| Returns whether the value can be edited. | |
| IPropertyType * | type () override |
| Returns the type of this property. | |
| IPropertyTypeInstance * | typeInstance () override |
| Returns the instance associated with this value. | |
| XmlNode & | node () |
| void | setNode (const XmlNode &node) |
| void | setType (IPropertyType *type) |
| void | setTypeInstance (IPropertyTypeInstance *type_instance) |
Additional Inherited Members | |
| Public Types inherited from Arcane::Property | |
| enum | ePropertyKind { PkSimple , PkEnum , PkExtended , PkComplex } |
| Kind of a property. More... | |
| enum | eSimpleType { StString , StReal , StInteger , StBool } |
| Simple type in the case of a PkSimple kind. More... | |
Interface of a property value.
Definition at line 32 of file XmlProperty.h.
| Arcane::XmlPropertyValue::XmlPropertyValue | ( | const XmlNode & | node, |
| IPropertyType * | type, | ||
| IPropertyTypeInstance * | type_instance ) |
Definition at line 27 of file XmlProperty.cc.
| Arcane::XmlPropertyValue::XmlPropertyValue | ( | ) |
Definition at line 36 of file XmlProperty.cc.
|
overridevirtual |
Returns whether the value can be edited.
Implements Arcane::IPropertyValue.
Definition at line 80 of file XmlProperty.cc.
|
overridevirtual |
Returns whether the current value is the default value.
Implements Arcane::IPropertyValue.
Definition at line 62 of file XmlProperty.cc.
|
overridevirtual |
Returns whether the current value is the original value.
Implements Arcane::IPropertyValue.
Definition at line 68 of file XmlProperty.cc.
|
overridevirtual |
Stores the property name in str.
Implements Arcane::IPropertyValue.
Definition at line 50 of file XmlProperty.cc.
| XmlNode & Arcane::XmlPropertyValue::node | ( | ) |
Definition at line 110 of file XmlProperty.cc.
|
overridevirtual |
Stores the original property value in str.
Implements Arcane::IPropertyValue.
Definition at line 74 of file XmlProperty.cc.
| void Arcane::XmlPropertyValue::setNode | ( | const XmlNode & | node | ) |
Definition at line 116 of file XmlProperty.cc.
| void Arcane::XmlPropertyValue::setType | ( | IPropertyType * | type | ) |
Definition at line 98 of file XmlProperty.cc.
| void Arcane::XmlPropertyValue::setTypeInstance | ( | IPropertyTypeInstance * | type_instance | ) |
Definition at line 104 of file XmlProperty.cc.
|
overridevirtual |
Positions the new property value at str.
Implements Arcane::IPropertyValue.
Definition at line 56 of file XmlProperty.cc.
|
overridevirtual |
Returns the type of this property.
Implements Arcane::IPropertyValue.
Definition at line 86 of file XmlProperty.cc.
|
overridevirtual |
Returns the instance associated with this value.
Implements Arcane::IPropertyValue.
Definition at line 92 of file XmlProperty.cc.
|
overridevirtual |
Stores the property value in str.
Implements Arcane::IPropertyValue.
Definition at line 44 of file XmlProperty.cc.