Wsdl::NSFil Class Reference

List of all members.

Public Member Functions

 NSFil (FILE *fil, const std::string &ns, const std::string &href="")
 ~NSFil ()

Private Attributes

FILE * m_fil
std::string m_ns


Detailed Description

Definition at line 34 of file Wsdl.h.


Constructor & Destructor Documentation

Wsdl::NSFil::NSFil ( FILE *  fil,
const std::string &  ns,
const std::string &  href = "" 
) [inline]

Definition at line 36 of file Wsdl.h.

References m_fil, and m_ns.

00036                                                                                   : m_fil(fil), m_ns(ns) {
00037                         if (!m_ns.empty())
00038                         {
00039                                 if (!href.empty())
00040                                         fprintf(m_fil, "/** %s */\n", href.c_str());
00041                                 fprintf(m_fil, "namespace %s {\n\n", m_ns.c_str());
00042                         }
00043                 }

Wsdl::NSFil::~NSFil (  )  [inline]

Definition at line 44 of file Wsdl.h.

References m_fil, and m_ns.

00044                          {
00045                         if (!m_ns.empty())
00046                         {
00047                                 fprintf(m_fil, "} // namespace %s\n\n", m_ns.c_str());
00048                         }
00049                 }


Member Data Documentation

FILE* Wsdl::NSFil::m_fil [private]

Definition at line 51 of file Wsdl.h.

Referenced by NSFil(), and ~NSFil().

std::string Wsdl::NSFil::m_ns [private]

Definition at line 52 of file Wsdl.h.

Referenced by NSFil(), and ~NSFil().


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

Generated on Sun Oct 11 10:57:20 2009 for Xml Schema class generator by  doxygen 1.5.5