BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
DECAYMODE Class Reference

#include <AsciiData.hh>

Inheritance diagram for DECAYMODE:

Public Member Functions

 DECAYMODE ()
 DECAYMODE ()
 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 ()
 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)
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)
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 34 of file Event/AsciiDmp/include/AsciiDmp/AsciiData.hh.

Constructor & Destructor Documentation

◆ DECAYMODE() [1/4]

DECAYMODE::DECAYMODE ( )
inline

Definition at line 36 of file Event/AsciiDmp/include/AsciiDmp/AsciiData.hh.

36{};

Referenced by operator<<, and operator>>.

◆ DECAYMODE() [2/4]

DECAYMODE::DECAYMODE ( )
inline

◆ DECAYMODE() [3/4]

DECAYMODE::DECAYMODE ( )
inline

◆ DECAYMODE() [4/4]

DECAYMODE::DECAYMODE ( )
inline

Definition at line 36 of file AsciiData.h.

36{};

◆ operator<< [1/4]

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

Definition at line 55 of file AsciiData.cc.

55 {
56 os << std::endl << "{ DECAYMODE" << std::endl;
57 if ( x.initialized() )
58 {
59 os << " " << x.size;
60 for ( int index = 0; index < x.size; index++ ) { os << " " << x.data[index]; }
61 }
62 os << std::endl << "} DECAYMODE" << std::endl;
63 return os;
64}
Double_t x[10]

◆ operator<< [2/4]

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

Definition at line 55 of file AsciiData.cc.

55 {
56 os << std::endl << "{ DECAYMODE" << std::endl;
57 if ( x.initialized() )
58 {
59 os << " " << x.size;
60 for ( int index = 0; index < x.size; index++ ) { os << " " << x.data[index]; }
61 }
62 os << std::endl << "} DECAYMODE" << std::endl;
63 return os;
64}

◆ operator<< [3/4]

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

Definition at line 55 of file AsciiData.cc.

55 {
56 os << std::endl << "{ DECAYMODE" << std::endl;
57 if ( x.initialized() )
58 {
59 os << " " << x.size;
60 for ( int index = 0; index < x.size; index++ ) { os << " " << x.data[index]; }
61 }
62 os << std::endl << "} DECAYMODE" << std::endl;
63 return os;
64}

◆ operator<< [4/4]

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

Definition at line 55 of file AsciiData.cc.

55 {
56 os << std::endl << "{ DECAYMODE" << std::endl;
57 if ( x.initialized() )
58 {
59 os << " " << x.size;
60 for ( int index = 0; index < x.size; index++ ) { os << " " << x.data[index]; }
61 }
62 os << std::endl << "} DECAYMODE" << std::endl;
63 return os;
64}

◆ operator>> [1/4]

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

Definition at line 46 of file AsciiData.cc.

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

◆ operator>> [2/4]

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

Definition at line 46 of file AsciiData.cc.

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

◆ operator>> [3/4]

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

Definition at line 46 of file AsciiData.cc.

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

◆ operator>> [4/4]

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

Definition at line 46 of file AsciiData.cc.

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

Member Data Documentation

◆ data

int DECAYMODE::data

◆ size

int DECAYMODE::size

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