CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
jsoncollector::DoubleJ Class Reference

#include <JsonMonitorable.h>

Inheritance diagram for jsoncollector::DoubleJ:
jsoncollector::JsonMonitorable

Public Member Functions

 DoubleJ ()
 
 DoubleJ (double initVar)
 
 DoubleJ (const DoubleJ &other)
 
void operator= (double sth)
 
virtual string toString () const
 
double & value ()
 
virtual ~DoubleJ ()
 
- Public Member Functions inherited from jsoncollector::JsonMonitorable
string & getName ()
 
void setName (string name)
 
virtual ~JsonMonitorable ()
 

Private Attributes

double theVar_
 

Detailed Description

Definition at line 102 of file JsonMonitorable.h.

Constructor & Destructor Documentation

jsoncollector::DoubleJ::DoubleJ ( )
inline

Definition at line 105 of file JsonMonitorable.h.

References theVar_.

105  {
106  theVar_ = 0.0;
107  }
jsoncollector::DoubleJ::DoubleJ ( double  initVar)
inline

Definition at line 108 of file JsonMonitorable.h.

References theVar_.

108  {
109  theVar_ = initVar;
110  }
jsoncollector::DoubleJ::DoubleJ ( const DoubleJ other)
inline

Definition at line 111 of file JsonMonitorable.h.

References theVar_.

111  {
112  theVar_ = other.theVar_;
113  }
virtual jsoncollector::DoubleJ::~DoubleJ ( )
inlinevirtual

Definition at line 114 of file JsonMonitorable.h.

114  {
115  }

Member Function Documentation

void jsoncollector::DoubleJ::operator= ( double  sth)
inline

Definition at line 123 of file JsonMonitorable.h.

References theVar_.

123  {
124  theVar_ = sth;
125  }
virtual string jsoncollector::DoubleJ::toString ( ) const
inlinevirtual

Implements jsoncollector::JsonMonitorable.

Definition at line 117 of file JsonMonitorable.h.

References theVar_.

117  {
118  stringstream ss;
119  ss << theVar_;
120  return ss.str();
121  }
double& jsoncollector::DoubleJ::value ( )
inline

Member Data Documentation

double jsoncollector::DoubleJ::theVar_
private

Definition at line 132 of file JsonMonitorable.h.

Referenced by DoubleJ(), operator=(), toString(), and value().