Make SharedSolver BArchivable to save extra user constraints.

This commit is contained in:
Alex Wilson
2012-05-03 08:45:36 +12:00
parent bad1d6ba7e
commit 0a5e130725
7 changed files with 273 additions and 41 deletions
+5
View File
@@ -21,6 +21,10 @@ namespace LinearProgramming {
class Constraint;
};
namespace BPrivate {
class SharedSolver;
};
namespace BALM {
@@ -113,6 +117,7 @@ private:
private:
friend class BALMLayout;
friend class RowColumnManager;
friend class BPrivate::SharedSolver;
BLayoutItem* fLayoutItem;
int32 fID;
+9 -5
View File
@@ -16,6 +16,11 @@ namespace LinearProgramming {
};
namespace BPrivate {
class SharedSolver;
};
namespace BALM {
@@ -37,6 +42,10 @@ public:
XTab* Right() const;
private:
friend class BALMLayout;
friend class BALM::RowColumnManager;
friend class BPrivate::SharedSolver;
Column(LinearProgramming::LinearSpec* ls,
XTab* left, XTab* right);
@@ -48,11 +57,6 @@ private:
// managed by RowColumnManager
BObjectList<Area> fAreas;
public:
friend class BALMLayout;
friend class BALM::RowColumnManager;
};
} // namespace BALM
+9 -5
View File
@@ -16,6 +16,11 @@ namespace LinearProgramming {
};
namespace BPrivate {
class SharedSolver;
};
namespace BALM {
@@ -37,6 +42,10 @@ public:
YTab* Bottom() const;
private:
friend class BALMLayout;
friend class BALM::RowColumnManager;
friend class BPrivate::SharedSolver;
Row(LinearProgramming::LinearSpec* ls,
YTab* top, YTab* bottom);
@@ -48,11 +57,6 @@ private:
// managed by RowColumnManager
BObjectList<Area> fAreas;
public:
friend class BALMLayout;
friend class BALM::RowColumnManager;
};
} // namespace BALM