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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.61/] [tools/] [src/] [librtcltools/] [Rtcl.hpp] - Diff between revs 10 and 19

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

Rev 10 Rev 19
Line 1... Line 1...
// $Id: Rtcl.hpp 369 2011-03-13 22:39:26Z mueller $
// $Id: Rtcl.hpp 486 2013-02-10 22:34:43Z 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-01-06   473   1.0.4  add NewListIntObj(const uint(8|16)_t, ...)
// 2011-03-13   369   1.0.3  add NewListIntObj(vector<uint8_t>)
// 2011-03-13   369   1.0.3  add NewListIntObj(vector<uint8_t>)
// 2011-03-12   368   1.0.2  use namespace Rtcl
// 2011-03-12   368   1.0.2  use namespace Rtcl
// 2011-03-05   366   1.0.1  add AppendResultNewLines()
// 2011-03-05   366   1.0.1  add AppendResultNewLines()
// 2011-02-26   364   1.0    Initial version
// 2011-02-26   364   1.0    Initial version
// 2011-02-18   362   0.1    First draft
// 2011-02-18   362   0.1    First draft
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
 
 
/*!
/*!
  \file
  \file
  \version $Id: Rtcl.hpp 369 2011-03-13 22:39:26Z mueller $
  \version $Id: Rtcl.hpp 486 2013-02-10 22:34:43Z mueller $
  \brief   Declaration of class Rtcl.
  \brief   Declaration of class Rtcl.
*/
*/
 
 
#ifndef included_Retro_Rtcl
#ifndef included_Retro_Rtcl
#define included_Retro_Rtcl 1
#define included_Retro_Rtcl 1
Line 40... Line 41...
 
 
  namespace Rtcl {
  namespace Rtcl {
    Tcl_Obj*        NewLinesObj(const std::string& str);
    Tcl_Obj*        NewLinesObj(const std::string& str);
    Tcl_Obj*        NewLinesObj(std::ostringstream& sos);
    Tcl_Obj*        NewLinesObj(std::ostringstream& sos);
 
 
 
    Tcl_Obj*        NewListIntObj(const uint8_t* data, size_t size);
 
    Tcl_Obj*        NewListIntObj(const uint16_t* data, size_t size);
    Tcl_Obj*        NewListIntObj(const std::vector<uint8_t>& vec);
    Tcl_Obj*        NewListIntObj(const std::vector<uint8_t>& vec);
    Tcl_Obj*        NewListIntObj(const std::vector<uint16_t>& vec);
    Tcl_Obj*        NewListIntObj(const std::vector<uint16_t>& vec);
 
 
    bool            SetVar(Tcl_Interp* interp,
    bool            SetVar(Tcl_Interp* interp,
                           const std::string& varname, Tcl_Obj* pobj);
                           const std::string& varname, Tcl_Obj* pobj);
Line 56... Line 59...
    void            SetResult(Tcl_Interp* interp, std::ostringstream& sos);
    void            SetResult(Tcl_Interp* interp, std::ostringstream& sos);
  };
  };
 
 
} // end namespace Retro
} // end namespace Retro
 
 
#if !(defined(Retro_NoInline) || defined(Retro_Rtcl_NoInline))
 
#include "Rtcl.ipp"
#include "Rtcl.ipp"
#endif
 
 
 
#endif
#endif
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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