| 1 | /* |
| 2 | * File: DasdTab.h |
| 3 | * |
| 4 | * Author: Jacob Dekel |
| 5 | * Created on: Aug 7, 2009 |
| 6 | * |
| 7 | * Copyright (c) 2009-2013 Jacob Dekel |
| 8 | * $Id$ |
| 9 | * |
| 10 | * This singleton object holds the table of dasds |
| 11 | * |
| 12 | * This program is free software: you can redistribute it and/or modify |
| 13 | * it under the terms of the GNU General Public License as published by |
| 14 | * the Free Software Foundation, either version 3 of the License, or |
| 15 | * (at your option) any later version. |
| 16 | * |
| 17 | * This program is distributed in the hope that it will be useful, |
| 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | * GNU General Public License for more details. |
| 21 | * |
| 22 | * You should have received a copy of the GNU General Public License |
| 23 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 24 | * |
| 25 | */ |
| 26 | |
| 27 | #ifndef DASDTAB_H_ |
| 28 | #define DASDTAB_H_cxx . . $ `HercUtilities/DasdTab.h:28:9`! |
| 29 | |
| 30 | #include <string> |
| 31 | #include <map> |
| 32 | |
| 33 | typedef stdcxx . . $ std/::paircxx . . $ std/pair#<stdcxx . . $ std/::stringcxx . . $ std/string#,int> SizePaircxx . . $ SizePair#; |
| 34 | typedef stdcxx . . $ std/::mapcxx . . $ std/map#<stdcxx . . $ std/::stringcxx . . $ std/string#,int> SizeMapcxx . . $ SizeMap#; |
| 35 | |
| 36 | class DasdTabcxx . . $ DasdTab# |
| 37 | { |
| 38 | public: |
| 39 | virtual ~cxx . . $ DasdTab#`~DasdTab`(49f6e7a06ebc5aa8).DasdTabcxx . . $ DasdTab#(); |
| 40 | |
| 41 | static DasdTabcxx . . $ DasdTab#& getInstancecxx . . $ DasdTab#getInstance(86c08f7db4e8d89b).(); |
| 42 | static int getCkdSizecxx . . $ DasdTab#getCkdSize(7787e0c995c81e02).(const stdcxx . . $ std/::stringcxx . . $ std/string#& dev); |
| 43 | static int getFbaSizecxx . . $ DasdTab#getFbaSize(7787e0c995c81e02).(const stdcxx . . $ std/::stringcxx . . $ std/string#& dev); |
| 44 | |
| 45 | private: |
| 46 | static SizeMapcxx . . $ SizeMap# ckdTabcxx . . $ DasdTab#ckdTab.; |
| 47 | static SizeMapcxx . . $ SizeMap# fbaTabcxx . . $ DasdTab#fbaTab.; |
| 48 | static DasdTabcxx . . $ DasdTab# mInstancecxx . . $ DasdTab#mInstance.; |
| 49 | |
| 50 | DasdTabcxx . . $ DasdTab#DasdTab(49f6e7a06ebc5aa8).(); |
| 51 | void initcxx . . $ DasdTab#init(49f6e7a06ebc5aa8).(); |
| 52 | }; |
| 53 | |
| 54 | #endif /* DASDTAB_H_ */ |