    

 ## 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 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. [More...](classsysc_1_1RealAttribute.xhtml#ad46b89c811a79901af549e50173ca5f8)  
  [RealAttribute](classsysc_1_1RealAttribute.xhtml#a5fc9075ddc9f02df2fba129abdddfe85) ([AttributeName](group__SystemCouplingParticipantAPIs.xhtml#gadb06eacf4ed0787d18e8ddbf0612c83c) name, double value, [Dimensionality](structsysc_1_1Dimensionality.xhtml) dimensionality, bool modifiable) Provide a constructor for the [RealAttribute](classsysc_1_1RealAttribute.xhtml "Provide a class for a real-valued attribute.") class. [More...](classsysc_1_1RealAttribute.xhtml#a5fc9075ddc9f02df2fba129abdddfe85)  
 <a id="afa2d15feabc90d93113124609e76b765"></a>const [AttributeName](group__SystemCouplingParticipantAPIs.xhtml#gadb06eacf4ed0787d18e8ddbf0612c83c) &amp; **getName** () const noexcept <a id="ac9132b5406b7c93c4fe2cce45bb8d31c"></a>double **getValue** () const noexcept <a id="a447ebf2b4aa38ed25151afcbab997a20"></a>const [Dimensionality](structsysc_1_1Dimensionality.xhtml) &amp; **getDimensionality** () const noexcept <a id="acaab66de9536925d8e187d7eeeeff3a8"></a>bool **isModifiable** () const noexcept <a id="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"></a>## [◆ ](#ad46b89c811a79901af549e50173ca5f8)RealAttribute() \[1/2\]

 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. 



<a id="a5fc9075ddc9f02df2fba129abdddfe85"></a>## [◆ ](#a5fc9075ddc9f02df2fba129abdddfe85)RealAttribute() \[2/2\]

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

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.\[in\]modifiable- attribute is modifiable.