|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #include "nlohmann/json.hpp"
46 std::optional<RespPage>
page;
70 GlobalTagDto(
const char* _name,
const char* _description,
const char* _release,
const char* _workflow);
84 const char*
getFormat()
const {
return "GlobalTagSetDto";}
110 TagDto(std::string _name, std::string _timeType, std::string _description):
name(_name),
timeType(_timeType),
163 const char*
getFormat()
const {
return "GlobalTagMapSetDto";}
174 std::vector< std::pair<std::string,std::string> >
m_channels;
181 void add(
const std::string&
id,
const std::string&
name);
190 std::vector< std::pair<std::string,std::string> >
m_row;
196 const std::vector< std::pair<std::string,std::string> >&
getColumns()
const {
return m_row;}
198 void add(
const std::string&
name,
const std::string&
type);
381 #endif // CREST_DTOS_HPP
static GlobalTagMapSetDto from_json(const json &j)
size_t getChannelSize() const
static IovSetDto from_fs_json(const json &j)
static GlobalTagMapSetDto from_fs_json(const json &j)
std::optional< std::string > m_app_name
PayloadSpecDto(PayloadSpecDto const ©)
std::optional< std::string > insertionTime
void setChannel(ChannelSetDto &ch)
std::vector< IovDto > resources
TagInfoDto(const std::string &description)
static RespPage from_json(const json &j)
ChannelSetDto m_channel_list
PayloadSpecDto m_payload_spec
void load_from_json(const json &j)
std::vector< std::pair< std::string, std::string > > m_channels
std::optional< std::string > insertionTime
PayloadSpecDto & operator=(PayloadSpecDto &&)=default
ChannelSetDto & operator=(const ChannelSetDto &)=default
virtual int64_t getSize() const =0
static GlobalTagMapDto from_json(const json &j)
std::vector< PayloadDto > resources
int64_t snapshotTimeMilli
std::optional< std::string > insertionTime
const char * getFormat() const
const std::vector< std::pair< std::string, std::string > > & getColumns() const
void add(const std::string &id, const std::string &name)
std::vector< std::pair< std::string, std::string > > m_row
std::string globalTagName
static TagDto from_json(const json &j)
std::vector< GlobalTagMapDto > resources
std::optional< GenericMap > filter
std::optional< std::string > insertionTime
static GlobalTagDto from_json(const json &j)
virtual const char * getFormat() const =0
static PayloadSpecDto from_json(const json &j)
static PayloadDto from_json(const json &j)
The TagDto class It contains all fields of the TagDto class from the CREST API.
void add(const std::string &name, const std::string &type)
ChannelSetDto & operator=(ChannelSetDto &&)=default
std::optional< std::string > m_app_version
TagDto(std::string _name, std::string _timeType, std::string _description)
static PayloadSetDto from_json(const json &j)
static ChannelSetDto from_json(const json &j)
void push_back(StoreDto dto)
std::optional< std::string > modificationTime
const char * getFormat() const
static StoreSetDto from_json(const json &j)
std::optional< std::string > datatype
const PayloadSpecDto & getPayloadSpec()
uint64_t lastValidatedTime
std::string compressionType
void setAppName(const char *str)
StoreDto(uint64_t l_since, const std::string &l_data)
PayloadSpecDto & operator=(const PayloadSpecDto &)=default
json getStreamerInfo() const
std::string m_node_description
std::map< std::string, std::string > additionalProperties
static TagInfoDto from_json(const json &j)
std::vector< uint64_t > getListSince()
std::vector< StoreDto > resources
static IovSetDto from_json(const json &j)
static StoreDto from_json(const json &j)
void setAppVersion(const char *str)
const ChannelSetDto & getChannels()
const std::vector< std::pair< std::string, std::string > > & getChannels() const
const char * getFormat() const
virtual ~CrestBaseResponse()=default
const std::string & getFolderDescription()
const char * getFormat() const
std::optional< RespPage > page
std::optional< std::string > insertionTime
ChannelSetDto(ChannelSetDto const ©)
TagInfoDto(const std::string &description, PayloadSpecDto &payload_spec, ChannelSetDto &channel_list)
void setPayloadSpec(PayloadSpecDto &spec)
StoreDto(uint64_t since, const std::string &hash, const std::string &data)
GlobalTagMapDto(const std::string &tagName, const std::string &globalTagName, const std::string &record)
int64_t insertionTimeMilli
IovDto(const std::string &tagName, uint64_t since, const std::string &payloadHash)
size_t getColumnSize() const
static IovDto from_json(const json &j)
std::string synchronization
static GenericMap from_json(const json &j)
std::string description
glabal timer - how long have I taken so far?