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 45 of file CoralCrestManager.cxx.

45 :m_crestTag(crestTag){ //AthMessaging("CoralCrestManager")
46 if(crest_path.length()==0)
47 return;
48 if (crest_path.starts_with(CoralCrestManager::prefix1) || crest_path.starts_with(CoralCrestManager::prefix2)){
49 m_crestCl = std::make_unique<Crest::CrestApi>(Crest::CrestApi(crest_path));
50 }
51 else{
52 m_crestCl = std::make_unique<Crest::CrestApiFs>(Crest::CrestApiFs(true,crest_path));
53 }
54
55 }
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 367 of file CoralCrestManager.cxx.

367 {
368 selectIov(since);
369 return m_crest_cont.value().channelIds();
370 }
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 372 of file CoralCrestManager.cxx.

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

◆ determineFolderType()

IOVDbNamespace::FolderType CoralCrestManager::determineFolderType ( )

Definition at line 90 of file CoralCrestManager.cxx.

90 {
91 Crest::TagInfoDto info = getTagInfoDto();
92 std::string folderDescription = info.getFolderDescription();
93 if (folderDescription.find("<coracool>") != std::string::npos) return IOVDbNamespace::CoraCool;
94 const std::string typeName = parseTypeName(folderDescription);
95 if (typeName=="CondAttrListVec"){
96 m_isVectorPayload = true;
98 }
99 m_isVectorPayload = false;
100 std::vector< std::pair<std::string,std::string> > spec= info.getPayloadSpec().getColumns();
101 std::vector< std::pair<std::string,std::string> > chs = info.getChannels().getChannels();
102 for (auto &p : spec){
103 if(p.first=="PoolRef" && p.second=="String4k"){
104 int id=std::stoll(chs[0].first);
105 if(chs.size()==1 && id==0)
107 else
109 }
110 }
111 if (typeName == "CondAttrListCollection") return IOVDbNamespace::AttrListColl;
113 }
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 290 of file CoralCrestManager.cxx.

290 {
291 m_crest_cont.value().selectIov(since);
293 std::stringstream res;
294 res<<"[";
295 std::vector<std::string> chIds = m_crest_cont.value().channelIds();
296 auto* pspec=getAttributeListSpec();
297 std::string sep="";
298 for (auto &ch : chIds){
299 res<<sep;
300 res<<IOVDbNamespace::s_openJson<<"\""<<ch<<"\" : ";
301 switch (ftype){
303 {
304 std::vector<coral::AttributeList> attr=getVectorPayload(pspec,ch);
305 res<<"[";
306 std::string sep2="";
307 for (const auto & vitr:attr){
309 if (sep2.empty()) sep2 =IOVDbNamespace::s_delimiterJson;
310 }
311 res<<"]";
312 break;
313 }
317 {
318 coral::AttributeList attr=getPayload(pspec,ch);
320 break;
321 }
323 {
324 coral::AttributeList attr=getPayload(pspec,ch);
325 std::ostringstream os;
326 attr[0].toOutputStream(os);
327 auto str=os.str();
328 const std::string del(" : ");
329 const auto separatorPosition = str.find(del);
330 const std::string payloadOnly=str.substr(separatorPosition+3);
331 res<<"\""<<payloadOnly<<"\"";
332 break;
333 }
335 res<< " CoraCool";
336 break;
337 default:
338 res<<" a_data_value";
339 }
340 if (sep.empty()) sep=",";
342 }
343 res<<"]";
344 pspec->release();
345 return res.str();
346 }
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 171 of file CoralCrestManager.cxx.

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

◆ getChannelList()

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

Definition at line 157 of file CoralCrestManager.cxx.

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

◆ getFolderDescription()

std::string CoralCrestManager::getFolderDescription ( )

Definition at line 152 of file CoralCrestManager.cxx.

152 {
153 Crest::TagInfoDto info = getTagInfoDto();
154 return info.getFolderDescription();
155 }

◆ getGlobalTagMap()

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

Definition at line 57 of file CoralCrestManager.cxx.

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

◆ 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 233 of file CoralCrestManager.cxx.

233 {
234 Crest::IovSetDto dto = m_crestCl->selectGroups(tag, 0, 10000, 0, "id.since:ASC");
235 std::vector<uint64_t> v = dto.getListSince();
236 v.push_back(cool::ValidityKeyMax); // added "infinity" as the last item 9223372036854775807
237 return getSinceUntilPair(v, since, until);
238 }
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 240 of file CoralCrestManager.cxx.

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

348 {
349 nlohmann::json j=m_crest_cont.value().getPayloadChannel(chId.c_str());
350 return createAttributeList(pSpec,j,m_crest_cont.value().getMPayloadSpec());
351 }
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 148 of file CoralCrestManager.cxx.

148 {
149 return getTagInfoDto().getPayloadSpec().toJson().dump();
150 }

◆ 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 204 of file CoralCrestManager.cxx.

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

◆ getTagDto()

Crest::TagDto & CoralCrestManager::getTagDto ( )

Definition at line 141 of file CoralCrestManager.cxx.

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

◆ getTagInfoDto()

Crest::TagInfoDto CoralCrestManager::getTagInfoDto ( )

Definition at line 135 of file CoralCrestManager.cxx.

135 {
136 if(!m_TagMeta.has_value())
137 loadTagInfo();
138 return m_TagMeta.value().getTagInfoDto();
139 }

◆ getVectorPayload()

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

Definition at line 353 of file CoralCrestManager.cxx.

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

◆ initCrestContainer()

void CoralCrestManager::initCrestContainer ( )
private

Definition at line 184 of file CoralCrestManager.cxx.

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

◆ isVectorPayload()

bool CoralCrestManager::isVectorPayload ( )

Definition at line 115 of file CoralCrestManager.cxx.

115 {
116 if(!m_isVectorPayload.has_value())
118 return m_isVectorPayload.value();
119 }

◆ loadPayloadForHash()

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

Definition at line 266 of file CoralCrestManager.cxx.

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

◆ loadTagInfo()

void CoralCrestManager::loadTagInfo ( )

Definition at line 121 of file CoralCrestManager.cxx.

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

◆ parseTypeName()

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

Definition at line 82 of file CoralCrestManager.cxx.

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

◆ selectIov()

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

Definition at line 363 of file CoralCrestManager.cxx.

363 {
364 m_crest_cont.value().selectIov(since);
365 }

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: