- // functions overriding virtual functions from base classes
-public:
- basic * duplicate() const;
- void printraw(ostream & os) const;
- void printtree(ostream & os, unsigned indent) const;
- void print(ostream & os, unsigned upper_precedence=0) const;
- void printcsrc(ostream & os, unsigned type, unsigned upper_precedence) const;
- bool info(unsigned inf) const;
- ex diff(const symbol & s) const;
- exvector get_indices(void) const;
-protected:
- int compare_same_type(const basic & other) const;
- bool is_equal_same_type(const basic & other) const;
- unsigned return_type(void) const;
- unsigned return_type_tinfo(void) const;
- ex thisexprseq(const exvector & v) const;
- ex thisexprseq(exvector * vp) const;
+ /** Return the vector of indices on this object. */
+ exvector get_indices(void) const {return seq;}