28 #ifndef MMS_TYPE_SPEC_H_
29 #define MMS_TYPE_SPEC_H_
31 #include "libiec61850_common_api.h"
82 LIB61850_API MmsVariableSpecification*
116 LIB61850_API
const char*
119 LIB61850_API LinkedList
135 LIB61850_API MmsVariableSpecification*
147 LIB61850_API MmsVariableSpecification*
150 LIB61850_API MmsVariableSpecification*
struct sMmsValue MmsValue
Definition: mms_value.h:68
LIB61850_API void MmsVariableSpecification_destroy(MmsVariableSpecification *self)
Delete MmsTypeSpecification object (recursive).
LIB61850_API const char * MmsVariableSpecification_getName(MmsVariableSpecification *self)
get the name of the variable
LIB61850_API LinkedList MmsVariableSpecification_getStructureElements(MmsVariableSpecification *self)
LIB61850_API int MmsVariableSpecification_getExponentWidth(MmsVariableSpecification *self)
LIB61850_API MmsValue * MmsVariableSpecification_getChildValue(MmsVariableSpecification *self, MmsValue *value, const char *childId)
Get the corresponding child of value according to childId.
LIB61850_API MmsVariableSpecification * MmsVariableSpecification_getNamedVariableRecursive(MmsVariableSpecification *self, const char *nameId)
Get the child of self specified by its relative name.
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 in...
LIB61850_API MmsVariableSpecification * MmsVariableSpecification_getChildSpecificationByName(MmsVariableSpecification *self, const char *name, int *index)
return the MmsVariableSpecification of a structure element with the given name
LIB61850_API bool MmsVariableSpecification_isValueOfType(MmsVariableSpecification *self, const MmsValue *value)
Check if the value has exactly the same type as this variable specfication.
LIB61850_API MmsVariableSpecification * MmsVariableSpecification_getChildSpecificationByIndex(MmsVariableSpecification *self, int index)
LIB61850_API MmsType MmsVariableSpecification_getType(MmsVariableSpecification *self)
get the MMS type of the variable
LIB61850_API MmsVariableSpecification * MmsVariableSpecification_getArrayElementSpecification(MmsVariableSpecification *self)
MmsType
Definition: mms_common.h:106