(file) Return to OperationContext.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/OperationContext.cpp between version 1.32 and 1.32.2.2

version 1.32, 2005/11/18 21:15:34 version 1.32.2.2, 2006/03/07 18:45:46
Line 1 
Line 1 
 //%2005////////////////////////////////////////////////////////////////////////  //%2006////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
 // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
Line 8 
Line 8 
 // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
 // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 // EMC Corporation; VERITAS Software Corporation; The Open Group. // EMC Corporation; VERITAS Software Corporation; The Open Group.
   // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
   // EMC Corporation; Symantec Corporation; The Open Group.
 // //
 // Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
 // of this software and associated documentation files (the "Software"), to // of this software and associated documentation files (the "Software"), to
Line 210 
Line 212 
 } }
  
 IdentityContainer::IdentityContainer(const IdentityContainer & container) IdentityContainer::IdentityContainer(const IdentityContainer & container)
 #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU)  #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined (PEGASUS_PLATFORM_DARWIN_PPC_GNU)
      : OperationContext::Container()      : OperationContext::Container()
 #endif #endif
 { {
Line 262 
Line 264 
     return(_rep->userName);     return(_rep->userName);
 } }
  
 // Unimplemented, hidden constructor not intended for actual use  
 IdentityContainer::IdentityContainer()  
 {  
 }  
  
 // //
 // SubscriptionInstanceContainer // SubscriptionInstanceContainer
Line 297 
Line 295 
  
 SubscriptionInstanceContainer::SubscriptionInstanceContainer SubscriptionInstanceContainer::SubscriptionInstanceContainer
     (const SubscriptionInstanceContainer & container)     (const SubscriptionInstanceContainer & container)
 #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU)  #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_PLATFORM_DARWIN_PPC_GNU)
      : OperationContext::Container()      : OperationContext::Container()
 #endif #endif
 { {
Line 350 
Line 348 
     return(_rep->subscriptionInstance);     return(_rep->subscriptionInstance);
 } }
  
 // Unimplemented, hidden constructor not intended for actual use  
 SubscriptionInstanceContainer::SubscriptionInstanceContainer()  
 {  
 }  
  
 // //
 // SubscriptionInstanceNamesContainer // SubscriptionInstanceNamesContainer
Line 385 
Line 379 
  
 SubscriptionInstanceNamesContainer::SubscriptionInstanceNamesContainer SubscriptionInstanceNamesContainer::SubscriptionInstanceNamesContainer
     (const SubscriptionInstanceNamesContainer & container)     (const SubscriptionInstanceNamesContainer & container)
 #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU)  #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_PLATFORM_DARWIN_PPC_GNU)
      : OperationContext::Container()      : OperationContext::Container()
 #endif #endif
 { {
Line 442 
Line 436 
     return(_rep->subscriptionInstanceNames);     return(_rep->subscriptionInstanceNames);
 } }
  
 // Unimplemented, hidden constructor not intended for actual use  
 SubscriptionInstanceNamesContainer::SubscriptionInstanceNamesContainer()  
 {  
 }  
  
 // //
 // SubscriptionFilterConditionContainer // SubscriptionFilterConditionContainer
Line 479 
Line 469 
  
 SubscriptionFilterConditionContainer::SubscriptionFilterConditionContainer SubscriptionFilterConditionContainer::SubscriptionFilterConditionContainer
     (const SubscriptionFilterConditionContainer & container)     (const SubscriptionFilterConditionContainer & container)
 #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU)  #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_PLATFORM_DARWIN_PPC_GNU)
      : OperationContext::Container()      : OperationContext::Container()
 #endif #endif
 { {
Line 544 
Line 534 
     return(_rep->queryLanguage);     return(_rep->queryLanguage);
 } }
  
 // Unimplemented, hidden constructor not intended for actual use  
 SubscriptionFilterConditionContainer::SubscriptionFilterConditionContainer()  
 {  
 }  
  
 // //
 // SubscriptionFilterQueryContainer // SubscriptionFilterQueryContainer
Line 583 
Line 569 
  
 SubscriptionFilterQueryContainer::SubscriptionFilterQueryContainer SubscriptionFilterQueryContainer::SubscriptionFilterQueryContainer
     (const SubscriptionFilterQueryContainer & container)     (const SubscriptionFilterQueryContainer & container)
 #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU)  #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_PLATFORM_DARWIN_PPC_GNU)
      : OperationContext::Container()      : OperationContext::Container()
 #endif #endif
 { {
Line 657 
Line 643 
     return(_rep->sourceNameSpace);     return(_rep->sourceNameSpace);
 } }
  
 // Unimplemented, hidden constructor not intended for actual use  
 SubscriptionFilterQueryContainer::SubscriptionFilterQueryContainer()  
 {  
 }  
  
 // //
 // TimeoutContainer // TimeoutContainer
Line 704 
Line 686 
 } }
  
  
 // l10n start  
   
 // //
 // AcceptLanguageListContainer // AcceptLanguageListContainer
 // //
Line 713 
Line 693 
 class AcceptLanguageListContainerRep class AcceptLanguageListContainerRep
 { {
 public: public:
     AcceptLanguages languages;      AcceptLanguageList languages;
 }; };
  
 const String AcceptLanguageListContainer::NAME = const String AcceptLanguageListContainer::NAME =
Line 736 
Line 716 
  
 AcceptLanguageListContainer::AcceptLanguageListContainer AcceptLanguageListContainer::AcceptLanguageListContainer
     (const AcceptLanguageListContainer & container)     (const AcceptLanguageListContainer & container)
 #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU)  #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_PLATFORM_DARWIN_PPC_GNU)
      : OperationContext::Container()      : OperationContext::Container()
 #endif #endif
 { {
Line 745 
Line 725 
 } }
  
 AcceptLanguageListContainer::AcceptLanguageListContainer AcceptLanguageListContainer::AcceptLanguageListContainer
     (const AcceptLanguages & languages)      (const AcceptLanguageList & languages)
 { {
     _rep = new AcceptLanguageListContainerRep();     _rep = new AcceptLanguageListContainerRep();
     _rep->languages = languages;     _rep->languages = languages;
Line 784 
Line 764 
     delete this;     delete this;
 } }
  
 AcceptLanguages AcceptLanguageListContainer::getLanguages(void) const  AcceptLanguageList AcceptLanguageListContainer::getLanguages(void) const
 {  
     return(_rep->languages);  
 }  
   
 // Unimplemented, hidden constructor not intended for actual use  
 AcceptLanguageListContainer::AcceptLanguageListContainer()  
 {  
 }  
   
 //  
 // SubscriptionLanguageListContainer  
 //  
   
 class SubscriptionLanguageListContainerRep  
 {  
 public:  
     AcceptLanguages languages;  
 };  
   
 const String SubscriptionLanguageListContainer::NAME =  
     "SubscriptionLanguageListContainer";  
   
 SubscriptionLanguageListContainer::SubscriptionLanguageListContainer  
     (const OperationContext::Container & container)  
 {  
     const SubscriptionLanguageListContainer * p =  
         dynamic_cast<const SubscriptionLanguageListContainer *>(&container);  
   
     if(p == 0)  
     {  
         throw DynamicCastFailedException();  
     }  
   
     _rep = new SubscriptionLanguageListContainerRep();  
     _rep->languages = p->_rep->languages;  
 }  
   
 SubscriptionLanguageListContainer::SubscriptionLanguageListContainer  
     (const SubscriptionLanguageListContainer & container)  
 #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU)  
      : OperationContext::Container()  
 #endif  
 {  
     _rep = new SubscriptionLanguageListContainerRep();  
     _rep->languages = container._rep->languages;  
 }  
   
 SubscriptionLanguageListContainer::SubscriptionLanguageListContainer  
     (const AcceptLanguages & languages)  
 {  
     _rep = new SubscriptionLanguageListContainerRep();  
     _rep->languages = languages;  
 }  
   
 SubscriptionLanguageListContainer::~SubscriptionLanguageListContainer(void)  
 {  
     delete _rep;  
 }  
   
 SubscriptionLanguageListContainer & SubscriptionLanguageListContainer::operator=(  
     const SubscriptionLanguageListContainer & container)  
 {  
     if (this == &container)  
     {  
         return (*this);  
     }  
   
     _rep->languages = container._rep->languages;  
   
     return (*this);  
 }  
   
 String SubscriptionLanguageListContainer::getName(void) const  
 {  
     return(NAME);  
 }  
   
 OperationContext::Container * SubscriptionLanguageListContainer::clone(void) const  
 {  
     return(new SubscriptionLanguageListContainer(_rep->languages));  
 }  
   
 void SubscriptionLanguageListContainer::destroy(void)  
 {  
     delete this;  
 }  
   
 AcceptLanguages SubscriptionLanguageListContainer::getLanguages(void) const  
 { {
     return(_rep->languages);     return(_rep->languages);
 } }
  
 // Unimplemented, hidden constructor not intended for actual use  
 SubscriptionLanguageListContainer::SubscriptionLanguageListContainer()  
 {  
 }  
  
 // //
 // ContentLanguageListContainer // ContentLanguageListContainer
Line 889 
Line 777 
 class ContentLanguageListContainerRep class ContentLanguageListContainerRep
 { {
 public: public:
     ContentLanguages languages;      ContentLanguageList languages;
 }; };
  
 const String ContentLanguageListContainer::NAME = const String ContentLanguageListContainer::NAME =
Line 912 
Line 800 
  
 ContentLanguageListContainer::ContentLanguageListContainer ContentLanguageListContainer::ContentLanguageListContainer
     (const ContentLanguageListContainer & container)     (const ContentLanguageListContainer & container)
 #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU)  #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_PLATFORM_DARWIN_PPC_GNU)
      : OperationContext::Container()      : OperationContext::Container()
 #endif #endif
 { {
Line 921 
Line 809 
 } }
  
 ContentLanguageListContainer::ContentLanguageListContainer ContentLanguageListContainer::ContentLanguageListContainer
     (const ContentLanguages & languages)      (const ContentLanguageList & languages)
 { {
     _rep = new ContentLanguageListContainerRep();     _rep = new ContentLanguageListContainerRep();
     _rep->languages = languages;     _rep->languages = languages;
Line 960 
Line 848 
     delete this;     delete this;
 } }
  
 ContentLanguages ContentLanguageListContainer::getLanguages(void) const  ContentLanguageList ContentLanguageListContainer::getLanguages(void) const
 { {
     return(_rep->languages);     return(_rep->languages);
 } }
  
 // Unimplemented, hidden constructor not intended for actual use  
 ContentLanguageListContainer::ContentLanguageListContainer()  
 {  
 }  
  
 // l10n end  
  
 // //
 // SnmpTrapOidContainer // SnmpTrapOidContainer
Line 1002 
Line 885 
  
 SnmpTrapOidContainer::SnmpTrapOidContainer SnmpTrapOidContainer::SnmpTrapOidContainer
     (const SnmpTrapOidContainer & container)     (const SnmpTrapOidContainer & container)
 #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU)  #if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_PLATFORM_DARWIN_PPC_GNU)
      : OperationContext::Container()      : OperationContext::Container()
 #endif #endif
 { {
Line 1055 
Line 938 
     return(_rep->snmpTrapOid);     return(_rep->snmpTrapOid);
 } }
  
 // Unimplemented, hidden constructor not intended for actual use  
 SnmpTrapOidContainer::SnmpTrapOidContainer()  
 {  
 }  
   
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.32  
changed lines
  Added in v.1.32.2.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2