NavValidate.cxx File Reference

#include <string.h>
#include "MessageService/MsgService.h"
#include "LeakChecker/Lea.h"
#include "LeakChecker/LeaLeakChecker.h"
#include "Lattice/Lattice.h"
#include "Navigation/NavGenLattice.h"
#include "Navigation/NavGenTCollection.h"
#include "Navigation/NavItr.h"
#include "Navigation/NavItrT.h"
#include "Navigation/NavKey.h"
#include "Navigation/NavMask.h"
#include "Navigation/NavPrimer.h"
#include "Navigation/NavSet.h"
#include "Navigation/test/NavTestPlanet.h"
#include "Navigation/test/NavTestMoon.h"
#include "Navigation/test/NavValidate.h"
#include "TObjArray.h"
#include "TCollection.h"
#include "TList.h"

Go to the source code of this file.

Classes

class  MoonKeyFunctor

Typedefs

typedef Lattice::ID ID
typedef Lattice::VectorID VectorID
typedef NavMask::Mask_t Mask_t

Functions

static NavKey KeyPlanet_Name (TObject *obj)
static NavKey KeyPlanet_NameSafe (const NavTestPlanet *obj)
static NavKey KeyMoon_NameSafe (const NavTestMoon *obj)
static NavKey KeyMoon_ParentSafe (const NavTestMoon *obj)
static NavKey KeyPlanet_OrderSafe (const NavTestPlanet *obj)
static NavKey KeyPlanet_MassSafe (const NavTestPlanet *obj)
static NavKey KeyPlanet_Order (TObject *obj)
static NavKey KeyMoon_Parent (TObject *obj)
static NavKey KeyMoon_Order (TObject *obj)
static NavKey SelPlanet (const NavTestPlanet *obj)
 CVSID ("$Id: NavValidate.cxx,v 1.17 2007/02/01 22:11:53 rhatcher Exp $")

Typedef Documentation

typedef Lattice::ID ID

Definition at line 50 of file NavValidate.cxx.

Definition at line 52 of file NavValidate.cxx.

Definition at line 51 of file NavValidate.cxx.


Function Documentation

CVSID ( "$Id: NavValidate.  cxx,
v 1.17 2007/02/01 22:11:53 rhatcher Exp $"   
)
static NavKey KeyMoon_NameSafe ( const NavTestMoon obj  )  [static]

Definition at line 65 of file NavValidate.cxx.

Referenced by NavValidate::Test_5(), and NavValidate::Test_9().

00065                                                        { 
00066   return obj->GetName(); 
00067 }

static NavKey KeyMoon_Order ( TObject *  obj  )  [static]

Definition at line 89 of file NavValidate.cxx.

Referenced by NavValidate::PrepareTestObjects().

00089                                           { 
00090   return ((NavTestMoon*)obj)->GetOrder(); 
00091 }

static NavKey KeyMoon_Parent ( TObject *  obj  )  [static]

Definition at line 85 of file NavValidate.cxx.

Referenced by NavValidate::PrepareTestObjects().

00085                                            { 
00086   return ((NavTestMoon*)obj)->GetParent(); 
00087 }

static NavKey KeyMoon_ParentSafe ( const NavTestMoon obj  )  [static]

Definition at line 69 of file NavValidate.cxx.

References NavTestMoon::GetParent().

Referenced by NavValidate::Test_5(), and NavValidate::Test_9().

00069                                                          { 
00070   return obj->GetParent(); 
00071 }

static NavKey KeyPlanet_MassSafe ( const NavTestPlanet obj  )  [static]

Definition at line 77 of file NavValidate.cxx.

References NavTestPlanet::GetMass().

Referenced by NavValidate::Test_5(), and NavValidate::Test_6().

00077                                                            { 
00078   return obj->GetMass(); 
00079 }

static NavKey KeyPlanet_Name ( TObject *  obj  )  [static]

Definition at line 57 of file NavValidate.cxx.

Referenced by NavValidate::PrepareTestObjects().

00057                                            { 
00058   return ((NavTestPlanet*)obj)->GetName(); 
00059 }

static NavKey KeyPlanet_NameSafe ( const NavTestPlanet obj  )  [static]

Definition at line 61 of file NavValidate.cxx.

Referenced by NavValidate::Test_5(), and NavValidate::Test_6().

00061                                                            { 
00062   return obj->GetName(); 
00063 }

static NavKey KeyPlanet_Order ( TObject *  obj  )  [static]

Definition at line 81 of file NavValidate.cxx.

Referenced by NavValidate::PrepareTestObjects().

00081                                             { 
00082   return ((NavTestPlanet*)obj)->GetOrder(); 
00083 }

static NavKey KeyPlanet_OrderSafe ( const NavTestPlanet obj  )  [static]

Definition at line 73 of file NavValidate.cxx.

References NavTestPlanet::GetOrder().

Referenced by NavValidate::Test_5().

00073                                                             { 
00074   return obj->GetOrder(); 
00075 }

static NavKey SelPlanet ( const NavTestPlanet obj  )  [static]

Definition at line 93 of file NavValidate.cxx.

References NavTestPlanet::GetOrder().

Referenced by NavValidate::Test_6().

00093                                                   { 
00094   return (   obj->GetOrder() < 4
00095           || ( obj->GetOrder() > 6 && obj->GetOrder() < 9 ) ); 
00096 }


Generated on 15 Nov 2018 for loon by  doxygen 1.6.1