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

Diff for /pegasus/src/Pegasus/Common/CIMClassRep.h between version 1.18 and 1.30

version 1.18, 2001/12/22 02:15:15 version 1.30, 2002/07/26 20:01:19
Line 1 
Line 1 
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001 The Open group, BMC Software, Tivoli Systems, IBM  // Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM,
   // The Open Group, Tivoli Systems
 // //
 // 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 22 
Line 23 
 // //
 // Author: Mike Brasher (mbrasher@bmc.com) // Author: Mike Brasher (mbrasher@bmc.com)
 // //
 // Modified By:  // Modified By: Carol Ann Krug Graves, Hewlett-Packard Company
   //                (carolann_graves@hp.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 32 
Line 34 
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
 #include <Pegasus/Common/CIMObjectRep.h> #include <Pegasus/Common/CIMObjectRep.h>
 #include <Pegasus/Common/CIMMethod.h> #include <Pegasus/Common/CIMMethod.h>
   #include <Pegasus/Common/Linkage.h>
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
Line 40 
Line 43 
 class CIMConstClass; class CIMConstClass;
 class CIMInstanceRep; class CIMInstanceRep;
  
   // ATTN: KS P3 -document the CIMClass and CIMObjectRep  classes.
   
 class PEGASUS_COMMON_LINKAGE CIMClassRep : public CIMObjectRep class PEGASUS_COMMON_LINKAGE CIMClassRep : public CIMObjectRep
 { {
 public: public:
  
     CIMClassRep(     CIMClassRep(
         const String& className,          const CIMObjectPath& reference,
         const String& superClassName);         const String& superClassName);
  
     virtual ~CIMClassRep();     virtual ~CIMClassRep();
Line 54 
Line 59 
  
     Boolean isAbstract() const;     Boolean isAbstract() const;
  
       Boolean isTrueQualifier(const String& name) const;
   
     const String& getSuperClassName() const { return _superClassName; }     const String& getSuperClassName() const { return _superClassName; }
  
     void setSuperClassName(const String& superClassName);     void setSuperClassName(const String& superClassName);
Line 62 
Line 69 
  
     void addMethod(const CIMMethod& x);     void addMethod(const CIMMethod& x);
  
     Uint32 findMethod(const String& name);      Uint32 findMethod(const String& name) const;
   
     Uint32 findMethod(const String& name) const  
     {  
         return ((CIMClassRep*)this)->findMethod(name);  
     }  
   
     Boolean existsMethod(const String& name);  
   
     Boolean existsMethod(const String& name) const  
     {  
         return ((CIMClassRep*)this)->existsMethod(name);  
     }  
  
     CIMMethod getMethod(Uint32 pos);     CIMMethod getMethod(Uint32 pos);
  
Line 91 
Line 86 
         DeclContext* context,         DeclContext* context,
         const String& nameSpace);         const String& nameSpace);
  
     Boolean identical(const CIMClassRep* x) const;      virtual Boolean identical(const CIMObjectRep* x) const;
  
     void toXml(Array<Sint8>& out) const;     void toXml(Array<Sint8>& out) const;
  
     void print(PEGASUS_STD(ostream)& os = PEGASUS_STD(cout)) const;  
   
     void toMof(Array<Sint8>& out) const;     void toMof(Array<Sint8>& out) const;
  
     void printMof(PEGASUS_STD(ostream)& os = PEGASUS_STD(cout)) const;  
   
     virtual CIMObjectRep* clone() const     virtual CIMObjectRep* clone() const
     {     {
         return new CIMClassRep(*this);         return new CIMClassRep(*this);
Line 116 
Line 107 
  
     CIMClassRep(const CIMClassRep& x);     CIMClassRep(const CIMClassRep& x);
  
       // This method is declared and made private so that the compiler does
       // not implicitly define a default copy constructor.
     CIMClassRep& operator=(const CIMClassRep& x)     CIMClassRep& operator=(const CIMClassRep& x)
     {     {
           //PEGASUS_ASSERT(0);
         return *this;         return *this;
     }     }
  


Legend:
Removed from v.1.18  
changed lines
  Added in v.1.30

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2