5 #include "GaudiKernel/IClassIDSvc.h"
7 #include "CoolKernel/IRecordSpecification.h"
18 if (folderDescription.find(
"<coracool>") != std::string::npos)
return CoraCool;
24 const auto nchans =
chans.size();
25 const bool onlyOneSpecialChannel = ((nchans == 1) and (
chans[0] == 0));
36 const auto & folderDescription = pFolder->description();
38 if (folderDescription.find(
"<coracool>") != std::string::npos)
return CoraCool;
44 const auto &
chans=pFolder->listChannels();
45 const auto nchans =
chans.size();
46 const bool onlyOneSpecialChannel = ((nchans == 1) and (
chans[0] == 0));
59 if (pAttrListColl->
size()==1 && pAttrListColl->
begin()->first==0xFFFF) {
64 if ( pAttrListColl->
size()>0) {
76 if (attrListColl.
size()==1 && attrListColl.
begin()->first==0xFFFF) {
81 if ( attrListColl.
size()>0) {
97 return (rspec.exists(
"PoolRef") && rspec[0].name()==
"PoolRef" &&
98 rspec[0].storageType()==cool::StorageType::String4k);
103 return (specString.find(
"PoolRef:String4k") != std::string::npos || specString.find(
"PoolRef: String4k") != std::string::npos ||
104 specString.find(
"PoolRef : String4k") != std::string::npos);
110 const coral::AttributeSpecification&
spec=payload1[0].specification();
111 return (
spec.name()==
"PoolRef" &&
spec.typeName()==
"string");
117 const coral::AttributeSpecification&
spec=payload1[0].specification();
118 return (
spec.name()==
"PoolRef" &&
spec.typeName()==
"string");
123 static const std::vector<std::string>
names{
"AttrList",
"AttrListColl",
"PoolRef",
124 "PoolRefColl",
"CoraCool",
"CoolVector",
"JSON"};