artdaq_demo  v2_10_00
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Functions
anonymous_namespace{AsciiSimulator_generator.cc} Namespace Reference

Functions

template<typename T >
convertToASCII (std::string input)
 Convert sizeof(T) characters of a string to a number containing the ASCII representation of that string. More...
 

Function Documentation

template<typename T >
T anonymous_namespace{AsciiSimulator_generator.cc}::convertToASCII ( std::string  input)

Convert sizeof(T) characters of a string to a number containing the ASCII representation of that string.

Template Parameters
TOutput type
Parameters
inputString to convert to ASCII-encoded number
Returns
ASCII-encoded number

Definition at line 29 of file AsciiSimulator_generator.cc.