CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
FFTJetCorrectorParameters Class Reference

#include <FFTJetCorrectorParameters.h>

Public Member Functions

bool empty () const
 
 FFTJetCorrectorParameters ()
 
 FFTJetCorrectorParameters (const std::string &s)
 
 FFTJetCorrectorParameters (const char *c, std::size_t len)
 
 FFTJetCorrectorParameters (std::size_t len)
 
const char * getBuffer () const
 
char * getBuffer ()
 
std::size_t length () const
 
void setStr (const std::string &s)
 
const std::string & str () const
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

std::string m_buffer
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 14 of file FFTJetCorrectorParameters.h.

Constructor & Destructor Documentation

◆ FFTJetCorrectorParameters() [1/4]

FFTJetCorrectorParameters::FFTJetCorrectorParameters ( )
inline

Definition at line 17 of file FFTJetCorrectorParameters.h.

17 {}

◆ FFTJetCorrectorParameters() [2/4]

FFTJetCorrectorParameters::FFTJetCorrectorParameters ( const std::string &  s)
inlineexplicit

◆ FFTJetCorrectorParameters() [3/4]

FFTJetCorrectorParameters::FFTJetCorrectorParameters ( const char *  c,
std::size_t  len 
)
inline

Definition at line 19 of file FFTJetCorrectorParameters.h.

◆ FFTJetCorrectorParameters() [4/4]

FFTJetCorrectorParameters::FFTJetCorrectorParameters ( std::size_t  len)
inlineexplicit

Definition at line 20 of file FFTJetCorrectorParameters.h.

20 : m_buffer(len, '\0') {}

Member Function Documentation

◆ empty()

bool FFTJetCorrectorParameters::empty ( ) const
inline

Definition at line 25 of file FFTJetCorrectorParameters.h.

References m_buffer.

Referenced by FFTJetCorrectorDBReader::analyze().

25 { return m_buffer.empty(); }

◆ getBuffer() [1/2]

const char* FFTJetCorrectorParameters::getBuffer ( ) const
inline

Definition at line 26 of file FFTJetCorrectorParameters.h.

References m_buffer.

Referenced by FFTJetCorrectorDBReader::analyze().

26 { return m_buffer.empty() ? static_cast<const char*>(nullptr) : &m_buffer[0]; }

◆ getBuffer() [2/2]

char* FFTJetCorrectorParameters::getBuffer ( )
inline

Definition at line 29 of file FFTJetCorrectorParameters.h.

References m_buffer.

29 { return m_buffer.empty() ? static_cast<char*>(nullptr) : &m_buffer[0]; }

◆ length()

std::size_t FFTJetCorrectorParameters::length ( ) const
inline

Definition at line 24 of file FFTJetCorrectorParameters.h.

References m_buffer.

Referenced by FFTJetCorrectorDBReader::analyze().

24 { return m_buffer.size(); }

◆ serialize()

template<class Archive >
void FFTJetCorrectorParameters::serialize ( Archive &  ar,
const unsigned int  version 
)
private

◆ setStr()

void FFTJetCorrectorParameters::setStr ( const std::string &  s)
inline

Definition at line 30 of file FFTJetCorrectorParameters.h.

References m_buffer, and alignCSCRings::s.

◆ str()

const std::string& FFTJetCorrectorParameters::str ( ) const
inline

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 35 of file FFTJetCorrectorParameters.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 35 of file FFTJetCorrectorParameters.h.

Member Data Documentation

◆ m_buffer

std::string FFTJetCorrectorParameters::m_buffer
private

Definition at line 33 of file FFTJetCorrectorParameters.h.

Referenced by empty(), getBuffer(), length(), setStr(), and str().