BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
VERSIONNUM Class Reference

#include <AsciiData.h>

+ Inheritance diagram for VERSIONNUM:

Public Member Functions

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

Constructor & Destructor Documentation

◆ VERSIONNUM() [1/2]

VERSIONNUM::VERSIONNUM ( )
inline

Definition at line 14 of file InstallArea/include/Trigger/Trigger/AsciiData.h.

14{} ;

◆ VERSIONNUM() [2/2]

VERSIONNUM::VERSIONNUM ( )
inline

Definition at line 14 of file Trigger/Trigger/Trigger-00-01-05/Trigger/AsciiData.h.

14{} ;

Friends And Related Function Documentation

◆ operator<< [1/2]

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

Definition at line 16 of file AsciiData.cxx.

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<< [2/2]

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

Definition at line 16 of file AsciiData.cxx.

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}

◆ operator>> [1/2]

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

Definition at line 6 of file AsciiData.cxx.

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}

◆ operator>> [2/2]

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

Definition at line 6 of file AsciiData.cxx.

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 VERSIONNUM::major

◆ minor

int VERSIONNUM::minor

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