24 lines
577 B
Objective-C
24 lines
577 B
Objective-C
//
|
|
// MPProduct.h
|
|
// MathPad
|
|
//
|
|
// Created by Kim Wittenburg on 09.10.14.
|
|
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "MPExpressionTreeElement.h"
|
|
#import "MPFactor.h"
|
|
|
|
@interface MPProduct : NSObject <MPExpressionTreeElement>
|
|
|
|
- (NSArray *)factors;
|
|
- (void)appendFactor:(MPFactor *)factor;
|
|
- (void)insertFactor:(MPFactor *)factor
|
|
atIndex:(NSUInteger)index;
|
|
- (void)removeFactor:(MPFactor *)factor;
|
|
- (void)removeFactorAtIndex:(NSUInteger)index;
|
|
- (MPFactor *)factorAtIndex:(NSUInteger)index;
|
|
|
|
@end
|