/[ascend]/trunk/pygtk/dimensions.h
ViewVC logotype

Diff of /trunk/pygtk/dimensions.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1698 by johnpye, Tue Jan 23 04:11:50 2007 UTC revision 1699 by jpye, Sat Jan 5 02:49:48 2008 UTC
# Line 46  public: Line 46  public:
46      /// Return the ASCEND internal datatype      /// Return the ASCEND internal datatype
47      const dim_type *getInternalType() const;      const dim_type *getInternalType() const;
48    
49        const std::string toString() const;
50    
51      // Comparison operators      // Comparison operators
52      const bool operator<(const Dimensions &) const;      const bool operator<(const Dimensions &) const;
53      const bool operator==(const Dimensions &) const;      const bool operator==(const Dimensions &) const;
# Line 63  public: Line 65  public:
65      /// Test for a wildcard ('don't care') Dimension object      /// Test for a wildcard ('don't care') Dimension object
66      const bool isWild() const;      const bool isWild() const;
67    
68    #ifndef SWIG
69      /// Get the numerator part of the index in the i-th dimension (eg for Area, with i={length}, return 2)      /// Get the numerator part of the index in the i-th dimension (eg for Area, with i={length}, return 2)
70      const FRACPART getFractionNumerator(const unsigned &i) const;      const FRACPART getFractionNumerator(const unsigned &i) const;
71    
72      /// Get the denominator part of the index in the i-th dimension      /// Get the denominator part of the index in the i-th dimension
73      const FRACPART getFractionDenominator(const unsigned &i) const;      const FRACPART getFractionDenominator(const unsigned &i) const;
74    #endif
75  };  };
76    
77  #endif  #endif

Legend:
Removed from v.1698  
changed lines
  Added in v.1699

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22