Dynamixel  2.9.5
RoadNarrows Robotics Dynamixel Package
ShCmdNodeKeyCmp Class Reference

Shell command node map key compare helper class. More...

#include <dynashell.h>

Public Member Functions

bool operator() (const char *const &lhs, const char *const &rhs) const
 Compare operator required by <map>. More...
 

Detailed Description

Shell command node map key compare helper class.

Definition at line 87 of file dynashell.h.

Member Function Documentation

bool ShCmdNodeKeyCmp::operator() ( const char *const &  lhs,
const char *const &  rhs 
) const
inline

Compare operator required by <map>.

Parameters
lhsLeft hand side key.
rhsRight had side key.
Returns
Returns true if lhs < rhs, lexicographically.

Definition at line 98 of file dynashell.h.

99  {
100  return strcmp(lhs, rhs) < 0;
101  }

The documentation for this class was generated from the following file: