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

#include <AsciiData.hh>

+ Inheritance diagram for FRMTVERSION:

Public Member Functions

 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 ()
 

Public Attributes

int major
 
int minor
 

Friends

std::istream & operator>> (std::istream &, FRMTVERSION &x)
 
std::ostream & operator<< (std::ostream &, 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)
 

Detailed Description

Definition at line 12 of file AsciiData.hh.

Constructor & Destructor Documentation

◆ FRMTVERSION()

FRMTVERSION::FRMTVERSION ( )
inline

Definition at line 14 of file AsciiData.hh.

14{} ;

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 16 of file AsciiData.cc.

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

◆ operator>>

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

Definition at line 6 of file AsciiData.cc.

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

Member Data Documentation

◆ major

int FRMTVERSION::major

Definition at line 16 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveAsciiEvents(), and BesAsciiIO::SaveHitAsciiEvents().

◆ minor

int FRMTVERSION::minor

Definition at line 17 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveAsciiEvents(), and BesAsciiIO::SaveHitAsciiEvents().


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