ATLAS Offline Software
Loading...
Searching...
No Matches
CoralCrestManager Class Reference

#include <CoralCrestManager.h>

Collaboration diagram for CoralCrestManager:

Public Member Functions

 CoralCrestManager (const std::string &crest_path, const std::string &crestTag)
void loadTagInfo ()
std::string getFolderDescription ()
Crest::TagDto & getTagDto ()
std::string getPayloadSpec ()
IOVDbNamespace::FolderType determineFolderType ()
std::pair< std::vector< cool::ChannelId >, std::vector< std::string > > getChannelList ()
Crest::TagInfoDto getTagInfoDto ()
bool isVectorPayload ()
coral::AttributeListSpecification * getAttributeListSpec ()
std::vector< std::pair< cool::ValidityKey, std::string > > getIovsForTag (uint64_t since, uint64_t until)
std::vector< uint64_t > loadPayloadForHash (uint64_t since, const std::string &hash)
std::vector< coral::AttributeList > getVectorPayload (coral::AttributeListSpecification *pSpec, const std::string &chId)
std::string dumpPayload (cool::ValidityKey since)
coral::AttributeList getPayload (coral::AttributeListSpecification *pSpec, const std::string &chId)
void selectIov (cool::ValidityKey since)
std::vector< std::string > channelIds (cool::ValidityKey since)

Static Public Member Functions

static std::map< std::string, std::string > getGlobalTagMap (const std::string &crest_path, const std::string &globaltag)

Static Public Attributes

static const std::string prefix1 {"http://"}
static const std::string prefix2 {"https://"}

Private Member Functions

std::string parseTypeName (const std::string &description)
coral::AttributeList createAttributeList (coral::AttributeListSpecification *pSpec, nlohmann::json &j, const std::vector< std::pair< std::string, Crest::TypeId > > &tSpec)
std::pair< uint64_t, uint64_t > getIovInterval (const std::string &tag, const uint64_t since, const uint64_t until)
std::pair< uint64_t, uint64_t > getSinceUntilPair (std::vector< uint64_t > &v, const uint64_t since, const uint64_t until)
void initCrestContainer ()

Private Attributes

std::unique_ptr< Crest::CrestApiBase > m_crestCl
const std::string m_crestTag
std::optional< Crest::TagMetaDto > m_TagMeta
std::optional< Crest::TagDto > m_Tag
std::optional< bool > m_isVectorPayload
std::optional< Crest::CrestContainerm_crest_cont

Detailed Description

Definition at line 29 of file CoralCrestManager.h.

Constructor & Destructor Documentation

◆ CoralCrestManager()

CoralCrestManager::CoralCrestManager ( const std::string & crest_path,
const std::string & crestTag )

Definition at line 48 of file CoralCrestManager.cxx.

48 :m_crestTag(crestTag){ //AthMessaging("CoralCrestManager")
49 if(crest_path.length()==0)
50 return;
51 if (crest_path.starts_with(CoralCrestManager::prefix1) || crest_path.starts_with(CoralCrestManager::prefix2)){
52 m_crestCl = std::make_unique<Crest::CrestApi>(Crest::CrestApi(crest_path));
53 }
54 else{
55 m_crestCl = std::make_unique<Crest::CrestApiFs>(Crest::CrestApiFs(true,crest_path));
56 }
57
58 }
static const std::string prefix1
std::unique_ptr< Crest::CrestApiBase > m_crestCl
static const std::string prefix2
const std::string m_crestTag

Member Function Documentation

◆ channelIds()

std::vector< std::string > CoralCrestManager::channelIds ( cool::ValidityKey since)

Definition at line 369 of file CoralCrestManager.cxx.

369 {
370 selectIov(since);
371 return m_crest_cont.value().channelIds();
372 }
std::optional< Crest::CrestContainer > m_crest_cont
void selectIov(cool::ValidityKey since)

◆ createAttributeList()

coral::AttributeList CoralCrestManager::createAttributeList ( coral::AttributeListSpecification * pSpec,
nlohmann::json & j,
const std::vector< std::pair< std::string, Crest::TypeId > > & tSpec )
private

Definition at line 374 of file CoralCrestManager.cxx.

374 {
375 coral::AttributeList attr(*pSpec,true);
376 unsigned int s=attr.size();
377
378 json::const_iterator it = j.begin();
379 for (unsigned int i(0);i!=s;++i){
380 // cool::Record does not provide non-const access to AttributeList.
381 // But this is safe because we are filling a local instance.
382 auto & att = const_cast<coral::Attribute&>(attr[i]);
383 if (it == j.end()){
384 continue;
385 }
386 const auto thisVal = it.value();
387 ++it;
388
389 try{
390 if (thisVal.is_null()){
391 att.setNull();
392 continue;
393 }
394 cool::StorageType::TypeId typespec=cool::StorageType::Bool;
395 for(auto &p : tSpec){
396 if(p.first.compare(att.specification().name())==0){
397 auto pElement = Crest::s_typeToString.find(p.second);
398 if (pElement == Crest::s_typeToString.end()){
399 throw std::runtime_error("CoralCrestManager::createAttributeList: name not found.");
400 }
401 std::string str_spec = pElement ->second;
402 auto pTypespec = typeCorrespondance.find(str_spec);
403 if (pTypespec == typeCorrespondance.end()){
404 throw std::runtime_error("CoralCrestManager::createAttributeList: typespec not found.");
405 }
406 typespec=pTypespec->second;
407 break;
408 }
409 }
410 std::string strVal = to_string(thisVal);
411 if(strVal.size()>2&& strVal[0]=='"'&& strVal[strVal.size()-1]=='"')
412 strVal=strVal.substr(1,strVal.size()-2);
413
414 if((strVal.compare("NULL")==0||strVal.compare("null")==0)&&
415 (typespec==cool::StorageType::Bool || typespec==cool::StorageType::Int16 || typespec==cool::StorageType::UInt16
416 || typespec==cool::StorageType::Int32 || typespec==cool::StorageType::UInt32
417 || typespec==cool::StorageType::Int64 || typespec==cool::StorageType::UInt63
418 || typespec==cool::StorageType::Float || typespec==cool::StorageType::Double)){
419 att.setNull();
420 continue;
421 }
422 switch (typespec) {
423 case cool::StorageType::Bool:
424 {
425 const bool newVal=(strVal == "true");
426 att.setValue<bool>(newVal);
427 break;
428 }
429 case cool::StorageType::UChar:
430 {
431 const unsigned char newVal=std::stoul(strVal);
432 att.setValue<unsigned char>(newVal);
433 break;
434 }
435 case cool::StorageType::Int16:
436 {
437 const short newVal=std::stol(strVal);
438 att.setValue<short>(newVal);
439 break;
440 }
441 case cool::StorageType::UInt16:
442 {
443 const unsigned short newVal=std::stoul(strVal);
444 att.setValue<unsigned short>(newVal);
445 break;
446 }
447 case cool::StorageType::Int32:
448 {
449 const int newVal=std::stoi(strVal);
450 att.setValue<int>(newVal);
451 break;
452 }
453 case cool::StorageType::UInt32:
454 {
455 const unsigned int newVal=std::stoull(strVal);
456 att.setValue<unsigned int>(newVal);
457 break;
458 }
459 case cool::StorageType::UInt63:
460 {
461 const unsigned long long newVal=std::stoull(strVal);
462 att.setValue<unsigned long long>(newVal);
463 break;
464 }
465 case cool::StorageType::Int64:
466 {
467 const long long newVal=std::stoll(strVal);
468 att.setValue< long long>(newVal);
469 break;
470 }
471 case cool::StorageType::Float:
472 {
473 const float newVal=std::stof(strVal);
474 att.setValue<float>(newVal);
475 break;
476 }
477 case cool::StorageType::Double:
478 {
479 const double newVal=std::stod(strVal);
480 att.setValue<double>(newVal);
481 break;
482 }
483 case cool::StorageType::String255:
484 case cool::StorageType::String4k:
485 case cool::StorageType::String64k:
486 case cool::StorageType::String16M:
487 case cool::StorageType::String128M:
488 {
489 att.setValue<std::string>(thisVal.get<std::string>());
490 break;
491 }
492 case cool::StorageType::Blob128M:
493 case cool::StorageType::Blob16M:
494 case cool::StorageType::Blob64k:
495 {
496 const auto &charVec = CxxUtils::base64_decode(strVal);
497 coral::Blob blob(charVec.size());
498 memcpy(blob.startingAddress(), charVec.data(), charVec.size());
499 att.setValue<coral::Blob>(blob);
500 break;
501 }
502 default:
503 {
504 std::string errorMessage("UNTREATED TYPE! " + std::to_string(typespec));
505 MsgStream gLog(Athena::getMessageSvc(), "CoralCrestManager");
506 gLog << MSG::ERROR << "LoadPayloadForHash:" <<errorMessage<<endmsg;
507 throw std::runtime_error(errorMessage);
508 }
509 }
510 }
511 catch (json::exception& e){
512 MsgStream gLog(Athena::getMessageSvc(), "CoralCrestManager");
513 gLog << MSG::ERROR << "Error CoralCrestManager::createAttributeList: "<<e.what()<<endmsg;
514 throw std::runtime_error(e.what());
515 }
516 }
517 return attr;
518 }
#define endmsg
static std::string to_string(const std::vector< T > &v)
IMessageSvc * getMessageSvc(bool quiet=false)
static const std::map< TypeId, std::string > s_typeToString
std::vector< unsigned char > base64_decode(const std::string &)
Definition base64.cxx:97
float j(const xAOD::IParticle &, const xAOD::TrackMeasurementValidation &hit, const Eigen::Matrix3d &jab_inv)

◆ determineFolderType()

IOVDbNamespace::FolderType CoralCrestManager::determineFolderType ( )

Definition at line 93 of file CoralCrestManager.cxx.

93 {
94 Crest::TagInfoDto info = getTagInfoDto();
95 std::string folderDescription = info.getFolderDescription();
96 if (folderDescription.find("<coracool>") != std::string::npos) return IOVDbNamespace::CoraCool;
97 const std::string typeName = parseTypeName(folderDescription);
98 if (typeName=="CondAttrListVec"){
99 m_isVectorPayload = true;
101 }
102 m_isVectorPayload = false;
103 std::vector< std::pair<std::string,std::string> > spec= info.getPayloadSpec().getColumns();
104 std::vector< std::pair<std::string,std::string> > chs = info.getChannels().getChannels();
105 for (auto &p : spec){
106 if(p.first=="PoolRef" && p.second=="String4k"){
107 int id=std::stoll(chs[0].first);
108 if(chs.size()==1 && id==0)
110 else
112 }
113 }
114 if (typeName == "CondAttrListCollection") return IOVDbNamespace::AttrListColl;
116 }
std::optional< bool > m_isVectorPayload
std::string parseTypeName(const std::string &description)
Crest::TagInfoDto getTagInfoDto()

◆ dumpPayload()

std::string CoralCrestManager::dumpPayload ( cool::ValidityKey since)

Definition at line 293 of file CoralCrestManager.cxx.

293 {
294 m_crest_cont.value().selectIov(since);
296 std::stringstream res;
297 res<<"[";
298 std::vector<std::string> chIds = m_crest_cont.value().channelIds();
299 auto* pspec=getAttributeListSpec();
300 std::string sep="";
301 for (auto &ch : chIds){
302 res<<sep;
303 res<<IOVDbNamespace::s_openJson<<"\""<<ch<<"\" : ";
304 switch (ftype){
306 {
307 std::vector<coral::AttributeList> attr=getVectorPayload(pspec,ch);
308 res<<"[";
309 std::string sep2="";
310 for (const auto & vitr:attr){
312 if (sep2.empty()) sep2 =IOVDbNamespace::s_delimiterJson;
313 }
314 res<<"]";
315 break;
316 }
320 {
321 coral::AttributeList attr=getPayload(pspec,ch);
323 break;
324 }
326 {
327 coral::AttributeList attr=getPayload(pspec,ch);
328 std::ostringstream os;
329 attr[0].toOutputStream(os);
330 auto str=os.str();
331 const auto separatorPosition = str.find(colonDelimiter);
332 const std::string payloadOnly=str.substr(separatorPosition+3);
333 res<<"\""<<payloadOnly<<"\"";
334 break;
335 }
337 res<< " CoraCool";
338 break;
339 default:
340 res<<" a_data_value";
341 }
342 if (sep.empty()) sep=",";
344 }
345 res<<"]";
346 pspec->release();
347 return res.str();
348 }
std::pair< std::vector< unsigned int >, bool > res
IOVDbNamespace::FolderType determineFolderType()
std::vector< coral::AttributeList > getVectorPayload(coral::AttributeListSpecification *pSpec, const std::string &chId)
coral::AttributeList getPayload(coral::AttributeListSpecification *pSpec, const std::string &chId)
coral::AttributeListSpecification * getAttributeListSpec()
std::string jsonAttributeList(const coral::AttributeList &atrlist)
Produce a representation of a coral::AttributeList as a json string.
static const std::string s_delimiterJson
json standard delimiter ', '
static const std::string s_closeJson
json close tag, '}'
static const std::string s_openJson
json open tag, '{'

◆ getAttributeListSpec()

coral::AttributeListSpecification * CoralCrestManager::getAttributeListSpec ( )

Definition at line 174 of file CoralCrestManager.cxx.

174 {
175 Crest::TagInfoDto info = getTagInfoDto();
176 std::vector< std::pair<std::string,std::string> > spec_vec= info.getPayloadSpec().getColumns();
177 auto * spec = new coral::AttributeListSpecification();
178 for (auto &p : spec_vec){
179 auto it = typeCorrespondance.find(p.second);
180 if (it != typeCorrespondance.end()) {
181 spec->extend(p.first,cool::StorageType::storageType(it->second).cppType());
182 }
183 }
184 return spec;
185 }

◆ getChannelList()

std::pair< std::vector< cool::ChannelId >, std::vector< std::string > > CoralCrestManager::getChannelList ( )

Definition at line 160 of file CoralCrestManager.cxx.

160 {
161 if(!m_TagMeta.has_value())
162 loadTagInfo();
163 Crest::TagInfoDto info = getTagInfoDto();
164 std::vector<cool::ChannelId> list;
165 std::vector<std::string> names;
166 std::vector< std::pair<std::string,std::string> > res = info.getChannels().getChannels();
167 for (auto &p : res){
168 list.push_back(std::stoll(p.first));
169 names.push_back(p.second);
170 }
171 return std::make_pair(std::move(list), std::move(names));
172 }
std::optional< Crest::TagMetaDto > m_TagMeta
list(name, path='/')
Definition histSizes.py:38

◆ getFolderDescription()

std::string CoralCrestManager::getFolderDescription ( )

Definition at line 155 of file CoralCrestManager.cxx.

155 {
156 Crest::TagInfoDto info = getTagInfoDto();
157 return info.getFolderDescription();
158 }

◆ getGlobalTagMap()

std::map< std::string, std::string > CoralCrestManager::getGlobalTagMap ( const std::string & crest_path,
const std::string & globaltag )
static

Definition at line 60 of file CoralCrestManager.cxx.

60 {
61 Crest::CrestApiBase* crestCl=NULL;
62 if (crest_path.starts_with(CoralCrestManager::prefix1) || crest_path.starts_with(CoralCrestManager::prefix2)){
63 crestCl = new Crest::CrestApi(crest_path);
64 }
65 else{
66 crestCl = new Crest::CrestApiFs(true,crest_path);
67 }
68 std::map<std::string, std::string> tagmap;
69 try{
70 Crest::GlobalTagMapSetDto dto = crestCl->findGlobalTagMap(globaltag,"Trace");
71 for (const auto &tagMapDto : dto.getResources()){
72 tagmap[tagMapDto.getLabel()]=tagMapDto.getTagName();
73 }
74 } catch (std::exception & e){
75 MsgStream gLog(Athena::getMessageSvc(), "CoralCrestManager");
76 gLog << MSG::ERROR << __FILE__<<":"<<__LINE__<< ": " << e.what() << " Cannot get a global tag map for " << globaltag<<endmsg;
77 }
78 if(crestCl!=NULL){
79 delete crestCl;
80 crestCl=NULL;
81 }
82 return tagmap;
83 }

◆ getIovInterval()

std::pair< uint64_t, uint64_t > CoralCrestManager::getIovInterval ( const std::string & tag,
const uint64_t since,
const uint64_t until )
private

Definition at line 236 of file CoralCrestManager.cxx.

236 {
237 Crest::IovSetDto dto = m_crestCl->selectGroups(tag, 0, 10000, 0, "id.since:ASC");
238 std::vector<uint64_t> v = dto.getListSince();
239 v.push_back(cool::ValidityKeyMax); // added "infinity" as the last item 9223372036854775807
240 return getSinceUntilPair(v, since, until);
241 }
std::pair< uint64_t, uint64_t > getSinceUntilPair(std::vector< uint64_t > &v, const uint64_t since, const uint64_t until)

◆ getIovsForTag()

std::vector< std::pair< cool::ValidityKey, std::string > > CoralCrestManager::getIovsForTag ( uint64_t since,
uint64_t until )

Definition at line 243 of file CoralCrestManager.cxx.

243 {
245 int iovNumber = m_crestCl->getSize(m_crestTag);
246 std::vector<std::pair<cool::ValidityKey,std::string>> res;
247 Crest::IovSetDto dto;
248 if(iovNumber <=1000){
249 dto = m_crestCl->selectIovs(m_crestTag, 0, -1, 0, 10000, 0, "id.since:ASC");
250 }
251 else{
252 std::pair<uint64_t,uint64_t> ppt = getIovInterval(m_crestTag, since, until);
253 uint64_t s_time = ppt.first;
254 uint64_t u_time = ppt.second;
255
256 if (s_time == 0 && u_time == 0){ // data out of range
257 return res;
258 }
259 else {
260 dto = m_crestCl->selectIovs(m_crestTag, s_time, u_time, 0, 10000, 0, "id.since:ASC");
261 }
262 }
263 for (auto &p : dto.getResources()){
264 res.push_back(std::make_pair((cool::ValidityKey)p.getSince(),p.getPayloadHash()));
265 }
266 return res;
267 }
std::pair< uint64_t, uint64_t > getIovInterval(const std::string &tag, const uint64_t since, const uint64_t until)

◆ getPayload()

coral::AttributeList CoralCrestManager::getPayload ( coral::AttributeListSpecification * pSpec,
const std::string & chId )

Definition at line 350 of file CoralCrestManager.cxx.

350 {
351 nlohmann::json j=m_crest_cont.value().getPayloadChannel(chId.c_str());
352 return createAttributeList(pSpec,j,m_crest_cont.value().getMPayloadSpec());
353 }
coral::AttributeList createAttributeList(coral::AttributeListSpecification *pSpec, nlohmann::json &j, const std::vector< std::pair< std::string, Crest::TypeId > > &tSpec)

◆ getPayloadSpec()

std::string CoralCrestManager::getPayloadSpec ( )

Definition at line 151 of file CoralCrestManager.cxx.

151 {
152 return getTagInfoDto().getPayloadSpec().toJson().dump();
153 }

◆ getSinceUntilPair()

std::pair< uint64_t, uint64_t > CoralCrestManager::getSinceUntilPair ( std::vector< uint64_t > & v,
const uint64_t since,
const uint64_t until )
private

Definition at line 207 of file CoralCrestManager.cxx.

207 {
208 uint64_t new_since = 0;
209 uint64_t new_until = 0;
210
211 if (until < since){
212 MsgStream gLog(Athena::getMessageSvc(), "CoralCrestManager");
213 gLog << MSG::ERROR << "Wrong since/until."<<endmsg;
214 return std::make_pair(0,0);
215 }
216 const std::size_t N = v.size();
217 std::size_t i = 0;
218 for (; i < N; ++i) {
219 if(v[i] <= since && since < v[i+1]){
220 new_since = v[i];
221 break;
222 }
223 }
224
225 for (; i < N; ++i) {
226 if(v[i] < until && until <= v[i+1]){
227 new_until = v[i+1];
228 break;
229 }
230 }
231
232 return std::make_pair(new_since,new_until);
233 }

◆ getTagDto()

Crest::TagDto & CoralCrestManager::getTagDto ( )

Definition at line 144 of file CoralCrestManager.cxx.

144 {
145 if(!m_Tag.has_value()){
146 m_Tag = m_crestCl->findTag(m_crestTag);
147 }
148 return m_Tag.value();
149 }
std::optional< Crest::TagDto > m_Tag

◆ getTagInfoDto()

Crest::TagInfoDto CoralCrestManager::getTagInfoDto ( )

Definition at line 138 of file CoralCrestManager.cxx.

138 {
139 if(!m_TagMeta.has_value())
140 loadTagInfo();
141 return m_TagMeta.value().getTagInfoDto();
142 }

◆ getVectorPayload()

std::vector< coral::AttributeList > CoralCrestManager::getVectorPayload ( coral::AttributeListSpecification * pSpec,
const std::string & chId )

Definition at line 355 of file CoralCrestManager.cxx.

355 {
356 std::vector<coral::AttributeList> res;
357 nlohmann::json vecJ=m_crest_cont.value().getPayloadChannel(chId.c_str());
358 for (auto &p : vecJ){
359 coral::AttributeList att=createAttributeList(pSpec,p,m_crest_cont.value().getMPayloadSpec());
360 res.push_back(att);
361 }
362 return res;
363 }

◆ initCrestContainer()

void CoralCrestManager::initCrestContainer ( )
private

Definition at line 187 of file CoralCrestManager.cxx.

187 {
188 if(m_crest_cont.has_value())
189 return;
190 Crest::TagInfoDto info = getTagInfoDto();
191 Crest::TagDto tag = getTagDto();
193 if(tag.getObjectType()=="crest-json-multi-iov")
195 Crest::CrestContainer cr_cont(mId);
196 std::vector< std::pair<std::string,std::string> > spec= info.getPayloadSpec().getColumns();
197 for (auto &p : spec){
198 cr_cont.addColumn(p.first,p.second.c_str());
199 }
200 if(!m_isVectorPayload.has_value()) determineFolderType();
201 cr_cont.setVectorPayload(m_isVectorPayload.value());
202 m_crest_cont.emplace(cr_cont);
203 return;
204 }
Crest::TagDto & getTagDto()

◆ isVectorPayload()

bool CoralCrestManager::isVectorPayload ( )

Definition at line 118 of file CoralCrestManager.cxx.

118 {
119 if(!m_isVectorPayload.has_value())
121 return m_isVectorPayload.value();
122 }

◆ loadPayloadForHash()

std::vector< uint64_t > CoralCrestManager::loadPayloadForHash ( uint64_t since,
const std::string & hash )

Definition at line 269 of file CoralCrestManager.cxx.

269 {
271 std::string reply;
272 try{
273 // get payload from Crest server
274 reply = m_crestCl->getPayload(hash);
275 } catch (std::exception & e){
276 MsgStream gLog(Athena::getMessageSvc(), "CoralCrestManager");
277 gLog << MSG::ERROR << __FILE__<<":"<<__LINE__<< ": "<<e.what()<<" while trying to find the payload"<<endmsg;
278 throw std::runtime_error(e.what());
279 }
280 try{
281 // parse payload according to type of payload and put it to CrestConteiner.
282 // Store only one value before 'since'.
283 // Returns a list of timestamp for which data has been loaded
284 return m_crest_cont.value().fromJson(since,reply);
285 } catch (std::exception & e){
286 MsgStream gLog(Athena::getMessageSvc(), "CoralCrestManager");
287 gLog << MSG::ERROR << "LoadPayloadForHash:"<<e.what()<<" while trying to parse the payload. Since="<<since<<", hash="<<hash<<endmsg;
288 throw std::runtime_error(e.what());
289 }
290 }

◆ loadTagInfo()

void CoralCrestManager::loadTagInfo ( )

Definition at line 124 of file CoralCrestManager.cxx.

124 {
125 if(m_TagMeta.has_value()){
126 return;
127 }
128
129 try{
130 m_TagMeta = m_crestCl->findTagMeta(m_crestTag);
131 } catch (std::exception & e){
132 MsgStream gLog(Athena::getMessageSvc(), "CoralCrestManager");
133 gLog << MSG::ERROR << __FILE__<<":"<<__LINE__<< ": " << e.what() << " Cannot get a tag meta info " << m_crestTag<<endmsg;
134 }
135 return;
136 }

◆ parseTypeName()

std::string CoralCrestManager::parseTypeName ( const std::string & description)
private

Definition at line 85 of file CoralCrestManager.cxx.

85 {
86 std::string regex=R"delim(<typeName>\s*([^\s]+)\s*</typeName>)delim";
87 std::regex re(regex);
88 std::smatch typeMatch;
89 bool match=std::regex_search(description, typeMatch,re);
90 return (match) ? std::string(typeMatch[1]) : std::string("");
91 }
const boost::regex re(r_e)
std::string description
glabal timer - how long have I taken so far?
Definition hcg.cxx:93
bool match(std::string s1, std::string s2)
match the individual directories of two strings
Definition hcg.cxx:359
End of vector before end of string
Definition Arrayrep.cxx:228

◆ selectIov()

void CoralCrestManager::selectIov ( cool::ValidityKey since)

Definition at line 365 of file CoralCrestManager.cxx.

365 {
366 m_crest_cont.value().selectIov(since);
367 }

Member Data Documentation

◆ m_crest_cont

std::optional<Crest::CrestContainer> CoralCrestManager::m_crest_cont
private

Definition at line 74 of file CoralCrestManager.h.

◆ m_crestCl

std::unique_ptr<Crest::CrestApiBase> CoralCrestManager::m_crestCl
private

Definition at line 64 of file CoralCrestManager.h.

◆ m_crestTag

const std::string CoralCrestManager::m_crestTag
private

Definition at line 65 of file CoralCrestManager.h.

◆ m_isVectorPayload

std::optional<bool> CoralCrestManager::m_isVectorPayload
private

Definition at line 68 of file CoralCrestManager.h.

◆ m_Tag

std::optional<Crest::TagDto> CoralCrestManager::m_Tag
private

Definition at line 67 of file CoralCrestManager.h.

◆ m_TagMeta

std::optional<Crest::TagMetaDto> CoralCrestManager::m_TagMeta
private

Definition at line 66 of file CoralCrestManager.h.

◆ prefix1

const std::string CoralCrestManager::prefix1 {"http://"}
inlinestatic

Definition at line 31 of file CoralCrestManager.h.

31{"http://"};

◆ prefix2

const std::string CoralCrestManager::prefix2 {"https://"}
inlinestatic

Definition at line 32 of file CoralCrestManager.h.

32{"https://"};

The documentation for this class was generated from the following files: