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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [tools/] [src/] [librtools/] [Rtools.hpp] - Blame information for rev 19

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

Line No. Rev Author Line
1 19 wfjm
// $Id: Rtools.hpp 486 2013-02-10 22:34:43Z mueller $
2 10 wfjm
//
3 19 wfjm
// Copyright 2011-2013 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
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-13   481   1.0.2  remove ThrowLogic(), ThrowRuntime()
17 11 wfjm
// 2011-04-10   376   1.0.1  add ThrowLogic(), ThrowRuntime()
18 10 wfjm
// 2011-03-12   368   1.0    Initial version
19
// ---------------------------------------------------------------------------
20
 
21
/*!
22
  \file
23 19 wfjm
  \version $Id: Rtools.hpp 486 2013-02-10 22:34:43Z mueller $
24 10 wfjm
  \brief   Declaration of class Rtools .
25
*/
26
 
27
#ifndef included_Retro_Rtools
28
#define included_Retro_Rtools 1
29
 
30
#include <cstdint>
31
#include <string>
32
 
33
namespace Retro {
34
 
35
  struct RflagName {
36
    uint32_t      mask;
37
    const char*   name;
38 19 wfjm
  };
39 10 wfjm
 
40
  namespace Rtools {
41
    std::string     Flags2String(uint32_t flags, const RflagName* fnam,
42
                                 char delim='|');
43
  };
44
 
45
} // end namespace Retro
46
 
47
//#include "Rtools.ipp"
48
 
49
#endif

powered by: WebSVN 2.1.0

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