(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.14 and 1.14.16.4

version 1.14, 2005/02/10 02:40:44 version 1.14.16.4, 2006/04/11 15:50:44
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 240 
Line 242 
     return(_cimClass);     return(_cimClass);
 } }
  
   //
   // NormalizerContextContainer
   //
   
   const String NormalizerContextContainer::NAME = "NormalizerContextContainer";
   
   NormalizerContextContainer::NormalizerContextContainer(const OperationContext::Container & container)
   {
       const NormalizerContextContainer * p = dynamic_cast<const NormalizerContextContainer *>(&container);
   
       if(p == 0)
       {
           throw DynamicCastFailedException();
       }
   
       *this = *p;
   }
   
   
   NormalizerContextContainer::NormalizerContextContainer(AutoPtr<NormalizerContext> & context)
       : normalizerContext(context.get())
   {
     context.release();
   }
   
   NormalizerContextContainer::~NormalizerContextContainer()
   {
   }
   
   NormalizerContextContainer & NormalizerContextContainer::operator=(const NormalizerContextContainer & container)
   {
       if(this == &container)
       {
           return(*this);
       }
   
       normalizerContext = container.normalizerContext->clone();
   
       return(*this);
   }
   
   String NormalizerContextContainer::getName() const
   {
       return(NAME);
   }
   
   OperationContext::Container * NormalizerContextContainer::clone() const
   {
       return(new NormalizerContextContainer(*this));
   }
   
   void NormalizerContextContainer::destroy()
   {
       delete this;
   }
   
   NormalizerContext * NormalizerContextContainer::getContext() const
   {
       return normalizerContext.get();
   }
   
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.14  
changed lines
  Added in v.1.14.16.4

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2