genericIO
cpp
axis.h
1
#ifndef AXIS_H
2
#define AXIS_H 1
3
#include<iostream>
4
#include<string>
5
#include <stdio.h>
6
#include<sstream>
7
8
namespace
SEP
{
9
10
class
axis
{
11
public
:
12
axis
(){}
//Default constructor does nothing
13
axis
(
const
int
n,
float
o,
float
d,
const
std::string &label,
const
std::string& unit);
14
axis
(
const
int
n,
float
o,
float
d,
const
std::string& label);
15
axis
(
const
int
n,
float
o,
float
d);
16
axis
(
const
int
n);
17
void
infoStream(std::stringstream &x);
18
19
bool
same_axis(
const
axis
&ax)
const
;
20
int
n;
21
float
o,d;
22
std::string label,unit;
23
24
~
axis
(){}
25
private
:
26
void
basic_set(
const
int
n,
const
float
o,
const
float
d,
const
std::string &label,
const
std::string &unit);
27
28
};
29
30
}
31
#endif
32
33
34
SEP::axis
Definition:
axis.h:10
SEP
Definition:
axis.h:8
Generated by
1.8.14