libIEC61850
Open-source IEC 61850 MMS server and client library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions
mms_value.h File Reference
#include "mms_common.h"
#include "mms_types.h"
#include <stdbool.h>

Go to the source code of this file.

Functions

MmsValue * MmsValue_createArray (MmsTypeSpecification *elementType, int size)
 
uint32_t MmsValue_getArraySize (MmsValue *self)
 
MmsValue * MmsValue_getElement (MmsValue *array, int index)
 
MmsValue * MmsValue_createEmtpyArray (int size)
 
void MmsValue_setArrayElement (MmsValue *array, int index, MmsValue *elementValue)
 
MmsValue * MmsValue_getStructElementByIndex (MmsValue *structure, int index)
 
int64_t MmsValue_toInt64 (MmsValue *self)
 
int32_t MmsValue_toInt32 (MmsValue *value)
 
uint32_t MmsValue_toUint32 (MmsValue *value)
 
double MmsValue_toDouble (MmsValue *self)
 
float MmsValue_toFloat (MmsValue *self)
 
uint32_t MmsValue_toUnixTimestamp (MmsValue *self)
 
void MmsValue_setFloat (MmsValue *self, float newFloatValue)
 
void MmsValue_setDouble (MmsValue *self, double newFloatValue)
 
void MmsValue_setInt32 (MmsValue *self, int32_t integer)
 
void MmsValue_setBoolean (MmsValue *value, bool boolValue)
 
char * MmsValue_toString (MmsValue *self)
 
void MmsValue_setVisibleString (MmsValue *self, char *string)
 
void MmsValue_setBitStringBit (MmsValue *self, int bitPos, bool value)
 
bool MmsValue_getBitStringBit (MmsValue *self, int bitPos)
 
void MmsValue_deleteAllBitStringBits (MmsValue *self)
 
void MmsValue_setAllBitStringBits (MmsValue *self)
 
MmsValue * MmsValue_setUtcTime (MmsValue *self, uint32_t timeval)
 
bool MmsValue_update (MmsValue *self, MmsValue *)
 
MmsValue * MmsValue_newDataAccessError (uint32_t code)
 
MmsValue * MmsValue_newIntegerFromBerInteger (Asn1PrimitiveValue *berInteger)
 
MmsValue * MmsValue_newUnsignedFromBerInteger (Asn1PrimitiveValue *berInteger)
 
MmsValue * MmsValue_newInteger (int size)
 
MmsValue * MmsValue_newUnsigned (int size)
 
MmsValue * MmsValue_newBoolean (bool boolean)
 
MmsValue * MmsValue_newBitString (int bitSize)
 
MmsValue * MmsValue_newOctetString (int size, int maxSize)
 
MmsValue * MmsValue_newStructure (MmsTypeSpecification *typeSpec)
 
MmsValue * MmsValue_newDefaultValue (MmsTypeSpecification *typeSpec)
 
MmsValue * MmsValue_newIntegerFromInt16 (int16_t integer)
 
MmsValue * MmsValue_newIntegerFromInt32 (int32_t integer)
 
MmsValue * MmsValue_newIntegerFromInt64 (int64_t integer)
 
MmsValue * MmsValue_newUnsignedFromUint32 (uint32_t integer)
 
MmsValue * MmsValue_newFloat (float variable)
 
MmsValue * MmsValue_newDouble (double variable)
 
MmsValue * MmsValue_clone (MmsValue *value)
 
void MmsValue_delete (MmsValue *value)
 
MmsValue * MmsValue_newVisibleString (char *string)
 
MmsValue * MmsValue_newBinaryTime (bool timeOfDay)
 
MmsValue * MmsValue_newVisibleStringFromByteArray (uint8_t *byteArray, int size)
 
MmsValue * MmsValue_newMmsString (char *string)
 
void MmsValue_setMmsString (MmsValue *value, char *string)
 
MmsValue * MmsValue_newUtcTime (uint32_t timeval)
 
void MmsValue_setDeletable (MmsValue *value)
 
int MmsValue_isDeletable (MmsValue *value)
 
MmsType MmsValue_getType (MmsValue *value)