CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
DQMStore::char_string Class Reference

#include <DQMStore.h>

Public Member Functions

 char_string (TString const &str)
 
 char_string (char const *str)
 
 char_string (std::string const &str)
 
 operator char const * () const
 
 operator std::string const & () const
 

Private Attributes

std::string data_
 

Detailed Description

Definition at line 317 of file DQMStore.h.

Constructor & Destructor Documentation

DQMStore::char_string::char_string ( TString const &  str)
inline

Definition at line 319 of file DQMStore.h.

319 : data_{str.Data()} {}
std::string data_
Definition: DQMStore.h:325
#define str(s)
DQMStore::char_string::char_string ( char const *  str)
inline

Definition at line 320 of file DQMStore.h.

320 : data_{str} {}
std::string data_
Definition: DQMStore.h:325
#define str(s)
DQMStore::char_string::char_string ( std::string const &  str)
inline

Definition at line 321 of file DQMStore.h.

321 : data_{str} {}
std::string data_
Definition: DQMStore.h:325
#define str(s)

Member Function Documentation

DQMStore::char_string::operator char const * ( ) const
inline

Definition at line 323 of file DQMStore.h.

323 { return data_.c_str(); }
std::string data_
Definition: DQMStore.h:325
DQMStore::char_string::operator std::string const & ( ) const
inline

Definition at line 322 of file DQMStore.h.

322 { return data_; }
std::string data_
Definition: DQMStore.h:325

Member Data Documentation

std::string DQMStore::char_string::data_
private

Definition at line 325 of file DQMStore.h.