From 18644419b50b2b14a24456e0fcdb210f231ee317 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Sun, 18 Sep 2016 15:16:52 -0600 Subject: doc updated for code_gen --- omegalib/omega/include/basic/BoolSet.h | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'omegalib/omega/include/basic/BoolSet.h') diff --git a/omegalib/omega/include/basic/BoolSet.h b/omegalib/omega/include/basic/BoolSet.h index dc9ef83..a78af2e 100755 --- a/omegalib/omega/include/basic/BoolSet.h +++ b/omegalib/omega/include/basic/BoolSet.h @@ -25,7 +25,8 @@ #include namespace omega { - + + //! BoolSet class, used as a set of integers from 0 to n-1 where n is a very small integer. template class BoolSet { protected: @@ -50,17 +51,20 @@ public: BoolSet &operator|=(const BoolSet &); BoolSet &operator&=(const BoolSet &); BoolSet &operator-=(const BoolSet &); - - template friend BoolSet operator|(const BoolSet &, const BoolSet &); // union - template friend BoolSet operator&(const BoolSet &, const BoolSet &); // intersection - template friend BoolSet operator-(const BoolSet &, const BoolSet &); // difference - template friend BoolSet operator~(const BoolSet &); // complement + + //! union + template friend BoolSet operator|(const BoolSet &, const BoolSet &); + //! intersection + template friend BoolSet operator&(const BoolSet &, const BoolSet &); + //! difference + template friend BoolSet operator-(const BoolSet &, const BoolSet &); + //! complement + template friend BoolSet operator~(const BoolSet &); template friend bool operator==(const BoolSet &, const BoolSet &); template friend bool operator!=(const BoolSet &, const BoolSet &); template friend std::ostream& operator<<(std::ostream &, const BoolSet &); template friend bool operator<(const BoolSet &, const BoolSet &); -// iterator related public: class iterator; class const_iterator; -- cgit v1.2.3-70-g09d2