[GIT] ppl/ppl(master): Added Variable_Stringifier interface.

Module: ppl/ppl Branch: master Commit: 7cf8a120e0c217dac91df9501eb72528650ae985 URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=7cf8a120e0c21...
Author: Enea Zaffanella zaffanella@cs.unipr.it Date: Tue Aug 7 19:01:40 2012 +0200
Added Variable_Stringifier interface.
---
.../Variable_Stringifier.java | 33 ++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/interfaces/Java/parma_polyhedra_library/Variable_Stringifier.java b/interfaces/Java/parma_polyhedra_library/Variable_Stringifier.java new file mode 100644 index 0000000..67d6233 --- /dev/null +++ b/interfaces/Java/parma_polyhedra_library/Variable_Stringifier.java @@ -0,0 +1,33 @@ +/* Variable_Stringifier Java interface. + Copyright (C) 2010-2012 BUGSENG srl (http://bugseng.com) + +This file is part of the Parma Polyhedra Library (PPL). + +The PPL is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 3 of the License, or (at your +option) any later version. + +The PPL is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software Foundation, +Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307, USA. + +For the most up-to-date information see the Parma Polyhedra Library +site: http://bugseng.com/products/ppl/ . */ + +package parma_polyhedra_library; + +//! An interface for objects converting a Variable id to a string. +/*! \ingroup PPL_Java_interface + If customized variable output is required, the user should implement + this interface and pass a corresponding instance to Variable's static + method \c setStringifier. +*/ +public interface Variable_Stringifier { + public String stringify(int var_id); +}
participants (1)
-
Enea Zaffanella