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

Diff for /pegasus/src/Pegasus/Common/CIMParameterRep.cpp between version 1.1 and 1.5

version 1.1, 2001/02/18 18:39:06 version 1.5, 2001/05/20 20:33:59
Line 1 
Line 1 
 //BEGIN_LICENSE  //%/////////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000 The Open Group, BMC Software, Tivoli Systems, IBM // Copyright (c) 2000 The Open Group, BMC Software, Tivoli Systems, IBM
 // //
Line 17 
Line 17 
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
 // //
 //END_LICENSE  //==============================================================================
 //BEGIN_HISTORY  
 // //
 // Author:  // Author: Mike Brasher (mbrasher@bmc.com)
 // //
 // $Log$  // Modified By:
 // Revision 1.1  2001/02/18 18:39:06  mike  
 // new  
 // //
 // Revision 1.1  2001/02/16 02:07:06  mike  //%/////////////////////////////////////////////////////////////////////////////
 // Renamed many classes and headers (using new CIM prefixes).  
 //  
 // Revision 1.2  2001/01/22 00:45:47  mike  
 // more work on resolve scheme  
 //  
 // Revision 1.1.1.1  2001/01/14 19:53:02  mike  
 // Pegasus import  
 //  
 //  
 //END_HISTORY  
  
 #include <cstdio> #include <cstdio>
 #include "CIMParameter.h" #include "CIMParameter.h"
Line 66 
Line 53 
     if (_arraySize && !_isArray)     if (_arraySize && !_isArray)
         throw IncompatibleTypes();         throw IncompatibleTypes();
  
     if (referenceClassName.getLength())      if (referenceClassName.size())
     {     {
         if (!CIMName::legal(referenceClassName))         if (!CIMName::legal(referenceClassName))
             throw IllegalName();             throw IllegalName();
Line 157 
Line 144 
     }     }
 } }
  
 void CIMParameterRep::print() const  void CIMParameterRep::print(PEGASUS_STD(ostream) &os) const
 { {
     Array<Sint8> tmp;     Array<Sint8> tmp;
     toXml(tmp);     toXml(tmp);
     tmp.append('\0');     tmp.append('\0');
     std::cout << tmp.getData() << std::endl;      os << tmp.getData() << PEGASUS_STD(endl);
 } }
  
 Boolean CIMParameterRep::identical(const CIMParameterRep* x) const Boolean CIMParameterRep::identical(const CIMParameterRep* x) const
Line 207 
Line 194 
 { {
     _type = type;     _type = type;
  
     if (_referenceClassName.getLength() == 0 && _type == CIMType::REFERENCE)      if (_referenceClassName.size() == 0 && _type == CIMType::REFERENCE)
     {     {
         throw MissingReferenceClassName();         throw MissingReferenceClassName();
     }     }


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2