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

51 :m_crestTag(crestTag){ //AthMessaging("CoralCrestManager")
52 if(crest_path.length()==0)
53 return;
54 if (crest_path.starts_with(CoralCrestManager::prefix1) || crest_path.starts_with(CoralCrestManager::prefix2)){
55 m_crestCl = std::make_unique<Crest::CrestApi>(Crest::CrestApi(crest_path));
56 }
57 else{
58 m_crestCl = std::make_unique<Crest::CrestApiFs>(Crest::CrestApiFs(false,crest_path));
59 }
60
61 }
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 368 of file CoralCrestManager.cxx.

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

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

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

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

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

◆ getChannelList()

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

Definition at line 159 of file CoralCrestManager.cxx.

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

◆ getFolderDescription()

std::string CoralCrestManager::getFolderDescription ( )

Definition at line 154 of file CoralCrestManager.cxx.

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

◆ getGlobalTagMap()

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

Definition at line 63 of file CoralCrestManager.cxx.

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

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

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

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

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

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

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

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

◆ getTagDto()

Crest::TagDto & CoralCrestManager::getTagDto ( )

Definition at line 143 of file CoralCrestManager.cxx.

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

◆ getTagInfoDto()

Crest::TagInfoDto CoralCrestManager::getTagInfoDto ( )

Definition at line 137 of file CoralCrestManager.cxx.

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

◆ getVectorPayload()

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

Definition at line 354 of file CoralCrestManager.cxx.

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

◆ initCrestContainer()

void CoralCrestManager::initCrestContainer ( )
private

Definition at line 186 of file CoralCrestManager.cxx.

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

◆ isVectorPayload()

bool CoralCrestManager::isVectorPayload ( )

Definition at line 117 of file CoralCrestManager.cxx.

117 {
118 if(!m_isVectorPayload.has_value())
120 return m_isVectorPayload.value();
121 }

◆ loadPayloadForHash()

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

Definition at line 268 of file CoralCrestManager.cxx.

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

◆ loadTagInfo()

void CoralCrestManager::loadTagInfo ( )

Definition at line 123 of file CoralCrestManager.cxx.

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

◆ parseTypeName()

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

Definition at line 84 of file CoralCrestManager.cxx.

84 {
85 std::string regex=R"delim(<typeName>\s*([^\s]+)\s*</typeName>)delim";
86 std::regex re(regex);
87 std::smatch typeMatch;
88 bool match=std::regex_search(description, typeMatch,re);
89 return (match) ? std::string(typeMatch[1]) : std::string("");
90 }
const std::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 364 of file CoralCrestManager.cxx.

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

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: