version 1.43, 2006/01/30 16:16:47
|
version 1.44, 2006/11/07 21:30:36
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Mike Brasher (mbrasher@bmc.com) |
|
// |
|
// Modified By: Carol Ann Krug Graves, Hewlett-Packard Company |
|
// (carolann_graves@hp.com) |
|
// David Dillard, VERITAS Software Corp. |
|
// (david.dillard@veritas.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#include <cstdio> | #include <cstdio> |
|
|
} | } |
| |
// Set the flavor defaults. Must actively set them in case input flavor | // 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 |
// sets some but not all the defaults. Also Make sure no conflicts. This |
// the fact that we have separate flags for on and off for the toelement |
// covers the fact that we have separate flags for on and off for the |
// and override functions. Something must be set on creation and the |
// toelement and override functions. Something must be set on creation |
// default in the .h file only covers the case where there is no input. |
// and the default in the .h file only covers the case where there is no |
// This also assures that there are no conflicts. Note that it favors |
// input. This also assures that there are no conflicts. Note that it |
// restricted and disable override |
// favors restricted and disable override |
//ATTN: This should become an exception in case conflicting entities are set. |
//ATTN: This should become an exception in case conflicting entities are |
|
// set. |
if(!(_flavor.hasFlavor (CIMFlavor::RESTRICTED))) | if(!(_flavor.hasFlavor (CIMFlavor::RESTRICTED))) |
_flavor.addFlavor (CIMFlavor::TOSUBCLASS); | _flavor.addFlavor (CIMFlavor::TOSUBCLASS); |
else | else |