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::IntJ Class Reference

#include <JsonMonitorable.h>

Inheritance diagram for jsoncollector::IntJ:
jsoncollector::JsonMonitorable

Public Member Functions

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

Private Attributes

int theVar_
 

Detailed Description

Definition at line 38 of file JsonMonitorable.h.

Constructor & Destructor Documentation

jsoncollector::IntJ::IntJ ( )
inline

Definition at line 41 of file JsonMonitorable.h.

References theVar_.

41  {
42  theVar_ = 0;
43  }
jsoncollector::IntJ::IntJ ( int  initVal)
inline

Definition at line 44 of file JsonMonitorable.h.

References theVar_.

44  {
45  theVar_ = initVal;
46  }
jsoncollector::IntJ::IntJ ( const IntJ other)
inline

Definition at line 47 of file JsonMonitorable.h.

References theVar_.

47  {
48  theVar_ = other.theVar_;
49  }
virtual jsoncollector::IntJ::~IntJ ( )
inlinevirtual

Definition at line 50 of file JsonMonitorable.h.

50  {
51  }

Member Function Documentation

void jsoncollector::IntJ::operator= ( int  sth)
inline

Definition at line 59 of file JsonMonitorable.h.

References theVar_.

59  {
60  theVar_ = sth;
61  }
virtual string jsoncollector::IntJ::toString ( ) const
inlinevirtual

Implements jsoncollector::JsonMonitorable.

Definition at line 53 of file JsonMonitorable.h.

References theVar_.

53  {
54  stringstream ss;
55  ss << theVar_;
56  return ss.str();
57  }
int& jsoncollector::IntJ::value ( )
inline

Member Data Documentation

int jsoncollector::IntJ::theVar_
private

Definition at line 68 of file JsonMonitorable.h.

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