ATLAS Offline Software
Identifier32.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
7 
8 #include <iostream>
9 #include <format>
10 
11 
12 std::string Identifier32::getString() const{
13  std::string s = std::format("0x{:x}", m_id);
14  return s;
15 }
16 
17 void Identifier32::show () const{
18  std::cout << *this;
19 }
20 
21 std::ostream & operator << (std::ostream &out, const Identifier32 &c){
22  out<<std::string(c);
23  return out;
24 }
25 
26 
27 
Identifier32::show
void show() const
Print out in hex form.
Definition: Identifier32.cxx:17
Identifier32
Definition: Identifier32.h:25
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
vtune_athena.format
format
Definition: vtune_athena.py:14
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
operator<<
std::ostream & operator<<(std::ostream &out, const Identifier32 &c)
Definition: Identifier32.cxx:21
Identifier32.h
python.compressB64.c
def c
Definition: compressB64.py:93
Identifier32::m_id
value_type m_id
Definition: Identifier32.h:63
Identifier32::getString
std::string getString() const
Provide a string form of the identifier - hexadecimal.
Definition: Identifier32.cxx:12