Phoxonics  1.0
Object Oriented FDTD Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
GnuplotItem1D.hpp
Go to the documentation of this file.
1 /*
2  * gnuplotItem1D.hpp
3  *
4  * Created on: Jul 24, 2014
5  * Author: nano
6  */
7 
8 #ifndef GNUPLOTITEM1D_HPP_
9 #define GNUPLOTITEM1D_HPP_
10 
11 #include "GnuplotShapes.hpp"
12 #include <string>
13 #include <vector>
14 #include <utility>
15 
16 namespace phoxonics {
17 namespace visual {
18 
19 struct GnuplotItem1D {
20  // Const / Dest
21  explicit GnuplotItem1D(std::string title);
22  explicit GnuplotItem1D(std::string title, GnuplotShapes shape);
24 
25  std::string title { "" };
27  std::vector<std::pair<double, double>> points { };
28 };
29 
30 }
31 }
32 
33 #endif /* GNUPLOTITEM1D_HPP_ */
Definition: CommonBase.hpp:14
GnuplotShapes shape
Definition: GnuplotItem1D.hpp:26
GnuplotItem1D(std::string title)
Definition: GnuplotItem1D.cpp:13
~GnuplotItem1D()
Definition: GnuplotItem1D.cpp:22
Definition: GnuplotItem1D.hpp:19
std::vector< std::pair< double, double > > points
Definition: GnuplotItem1D.hpp:27
std::string title
Definition: GnuplotItem1D.hpp:25
GnuplotShapes
Definition: GnuplotShapes.hpp:14