Line data Source code
1 : /*******************************************************************************
2 : * *
3 : * Cosmos:(C)oncept et (O)utils (S)tatistique pour les (Mo)deles *
4 : * (S)tochastiques *
5 : * *
6 : * Copyright (C) 2009-2012 LSV & LACL *
7 : * Authors: Paolo Ballarini BenoƮt Barbot & Hilal Djafri *
8 : * Website: http://www.lsv.ens-cachan.fr/Software/cosmos *
9 : * *
10 : * This program is free software; you can redistribute it and/or modify *
11 : * it under the terms of the GNU General Public License as published by *
12 : * the Free Software Foundation; either version 3 of the License, or *
13 : * (at your option) any later version. *
14 : * *
15 : * This program is distributed in the hope that it will be useful, *
16 : * but WITHOUT ANY WARRANTY; without even the implied warranty of *
17 : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
18 : * GNU General Public License for more details. *
19 : * *
20 : * You should have received a copy of the GNU General Public License along *
21 : * with this program; if not, write to the Free Software Foundation, Inc., *
22 : * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *
23 : * file Gspn-Writer-Color.hpp *
24 : * Created by Benoit Barbot on 17/04/15. *
25 : *******************************************************************************
26 : */
27 :
28 :
29 : #ifndef __Cosmos__Gspn_Writer_Color__
30 : #define __Cosmos__Gspn_Writer_Color__
31 :
32 : #include <stdio.h>
33 :
34 : #include "Gspn-Writer.hpp"
35 :
36 33 : class Gspn_Writer_Color: public Gspn_Writer{
37 : public:
38 : Gspn_Writer_Color(GspnType& mgspn,parameters& Q);
39 :
40 : void writeMarkingClasse(std::ofstream &, std::ofstream &)const;
41 : void printloot(std::ofstream& sf, const colorDomain &domain, size_t nesting )const;
42 : void writeEnabledDisabledBinding(std::ofstream &)const;
43 : void writeEnabledDisabledBindingSet(std::ofstream &)const;
44 : void writeDomainTable(std::ofstream &cpp, std::ofstream &hpp, const colorDomain &d)const ;
45 : void writeDomainToken(std::ofstream &header, const colorDomain & it)const;
46 : void writeDomainSet(std::ofstream &SpnCppFile , std::ofstream &header, const colorDomain & it)const;
47 : void writeNextBindingSet(std::ofstream &SpnCppFile , std::ofstream &header)const;
48 : };
49 :
50 : #endif /* defined(__Cosmos__Gspn_Writer_Color__) */
|