Strip.h
Go to the documentation of this file.
1 //=============================================================================
2 // Copyright (C) 2021-2024 Wageningen University - All Rights Reserved
3 // Author: Gonzalo Mier
4 // BSD-3 License
5 //=============================================================================
6 
7 #pragma once
8 #ifndef FIELDS2COVER_TYPES_STRIP_H_
9 #define FIELDS2COVER_TYPES_STRIP_H_
10 
11 #include <string>
13 
14 namespace f2c::types {
15 
16 struct Strip {
17  public:
18  Cell& getCell();
19  const Cell& getCell() const;
20  void setCell(const Cell& cell);
21 
22  std::string getName() const;
23  void setName(const std::string& str);
24 
25  Strip clone() const;
26 
27  private:
29  std::string name_;
30 };
31 
32 } // namespace f2c::types
33 
34 #endif // FIELDS2COVER_TYPES_STRIP_H_
Cell.h
f2c::types
Types used by fields2cover library.
Definition: Cell.h:20
f2c::types::Strip::clone
Strip clone() const
Definition: Strip.cpp:31
1_basic_types.cell
cell
Definition: 1_basic_types.py:88
f2c::types::Strip::setCell
void setCell(const Cell &cell)
Definition: Strip.cpp:19
f2c::types::Strip::getName
std::string getName() const
Definition: Strip.cpp:23
f2c::types::Strip
Definition: Strip.h:16
f2c::types::Cell
Definition: Cell.h:32
f2c::types::Strip::cell_
Cell cell_
Definition: Strip.h:28
f2c::types::Strip::setName
void setName(const std::string &str)
Definition: Strip.cpp:27
f2c::types::Strip::name_
std::string name_
Definition: Strip.h:29
f2c::types::Strip::getCell
Cell & getCell()
Definition: Strip.cpp:11


fields2cover
Author(s):
autogenerated on Fri Apr 25 2025 02:18:31