12#ifndef ARCANE_CORE_PROPERTIES_H
13#define ARCANE_CORE_PROPERTIES_H
18#include "arcane/utils/AutoRef.h"
19#include "arcane/core/SharedReference.h"
35:
public SharedReference
200 void print(std::ostream& o)
const;
Declarations of Arcane's general types.
Declarations of types used in Arcane.
Encapsulation of a pointer with a reference counter.
Interface of the property manager.
Int64 getInt64(const String &name) const
Value of the property named name.
bool get(const String &name, bool &value) const
Value of the property named name.
bool getBoolWithDefault(const String &name, bool default_value) const
Value of the property named name.
const String & name() const
Name of the property.
Int32 getInt32WithDefault(const String &name, Int32 default_value) const
Value of the property named name.
Int32 getInt32(const String &name) const
Value of the property named name.
Integer getInteger(const String &name) const
Value of the property named name.
Integer getIntegerWithDefault(const String &name, Integer default_value) const
Value of the property named name.
bool getBool(const String &name) const
Value of the property named name.
void setInteger(const String &name, Integer value)
Sets an Integer property of name name and value value.
void setInt64(const String &name, Int64 value)
Sets an Int64 property of name name and value value.
void destroy()
Destroys the associated values of properties linked to this reference.
Real getReal(const String &name) const
Value of the property named name.
void setInt32(const String &name, Int32 value)
Sets an Int32 property of name name and value value.
Int64 getInt64WithDefault(const String &name, Int64 default_value) const
Value of the property named name.
void set(const String &name, bool value)
Sets a boolean property of name name and value value.
String getString(const String &name) const
Value of the property named name.
Real getRealWithDefault(const String &name, Real default_value) const
Value of the property named name.
const Properties & operator=(const Properties &rhs)
Copy assignment operator.
String getStringWithDefault(const String &name, const String &default_value) const
Value of the property named name.
void serialize(ISerializer *serializer)
Performs the serialization of the properties.
Properties(IPropertyMng *pm, const String &name)
Creates or retrieves a list of properties with name name.
void setBool(const String &name, bool value)
Sets a boolean property of name name and value value.
void setString(const String &name, const String &value)
Sets a String property of name name and value value.
const String & fullName() const
Full name of the property.
void print(std::ostream &o) const
Prints the properties and their values to the stream o.
void setReal(const String &name, Real value)
Sets a Real property of name name and value value.
Unicode character string.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Array< Int64 > Int64Array
Dynamic one-dimensional array of 64-bit integers.
ConstArrayView< String > StringConstArrayView
C equivalent of a 1D array of strings.
Array< String > StringArray
Dynamic one-dimensional array of strings.
Array< bool > BoolArray
Dynamic one-dimensional array of booleans.
std::int64_t Int64
Signed integer type of 64 bits.
Int32 Integer
Type representing an integer.
ConstArrayView< Int32 > Int32ConstArrayView
C equivalent of a 1D array of 32-bit integers.
ConstArrayView< bool > BoolConstArrayView
C equivalent of a 1D array of booleans.
ConstArrayView< Int64 > Int64ConstArrayView
C equivalent of a 1D array of 64-bit integers.
double Real
Type representing a real number.
Array< Int32 > Int32Array
Dynamic one-dimensional array of 32-bit integers.
Array< Real > RealArray
Dynamic one-dimensional array of reals.
std::int32_t Int32
Signed integer type of 32 bits.
ConstArrayView< Real > RealConstArrayView
C equivalent of a 1D array of reals.