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

Diff for /pegasus/src/Pegasus/Common/CIMQualifierDeclRep.cpp between version 1.16 and 1.17

version 1.16, 2002/03/21 01:05:49 version 1.17, 2002/03/28 02:57:54
Line 61 
Line 61 
  
     if (_value.getType() == CIMType::NONE)     if (_value.getType() == CIMType::NONE)
         throw NullType();         throw NullType();
   
           // Set the flavor defaults. Must actively set them in case input flavor
           // sets some but not all the defaults.  Also Make sure no conflicts. This covers
           // the fact that we have separate flags for on and off for the toelement
           // and override functions. Something must be set on creation and the
           // default in the .h file only covers the case where there is no input.
           // This also assures that there are no conflicts. Note that it favors
           // restricted and disable override
           //ATTN: This should become an exception in case conflicting entities are set.
           if((_flavor & CIMFlavor::RESTRICTED) == 0)
                   _flavor |= ( CIMFlavor::DEFAULTS);
           else
                   _flavor &= ~( CIMFlavor::DEFAULTS);
   
           if((_flavor & CIMFlavor::DISABLEOVERRIDE) == 0)
                   _flavor |= ( CIMFlavor::ENABLEOVERRIDE);
           else
                   _flavor &= ~( CIMFlavor::ENABLEOVERRIDE);
   
 } }
  
 CIMQualifierDeclRep::~CIMQualifierDeclRep() CIMQualifierDeclRep::~CIMQualifierDeclRep()


Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2