Classes | |
| class | SetterArg |
| class | GetterArg |
Public Types | |
| typedef PropertySetting< T, DataType > | ThatClass |
| typedef PropertySettingTraits< DataType > | SettingsTraits |
| typedef SettingsTraits::InputType | InputType |
| typedef SettingsTraits::OutputType | OutputType |
| typedef std::function< void(SetterArg a)> | SetterType |
| typedef std::function< OutputType(GetterArg a)> | GetterType |
Public Member Functions | |
| PropertySetting (StringView name, GetterType getter, SetterType setter) | |
| PropertySetting (StringView name) | |
| IPropertySetting * | setting () final |
| const IPropertySetting * | setting () const final |
| String | name () const final |
| Property name. | |
| String | commandLineArgument () const final |
| Command line argument name (null if none). | |
| String | description () const final |
| Property description. | |
| String | typeName () const final |
| Property type. | |
| ThatClass & | addSetter (const SetterType &setter) |
| ThatClass & | addGetter (const GetterType &getter) |
| ThatClass & | addCommandLineArgument (const String &arg) |
| ThatClass & | addDescription (const String &arg) |
| void | setInstanceValue (T &instance, InputType value) const |
| void | setFromJSON (const JSONValue &v, T &instance) const override |
| void | setFromString (const String &v, T &instance) const override |
| void | print (std::ostream &o, const T &instance) const override |
Private Attributes | |
| String | m_name |
| GetterType | m_getter |
| SetterType | m_setter |
| String | m_command_line_argument |
| String | m_description |
Friends | |
| PropertyVisitor< T > & | operator<< (PropertyVisitor< T > &o, const ThatClass &me) |
Definition at line 247 of file Property.h.
| typedef std::function<OutputType(GetterArg a)> Arcane::properties::PropertySetting< T, DataType >::GetterType |
Definition at line 284 of file Property.h.
| typedef SettingsTraits::InputType Arcane::properties::PropertySetting< T, DataType >::InputType |
Definition at line 255 of file Property.h.
| typedef SettingsTraits::OutputType Arcane::properties::PropertySetting< T, DataType >::OutputType |
Definition at line 256 of file Property.h.
| typedef std::function<void(SetterArg a)> Arcane::properties::PropertySetting< T, DataType >::SetterType |
Definition at line 283 of file Property.h.
| typedef PropertySettingTraits<DataType> Arcane::properties::PropertySetting< T, DataType >::SettingsTraits |
Definition at line 254 of file Property.h.
| typedef PropertySetting<T, DataType> Arcane::properties::PropertySetting< T, DataType >::ThatClass |
Definition at line 253 of file Property.h.
|
inline |
Definition at line 288 of file Property.h.
|
inline |
Definition at line 293 of file Property.h.
|
inline |
Definition at line 335 of file Property.h.
|
inline |
Definition at line 340 of file Property.h.
|
inline |
Definition at line 330 of file Property.h.
|
inline |
Definition at line 325 of file Property.h.
|
inlinefinalvirtual |
Command line argument name (null if none).
Implements Arcane::properties::IPropertySetting.
Definition at line 313 of file Property.h.
|
inlinefinalvirtual |
Property description.
Implements Arcane::properties::IPropertySetting.
Definition at line 317 of file Property.h.
|
inlinefinalvirtual |
Property name.
Implements Arcane::properties::IPropertySetting.
Definition at line 309 of file Property.h.
|
inlineoverridevirtual |
Implements Arcane::properties::PropertySettingBase< T >.
Definition at line 359 of file Property.h.
|
inlineoverridevirtual |
Implements Arcane::properties::PropertySettingBase< T >.
Definition at line 349 of file Property.h.
|
inlineoverridevirtual |
Implements Arcane::properties::PropertySettingBase< T >.
Definition at line 354 of file Property.h.
|
inline |
Definition at line 345 of file Property.h.
|
inlinefinalvirtual |
Implements Arcane::properties::PropertySettingBase< T >.
Definition at line 305 of file Property.h.
|
inlinefinalvirtual |
Implements Arcane::properties::PropertySettingBase< T >.
Definition at line 301 of file Property.h.
|
inlinefinalvirtual |
Property type.
Implements Arcane::properties::IPropertySetting.
Definition at line 321 of file Property.h.
|
friend |
Definition at line 368 of file Property.h.
|
private |
Definition at line 379 of file Property.h.
|
private |
Definition at line 380 of file Property.h.
|
private |
Definition at line 377 of file Property.h.
|
private |
Definition at line 376 of file Property.h.
|
private |
Definition at line 378 of file Property.h.