CPPMyth
Library to interoperate with MythTV server
Loading...
Searching...
No Matches
NSROOT::WSHeader Class Reference
Collaboration diagram for NSROOT::WSHeader:

Public Types

typedef std::vector< std::string > container_t
typedef container_t::iterator iterator
typedef container_t::const_iterator const_iterator

Public Member Functions

 WSHeader (const std::string &name)
 WSHeader (const std::string &name, const std::string &value)
 WSHeader (const WSHeader &o)
void SetName (const std::string &name)
void SetName (const char *buf, size_t n)
std::string Key () const
const std::string & Name () const
const std::string & Last () const
std::string & Back ()
iterator begin ()
iterator end ()
const_iterator cbegin ()
const_iterator cend ()
void AddValue (const std::string &value)
void SetValue (const std::string &value)
void MergeValue (const std::string &value)

Private Attributes

std::string m_name
container_t m_values

Detailed Description

Definition at line 35 of file wsheader.h.

Member Typedef Documentation

◆ const_iterator

typedef container_t::const_iterator NSROOT::WSHeader::const_iterator

Definition at line 40 of file wsheader.h.

◆ container_t

typedef std::vector<std::string> NSROOT::WSHeader::container_t

Definition at line 38 of file wsheader.h.

◆ iterator

typedef container_t::iterator NSROOT::WSHeader::iterator

Definition at line 39 of file wsheader.h.

Constructor & Destructor Documentation

◆ WSHeader() [1/4]

NSROOT::WSHeader::WSHeader ( )
inline

Definition at line 42 of file wsheader.h.

◆ WSHeader() [2/4]

NSROOT::WSHeader::WSHeader ( const std::string & name)
inlineexplicit

Definition at line 48 of file wsheader.h.

◆ WSHeader() [3/4]

NSROOT::WSHeader::WSHeader ( const std::string & name,
const std::string & value )
inline

Definition at line 54 of file wsheader.h.

◆ WSHeader() [4/4]

NSROOT::WSHeader::WSHeader ( const WSHeader & o)
inlineexplicit

Definition at line 60 of file wsheader.h.

◆ ~WSHeader()

virtual NSROOT::WSHeader::~WSHeader ( )
inlinevirtual

Definition at line 64 of file wsheader.h.

Member Function Documentation

◆ AddValue()

void NSROOT::WSHeader::AddValue ( const std::string & value)
inline

Definition at line 85 of file wsheader.h.

◆ Back()

std::string & NSROOT::WSHeader::Back ( )
inline

Definition at line 78 of file wsheader.h.

◆ begin()

iterator NSROOT::WSHeader::begin ( )
inline

Definition at line 80 of file wsheader.h.

◆ cbegin()

const_iterator NSROOT::WSHeader::cbegin ( )
inline

Definition at line 82 of file wsheader.h.

◆ cend()

const_iterator NSROOT::WSHeader::cend ( )
inline

Definition at line 83 of file wsheader.h.

◆ end()

iterator NSROOT::WSHeader::end ( )
inline

Definition at line 81 of file wsheader.h.

◆ Key()

std::string NSROOT::WSHeader::Key ( ) const
inline

Definition at line 69 of file wsheader.h.

◆ Last()

const std::string & NSROOT::WSHeader::Last ( ) const
inline

Definition at line 77 of file wsheader.h.

◆ MergeValue()

void NSROOT::WSHeader::MergeValue ( const std::string & value)
inline

Definition at line 99 of file wsheader.h.

◆ Name()

const std::string & NSROOT::WSHeader::Name ( ) const
inline

Definition at line 76 of file wsheader.h.

◆ SetName() [1/2]

void NSROOT::WSHeader::SetName ( const char * buf,
size_t n )
inline

Definition at line 67 of file wsheader.h.

◆ SetName() [2/2]

void NSROOT::WSHeader::SetName ( const std::string & name)
inline

Definition at line 66 of file wsheader.h.

◆ SetValue()

void NSROOT::WSHeader::SetValue ( const std::string & value)
inline

Definition at line 93 of file wsheader.h.

Field Documentation

◆ m_name

std::string NSROOT::WSHeader::m_name
private

Definition at line 108 of file wsheader.h.

◆ m_values

container_t NSROOT::WSHeader::m_values
private

Definition at line 109 of file wsheader.h.


The documentation for this class was generated from the following file:
  • /home/jlb/src/janbar/PVR/cppmythlib/cppmyth/src/private/wsheader.h