Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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

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 Mon Feb 15 11:09:37 2010 for loon by  doxygen 1.3.9.1