ENH: autoLayerDriver: better layering information message
[OpenFOAM-2.0.x.git] / src / OpenFOAM / graph / writers / rawGraph / rawGraph.H
blob59ce3a64c34e002cf2dd2c944fa5f27b36173665
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 2011 OpenFOAM Foundation
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
9     This file is part of OpenFOAM.
11     OpenFOAM is free software: you can redistribute it and/or modify it
12     under the terms of the GNU General Public License as published by
13     the Free Software Foundation, either version 3 of the License, or
14     (at your option) any later version.
16     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
19     for more details.
21     You should have received a copy of the GNU General Public License
22     along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
24 Class
25     Foam::rawGraph
27 Description
28     A raw xy graph output
30 SourceFiles
31     rawGraph.C
33 \*---------------------------------------------------------------------------*/
35 #ifndef rawGraph_H
36 #define rawGraph_H
38 #include "graph.H"
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42 namespace Foam
45 /*---------------------------------------------------------------------------*\
46                            Class rawGraph Declaration
47 \*---------------------------------------------------------------------------*/
49 class rawGraph
51     public graph::writer
54 public:
56     //- Runtime type information
57     TypeName("raw");
59     //- FileName extension  for this graph format
60     static const word ext_;
63     // Constructors
65         //- Construct null
66         rawGraph()
67         {}
70     //- Destructor
71     ~rawGraph()
72     {}
75     // Member Functions
77         // Access
79             //- Return the appropriate fileName extension
80             //  for this graph format
81             const word& ext() const
82             {
83                 return ext_;
84             }
87         // Write
89             void write(const graph&, Ostream& os) const;
93 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
95 } // End namespace Foam
97 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
99 #endif
101 // ************************************************************************* //