psddl_psana/src/alias.ddl.cpp

Go to the documentation of this file.
00001 
00002 // *** Do not edit this file, it is auto-generated ***
00003 
00004 #include <cstddef>
00005 #include "psddl_psana/alias.ddl.h"
00006 #include <iostream>
00007 namespace Psana {
00008 namespace Alias {
00009 SrcAlias::SrcAlias(const Pds::Src& arg__src, const char* arg__aliasName)
00010     : _src(arg__src), _pad1(0)
00011 {
00012   if (arg__aliasName) std::copy(arg__aliasName, arg__aliasName+(31), &_aliasName[0]);
00013 }
00014 uint8_t
00015 SrcAlias::operator<(const Alias::SrcAlias& other) const {
00016   return (strcmp(this->_aliasName,other._aliasName)<0);
00017 }
00018 uint8_t
00019 SrcAlias::operator==(const Alias::SrcAlias& other) const {
00020   return (strcmp(this->_aliasName,other._aliasName)==0);
00021 }
00022 std::vector<int>
00023 SrcAlias::aliasName_shape() const {
00024   std::vector<int> shape;
00025   shape.reserve(1);
00026   shape.push_back(AliasNameMax);
00027   return shape;
00028 }
00029 
00030 ConfigV1::~ConfigV1() {}
00031 
00032 } // namespace Alias
00033 } // namespace Psana

Generated on 19 Dec 2016 for PSANAclasses by  doxygen 1.4.7