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

Header.h File Reference

#include <cassert>
#include <iosfwd>
#include <string>
#include "Rtypes.h"

Go to the source code of this file.

Namespaces

namespace  Anp

Classes

class  Anp::Header

Functions

bool operator== (const Header &lhs, const Header &rhs)
bool operator!= (const Header &lhs, const Header &rhs)
std::ostream & operator<< (std::ostream &o, const Header &self)


Function Documentation

bool Anp::operator!= const Header lhs,
const Header rhs
 

Definition at line 427 of file Header.cxx.

00428 {
00429    return !(lhs == rhs);
00430 }

std::ostream & Anp::operator<< std::ostream &  o,
const Header self
 

Definition at line 433 of file Header.cxx.

00434 {
00435    self.Print(o);
00436    return o;
00437 }

bool Anp::operator== const Header lhs,
const Header rhs
 

Definition at line 408 of file Header.cxx.

References Anp::Header::Run(), Anp::Header::Snarl(), and Anp::Header::SubRun().

00409 {
00410    if(lhs.Run() != rhs.Run())
00411    {
00412       return false;
00413    }
00414    else if(lhs.SubRun() != rhs.SubRun())
00415    {
00416       return false;
00417    }
00418    else if(lhs.Snarl() != rhs.Snarl())
00419    {
00420       return false;
00421    }
00422 
00423    return true;
00424 }


Generated on Mon Feb 15 11:07:59 2010 for loon by  doxygen 1.3.9.1