#define MATH_NESTINSET_H
#include "math_diminset.h"
-#include "math_data.h"
+
+class MathArray;
+
/** Abstract base class for all math objects that contain nested items.
This is basically everything that is not a single character or a
single symbol.
*/
-
class MathNestInset : public MathDimInset {
public:
/// nestinsets have a fixed size to start with
void write(WriteStream & os) const;
/// writes [, name(), and args in []
void normalize(NormalStream & os) const;
-
- /// local dispatcher
- dispatch_result
- dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos);
-
protected:
+ ///
+ virtual
+ DispatchResult
+ priv_dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos);
+
/// we store the cells in a vector
typedef std::vector<MathArray> cells_type;
/// thusly:
void metricsMarkers(int frame = 1) const;
/// add space for markers
void metricsMarkers2(int frame = 1) const;
-
};
#endif