#include <iosfwd>
+#include "LString.h"
+
///
class Spacing {
public:
///
void writeFile(std::ostream &, bool para = false) const;
///
+ string writeEnvirBegin() const;
+ ///
+ string writeEnvirEnd() const;
+ ///
friend bool operator==(Spacing const & a, Spacing const & b) {
- if (a.space == b.space && a.getValue() == b.getValue())
- return true;
- return false;
+ return a.space == b.space && a.getValue() == b.getValue();
}
///
friend bool operator!=(Spacing const & a, Spacing const & b) {
- if (a.space == b.space && a.getValue() == b.getValue())
- return false;
- return true;
+ return !(a == b);
}
private:
///