The Gaudi Framework  v33r1 (b1225454)
Position.cpp
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 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 // ============================================================================
12 // Include files
13 // ============================================================================
14 #include "Position.h"
15 // ============================================================================
16 // STD & STL:
17 // ============================================================================
18 #include <string>
19 // ============================================================================
20 // Boost:
21 // ============================================================================
22 #include <boost/format.hpp>
24  return str( boost::format( "%1%: (%2%, %3%)" ) % filename_ % line_ % column_ );
25 }
GAUDI_API std::string format(const char *,...)
MsgStream format utility "a la sprintf(...)".
Definition: MsgStream.cpp:119
STL class.
std::string ToString() const
Definition: Position.cpp:23
std::string filename_
Definition: Position.h:36