OpenCores
URL https://opencores.org/ocsvn/w11/w11/trunk

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.61/] [tools/] [src/] [librtools/] [RlogFile.hpp] - Diff between revs 10 and 12

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 10 Rev 12
Line 1... Line 1...
// $Id: RlogFile.hpp 357 2011-01-31 08:00:13Z mueller $
// $Id: RlogFile.hpp 380 2011-04-25 18:14:52Z mueller $
//
//
// Copyright 2011- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
// Copyright 2011- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
//
//
// This program is free software; you may redistribute and/or modify it under
// This program is free software; you may redistribute and/or modify it under
// the terms of the GNU General Public License as published by the Free
// the terms of the GNU General Public License as published by the Free
Line 11... Line 11...
// or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
// or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
// for complete details.
// for complete details.
// 
// 
// Revision History: 
// Revision History: 
// Date         Rev Version  Comment
// Date         Rev Version  Comment
 
// 2011-04-24   380   1.0.1  use boost::noncopyable (instead of private dcl's)
// 2011-01-30   357   1.0    Initial version
// 2011-01-30   357   1.0    Initial version
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
 
 
/*!
/*!
  \file
  \file
  \version $Id: RlogFile.hpp 357 2011-01-31 08:00:13Z mueller $
  \version $Id: RlogFile.hpp 380 2011-04-25 18:14:52Z mueller $
  \brief   Declaration of class RlogFile.
  \brief   Declaration of class RlogFile.
*/
*/
 
 
#ifndef included_Retro_RlogFile
#ifndef included_Retro_RlogFile
#define included_Retro_RlogFile 1
#define included_Retro_RlogFile 1
 
 
#include <string>
#include <string>
#include <ostream>
#include <ostream>
#include <fstream>
#include <fstream>
 
 
 
#include "boost/utility.hpp"
 
 
namespace Retro {
namespace Retro {
 
 
  class RlogFile {
  class RlogFile : private boost::noncopyable {
    public:
    public:
                    RlogFile();
                    RlogFile();
      explicit      RlogFile(std::ostream* os);
      explicit      RlogFile(std::ostream* os);
                    ~RlogFile();
                    ~RlogFile();
 
 
Line 51... Line 54...
      std::ostream* fpExtStream;            //!< pointer to external stream
      std::ostream* fpExtStream;            //!< pointer to external stream
      std::ofstream fIntStream;             //!< internal stream
      std::ofstream fIntStream;             //!< internal stream
      int           fTagYear;               //!< year of last time tag
      int           fTagYear;               //!< year of last time tag
      int           fTagMonth;              //!< month of last time tag
      int           fTagMonth;              //!< month of last time tag
      int           fTagDay;                //!< day of last time tag
      int           fTagDay;                //!< day of last time tag
 
 
    // RlogFile is not copy or assignable
 
    private:
 
                    RlogFile(const RlogFile& rhs);
 
      RlogFile&     operator=(const RlogFile& rhs);
 
 
 
 
 
  };
  };
 
 
} // end namespace Retro
} // end namespace Retro
 
 
#if !(defined(Retro_NoInline) || defined(Retro_RlogFile_NoInline))
#if !(defined(Retro_NoInline) || defined(Retro_RlogFile_NoInline))

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.