-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCellInputData.h
executable file
·37 lines (31 loc) · 1.15 KB
/
CellInputData.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef CELLINPUTDATA_H
#define CELLINPUTDATA_H
#ifdef _MSC_VER
#pragma once
#endif
#include "LRL_Cell.h"
#include <algorithm>
#include <string>
#include <utility>
class CellInputData {
public:
CellInputData(void);
bool operator== (const std::string& s) const;
std::string GetInputDataType(void) const { return m_inputDataType; }
std::string GetStrCell(void) const { return m_strCell; }
std::string GetLattice(void) const { return m_lattice; }
LRL_Cell GetCell(void) const { return m_cell; }
std::pair<int, int> GetVarietyRange(void) const { return m_varietyRange; }
void SetInputDataType(const std::string& inputDataType) { m_inputDataType = inputDataType; }
void SetLattice(const std::string& lattice) { m_lattice = lattice; }
void SetStrCell(const std::string& s) { m_strCell = s; }
void SetCell(const LRL_Cell& c) { m_cell = c; }
void SetVarietyRange(const std::pair<int, int>& p) { m_varietyRange = p; }
protected:
std::string m_lattice;
std::string m_inputDataType;
std::string m_strCell;
LRL_Cell m_cell;
std::pair<int, int> m_varietyRange;
};
#endif