Line 1... |
Line 1... |
// $Id: RtclNameSet.hpp 488 2013-02-16 18:49:47Z mueller $
|
// $Id: RtclNameSet.hpp 521 2013-05-20 22:16:45Z mueller $
|
//
|
//
|
// Copyright 2011- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
// Copyright 2011-2013 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
|
// Software Foundation, either version 2, or at your option any later version.
|
// Software Foundation, either version 2, or at your option any later version.
|
//
|
//
|
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
|
|
// 2013-05-19 521 1.1 add CheckMatch()
|
// 2011-02-20 363 1.0 Initial version
|
// 2011-02-20 363 1.0 Initial version
|
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/*!
|
/*!
|
\file
|
\file
|
\version $Id: RtclNameSet.hpp 488 2013-02-16 18:49:47Z mueller $
|
\version $Id: RtclNameSet.hpp 521 2013-05-20 22:16:45Z mueller $
|
\brief Declaration of class RtclNameSet.
|
\brief Declaration of class RtclNameSet.
|
*/
|
*/
|
|
|
#ifndef included_Retro_RtclNameSet
|
#ifndef included_Retro_RtclNameSet
|
#define included_Retro_RtclNameSet 1
|
#define included_Retro_RtclNameSet 1
|
Line 45... |
Line 46... |
RtclNameSet(const std::string& nset);
|
RtclNameSet(const std::string& nset);
|
~RtclNameSet();
|
~RtclNameSet();
|
|
|
bool Check(Tcl_Interp* interp, std::string& rval,
|
bool Check(Tcl_Interp* interp, std::string& rval,
|
const std::string& tval) const;
|
const std::string& tval) const;
|
|
int CheckMatch(Tcl_Interp* interp, std::string& rval,
|
|
const std::string& tval, bool misserr) const;
|
|
|
protected:
|
protected:
|
nset_t fSet;
|
nset_t fSet;
|
};
|
};
|
|
|