#include <ClearSilverNodeComparatorName.h>
Inheritance diagram for ClearSilver::ClearSilverNodeComparatorName:

Public Types | |
|
typedef boost::shared_ptr< ClearSilverNodeComparator > | Ptr |
| Pointer type. | |
Public Member Functions | |
| virtual int | operator() (const ConstHDF &, const ConstHDF &) const |
| Compare two ClearSilverNode objects by name. | |
Constructors and assignment operators | |
| ClearSilverNodeComparatorName () | |
| Default constructor. | |
| ClearSilverNodeComparatorName (const ClearSilverNodeComparatorName &) | |
| Copy constructor. | |
| virtual | ~ClearSilverNodeComparatorName () throw () |
| Destructor. | |
| ClearSilverNodeComparatorName & | operator= (const ClearSilverNodeComparatorName &) |
| Assignment operator. | |
| void | swap (ClearSilverNodeComparatorName &) throw () |
| Swap contents with another object. | |
Definition at line 60 of file ClearSilverNodeComparatorName.h.
|
||||||||||||
|
Compare two ClearSilverNode objects by name. This method is analogous to the sort function required by qsort(3). It returns -1, 0, or +1 depending on whether the name of the first object is less than (<), equal (=), or greater than (>) the name of the second. Implements ClearSilver::ClearSilverNodeComparator. Definition at line 71 of file ClearSilverNodeComparatorName.cc. References ClearSilver::ClearSilverNode::name(), and ClearSilver::ConstHDF::node(). |
1.4.5