The Gaudi Framework  master (37c0b60a)
Position.cpp
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2020 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #include "Position.h"
12 #include <fmt/format.h>
13 #include <string>
15  return fmt::format( "{}: ({}, {})", filename_, line_, column_ );
16 }
std::string
STL class.
Gaudi::Parsers::Position::column_
unsigned column_
Definition: Position.h:38
Gaudi::Parsers::Position::ToString
std::string ToString() const
Definition: Position.cpp:14
Gaudi::Parsers::Position::line_
unsigned line_
Definition: Position.h:37
format
GAUDI_API std::string format(const char *,...)
MsgStream format utility "a la sprintf(...)".
Definition: MsgStream.cpp:119
Position.h
Gaudi::Parsers::Position::filename_
std::string filename_
Definition: Position.h:36