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

Diff for /pegasus/src/Pegasus/Common/OperationContextInternal.cpp between version 1.1 and 1.8

version 1.1, 2002/09/19 16:17:36 version 1.8, 2004/11/15 13:19:51
Line 1 
Line 1 
 //%/////////////////////////////////////////////////////////////////////////////  //%2004////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM,  // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
 // The Open Group, Tivoli Systems  // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
   // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
   // IBM Corp.; EMC Corporation, The Open Group.
   // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
   // IBM Corp.; EMC Corporation; VERITAS Software 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 50 
Line 54 
 } }
  
 LocaleContainer::LocaleContainer(const String & languageId) LocaleContainer::LocaleContainer(const String & languageId)
 #ifndef PEGASUS_REMOVE_DEPRECATED  
     : OperationContext::Container(CONTEXT_LOCALE)  
 #endif  
 { {
     _languageId = languageId;     _languageId = languageId;
 } }
Line 61 
Line 62 
 { {
 } }
  
   LocaleContainer &LocaleContainer::operator=(const LocaleContainer &container)
   {
           if (this == &container)
           {
                   return (*this);
           }
   
           _languageId = container._languageId;
           return (*this);
   }
   
 String LocaleContainer::getName(void) const String LocaleContainer::getName(void) const
 { {
     return(NAME);     return(NAME);
Line 99 
Line 111 
     *this = *p;     *this = *p;
 } }
  
 ProviderIdContainer::ProviderIdContainer(const CIMInstance & module, const CIMInstance & provider)  ProviderIdContainer::ProviderIdContainer(const CIMInstance & module, const CIMInstance & provider,
 #ifndef PEGASUS_REMOVE_DEPRECATED          Boolean remoteNameSpace, String remoteInfo)
     : OperationContext::Container(CONTEXT_PROVIDERID)  
 #endif  
 { {
     _module = module;     _module = module;
     _provider = provider;     _provider = provider;
       _remoteNameSpace=remoteNameSpace;
       _remoteInfo=remoteInfo;
 } }
  
 ProviderIdContainer::~ProviderIdContainer(void) ProviderIdContainer::~ProviderIdContainer(void)
 { {
 } }
  
   ProviderIdContainer & ProviderIdContainer::operator=(
       const ProviderIdContainer & container)
   {
       if (this == &container)
       {
           return (*this);
       }
   
       _module = container._module;
       _provider = container._provider;
       _remoteNameSpace = container._remoteNameSpace;
       _remoteInfo = container._remoteInfo;
   
       return (*this);
   }
   
 String ProviderIdContainer::getName(void) const String ProviderIdContainer::getName(void) const
 { {
     return(NAME);     return(NAME);
Line 137 
Line 165 
     return(_provider);     return(_provider);
 } }
  
   Boolean ProviderIdContainer::isRemoteNameSpace(void) const
   {
       return(_remoteNameSpace);
   }
   
   const String & ProviderIdContainer::getRemoteInfo(void) const
   {
       return(_remoteInfo);
   }
   
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.1  
changed lines
  Added in v.1.8

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2