OpenSDN source code
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
xml_base.cc
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
3
*/
4
5
#include "
xml/xml_base.h
"
6
#include "
xml/xml_pugi.h
"
7
8
XmppXmlImplFactory
*
XmppXmlImplFactory::Inst_
= NULL;
9
10
XmlBase
*
XmppXmlImplFactory::GetXmlImpl
() {
11
return
new
XmlPugi
();
12
}
13
14
void
XmppXmlImplFactory::ReleaseXmlImpl
(
XmlBase
*tmp) {
15
delete
tmp;
16
}
17
18
XmppXmlImplFactory
*
XmppXmlImplFactory::Instance
() {
19
if
(
Inst_
== NULL)
20
Inst_
=
new
XmppXmlImplFactory
();
21
return
Inst_
;
22
}
XmppXmlImplFactory::Inst_
static XmppXmlImplFactory * Inst_
Definition:
xml_base.h:100
XmppXmlImplFactory::XmppXmlImplFactory
XmppXmlImplFactory()
Definition:
xml_base.h:99
XmlPugi
Definition:
xml_pugi.h:10
XmppXmlImplFactory::ReleaseXmlImpl
void ReleaseXmlImpl(XmlBase *tmp)
Definition:
xml_base.cc:14
XmppXmlImplFactory::GetXmlImpl
XmlBase * GetXmlImpl()
Definition:
xml_base.cc:10
xml_base.h
XmlBase
Definition:
xml_base.h:10
XmppXmlImplFactory
Definition:
xml_base.h:89
xml_pugi.h
XmppXmlImplFactory::Instance
static XmppXmlImplFactory * Instance()
Definition:
xml_base.cc:18
contrail
controller
src
xml
xml_base.cc
Generated by
1.8.5