    

 ## On this page

  

 

 # sysc::RealAttribute Class Reference

 Last update: 17.07.2025 

Provide a class for a real-valued attribute. [More...](classsysc_1_1RealAttribute.xhtml#details)

`#include <<a class="el" href="Attribute_8hpp_source.xhtml">Attribute.hpp</a>>`

## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

 [RealAttribute](classsysc_1_1RealAttribute.xhtml#ad46b89c811a79901af549e50173ca5f8) ([AttributeName](group__SystemCouplingParticipantAPIs.xhtml#gadb06eacf4ed0787d18e8ddbf0612c83c) name, double value, [Dimensionality](structsysc_1_1Dimensionality.xhtml) dimensionality) Provide a constructor for the [RealAttribute](classsysc_1_1RealAttribute.xhtml "Provide a class for a real-valued attribute.") class.   
 <a id="affbd33cc1f825e0ff2c4c7999c1c7dc7" name="affbd33cc1f825e0ff2c4c7999c1c7dc7"></a>const [AttributeName](group__SystemCouplingParticipantAPIs.xhtml#gadb06eacf4ed0787d18e8ddbf0612c83c) &amp; **getName** () const noexcept <a id="ac9132b5406b7c93c4fe2cce45bb8d31c" name="ac9132b5406b7c93c4fe2cce45bb8d31c"></a>double **getValue** () const noexcept <a id="af148ae2b115b7c94e42f4420fbc77a89" name="af148ae2b115b7c94e42f4420fbc77a89"></a>const [Dimensionality](structsysc_1_1Dimensionality.xhtml) &amp; **getDimensionality** () const noexcept <a id="a7a821f54d2cfc1427af46a5557fde959" name="a7a821f54d2cfc1427af46a5557fde959"></a>std::string **getUnits** () const <a id="details" name="details"></a>## Detailed Description

Provide a class for a real-valued attribute.

Definition at line [23](Attribute_8hpp_source.xhtml#l00023) of file [Attribute.hpp](Attribute_8hpp_source.xhtml).



## Constructor &amp; Destructor Documentation

<a id="ad46b89c811a79901af549e50173ca5f8" name="ad46b89c811a79901af549e50173ca5f8"></a>## [◆ ](#ad46b89c811a79901af549e50173ca5f8)RealAttribute()

 sysc::RealAttribute::RealAttribute  ( [AttributeName](group__SystemCouplingParticipantAPIs.xhtml#gadb06eacf4ed0787d18e8ddbf0612c83c)  *name*,    double  *value*,    [Dimensionality](structsysc_1_1Dimensionality.xhtml)  *dimensionality*   ) 

Provide a constructor for the [RealAttribute](classsysc_1_1RealAttribute.xhtml "Provide a class for a real-valued attribute.") class.

Parameters \[in\]name- attribute name.\[in\]value- attribute value.\[in\]dimensionality- attribute dimensionality.