45 #ifndef MA28_COMMON_BLOCK_ENCAP_H
46 #define MA28_COMMON_BLOCK_ENCAP_H
50 #include "AbstractLinAlgPack_MA28_CppDecl.hpp"
54 using MA28_CppDecl::MA28ED_struct;
55 using MA28_CppDecl::MA28FD_struct;
56 using MA28_CppDecl::MA28GD_struct;
57 using MA28_CppDecl::MA28HD_struct;
58 using MA28_CppDecl::MA30ED_struct;
59 using MA28_CppDecl::MA30FD_struct;
60 using MA28_CppDecl::MA30GD_struct;
61 using MA28_CppDecl::MA30HD_struct;
62 using MA28_CppDecl::MA30ID_struct;
63 using MA28_CppDecl::MC23BD_struct;
65 class MA28CommonBlockStorage;
69 class MA28CommonBlockReferences {
72 MA28CommonBlockReferences(
73 MA28ED_struct& ma28ed,
74 MA28FD_struct& ma28fd,
75 MA28GD_struct& ma28gd,
76 MA28HD_struct& ma28hd,
77 MA30ED_struct& ma30ed,
78 MA30FD_struct& ma30fd,
79 MA30GD_struct& ma30gd,
80 MA30HD_struct& ma30hd,
81 MA30ID_struct& ma30id,
99 MA28ED_struct& ma28ed_;
100 MA28FD_struct& ma28fd_;
101 MA28GD_struct& ma28gd_;
102 MA28HD_struct& ma28hd_;
103 MA30ED_struct& ma30ed_;
104 MA30FD_struct& ma30fd_;
105 MA30GD_struct& ma30gd_;
106 MA30HD_struct& ma30hd_;
107 MA30ID_struct& ma30id_;
108 MC23BD_struct& mc23bd_;
111 MA28CommonBlockReferences& operator=(
const MA28CommonBlockStorage& ma28cbs);
116 void dump_values(std::ostream& o);
118 MA28CommonBlockReferences();
125 class MA28CommonBlockStorage {
131 MA28CommonBlockStorage(
const MA28CommonBlockReferences& cb) :
145 MA28ED_struct ma28ed_;
146 MA28FD_struct ma28fd_;
147 MA28GD_struct ma28gd_;
148 MA28HD_struct ma28hd_;
149 MA30ED_struct ma30ed_;
150 MA30FD_struct ma30fd_;
151 MA30GD_struct ma30gd_;
152 MA30HD_struct ma30hd_;
153 MA30ID_struct ma30id_;
154 MC23BD_struct mc23bd_;
157 MA28CommonBlockStorage& operator=(
const MA28CommonBlockReferences& ma28cbs);
162 void dump_values(std::ostream& o);
168 #endif // MA28_COMMON_BLOCK_ENCAP_H