1 #ifndef __VALUE_2_OS_H__
 
   2 #define __VALUE_2_OS_H__
 
   4 #include "stg/ObjectSyntax.h"
 
   7 bool ValueToOS(const T & value, ObjectSyntax * objectSyntax);
 
  11 bool ValueToOS<int>(const int & value, ObjectSyntax * objectSyntax)
 
  13 objectSyntax->present = ObjectSyntax_PR_simple;
 
  14 SimpleSyntax_t * simpleSyntax = &objectSyntax->choice.simple;
 
  15 simpleSyntax->present = SimpleSyntax_PR_number;
 
  16 asn_long2INTEGER(&simpleSyntax->choice.number, value);