CMS 3D CMS Logo

Flag.h File Reference

#include <iosfwd>
#include <string>
#include "CalibTracker/SiStripRunSummary/interface/Clonable.h"
#include "CalibTracker/SiStripRunSummary/interface/Identifiable.h"

Go to the source code of this file.

Classes

class  Flag
 Flag Base container that holds such values as: 1. More...

Functions

std::ostream & operator<< (std::ostream &roOut, const Flag &roFLAG)
 Make flag displayable.


Function Documentation

std::ostream& operator<< ( std::ostream &  roOut,
const Flag roFLAG 
)

Make flag displayable.

Helper function will define output format that will be used by all Child Flags.

Parameters:
roOut Output stream where flag should be written
roFLAG Flag to be written
Returns:
Reference to output stream.

Definition at line 25 of file Flag.cc.

References Flag::getComment(), and Flag::getState().

00025                                                                 {
00026   roOut << static_cast<int>( roFLAG.getState()) << " : "
00027         << roFLAG.getComment();
00028 
00029   return roOut;
00030 }


Generated on Tue Jun 9 17:51:16 2009 for CMSSW by  doxygen 1.5.4