OW_NAMESPACE::Format Class Reference

#include <OW_Format.hpp>

Collaboration diagram for OW_NAMESPACE::Format:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 operator String () const
String toString () const
const char * c_str () const
template<typename A>
 Format (const char *ca, const A &a)
template<typename A, typename B>
 Format (const char *ca, const A &a, const B &b)
template<typename A, typename B, typename C>
 Format (const char *ca, const A &a, const B &b, const C &c)
template<typename A, typename B, typename C, typename D>
 Format (const char *ca, const A &a, const B &b, const C &c, const D &d)
template<typename A, typename B, typename C, typename D, typename E>
 Format (const char *ca, const A &a, const B &b, const C &c, const D &d, const E &e)
template<typename A, typename B, typename C, typename D, typename E, typename F>
 Format (const char *ca, const A &a, const B &b, const C &c, const D &d, const E &e, const F &f)
template<typename A, typename B, typename C, typename D, typename E, typename F, typename G>
 Format (const char *ca, const A &a, const B &b, const C &c, const D &d, const E &e, const F &f, const G &g)
template<typename A, typename B, typename C, typename D, typename E, typename F, typename G, typename H>
 Format (const char *ca, const A &a, const B &b, const C &c, const D &d, const E &e, const F &f, const G &g, const H &h)
template<typename A, typename B, typename C, typename D, typename E, typename F, typename G, typename H, typename I>
 Format (const char *ca, const A &a, const B &b, const C &c, const D &d, const E &e, const F &f, const G &g, const H &h, const I &i)
 Format (const char *ca, const String &a)
 Format (const char *ca, const String &a, const String &b)
 Format (const char *ca, const String &a, const String &b, const String &c)

Private Member Functions

char process (String &f, char c0)
template<typename T>
void put (const T &t)
void put (const String &t)
void put (char t)
void put (unsigned char t)
void put (short t)
void put (unsigned short t)
void put (int t)
void put (unsigned int t)
void put (long t)
void put (unsigned long t)
void put (long long t)
void put (unsigned long long t)

Private Attributes

OStringStream oss

Friends

std::ostream & operator<< (std::ostream &os, const Format &f)

Detailed Description

Definition at line 46 of file OW_Format.hpp.


Constructor & Destructor Documentation

template<typename A>
OW_NAMESPACE::Format::Format const char *  ca,
const A &  a
 

Definition at line 105 of file OW_Format.hpp.

References OW_NAMESPACE::String::empty(), process(), and put().

template<typename A, typename B>
OW_NAMESPACE::Format::Format const char *  ca,
const A &  a,
const B &  b
 

Definition at line 117 of file OW_Format.hpp.

References OW_NAMESPACE::String::empty(), process(), and put().

template<typename A, typename B, typename C>
OW_NAMESPACE::Format::Format const char *  ca,
const A &  a,
const B &  b,
const C &  c
 

Definition at line 130 of file OW_Format.hpp.

References OW_NAMESPACE::String::empty(), process(), and put().

template<typename A, typename B, typename C, typename D>
OW_NAMESPACE::Format::Format const char *  ca,
const A &  a,
const B &  b,
const C &  c,
const D &  d
 

Definition at line 144 of file OW_Format.hpp.

References OW_NAMESPACE::String::empty(), process(), and put().

template<typename A, typename B, typename C, typename D, typename E>
OW_NAMESPACE::Format::Format const char *  ca,
const A &  a,
const B &  b,
const C &  c,
const D &  d,
const E &  e
 

Definition at line 159 of file OW_Format.hpp.

References OW_NAMESPACE::String::empty(), process(), and put().

template<typename A, typename B, typename C, typename D, typename E, typename F>
OW_NAMESPACE::Format::Format const char *  ca,
const A &  a,
const B &  b,
const C &  c,
const D &  d,
const E &  e,
const F &  f
 

Definition at line 175 of file OW_Format.hpp.

References OW_NAMESPACE::String::empty(), process(), and put().

template<typename A, typename B, typename C, typename D, typename E, typename F, typename G>
OW_NAMESPACE::Format::Format const char *  ca,
const A &  a,
const B &  b,
const C &  c,
const D &  d,
const E &  e,
const F &  f,
const G &  g
 

Definition at line 192 of file OW_Format.hpp.

References OW_NAMESPACE::String::empty(), process(), and put().

template<typename A, typename B, typename C, typename D, typename E, typename F, typename G, typename H>
OW_NAMESPACE::Format::Format const char *  ca,
const A &  a,
const B &  b,
const C &  c,
const D &  d,
const E &  e,
const F &  f,
const G &  g,
const H &  h
 

Definition at line 210 of file OW_Format.hpp.

References OW_NAMESPACE::String::empty(), process(), and put().

template<typename A, typename B, typename C, typename D, typename E, typename F, typename G, typename H, typename I>
OW_NAMESPACE::Format::Format const char *  ca,
const A &  a,
const B &  b,
const C &  c,
const D &  d,
const E &  e,
const F &  f,
const G &  g,
const H &  h,
const I &  i
 

Definition at line 229 of file OW_Format.hpp.

References OW_NAMESPACE::String::empty(), process(), and put().

OW_NAMESPACE::Format::Format const char *  ca,
const String a
 

Definition at line 145 of file OW_Format.cpp.

References OW_NAMESPACE::String::empty(), process(), and put().

OW_NAMESPACE::Format::Format const char *  ca,
const String a,
const String b
 

Definition at line 156 of file OW_Format.cpp.

References OW_NAMESPACE::String::empty(), process(), and put().

OW_NAMESPACE::Format::Format const char *  ca,
const String a,
const String b,
const String c
 

Definition at line 168 of file OW_Format.cpp.

References OW_NAMESPACE::String::empty(), process(), and put().


Member Function Documentation

const char * OW_NAMESPACE::Format::c_str  )  const
 

Definition at line 52 of file OW_Format.cpp.

References OW_NAMESPACE::OStringStream::c_str(), and oss.

Referenced by OW_NAMESPACE::killWait().

OW_NAMESPACE::Format::operator String  )  const
 

Definition at line 42 of file OW_Format.cpp.

References oss, and OW_NAMESPACE::OStringStream::toString().

char OW_NAMESPACE::Format::process String f,
char  c0
[private]
 

Definition at line 57 of file OW_Format.cpp.

References OW_NAMESPACE::String::erase(), i, OW_NAMESPACE::String::length(), oss, and OW_NAMESPACE::String::substring().

Referenced by Format().

void OW_NAMESPACE::Format::put unsigned long long  t  )  [private]
 

Definition at line 142 of file OW_Format.cpp.

void OW_NAMESPACE::Format::put long long  t  )  [private]
 

Definition at line 141 of file OW_Format.cpp.

void OW_NAMESPACE::Format::put unsigned long  t  )  [private]
 

Definition at line 140 of file OW_Format.cpp.

void OW_NAMESPACE::Format::put long  t  )  [private]
 

Definition at line 139 of file OW_Format.cpp.

void OW_NAMESPACE::Format::put unsigned int  t  )  [private]
 

Definition at line 138 of file OW_Format.cpp.

void OW_NAMESPACE::Format::put int  t  )  [private]
 

Definition at line 137 of file OW_Format.cpp.

void OW_NAMESPACE::Format::put unsigned short  t  )  [private]
 

Definition at line 136 of file OW_Format.cpp.

void OW_NAMESPACE::Format::put short  t  )  [private]
 

Definition at line 135 of file OW_Format.cpp.

void OW_NAMESPACE::Format::put unsigned char  t  )  [private]
 

Definition at line 134 of file OW_Format.cpp.

void OW_NAMESPACE::Format::put char  t  )  [private]
 

Definition at line 133 of file OW_Format.cpp.

void OW_NAMESPACE::Format::put const String t  )  [private]
 

Definition at line 113 of file OW_Format.cpp.

References oss.

template<typename T>
void OW_NAMESPACE::Format::put const T &  t  )  [private]
 

Definition at line 97 of file OW_Format.hpp.

References oss.

Referenced by Format().

String OW_NAMESPACE::Format::toString  )  const
 

Definition at line 47 of file OW_Format.cpp.

References oss, and OW_NAMESPACE::OStringStream::toString().


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &  os,
const Format f
[friend]
 

Definition at line 107 of file OW_Format.cpp.


Member Data Documentation

OStringStream OW_NAMESPACE::Format::oss [private]
 

Definition at line 77 of file OW_Format.hpp.

Referenced by c_str(), operator String(), OW_NAMESPACE::operator<<(), process(), put(), and toString().


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:13:49 2006 for openwbem by  doxygen 1.4.6