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

#include <LegendItem.h>

Public Member Functions

std::string getName () const
 
std::string getOperation () const
 
 LegendItem (std::string name, std::string operation)
 
virtual ~LegendItem ()
 

Private Attributes

std::string name_
 
std::string operation_
 

Detailed Description

Definition at line 14 of file LegendItem.h.

Constructor & Destructor Documentation

LegendItem::LegendItem ( std::string  name,
std::string  operation 
)

Definition at line 13 of file LegendItem.cc.

13  :
14  name_(name), operation_(operation) {
15 }
LegendItem::~LegendItem ( )
virtual

Definition at line 17 of file LegendItem.cc.

17  {
18 }

Member Function Documentation

std::string jsoncollector::LegendItem::getName ( void  ) const
inline

Definition at line 20 of file LegendItem.h.

References name_.

Referenced by jsoncollector::DataPointDefinition::serialize().

20  {
21  return name_;
22  }
std::string jsoncollector::LegendItem::getOperation ( ) const
inline

Member Data Documentation

std::string jsoncollector::LegendItem::name_
private

Definition at line 28 of file LegendItem.h.

Referenced by getName().

std::string jsoncollector::LegendItem::operation_
private

Definition at line 28 of file LegendItem.h.

Referenced by getOperation().