Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Attribute.cxx

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 #include "XMLInterface/Attribute.h"
00007 
00008 xmli::Attribute::Attribute(const char* name, const char* value) :
00009   fName(name), 
00010   fValue(value)
00011 { }
00012 
00013 //......................................................................
00014 
00015 xmli::Attribute::Attribute(const std::string& name, 
00016                            const std::string& value) :
00017   fName(name),
00018   fValue(value)
00019 { }
00020 
00021 //......................................................................
00022 
00023 xmli::Attribute::Attribute(const XMLCh* name, const XMLCh* value) 
00024 {
00025   char* n = XMLString::transcode(name);
00026   char* v = XMLString::transcode(value);
00027   fName  = n;
00028   fValue = v;
00029   XMLString::release(&n);
00030   XMLString::release(&v);
00031 }
00032 
00034 

Generated on Sat Oct 11 02:35:27 2008 for NOvA Offline by  doxygen 1.3.9.1