(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.28 and 1.43.2.1

version 1.28, 2002/06/01 00:56:22 version 1.43.2.1, 2006/02/10 16:09:33
Line 1 
Line 1 
 //%/////////////////////////////////////////////////////////////////////////////  //%2006////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM,  // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
 // The Open Group, Tivoli Systems  // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
   // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
   // IBM Corp.; EMC Corporation, The Open Group.
   // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
   // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
   // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
   // 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 23 
Line 31 
 // //
 // 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)
   //              Adriann Schuur (schuur@de.ibm.com) PEP 164
   //              David Dillard, VERITAS Software Corp.
   //                  (david.dillard@veritas.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 31 
Line 43 
 #define Pegasus_CIMClassRep_h #define Pegasus_CIMClassRep_h
  
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
   #include <Pegasus/Common/InternalException.h>
   #include <Pegasus/Common/CIMName.h>
 #include <Pegasus/Common/CIMObjectRep.h> #include <Pegasus/Common/CIMObjectRep.h>
 #include <Pegasus/Common/CIMMethod.h> #include <Pegasus/Common/CIMMethod.h>
   #include <Pegasus/Common/CIMInstance.h>
   #include <Pegasus/Common/CIMPropertyList.h>
   #include <Pegasus/Common/Linkage.h>
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
Line 48 
Line 65 
 public: public:
  
     CIMClassRep(     CIMClassRep(
         const CIMObjectPath& reference,          const CIMName& className,
         const String& superClassName);          const CIMName& superClassName);
  
     virtual ~CIMClassRep();     virtual ~CIMClassRep();
  
Line 57 
Line 74 
  
     Boolean isAbstract() const;     Boolean isAbstract() const;
  
     Boolean isTrueQualifier(const String& name) const;      const CIMName& getSuperClassName() const { return _superClassName; }
   
     const String& getSuperClassName() const { return _superClassName; }  
  
     void setSuperClassName(const String& superClassName);      void setSuperClassName(const CIMName& superClassName);
  
     virtual void addProperty(const CIMProperty& x);     virtual void addProperty(const CIMProperty& x);
  
     void addMethod(const CIMMethod& x);     void addMethod(const CIMMethod& x);
  
     Uint32 findMethod(const String& name) const;      Uint32 findMethod(const CIMName& name) const;
  
     Boolean existsMethod(const String& name) const;      CIMMethod getMethod(Uint32 index);
  
     CIMMethod getMethod(Uint32 pos);      CIMConstMethod getMethod(Uint32 index) const
   
     CIMConstMethod getMethod(Uint32 pos) const  
     {     {
         return ((CIMClassRep*)this)->getMethod(pos);          return ((CIMClassRep*)this)->getMethod(index);
     }     }
  
     void removeMethod(Uint32 pos);      void removeMethod(Uint32 index);
  
     Uint32 getMethodCount() const;     Uint32 getMethodCount() const;
  
     void resolve(     void resolve(
         DeclContext* context,         DeclContext* context,
         const String& nameSpace);          const CIMNamespaceName& nameSpace);
  
     virtual Boolean identical(const CIMObjectRep* x) const;     virtual Boolean identical(const CIMObjectRep* x) const;
  
     void toXml(Array<Sint8>& out) const;      void toXml(Buffer& out) const;
  
     void toMof(Array<Sint8>& out) const;      void toMof(Buffer& out) const;
  
     virtual CIMObjectRep* clone() const     virtual CIMObjectRep* clone() const
     {     {
         return new CIMClassRep(*this);         return new CIMClassRep(*this);
     }     }
  
     void getKeyNames(Array<String>& keyNames) const;      void getKeyNames(Array<CIMName>& keyNames) const;
  
     Boolean hasKeys() const;     Boolean hasKeys() const;
  
       CIMInstance buildInstance(Boolean includeQualifiers,
           Boolean includeClassOrigin,
           const CIMPropertyList & propertyList) const;
   
 private: private:
  
     CIMClassRep();     CIMClassRep();
Line 115 
Line 132 
         return *this;         return *this;
     }     }
  
     String _superClassName;      CIMName _superClassName;
     Array<CIMMethod> _methods;     Array<CIMMethod> _methods;
  
     friend class CIMClass;     friend class CIMClass;
     friend class CIMInstanceRep;     friend class CIMInstanceRep;
       friend class BinaryStreamer;
 }; };
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.28  
changed lines
  Added in v.1.43.2.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2