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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [tools/] [src/] [librtcltools/] [RtclNameSet.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: RtclNameSet.hpp 488 2013-02-16 18:49:47Z mueller $
2 10 wfjm
//
3
// Copyright 2011- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4
//
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
// 2011-02-20   363   1.0    Initial version
17
// ---------------------------------------------------------------------------
18
 
19
 
20
/*!
21
  \file
22 19 wfjm
  \version $Id: RtclNameSet.hpp 488 2013-02-16 18:49:47Z mueller $
23 10 wfjm
  \brief   Declaration of class RtclNameSet.
24
*/
25
 
26
#ifndef included_Retro_RtclNameSet
27
#define included_Retro_RtclNameSet 1
28
 
29
#include "tcl.h"
30
 
31
#include <string>
32
#include <set>
33
 
34
#include "RtclNameSet.hpp"
35
 
36
namespace Retro {
37
 
38
  class RtclNameSet {
39
    public:
40
      typedef std::set<std::string>   nset_t;
41
      typedef nset_t::iterator        nset_it_t;
42
      typedef nset_t::const_iterator  nset_cit_t;
43
 
44
                        RtclNameSet();
45
                        RtclNameSet(const std::string& nset);
46
                        ~RtclNameSet();
47
 
48
    bool                Check(Tcl_Interp* interp, std::string& rval,
49
                              const std::string& tval) const;
50
 
51
    protected:
52
      nset_t            fSet;
53
  };
54
 
55
} // end namespace Retro
56
 
57 19 wfjm
//#include "RtclNameSet.ipp"
58 10 wfjm
 
59
#endif

powered by: WebSVN 2.1.0

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