Jpp  17.1.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
KM3NETDAQ::JClientList::JComparator Class Reference

Auxiliary class for comparing clients. More...

#include <JClientList.hh>

Public Member Functions

bool operator() (const JClient &first, const JClient &second) const
 Less than operator. More...
 
bool operator() (const JClient &client, const std::string &full_name) const
 Less than operator. More...
 

Detailed Description

Auxiliary class for comparing clients.

Definition at line 29 of file JClientList.hh.

Member Function Documentation

bool KM3NETDAQ::JClientList::JComparator::operator() ( const JClient first,
const JClient second 
) const
inline

Less than operator.

The full names of the clients are used for the comparison.

Parameters
firstfirst client
secondsecond client
Returns
true is first less than second; else false

Definition at line 39 of file JClientList.hh.

40  {
41  return first.getFullName() < second.getFullName();
42  }
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
bool KM3NETDAQ::JClientList::JComparator::operator() ( const JClient client,
const std::string &  full_name 
) const
inline

Less than operator.

The full names of the client is used for the comparison.

Parameters
clientclient
full_namefull name
Returns
true is client's full name less than full name; else false

Definition at line 53 of file JClientList.hh.

54  {
55  return client.getFullName() < full_name;
56  }
then echo Test string reversed by client(hit< return > to continue)." $DIR/JProcess -c "$DIR/JEcho-r" -C fi if (( 1 ))

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