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

  1 karl  1.70 //%2006////////////////////////////////////////////////////////////////////////
  2 mike  1.23 //
  3 karl  1.68 // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
  4            // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
  5            // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
  6 karl  1.63 // IBM Corp.; EMC Corporation, The Open Group.
  7 karl  1.68 // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
  8            // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
  9 karl  1.69 // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 10            // EMC Corporation; VERITAS Software Corporation; The Open Group.
 11 karl  1.70 // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 12            // EMC Corporation; Symantec Corporation; The Open Group.
 13 mike  1.23 //
 14            // Permission is hereby granted, free of charge, to any person obtaining a copy
 15 chip  1.26 // of this software and associated documentation files (the "Software"), to
 16            // deal in the Software without restriction, including without limitation the
 17            // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 18 mike  1.23 // sell copies of the Software, and to permit persons to whom the Software is
 19            // furnished to do so, subject to the following conditions:
 20 kumpf 1.47 // 
 21 chip  1.26 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
 22 mike  1.23 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
 23            // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
 24 chip  1.26 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 25            // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 26            // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 27 mike  1.23 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 28            // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 29            //
 30            //==============================================================================
 31            //
 32            //%/////////////////////////////////////////////////////////////////////////////
 33            
 34 mike  1.25 #ifndef Pegasus_Instance_h
 35            #define Pegasus_Instance_h
 36 mike  1.23 
 37            #include <Pegasus/Common/Config.h>
 38 kumpf 1.52 #include <Pegasus/Common/Linkage.h>
 39            #include <Pegasus/Common/CIMName.h>
 40 mike  1.25 #include <Pegasus/Common/CIMObject.h>
 41 karl  1.65 #include <Pegasus/Common/CIMPropertyList.h>
 42 mike  1.23 
 43            PEGASUS_NAMESPACE_BEGIN
 44            
 45            ////////////////////////////////////////////////////////////////////////////////
 46            //
 47            // CIMInstance
 48            //
 49            ////////////////////////////////////////////////////////////////////////////////
 50            
 51            class CIMConstInstance;
 52 kumpf 1.36 class CIMInstanceRep;
 53 kumpf 1.50 class Resolver;
 54 mike  1.23 
 55 kumpf 1.71 /**
 56                The CIMInstance class represents the DMTF standard CIM instance definition.
 57            
 58                <p>The CIMInstance class uses a shared representation model, such that
 59                multiple CIMInstance objects may refer to the same data copy.  Assignment
 60                and copy operators create new references to the same data, not distinct
 61                copies.  An update to a CIMInstance object affects all the CIMInstance
 62                objects that refer to the same data copy.  The data remains valid until
 63                all the CIMInstance objects that refer to it are destructed.  A separate
 64                copy of the data may be created using the clone method.
 65 mike  1.23 */
 66            class PEGASUS_COMMON_LINKAGE CIMInstance
 67            {
 68            public:
 69            
 70 kumpf 1.71     /**
 71                    Constructs an uninitialized CIMInstance object.  A method
 72                    invocation on an uninitialized object will result in the throwing
 73                    of an UninitializedObjectException.  An uninitialized object may
 74                    be converted into an initialized object only by using the assignment
 75                    operator with an initialized object.
 76 mike  1.23     */
 77 kumpf 1.36     CIMInstance();
 78 mike  1.23 
 79 kumpf 1.71     /**
 80                    Constructs a CIMInstance object from the value of a specified
 81                    CIMInstance object, so that both objects refer to the same data copy.
 82                    @param x The CIMInstance object from which to construct a new
 83                        CIMInstance object.
 84 mike  1.23     */
 85 kumpf 1.36     CIMInstance(const CIMInstance& x);
 86 mike  1.23 
 87 kumpf 1.71     /**
 88                    Constructs a CIMInstance object from the value of a specified
 89                    CIMObject object, so that both objects refer to the same data copy.
 90                    @param x The CIMObject object from which to construct the
 91                        CIMInstance object.
 92                    @exception DynamicCastFailedException If a CIMInstance can not be
 93                        created from the given CIMObject.
 94 kumpf 1.58     */
 95                PEGASUS_EXPLICIT CIMInstance(const CIMObject& x);
 96 mike  1.25 
 97 kumpf 1.71     /**
 98                    Constructs a CIMInstance object with the specified class name.
 99                    @param className A CIMName specifying the class name of the instance.
100 mike  1.23     */
101 kumpf 1.52     CIMInstance(const CIMName& className);
102 kumpf 1.36 
103 kumpf 1.71     /**
104                    Assigns the value of the specified CIMInstance object to this object,
105                    so that both objects refer to the same data copy.
106                    @param x The CIMInstance object from which to assign this CIMInstance
107                        object.
108                    @return A reference to this CIMInstance object.
109                */
110 kumpf 1.36     CIMInstance& operator=(const CIMInstance& x);
111 mike  1.23 
112 kumpf 1.71     /**
113                    Destructs the CIMInstance object.
114                */
115 kumpf 1.60     ~CIMInstance();
116 mike  1.23 
117 kumpf 1.71     /**
118                    Gets the class name of the instance.
119                    @return A CIMName containing the class name.
120                    @exception UninitializedObjectException If the object is not
121                        initialized.
122 mike  1.23     */
123 kumpf 1.52     const CIMName& getClassName() const;
124 mike  1.23 
125 kumpf 1.71     /**
126                    Gets the object path for the instance.
127                    @return A CIMObjectPath containing the object path.
128                    @exception UninitializedObjectException If the object is not
129                        initialized.
130                */
131 kumpf 1.43     const CIMObjectPath& getPath() const;
132 kumpf 1.45 
133 kumpf 1.71     /**
134                    Sets the object path for the instance.
135                    @param path A CIMObjectPath containing the object path.
136                    @exception UninitializedObjectException If the object is not
137                        initialized.
138 kumpf 1.61     */
139 kumpf 1.45     void setPath (const CIMObjectPath & path);
140 chip  1.26 
141 kumpf 1.71     /**
142                    Adds a qualifier to the instance.
143                    @param qualifier The CIMQualifier to be added.
144                    @return A reference to this CIMInstance object.
145                    @exception AlreadyExistsException If a qualifier with the
146                        same name already exists in the CIMInstance.
147                    @exception UninitializedObjectException If the object is not
148                        initialized.
149 mike  1.23     */
150 kumpf 1.36     CIMInstance& addQualifier(const CIMQualifier& qualifier);
151 mike  1.23 
152 kumpf 1.71     /**
153                    Finds a qualifier by name.
154                    @param name A CIMName specifying the name of the qualifier to be found.
155                    @return Index of the qualifier if found or PEG_NOT_FOUND if not found.
156                    @exception UninitializedObjectException If the object is not
157                        initialized.
158 mike  1.23     */
159 kumpf 1.52     Uint32 findQualifier(const CIMName& name) const;
160 mike  1.24 
161 kumpf 1.71     /**
162                    Gets the qualifier at the specified index.
163                    @param index The index of the qualifier to be retrieved.
164                    @return The CIMQualifier at the specified index.
165                    @exception IndexOutOfBoundsException If the index is outside
166                        the range of qualifiers available for the CIMInstance.
167                    @exception UninitializedObjectException If the object is not
168                        initialized.
169 mike  1.23     */
170 kumpf 1.57     CIMQualifier getQualifier(Uint32 index);
171 mike  1.23 
172 kumpf 1.71     /**
173                    Gets the qualifier at the specified index.
174                    @param index The index of the qualifier to be retrieved.
175                    @return The CIMConstQualifier at the specified index.
176                    @exception IndexOutOfBoundsException If the index is outside
177                        the range of qualifiers available for the CIMInstance.
178                    @exception UninitializedObjectException If the object is not
179                        initialized.
180 mike  1.23     */
181 kumpf 1.57     CIMConstQualifier getQualifier(Uint32 index) const;
182 mike  1.23 
183 kumpf 1.71     /**
184                    Removes a qualifier from the instance.
185                    @param index The index of the qualifier to remove.
186                    @exception IndexOutOfBoundsException If the index is
187                        outside the range of qualifiers available for the CIMInstance.
188                    @exception UninitializedObjectException If the object is not
189                        initialized.
190 kumpf 1.62     */
191                void removeQualifier(Uint32 index);
192            
193 kumpf 1.71     /**
194                    Gets the number of qualifiers in the instance.
195                    @return An integer count of the qualifiers in the CIMInstance.
196                    @exception UninitializedObjectException If the object is not
197                        initialized.
198 mike  1.23     */
199 kumpf 1.36     Uint32 getQualifierCount() const;
200 mike  1.23 
201 kumpf 1.71     /**
202                    Adds a property to the instance.
203                    @param x The CIMProperty to be added.
204                    @return A reference to this CIMInstance object.
205                    @exception AlreadyExistsException If a property with the
206                        same name already exists in the CIMInstance.
207                    @exception UninitializedObjectException If the object is not
208                        initialized.
209 mike  1.23     */
210 kumpf 1.36     CIMInstance& addProperty(const CIMProperty& x);
211 mike  1.23 
212 kumpf 1.71     /**
213                    Finds a property by name.
214                    @param name A CIMName specifying the name of the property to be found.
215                    @return Index of the property if found or PEG_NOT_FOUND if not found.
216                    @exception UninitializedObjectException If the object is not
217                        initialized.
218 mike  1.23     */
219 kumpf 1.52     Uint32 findProperty(const CIMName& name) const;
220 mike  1.23 
221 kumpf 1.71     /**
222                    Gets the property at the specified index.
223                    @param index The index of the property to be retrieved.
224                    @return The CIMProperty at the specified index.
225                    @exception IndexOutOfBoundsException If the index is outside
226                        the range of properties available for the CIMInstance.
227                    @exception UninitializedObjectException If the object is not
228                        initialized.
229 mike  1.23     */
230 kumpf 1.58     CIMProperty getProperty(Uint32 index);
231 mike  1.23 
232 kumpf 1.71     /**
233                    Gets the property at the specified index.
234                    @param index The index of the property to be retrieved.
235                    @return The CIMConstProperty at the specified index.
236                    @exception IndexOutOfBoundsException If the index is outside
237                        the range of properties available for the CIMInstance.
238                    @exception UninitializedObjectException If the object is not
239                        initialized.
240 mike  1.23     */
241 kumpf 1.58     CIMConstProperty getProperty(Uint32 index) const;
242 mike  1.23 
243 kumpf 1.71     /**
244                    Removes a property from the instance.
245                    @param index The index of the property to remove.
246                    @exception IndexOutOfBoundsException If the index is
247                        outside the range of properties available for the CIMInstance.
248                    @exception UninitializedObjectException If the object is not
249                        initialized.
250 mike  1.23     */
251 kumpf 1.58     void removeProperty(Uint32 index);
252 mike  1.23 
253 kumpf 1.71     /**
254                    Gets the number of properties in the instance.
255                    @return An integer count of the properties in the CIMInstance.
256                    @exception UninitializedObjectException If the object is not
257                        initialized.
258 mike  1.23     */
259 kumpf 1.36     Uint32 getPropertyCount() const;
260 mike  1.23 
261 kumpf 1.71     /**
262                    Builds the object path for this instance, based on the class name
263                    and property values in the instance and the Key qualifiers on the
264                    properties in the class definition.  The returned object path does
265                    not include hostname and namespace attributes.
266                    Note that this method does not update the path attribute of the
267                    CIMInstance.
268                    @return A CIMObjectPath containing the object path for the instance.
269                    @exception UninitializedObjectException If the object is not
270                        initialized.
271 mike  1.23     */
272 kumpf 1.55     CIMObjectPath buildPath(const CIMConstClass& cimClass) const;
273 mike  1.23 
274 kumpf 1.71     /**
275                    Makes a deep copy of the instance.  This creates a new copy of all
276                    the instance attributes including qualifiers and properties.
277                    @return A new copy of the CIMInstance object.
278                    @exception UninitializedObjectException If the object is not
279                        initialized.
280                */
281 kumpf 1.36     CIMInstance clone() const;
282            
283 kumpf 1.71     /**
284                    Compares the CIMInstance with a specified CIMConstInstance.
285                    @param x The CIMConstInstance to be compared.
286                    @return True if this instance is identical to the one specified,
287                        false otherwise.
288                    @exception UninitializedObjectException If the object is not
289                        initialized.
290 mike  1.23     */
291                Boolean identical(const CIMConstInstance& x) const;
292            
293 kumpf 1.71     /**
294                    Determines whether the object has been initialized.
295                    @return True if the object has not been initialized, false otherwise.
296                */
297 kumpf 1.54     Boolean isUninitialized() const;
298            
299 karl  1.67 #ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES
300                /**  <I><B>Experimental Interface</B></I><BR>
301 kumpf 1.71         Filter the properties, qualifiers and class origin attributes from the
302                    instance based on specified filtering criteria.  Information is not
303                    added by this method, it is only removed.  This method is specifically
304                    designed to allow providers to filter instances based on CIM operation
305                    parameters.
306            
307                    @param includeQualifiers A Boolean indicating whether qualifiers are
308                        preserved in the instance and its properties.  If false, existing
309                        qualifiers are removed; otherwise, qualifiers are not removed.
310                        Because the CIM specification is unclear on the meaning of this
311                        parameter and its relationship to instance operations, the
312                        behavior when this parameter is true MAY change in the future
313                        based on clarifications of the CIM specification.
314            
315                    @param includeClassOrigin A Boolean indicating whether ClassOrigin
316                        attributes are preserved in the properties.  If false, ClassOrigin
317                        attributes are removed from all properties; otherwise, ClassOrigin
318                        attributes are not removed.
319            
320                    @param propertyList A CIMPropertyList defining the properties that
321                        are preserved in the instance.  If the propertyList is not NULL,
322 kumpf 1.71             properties absent from this list are removed from the instance.
323                        If the propertyList is NULL, no properties are removed from the
324                        instance.
325            
326                    @exception UninitializedObjectException If the object is not
327                        initialized.
328                */
329                void filter(
330                    Boolean includeQualifiers,
331                    Boolean includeClassOrigin,
332                    const CIMPropertyList & propertyList);
333 karl  1.67 #endif
334 karl  1.65 
335 mike  1.23 private:
336            
337 kumpf 1.36     CIMInstanceRep* _rep;
338            
339                CIMInstance(CIMInstanceRep* rep);
340            
341                void _checkRep() const;
342 mike  1.23 
343                friend class CIMConstInstance;
344                friend class CIMObject;
345 mike  1.25     friend class CIMConstObject;
346 kumpf 1.50     friend class Resolver;
347 kumpf 1.40     friend class XmlWriter;
348 kumpf 1.41     friend class MofWriter;
349 schuur 1.64     friend class BinaryStreamer;
350 mike   1.23 };
351             
352             ////////////////////////////////////////////////////////////////////////////////
353             //
354             // CIMConstInstance
355             //
356             ////////////////////////////////////////////////////////////////////////////////
357             
358 kumpf  1.71 /**
359                 The CIMConstInstance class provides a const interface to a CIMInstance
360                 object.  This class is needed because the shared representation model
361                 used by CIMInstance does not prevent modification to a const CIMInstance
362                 object.  Note that the value of a CIMConstInstance object could still be
363                 modified by a CIMInstance object that refers to the same data copy.
364             */
365 mike   1.23 class PEGASUS_COMMON_LINKAGE CIMConstInstance
366             {
367             public:
368             
369 kumpf  1.71     /**
370                     Constructs an uninitialized CIMConstInstance object.  A method
371                     invocation on an uninitialized object will result in the throwing
372                     of an UninitializedObjectException.  An uninitialized object may
373                     be converted into an initialized object only by using the assignment
374                     operator with an initialized object.
375                 */
376 kumpf  1.36     CIMConstInstance();
377 mike   1.23 
378 kumpf  1.71     /**
379                     Constructs a CIMConstInstance object from the value of a specified
380                     CIMConstInstance object, so that both objects refer to the same data
381                     copy.
382                     @param x The CIMConstInstance object from which to construct a new
383                         CIMConstInstance object.
384                 */
385 kumpf  1.36     CIMConstInstance(const CIMConstInstance& x);
386 mike   1.23 
387 kumpf  1.71     /**
388                     Constructs a CIMConstInstance object from the value of a specified
389                     CIMInstance object, so that both objects refer to the same data
390                     copy.
391                     @param x The CIMInstance object from which to construct a new
392                         CIMConstInstance object.
393                 */
394 kumpf  1.36     CIMConstInstance(const CIMInstance& x);
395 mike   1.23 
396 kumpf  1.71     /**
397                     Constructs a CIMConstInstance object from the value of a specified
398                     CIMObject object, so that both objects refer to the same data copy.
399                     @param x The CIMObject object from which to construct the
400                         CIMConstInstance object.
401                     @exception DynamicCastFailedException If a CIMConstInstance can not be
402                         created from the given CIMObject.
403                 */
404 kumpf  1.58     PEGASUS_EXPLICIT CIMConstInstance(const CIMObject& x);
405 mike   1.25 
406 kumpf  1.71     /**
407                     Constructs a CIMConstInstance object from the value of a specified
408                     CIMConstObject object, so that both objects refer to the same data
409                     copy.
410                     @param x The CIMConstObject object from which to construct the
411                         CIMConstInstance object.
412                     @exception DynamicCastFailedException If a CIMConstInstance can not be
413                         created from the given CIMConstObject.
414                 */
415 kumpf  1.58     PEGASUS_EXPLICIT CIMConstInstance(const CIMConstObject& x);
416 mike   1.25 
417 kumpf  1.71     /**
418                     Constructs a CIMConstInstance object with the specified class name.
419                     @param className A CIMName specifying the class name of the instance.
420                 */
421 kumpf  1.52     CIMConstInstance(const CIMName& className);
422 kumpf  1.36 
423 kumpf  1.71     /**
424                     Assigns the value of the specified CIMConstInstance object to this
425                     object, so that both objects refer to the same data copy.
426                     @param x The CIMConstInstance object from which to assign this
427                         CIMConstInstance object.
428                     @return A reference to this CIMConstInstance object.
429                 */
430 kumpf  1.36     CIMConstInstance& operator=(const CIMConstInstance& x);
431             
432 kumpf  1.71     /**
433                     Assigns the value of the specified CIMInstance object to this
434                     object, so that both objects refer to the same data copy.
435                     @param x The CIMInstance object from which to assign this
436                         CIMConstInstance object.
437                     @return A reference to this CIMConstInstance object.
438                 */
439 kumpf  1.36     CIMConstInstance& operator=(const CIMInstance& x);
440             
441 kumpf  1.71     /**
442                     Destructs the CIMConstInstance object.
443                 */
444 kumpf  1.36     ~CIMConstInstance();
445             
446 kumpf  1.71     /**
447                     Gets the class name of the instance.
448                     @return A CIMName containing the class name.
449                     @exception UninitializedObjectException If the object is not
450                         initialized.
451                 */
452 kumpf  1.52     const CIMName& getClassName() const;
453 kumpf  1.36 
454 kumpf  1.71     /**
455                     Gets the object path for the instance.
456                     @return A CIMObjectPath containing the object path.
457                     @exception UninitializedObjectException If the object is not
458                         initialized.
459                 */
460 kumpf  1.43     const CIMObjectPath& getPath() const;
461 kumpf  1.36 
462 kumpf  1.71     /**
463                     Finds a qualifier by name.
464                     @param name A CIMName specifying the name of the qualifier to be found.
465                     @return Index of the qualifier if found or PEG_NOT_FOUND if not found.
466                     @exception UninitializedObjectException If the object is not
467                         initialized.
468                 */
469 kumpf  1.52     Uint32 findQualifier(const CIMName& name) const;
470 kumpf  1.36 
471 kumpf  1.71     /**
472                     Gets the qualifier at the specified index.
473                     @param index The index of the qualifier to be retrieved.
474                     @return The CIMConstQualifier at the specified index.
475                     @exception IndexOutOfBoundsException If the index is outside
476                         the range of qualifiers available for the CIMConstInstance.
477                     @exception UninitializedObjectException If the object is not
478                         initialized.
479                 */
480 kumpf  1.57     CIMConstQualifier getQualifier(Uint32 index) const;
481 kumpf  1.36 
482 kumpf  1.71     /**
483                     Gets the number of qualifiers in the instance.
484                     @return An integer count of the qualifiers in the CIMInstance.
485                     @exception UninitializedObjectException If the object is not
486                         initialized.
487                 */
488 kumpf  1.36     Uint32 getQualifierCount() const;
489             
490 kumpf  1.71     /**
491                     Finds a property by name.
492                     @param name A CIMName specifying the name of the property to be found.
493                     @return Index of the property if found or PEG_NOT_FOUND if not found.
494                     @exception UninitializedObjectException If the object is not
495                         initialized.
496                 */
497 kumpf  1.52     Uint32 findProperty(const CIMName& name) const;
498 kumpf  1.36 
499 kumpf  1.71     /**
500                     Gets the property at the specified index.
501                     @param index The index of the property to be retrieved.
502                     @return The CIMConstProperty at the specified index.
503                     @exception IndexOutOfBoundsException If the index is outside
504                         the range of properties available for the CIMConstInstance.
505                     @exception UninitializedObjectException If the object is not
506                         initialized.
507                 */
508 kumpf  1.57     CIMConstProperty getProperty(Uint32 index) const;
509 mike   1.23 
510 kumpf  1.71     /**
511                     Gets the number of properties in the instance.
512                     @return An integer count of the properties in the CIMConstInstance.
513                     @exception UninitializedObjectException If the object is not
514                         initialized.
515                 */
516 kumpf  1.36     Uint32 getPropertyCount() const;
517             
518 kumpf  1.71     /**
519                     Builds the object path for this instance, based on the class name
520                     and property values in the instance and the Key qualifiers on the
521                     properties in the class definition.  The returned object path does
522                     not include hostname and namespace attributes.
523                     Note that this method does not update the path attribute of the
524                     CIMInstance.
525                     @return A CIMObjectPath containing the object path for the instance.
526                     @exception UninitializedObjectException If the object is not
527                         initialized.
528                 */
529 kumpf  1.55     CIMObjectPath buildPath(const CIMConstClass& cimClass) const;
530 kumpf  1.36 
531 kumpf  1.71     /**
532                     Makes a deep copy of the instance.  This creates a new copy of all
533                     the instance attributes including qualifiers and properties.
534                     @return A CIMInstance object with a separate copy of the
535                         CIMConstInstance object.
536                     @exception UninitializedObjectException If the object is not
537                         initialized.
538                 */
539 kumpf  1.36     CIMInstance clone() const;
540             
541 kumpf  1.71     /**
542                     Compares the CIMConstInstance with a specified CIMConstInstance.
543                     @param x The CIMConstInstance to be compared.
544                     @return True if this instance is identical to the one specified,
545                         false otherwise.
546                     @exception UninitializedObjectException If the object is not
547                         initialized.
548                 */
549 kumpf  1.36     Boolean identical(const CIMConstInstance& x) const;
550             
551 kumpf  1.71     /**
552                     Determines whether the object has been initialized.
553                     @return True if the object has not been initialized, false otherwise.
554                 */
555 kumpf  1.54     Boolean isUninitialized() const;
556 mike   1.23 
557             private:
558             
559 kumpf  1.36     CIMInstanceRep* _rep;
560             
561                 void _checkRep() const;
562 mike   1.23 
563                 friend class CIMInstance;
564 mike   1.25     friend class CIMObject;
565                 friend class CIMConstObject;
566 kumpf  1.40     friend class XmlWriter;
567 kumpf  1.41     friend class MofWriter;
568 schuur 1.64     friend class BinaryStreamer;
569 mike   1.23 };
570             
571             #define PEGASUS_ARRAY_T CIMInstance
572 kumpf  1.46 # include <Pegasus/Common/ArrayInter.h>
573 mike   1.23 #undef PEGASUS_ARRAY_T
574             
575             PEGASUS_NAMESPACE_END
576             
577 mike   1.25 #endif /* Pegasus_Instance_h */

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2