PMParams_t Class Reference

#include <PMParams_t.hh>

Collaboration diagram for PMParams_t:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PMParams_t ()
PMParams_toperator= (const PMParams_t &aPM)
 PMParams_t (const PMParams_t &x)
 PMParams_t (std::istream &in)
std::istream & operator>> (std::istream &in)

Public Attributes

float v1
float v2

Friends

std::istream & operator>> (std::istream &in, PMParams_t &x)
std::ostream & operator<< (std::ostream &out, const PMParams_t &x)

Detailed Description

Definition at line 17 of file PMParams_t.hh.


Constructor & Destructor Documentation

PMParams_t::PMParams_t (  )  [inline]

Definition at line 21 of file PMParams_t.hh.

00021 { };

PMParams_t::PMParams_t ( const PMParams_t x  )  [inline]

Definition at line 23 of file PMParams_t.hh.

00024    : v2(x.v2), v1(x.v1) { };

PMParams_t::PMParams_t ( std::istream &  in  ) 

Definition at line 19 of file PMParams_t.cpp.

00019                                      {
00020   operator >> (in);
00021 }


Member Function Documentation

PMParams_t & PMParams_t::operator= ( const PMParams_t aPM  ) 

Definition at line 12 of file PMParams_t.cpp.

00013 {
00014   v1 = aPM.v1;
00015   v2 = aPM.v2;
00016 } 

std::istream & PMParams_t::operator>> ( std::istream &  in  ) 

Definition at line 31 of file PMParams_t.cpp.

00031                                                   {
00032   in >> v1; in >> v2;
00033   return(in);
00034 };


Friends And Related Function Documentation

std::istream& operator>> ( std::istream &  in,
PMParams_t x 
) [friend]

Definition at line 27 of file PMParams_t.cpp.

Referenced by PMParams_t().

00027                                                        {
00028   return(x.operator >> (in));
00029 }

std::ostream& operator<< ( std::ostream &  out,
const PMParams_t x 
) [friend]

Definition at line 23 of file PMParams_t.cpp.

00023                                                               {
00024   return(out << "v1=" << fixed << x.v1 << ", v2=" << fixed << x.v2);
00025 }


Member Data Documentation

float PMParams_t::v1

Definition at line 32 of file PMParams_t.hh.

Referenced by operator<<(), operator=(), and operator>>().

float PMParams_t::v2

Definition at line 33 of file PMParams_t.hh.

Referenced by operator<<(), operator=(), and operator>>().


The documentation for this class was generated from the following files:
Generated on Mon Jan 7 13:19:00 2013 for MicromegasFramework by  doxygen 1.4.7