CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
DECAYMODE Class Reference

#include <AsciiData.hh>

+ Inheritance diagram for DECAYMODE:

Public Member Functions

 DECAYMODE ()
 
 DECAYMODE ()
 
- Public Member Functions inherited from Tagged
 Tagged ()
 
bool initialized () const
 
void set_initialized ()
 
void unset_initalized ()
 
 Tagged ()
 
bool initialized () const
 
void set_initialized ()
 
void unset_initalized ()
 

Public Attributes

int size
 
int data [10]
 

Friends

std::istream & operator>> (std::istream &is, DECAYMODE &x)
 
std::ostream & operator<< (std::ostream &os, const DECAYMODE &x)
 
std::istream & operator>> (std::istream &is, DECAYMODE &x)
 
std::ostream & operator<< (std::ostream &os, const DECAYMODE &x)
 

Additional Inherited Members

- Protected Member Functions inherited from Tagged
void check_start_tag (std::istream &is, const char *tag)
 
void check_end_tag (std::istream &is, const char *tag)
 
void check_start_tag (std::istream &is, const char *tag)
 
void check_end_tag (std::istream &is, const char *tag)
 

Detailed Description

Definition at line 32 of file AsciiData.hh.

Constructor & Destructor Documentation

◆ DECAYMODE() [1/2]

DECAYMODE::DECAYMODE ( )
inline

Definition at line 34 of file AsciiData.hh.

34{};

◆ DECAYMODE() [2/2]

DECAYMODE::DECAYMODE ( )
inline

Definition at line 34 of file AsciiData.h.

34{};

Friends And Related Symbol Documentation

◆ operator<< [1/2]

std::ostream & operator<< ( std::ostream & os,
const DECAYMODE & x )
friend

Definition at line 60 of file AsciiData.cc.

61{
62 os << std::endl << "{ DECAYMODE" << std::endl;
63 if(x.initialized()) {
64 os << " " << x.size;
65 for (int index=0; index<x.size; index++) {
66 os << " " << x.data[index];
67 }
68 }
69 os << std::endl << "} DECAYMODE" << std::endl;
70 return os;
71}
Double_t x[10]

◆ operator<< [2/2]

std::ostream & operator<< ( std::ostream & os,
const DECAYMODE & x )
friend

Definition at line 60 of file AsciiData.cc.

61{
62 os << std::endl << "{ DECAYMODE" << std::endl;
63 if(x.initialized()) {
64 os << " " << x.size;
65 for (int index=0; index<x.size; index++) {
66 os << " " << x.data[index];
67 }
68 }
69 os << std::endl << "} DECAYMODE" << std::endl;
70 return os;
71}

◆ operator>> [1/2]

std::istream & operator>> ( std::istream & is,
DECAYMODE & x )
friend

Definition at line 48 of file AsciiData.cc.

49{
50 x.check_start_tag(is,"DECAYMODE");
51 if(!x.initialized()) return is;
52 is >> x.size;
53 for (int index=0; index<x.size; index++) {
54 is >> x.data[index];
55 }
56 x.check_end_tag(is, "DECAYMODE");
57 return is;
58}

◆ operator>> [2/2]

std::istream & operator>> ( std::istream & is,
DECAYMODE & x )
friend

Definition at line 48 of file AsciiData.cc.

49{
50 x.check_start_tag(is,"DECAYMODE");
51 if(!x.initialized()) return is;
52 is >> x.size;
53 for (int index=0; index<x.size; index++) {
54 is >> x.data[index];
55 }
56 x.check_end_tag(is, "DECAYMODE");
57 return is;
58}

Member Data Documentation

◆ data

int DECAYMODE::data

Definition at line 37 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveDecayMode(), and BesAsciiIO::SaveDecayMode().

◆ size

int DECAYMODE::size

Definition at line 36 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveDecayMode(), and BesAsciiIO::SaveDecayMode().


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