MoonKeyFunctor Class Reference

List of all members.

Public Member Functions

 MoonKeyFunctor (string lo="", string hi="")
 MoonKeyFunctor (const MoonKeyFunctor &that)
 ~MoonKeyFunctor ()
virtual NavTestMoonKeyFunctor * Clone () const
virtual NavKey operator() (const NavTestMoon *obj) const

Private Attributes

string fLoName
string fHiName

Detailed Description

Definition at line 99 of file NavValidate.cxx.


Constructor & Destructor Documentation

MoonKeyFunctor::MoonKeyFunctor ( string  lo = "",
string  hi = "" 
)

Definition at line 113 of file NavValidate.cxx.

References LEA_CTOR_NM.

Referenced by Clone().

00113                                                   :
00114 fLoName(lo),
00115 fHiName(hi)
00116 { LEA_CTOR_NM("MoonKeyFunctor",this) }
NavKey MoonKeyFunctor::operator()(const NavTestMoon* obj) const {

MoonKeyFunctor::MoonKeyFunctor ( const MoonKeyFunctor that  )  [inline]

Definition at line 102 of file NavValidate.cxx.

References LEA_CTOR_NM.

00103      : NavTestMoonKeyFunctor(that) 
00104        { LEA_CTOR_NM("MoonKeyFunctor",this); *this = that; };

MoonKeyFunctor::~MoonKeyFunctor (  )  [inline]

Definition at line 105 of file NavValidate.cxx.

References LEA_DTOR_NM.

00105 { LEA_DTOR_NM("MoonKeyFunctor",this) }


Member Function Documentation

virtual NavTestMoonKeyFunctor* MoonKeyFunctor::Clone (  )  const [inline, virtual]

Definition at line 106 of file NavValidate.cxx.

References MoonKeyFunctor().

00106                                                { return 
00107                                             new MoonKeyFunctor(*this); }

NavKey MoonKeyFunctor::operator() ( const NavTestMoon obj  )  const [virtual]

Definition at line 117 of file NavValidate.cxx.

References fHiName, and fLoName.

00117                                                               {
00118   string name = obj->GetName();
00119   if ( fLoName != "" && name < fLoName ) return 0;
00120   if ( fHiName != "" && name > fHiName ) return 0;
00121   return 1;
00122 }


Member Data Documentation

string MoonKeyFunctor::fHiName [private]

Definition at line 111 of file NavValidate.cxx.

Referenced by operator()().

string MoonKeyFunctor::fLoName [private]

Definition at line 110 of file NavValidate.cxx.

Referenced by operator()().


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

Generated on 13 Dec 2018 for loon by  doxygen 1.6.1