ESA JPIP server  0.1
http::HeaderBase< HeaderName::UNDEFINED > Class Template Reference

Specialization of the HeaderBase template class with the HeaderName::UNDEFINED value. More...

#include <header.h>

Inheritance diagram for http::HeaderBase< HeaderName::UNDEFINED >:
Collaboration diagram for http::HeaderBase< HeaderName::UNDEFINED >:

Public Member Functions

 HeaderBase ()
 Empty constructor. More...
 
 HeaderBase (const string &name, const string &value)
 Initializes the header content (name and value). More...
 

Public Attributes

string name
 Header name. More...
 
string value
 Header value. More...
 

Friends

ostream & operator<< (ostream &out, const HeaderBase &header)
 
istream & operator>> (istream &in, HeaderBase &header)
 

Detailed Description

template<>
class http::HeaderBase< HeaderName::UNDEFINED >

Specialization of the HeaderBase template class with the HeaderName::UNDEFINED value.

In this case the header name is not fixed, handled by an internal variable. This class is used as base for the class Header.

See also
Header

Constructor & Destructor Documentation

Empty constructor.

http::HeaderBase< HeaderName::UNDEFINED >::HeaderBase ( const string &  name,
const string &  value 
)
inline

Initializes the header content (name and value).

Parameters
nameHeader name.
valueHeader value.

Friends And Related Function Documentation

ostream& operator<< ( ostream &  out,
const HeaderBase< HeaderName::UNDEFINED > &  header 
)
friend
istream& operator>> ( istream &  in,
HeaderBase< HeaderName::UNDEFINED > &  header 
)
friend

Member Data Documentation


The documentation for this class was generated from the following file: