libiec61850  1.5.3
Functions
mms_type_spec.h File Reference
#include "libiec61850_common_api.h"
#include "mms_common.h"
#include "mms_types.h"
#include "linked_list.h"

Go to the source code of this file.

Functions

LIB61850_API void MmsVariableSpecification_destroy (MmsVariableSpecification *self)
 Delete MmsTypeSpecification object (recursive). More...
 
LIB61850_API MmsValueMmsVariableSpecification_getChildValue (MmsVariableSpecification *self, MmsValue *value, const char *childId)
 Get the corresponding child of value according to childId. More...
 
LIB61850_API MmsVariableSpecification * MmsVariableSpecification_getNamedVariableRecursive (MmsVariableSpecification *self, const char *nameId)
 Get the child of self specified by its relative name. More...
 
LIB61850_API MmsType MmsVariableSpecification_getType (MmsVariableSpecification *self)
 get the MMS type of the variable More...
 
LIB61850_API bool MmsVariableSpecification_isValueOfType (MmsVariableSpecification *self, const MmsValue *value)
 Check if the value has exactly the same type as this variable specfication. More...
 
LIB61850_API const char * MmsVariableSpecification_getName (MmsVariableSpecification *self)
 get the name of the variable More...
 
LIB61850_API LinkedList MmsVariableSpecification_getStructureElements (MmsVariableSpecification *self)
 
LIB61850_API int MmsVariableSpecification_getSize (MmsVariableSpecification *self)
 returns the number of elements if the type is a complex type (structure, array) or the bit size of integers, unsigned integers, floats, bit strings, visible and MMS strings and octet strings. More...
 
LIB61850_API MmsVariableSpecification * MmsVariableSpecification_getChildSpecificationByIndex (MmsVariableSpecification *self, int index)
 
LIB61850_API MmsVariableSpecification * MmsVariableSpecification_getChildSpecificationByName (MmsVariableSpecification *self, const char *name, int *index)
 return the MmsVariableSpecification of a structure element with the given name More...
 
LIB61850_API MmsVariableSpecification * MmsVariableSpecification_getArrayElementSpecification (MmsVariableSpecification *self)
 
LIB61850_API int MmsVariableSpecification_getExponentWidth (MmsVariableSpecification *self)