Gaudi Framework, version v20r4

Generated: 8 Jan 2009

Position.h

Go to the documentation of this file.
00001 // $Id: Position.h,v 1.2 2007/05/24 14:41:21 hmd Exp $
00002 // ============================================================================
00003 // CVS tag $Name:  $ 
00004 // ============================================================================
00005 #ifndef JOBOPTIONSSVC_POSITION_H 
00006 #define JOBOPTIONSSVC_POSITION_H 1
00007 // ============================================================================
00008 // Include files
00009 // ============================================================================
00010 // STD & STL 
00011 // ============================================================================
00012 #include <string>
00013 // ============================================================================
00014 namespace Gaudi{
00015   namespace Parsers {
00024     class Position
00025     {
00026     public:
00032       Position
00033       ( const std::string& fileName = "" ,
00034         const int          line     = 0  ,
00035         const int          column   = 0  )
00036         : m_fileName  ( fileName )
00037         , m_line      ( line     )
00038         , m_column    ( column   )
00039       {}
00041       std::string fileName() const{return m_fileName;}
00043       int line() const{return m_line;}
00045       int column() const{return m_column;}
00046     private:
00047       std::string m_fileName;
00048       int m_line;
00049       int m_column;
00050     };
00051   } // end of namespace Parsers
00052 } // end of namespace Gaudi
00053 
00054 // ============================================================================
00055 // The END 
00056 // ============================================================================
00057 #endif // JOBOPTIONSSVC_POSITION_H
00058 // ============================================================================

Generated at Thu Jan 8 17:44:23 2009 for Gaudi Framework, version v20r4 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004