|
ome-xml
5.2.3
|
Comparison functor. More...
#include <ome/xml/model/detail/OMEModelObject.h>
Public Member Functions | |
| compare_element (const ome::compat::shared_ptr< const T > &cmp) | |
| Constructor. More... | |
| bool | operator() (const ome::compat::shared_ptr< T > &element) |
| Compare element with another element. More... | |
| bool | operator() (const ome::compat::shared_ptr< const T > &element) |
| Compare element with another element. More... | |
| bool | operator() (const ome::compat::weak_ptr< T > &element) |
| Compare element with another element. More... | |
| bool | operator() (const ome::compat::weak_ptr< const T > &element) |
| Compare element with another element. More... | |
Private Attributes | |
| const ome::compat::shared_ptr< const T > & | cmp |
| The element to compare other elements with. | |
Comparison functor.
Compares the referenced object with the object reference passed by the function operator. All objects must be shared_ptr or weak_ptr of the same type (or castable to the same type).
|
inline |
Constructor.
| cmp | the element to compare other elements with. |
|
inline |
Compare element with another element.
| element | the element to compare the original element with. |
true if the elements are the same, otherwise false.
|
inline |
Compare element with another element.
| element | the element to compare the original element with. |
true if the elements are the same, otherwise false.
|
inline |
Compare element with another element.
| element | the element to compare the original element with. |
true if the elements are the same, otherwise false.
|
inline |
Compare element with another element.
| element | the element to compare the original element with. |
true if the elements are the same, otherwise false.
1.8.12