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

#include <AsciiData.hh>

Inheritance diagram for FRMTVERSION:

Public Member Functions

 FRMTVERSION ()
 FRMTVERSION ()
 FRMTVERSION ()
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 major
int minor

Friends

std::istream & operator>> (std::istream &is, FRMTVERSION &x)
std::ostream & operator<< (std::ostream &os, const FRMTVERSION &x)
std::istream & operator>> (std::istream &is, FRMTVERSION &x)
std::ostream & operator<< (std::ostream &os, const FRMTVERSION &x)
std::istream & operator>> (std::istream &is, FRMTVERSION &x)
std::ostream & operator<< (std::ostream &os, const FRMTVERSION &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 12 of file Event/AsciiDmp/include/AsciiDmp/AsciiData.hh.

Constructor & Destructor Documentation

◆ FRMTVERSION() [1/3]

FRMTVERSION::FRMTVERSION ( )
inline

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

14{};

Referenced by operator<<, and operator>>.

◆ FRMTVERSION() [2/3]

FRMTVERSION::FRMTVERSION ( )
inline

◆ FRMTVERSION() [3/3]

FRMTVERSION::FRMTVERSION ( )
inline

◆ operator<< [1/3]

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

Definition at line 15 of file AsciiData.cc.

15 {
16 os << std::endl << "{ VERSION" << std::endl;
17 if ( x.initialized() )
18 {
19 os << " " << x.major;
20 os << " " << x.minor;
21 }
22 os << std::endl << "} VERSION" << std::endl;
23 return os;
24}
Double_t x[10]

◆ operator<< [2/3]

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

Definition at line 15 of file AsciiData.cc.

15 {
16 os << std::endl << "{ VERSION" << std::endl;
17 if ( x.initialized() )
18 {
19 os << " " << x.major;
20 os << " " << x.minor;
21 }
22 os << std::endl << "} VERSION" << std::endl;
23 return os;
24}

◆ operator<< [3/3]

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

Definition at line 15 of file AsciiData.cc.

15 {
16 os << std::endl << "{ VERSION" << std::endl;
17 if ( x.initialized() )
18 {
19 os << " " << x.major;
20 os << " " << x.minor;
21 }
22 os << std::endl << "} VERSION" << std::endl;
23 return os;
24}

◆ operator>> [1/3]

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

Definition at line 6 of file AsciiData.cc.

6 {
7 x.check_start_tag( is, "VERSION" );
8 if ( !x.initialized() ) return is;
9 is >> x.major;
10 is >> x.minor;
11 x.check_end_tag( is, "VERSION" );
12 return is;
13}

◆ operator>> [2/3]

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

Definition at line 6 of file AsciiData.cc.

6 {
7 x.check_start_tag( is, "VERSION" );
8 if ( !x.initialized() ) return is;
9 is >> x.major;
10 is >> x.minor;
11 x.check_end_tag( is, "VERSION" );
12 return is;
13}

◆ operator>> [3/3]

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

Definition at line 6 of file AsciiData.cc.

6 {
7 x.check_start_tag( is, "VERSION" );
8 if ( !x.initialized() ) return is;
9 is >> x.major;
10 is >> x.minor;
11 x.check_end_tag( is, "VERSION" );
12 return is;
13}

Member Data Documentation

◆ major

int FRMTVERSION::major

◆ minor

int FRMTVERSION::minor

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