Skip to main content

System Coupling Participant library 2026 R1

File syscAttribute.h

Last update: 09.03.2026

Location: syscAttribute.h

Classes

Includes

  • SystemCouplingParticipant/LibraryType.hpp
  • SystemCouplingParticipant/syscCommonTypes.h
  • <stddef.h>
  • <stdint.h>
graph LR
1["syscAttribute.h"]
click 1 "syscAttribute_8h.md#syscAttribute_8h"
1 --> 2
1 --> 3
1 --> 4
1 --> 5

2["SystemCouplingParticipant/LibraryType.hpp"]

3["SystemCouplingParticipant/syscCommonTypes.h"]

4["stddef.h"]

5["stdint.h"]

Functions

Function syscGetRealAttribute

Function syscGetRealAttributeVDM

Function syscGetRealAttributeBounds

Function syscGetRealAttributeLB

Function syscGetRealAttributeUB

Function syscGetIntegerAttribute

Function syscGetIntegerAttributeVM

Function syscGetIntegerAttributeBounds

Function syscGetIntegerAttributeLB

Function syscGetIntegerAttributeUB

Source

/*
* Copyright ANSYS, Inc. Unauthorized use, distribution, or duplication is prohibited.
*/

#pragma once

#include "SystemCouplingParticipant/LibraryType.hpp"

#include "SystemCouplingParticipant/syscCommonTypes.h"

#include <stddef.h>
#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif


typedef struct {
  char name[SYSC_STRING_LENGTH];     
  double value;                      
  SyscDimensionality dimensionality; 
  int modifiable;                    
  int hasLowerBound;                 
  int hasUpperBound;                 
  double lowerBound;                 
  double upperBound;                 
} SyscRealAttribute;


SyscRealAttribute syscGetRealAttribute(
  const char* name,
  double value,
  SyscDimensionality dimensionality);


SyscRealAttribute syscGetRealAttributeVDM(
  const char* name,
  double value,
  SyscDimensionality dimensionality,
  int modifiable);


SyscRealAttribute syscGetRealAttributeBounds(
  const char* name,
  double value,
  SyscDimensionality dimensionality,
  int modifiable,
  double lowerBound,
  double upperBound);


SyscRealAttribute syscGetRealAttributeLB(
  const char* name,
  double value,
  SyscDimensionality dimensionality,
  int modifiable,
  double lowerBound);


SyscRealAttribute syscGetRealAttributeUB(
  const char* name,
  double value,
  SyscDimensionality dimensionality,
  int modifiable,
  double upperBound);

typedef struct {
  char name[SYSC_STRING_LENGTH]; 
  long long int value;           
  int modifiable;                
  int hasLowerBound;             
  int hasUpperBound;             
  long long int lowerBound;      
  long long int upperBound;      
} SyscIntegerAttribute;


SyscIntegerAttribute syscGetIntegerAttribute(
  const char* name,
  long long int value);


SyscIntegerAttribute syscGetIntegerAttributeVM(
  const char* name,
  long long int value,
  int modifiable);


SyscIntegerAttribute syscGetIntegerAttributeBounds(
  const char* name,
  long long int value,
  int modifiable,
  long long int lowerBound,
  long long int upperBound);


SyscIntegerAttribute syscGetIntegerAttributeLB(
  const char* name,
  long long int value,
  int modifiable,
  long long int lowerBound);


SyscIntegerAttribute syscGetIntegerAttributeUB(
  const char* name,
  long long int value,
  int modifiable,
  long long int upperBound);


#ifdef __cplusplus
}
#endif

Connect with Ansys