ArcGIS Procedural Runtime
3.2.10650
|
#include <Content.h>
Public Member Functions | |
virtual bool | compare (const ComparableContent &rhs) const =0 |
virtual bool | operator!= (const ComparableContent &rhs) const =0 |
virtual bool | operator< (const ComparableContent &rhs) const =0 |
virtual bool | operator== (const ComparableContent &rhs) const =0 |
Public Member Functions inherited from prtx::Content | |
Content (const Content &)=delete | |
Content & | operator= (const Content &)=delete |
Interface for comparable content classes.
A word of caution: To compare content objects, do not directly compare pointer values (or shared pointers)! Content objects are typically implemented as thin wrappers to internal storage classes and do not guarantee pointer equality. Operate on the objects instead:
To use shared pointers to content objects with STL containers like std::set or std::map, we recommend to use a de-referencing comparator like this: