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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [tools/] [src/] [librtools/] [RlogFile.ipp] - Blame information for rev 40

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 19 wfjm
// $Id: RlogFile.ipp 492 2013-02-24 22:14:47Z mueller $
2 10 wfjm
//
3 19 wfjm
// Copyright 2011-2013 by Walter F.J. Mueller 
4 10 wfjm
//
5
// This program is free software; you may redistribute and/or modify it under
6
// the terms of the GNU General Public License as published by the Free
7
// Software Foundation, either version 2, or at your option any later version.
8
//
9
// This program is distributed in the hope that it will be useful, but
10
// WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
11
// or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12
// for complete details.
13
//
14
// Revision History:
15
// Date         Rev Version  Comment
16 19 wfjm
// 2013-02-23   492   2.1    add Name(), keep log file name
17
// 2013-02-22   491   2.0    add Write(),IsNew(), RlogMsg iface; use lockable
18 10 wfjm
// 2011-01-30   357   1.0    Initial version
19
// ---------------------------------------------------------------------------
20
 
21
/*!
22
  \file
23 19 wfjm
  \version $Id: RlogFile.ipp 492 2013-02-24 22:14:47Z mueller $
24 10 wfjm
  \brief   Implemenation (inline) of RlogFile.
25
*/
26
 
27 19 wfjm
// all method definitions in namespace Retro
28 10 wfjm
namespace Retro {
29
 
30
//------------------------------------------+-----------------------------------
31
//! FIXME_docs
32
 
33 19 wfjm
inline bool RlogFile::IsNew() const
34 10 wfjm
{
35 19 wfjm
  return fNew;
36
}
37
 
38
//------------------------------------------+-----------------------------------
39
//! FIXME_docs
40
 
41
inline const std::string& RlogFile::Name() const
42
{
43
  return fName;
44
}
45
 
46
//------------------------------------------+-----------------------------------
47
//! FIXME_docs
48
 
49
inline std::ostream& RlogFile::Stream()
50
{
51 10 wfjm
  return fpExtStream ? *fpExtStream : fIntStream;
52
}
53
 
54
} // end namespace Retro

powered by: WebSVN 2.1.0

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