An advanced portable C++ library of over 80 boolean-like macros that hold an analysis if the condition fails, to help debugging, so a developer knows exactly what goes wrong. Allows reuse in adapted ASSERT macros. Needs STL or wxWidgets.


http://rich-booleans.sourceforge.net





Separate each tag with a space.

Release Date:

2009-06-25

Topics:

License:

Ratings and Reviews

Be the first to post a text review of Rich Booleans. Rate and review a project by clicking thumbs up or thumbs down in the right column.

Project Feed

  • Rich Booleans richbool-2.1 file released: richbool-2.1.zip

    * There are now Rich Boolean objects IsSubsetOf, IsMultiSubsetOf and IsOrderedSubsetOf that can be used in Rich Boolean macros and functors that work on two ranges, and check whether the first range is a subset of the second range. They have optimized versions IsSubsetOfSorted, IsMultiSubsetOfSorted and IsOrderedSubsetOfSorted that can be used if the second range is sorted. The Rich Boolean factories MatchesSubsetOf, MatchesMultiSubsetOf, MatchesOrderedSubsetOf, IsSubsetOfCustomSorted, IsMultiSubsetOfCustomSorted and IsOrderedSubsetOfCustomSorted are generalizations of these. * The Rich Boolean AllUnique checks whether all elements in a range are unique. The Rich Boolean factory AllPairs is a generalization of this. * The macros rbIN_ARRAY_RANGE, rbIN_ARRAY_CONTAINER, rbIN_RANGE_CONTAINER, rbIN_CONTAINER_RANGE, rbIN_ARRAY_XCONTAINER, rbIN_RANGE_XCONTAINER and rbIN_XCONTAINER_RANGE are added * The macros rbLESS_REL_NEAR, rbMORE_REL_NEAR and rbDIFF_REL_NEAR are added * The Rich Booleans rbDOESNT_EXIST, rbFILE_EXISTS and rbDIRECTORY_EXISTS check whether a file or directory exists or not. The Rich Booleans rbFILE and rbDIRECTORY check whether a file or directory exists and has certain properties. * Rich Boolean objects can be negated with the unary operator ! * Macros for making Rich Boolean functor classes from Rich Boolean functor core classes of which the constructor takes an argument, have been added. * A dash is added before the state of an analysis when it is streamed out, e.g. '- ok' instead of 'ok'

    posted 136 days ago

  • Rich Booleans richbool-2.1 file released: richbool-2.1.tar.gz

    * There are now Rich Boolean objects IsSubsetOf, IsMultiSubsetOf and IsOrderedSubsetOf that can be used in Rich Boolean macros and functors that work on two ranges, and check whether the first range is a subset of the second range. They have optimized versions IsSubsetOfSorted, IsMultiSubsetOfSorted and IsOrderedSubsetOfSorted that can be used if the second range is sorted. The Rich Boolean factories MatchesSubsetOf, MatchesMultiSubsetOf, MatchesOrderedSubsetOf, IsSubsetOfCustomSorted, IsMultiSubsetOfCustomSorted and IsOrderedSubsetOfCustomSorted are generalizations of these. * The Rich Boolean AllUnique checks whether all elements in a range are unique. The Rich Boolean factory AllPairs is a generalization of this. * The macros rbIN_ARRAY_RANGE, rbIN_ARRAY_CONTAINER, rbIN_RANGE_CONTAINER, rbIN_CONTAINER_RANGE, rbIN_ARRAY_XCONTAINER, rbIN_RANGE_XCONTAINER and rbIN_XCONTAINER_RANGE are added * The macros rbLESS_REL_NEAR, rbMORE_REL_NEAR and rbDIFF_REL_NEAR are added * The Rich Booleans rbDOESNT_EXIST, rbFILE_EXISTS and rbDIRECTORY_EXISTS check whether a file or directory exists or not. The Rich Booleans rbFILE and rbDIRECTORY check whether a file or directory exists and has certain properties. * Rich Boolean objects can be negated with the unary operator ! * Macros for making Rich Boolean functor classes from Rich Boolean functor core classes of which the constructor takes an argument, have been added. * A dash is added before the state of an analysis when it is streamed out, e.g. '- ok' instead of 'ok'

    posted 136 days ago

  • Rich Booleans richbool-2.1 file released: richbool-2.1.tar.bz2

    * There are now Rich Boolean objects IsSubsetOf, IsMultiSubsetOf and IsOrderedSubsetOf that can be used in Rich Boolean macros and functors that work on two ranges, and check whether the first range is a subset of the second range. They have optimized versions IsSubsetOfSorted, IsMultiSubsetOfSorted and IsOrderedSubsetOfSorted that can be used if the second range is sorted. The Rich Boolean factories MatchesSubsetOf, MatchesMultiSubsetOf, MatchesOrderedSubsetOf, IsSubsetOfCustomSorted, IsMultiSubsetOfCustomSorted and IsOrderedSubsetOfCustomSorted are generalizations of these. * The Rich Boolean AllUnique checks whether all elements in a range are unique. The Rich Boolean factory AllPairs is a generalization of this. * The macros rbIN_ARRAY_RANGE, rbIN_ARRAY_CONTAINER, rbIN_RANGE_CONTAINER, rbIN_CONTAINER_RANGE, rbIN_ARRAY_XCONTAINER, rbIN_RANGE_XCONTAINER and rbIN_XCONTAINER_RANGE are added * The macros rbLESS_REL_NEAR, rbMORE_REL_NEAR and rbDIFF_REL_NEAR are added * The Rich Booleans rbDOESNT_EXIST, rbFILE_EXISTS and rbDIRECTORY_EXISTS check whether a file or directory exists or not. The Rich Booleans rbFILE and rbDIRECTORY check whether a file or directory exists and has certain properties. * Rich Boolean objects can be negated with the unary operator ! * Macros for making Rich Boolean functor classes from Rich Boolean functor core classes of which the constructor takes an argument, have been added. * A dash is added before the state of an analysis when it is streamed out, e.g. '- ok' instead of 'ok'

    posted 136 days ago

  • Rich Booleans richbool-2.1 file released: richbool-2.1.7z

    * There are now Rich Boolean objects IsSubsetOf, IsMultiSubsetOf and IsOrderedSubsetOf that can be used in Rich Boolean macros and functors that work on two ranges, and check whether the first range is a subset of the second range. They have optimized versions IsSubsetOfSorted, IsMultiSubsetOfSorted and IsOrderedSubsetOfSorted that can be used if the second range is sorted. The Rich Boolean factories MatchesSubsetOf, MatchesMultiSubsetOf, MatchesOrderedSubsetOf, IsSubsetOfCustomSorted, IsMultiSubsetOfCustomSorted and IsOrderedSubsetOfCustomSorted are generalizations of these. * The Rich Boolean AllUnique checks whether all elements in a range are unique. The Rich Boolean factory AllPairs is a generalization of this. * The macros rbIN_ARRAY_RANGE, rbIN_ARRAY_CONTAINER, rbIN_RANGE_CONTAINER, rbIN_CONTAINER_RANGE, rbIN_ARRAY_XCONTAINER, rbIN_RANGE_XCONTAINER and rbIN_XCONTAINER_RANGE are added * The macros rbLESS_REL_NEAR, rbMORE_REL_NEAR and rbDIFF_REL_NEAR are added * The Rich Booleans rbDOESNT_EXIST, rbFILE_EXISTS and rbDIRECTORY_EXISTS check whether a file or directory exists or not. The Rich Booleans rbFILE and rbDIRECTORY check whether a file or directory exists and has certain properties. * Rich Boolean objects can be negated with the unary operator ! * Macros for making Rich Boolean functor classes from Rich Boolean functor core classes of which the constructor takes an argument, have been added. * A dash is added before the state of an analysis when it is streamed out, e.g. '- ok' instead of 'ok'

    posted 136 days ago

  • File released: /Rich Booleans/richbool-2.1/richbool-2.1.zip

    posted 136 days ago

  • File released: /Rich Booleans/richbool-2.1/richbool-2.1.tar.gz

    posted 136 days ago

  • File released: /Rich Booleans/richbool-2.1/richbool-2.1.tar.bz2

    posted 136 days ago

  • File released: /Rich Booleans/richbool-2.1/richbool-2.1.7z

    posted 136 days ago

  • Project Information Updated

    mark_vp changed the public information on the Rich Booleans project

    posted by mark_vp 136 days ago

  • Rich Booleans richbool-2.0.1 file released: richbool-2.0.1.zip

    The documentation is updated to inform about a common compile error if you use Unicode with WxWidgets (which is not yet supported), and a comment is added where the compile error occurs.

    posted 977 days ago

Rate and Review

Be the first person to add a text review.

Would you recommend this project?






<

Related Projects

Rich Booleans Actions

Thanks for your rating!

Would you also like to write a review?





Skip Review