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

#include <JsonMonitorable.h>

Inheritance diagram for jsoncollector::StringJ:
jsoncollector::JsonMonitorable

Public Member Functions

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

Private Attributes

string theVar_
 

Detailed Description

Definition at line 71 of file JsonMonitorable.h.

Constructor & Destructor Documentation

jsoncollector::StringJ::StringJ ( )
inline

Definition at line 74 of file JsonMonitorable.h.

References theVar_.

74  {
75  theVar_ = "";
76  }
jsoncollector::StringJ::StringJ ( string  initVal)
inline

Definition at line 77 of file JsonMonitorable.h.

References theVar_.

77  {
78  theVar_ = initVal;
79  }
jsoncollector::StringJ::StringJ ( const StringJ other)
inline

Definition at line 80 of file JsonMonitorable.h.

References theVar_.

80  {
81  theVar_ = other.theVar_;
82  }
virtual jsoncollector::StringJ::~StringJ ( )
inlinevirtual

Definition at line 83 of file JsonMonitorable.h.

83  {
84  }

Member Function Documentation

void jsoncollector::StringJ::operator= ( string  sth)
inline

Definition at line 90 of file JsonMonitorable.h.

References theVar_.

90  {
91  theVar_ = sth;
92  }
virtual string jsoncollector::StringJ::toString ( ) const
inlinevirtual

Implements jsoncollector::JsonMonitorable.

Definition at line 86 of file JsonMonitorable.h.

References theVar_.

86  {
87  return theVar_;
88  }
string& jsoncollector::StringJ::value ( )
inline

Member Data Documentation

string jsoncollector::StringJ::theVar_
private

Definition at line 99 of file JsonMonitorable.h.

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