|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
Algorithm name (char[MaxNameSize]) plus an AlgVersion. More...
#include <ShapesData.hh>
Public Member Functions | |
| Alg (const char *alg, uint8_t major, uint8_t minor, uint8_t micro) | |
| Copy at most MaxNameSize-1 characters of alg with strncpy and pack the version. | |
| uint32_t | version () |
| Return the packed version (AlgVersion::version()). | |
| const char * | name () |
| Return the algorithm name buffer. | |
Algorithm name (char[MaxNameSize]) plus an AlgVersion.
Copy at most MaxNameSize-1 characters of alg with strncpy and pack the version.
The name is not NUL-terminated by this code if alg has MaxNameSize-1 or more characters.
|
inline |
Return the packed version (AlgVersion::version()).