1 #ifndef __VALUE_2_OS_H__
2 #define __VALUE_2_OS_H__
5 bool ValueToOS(const T & value, ObjectSyntax * objectSyntax);
9 bool ValueToOS<int>(const int & value, ObjectSyntax * objectSyntax)
11 objectSyntax->present = ObjectSyntax_PR_simple;
12 SimpleSyntax_t * simpleSyntax = &objectSyntax->choice.simple;
13 simpleSyntax->present = SimpleSyntax_PR_number;
14 asn_long2INTEGER(&simpleSyntax->choice.number, value);