12#ifndef ARCANE_CORE_IPROPERTY_H
13#define ARCANE_CORE_IPROPERTY_H
Arcane configuration file.
virtual IPropertyType * type()=0
Returns the type of the instance.
virtual void nameToString(String &str) const =0
Stores the instance name in str.
virtual ePropertyKind kind() const =0
Returns the kind of the property type.
virtual eSimpleType simpleType() const =0
Returns the simple type of the property storage. This method is only valid for PkSimple kind types....
virtual Integer nbEnumeratedValue() const =0
Returns the number of possible enumerated values for the type. This method is only useful for PkEnum ...
virtual void typeNameToString(String &str) const =0
Returns the name of the type in str.
virtual String enumeratedValue(Integer i) const =0
Returns the i-th enumerated value of the type. This method is only useful for PkEnum kind types....
virtual void originalValueToString(String &str) const =0
Stores the original property value in str.
virtual bool isOriginalValue() const =0
Returns whether the current value is the original value.
virtual void nameToString(String &str) const =0
Stores the property name in str.
virtual IPropertyType * type()=0
Returns the type of this property.
virtual void valueToString(String &str) const =0
Stores the property value in str.
virtual bool canBeEdited() const =0
Returns whether the value can be edited.
virtual IPropertyTypeInstance * typeInstance()=0
Returns the instance associated with this value.
virtual void setValueFromString(const String &str)=0
Positions the new property value at str.
virtual bool isDefaultValue() const =0
Returns whether the current value is the default value.
eSimpleType
Simple type in the case of a PkSimple kind.
ePropertyKind
Kind of a property.
@ PkSimple
Simple kind (Real, integer, string, ...).
@ PkComplex
Complex kind containing sub-types.
@ PkExtended
Extended kind.
Unicode character string.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.