Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::IPropertyMng Class Referenceabstract

Interface of the property manager. More...

#include <arcane/core/IPropertyMng.h>

Public Member Functions

virtual ~IPropertyMng ()
 Frees the resources.
virtual ITraceMngtraceMng () const =0
virtual PropertiesImplgetPropertiesImpl (const String &full_name)=0
virtual void registerProperties (const Properties &p)=0
virtual void destroyProperties (const Properties &p)=0
 Deletes the properties referenced by p.
virtual void serialize (ISerializer *serializer)=0
 Performs serialization.
virtual void writeTo (ByteArray &bytes)=0
 Serializes property information into bytes.
virtual void readFrom (Span< const Byte > bytes)=0
 Reads the serialized information contained in bytes.
virtual void print (std::ostream &o) const =0
 Prints the properties and their values to the stream o.
virtual IObservablewriteObservable ()=0
 Observable for writing.
virtual IObservablereadObservable ()=0
 Observable for reading.

Detailed Description

Interface of the property manager.

Definition at line 38 of file IPropertyMng.h.

Constructor & Destructor Documentation

◆ ~IPropertyMng()

virtual Arcane::IPropertyMng::~IPropertyMng ( )
inlinevirtual

Frees the resources.

Definition at line 42 of file IPropertyMng.h.

Member Function Documentation

◆ readFrom()

virtual void Arcane::IPropertyMng::readFrom ( Span< const Byte > bytes)
pure virtual

Reads the serialized information contained in bytes.

The bytes array must have been created by a call to writeTo().

◆ readObservable()

virtual IObservable * Arcane::IPropertyMng::readObservable ( )
pure virtual

Observable for reading.

The observers registered in this observable are called at the end of readFrom().

◆ writeObservable()

virtual IObservable * Arcane::IPropertyMng::writeObservable ( )
pure virtual

Observable for writing.

The observers registered in this observable are called at the beginning of writeTo().


The documentation for this class was generated from the following file: