1 /***************************************************************************** |
1 /***************************************************************************** |
2 * |
2 * |
3 * $Id$ |
3 * $Id: DataTypeHandler.cpp,v 9a136c0c30a2 2010/04/15 10:33:48 fp $ |
4 * |
4 * |
5 * Copyright (C) 2006-2009 Florian Pose, Ingenieurgemeinschaft IgH |
5 * Copyright (C) 2006-2009 Florian Pose, Ingenieurgemeinschaft IgH |
6 * |
6 * |
7 * This file is part of the IgH EtherCAT Master. |
7 * This file is part of the IgH EtherCAT Master. |
8 * |
8 * |
72 << "These are valid data types to use with" << endl |
72 << "These are valid data types to use with" << endl |
73 << "the --type option:" << endl |
73 << "the --type option:" << endl |
74 << " bool," << endl |
74 << " bool," << endl |
75 << " int8, int16, int32, int64," << endl |
75 << " int8, int16, int32, int64," << endl |
76 << " uint8, uint16, uint32, uint64," << endl |
76 << " uint8, uint16, uint32, uint64," << endl |
77 << " float, double" << endl |
77 << " float, double," << endl |
78 << " string, octet_string, unicode_string." << endl |
78 << " string, octet_string, unicode_string." << endl |
79 << "For sign-and-magnitude coding, use the following types:" << endl |
79 << "For sign-and-magnitude coding, use the following types:" << endl |
80 << " sm8, sm16, sm32, sm64" << endl; |
80 << " sm8, sm16, sm32, sm64" << endl; |
81 return s.str(); |
81 return s.str(); |
82 } |
82 } |