(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 kumpf 1.73     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 r.kieninger 1.72     friend class CIMClassRep;
351 mike        1.23 };
352                  
353                  ////////////////////////////////////////////////////////////////////////////////
354                  //
355                  // CIMConstInstance
356                  //
357                  ////////////////////////////////////////////////////////////////////////////////
358                  
359 kumpf       1.71 /**
360                      The CIMConstInstance class provides a const interface to a CIMInstance
361                      object.  This class is needed because the shared representation model
362                      used by CIMInstance does not prevent modification to a const CIMInstance
363                      object.  Note that the value of a CIMConstInstance object could still be
364                      modified by a CIMInstance object that refers to the same data copy.
365                  */
366 mike        1.23 class PEGASUS_COMMON_LINKAGE CIMConstInstance
367                  {
368                  public:
369                  
370 kumpf       1.71     /**
371                          Constructs an uninitialized CIMConstInstance object.  A method
372                          invocation on an uninitialized object will result in the throwing
373                          of an UninitializedObjectException.  An uninitialized object may
374                          be converted into an initialized object only by using the assignment
375                          operator with an initialized object.
376                      */
377 kumpf       1.36     CIMConstInstance();
378 mike        1.23 
379 kumpf       1.71     /**
380                          Constructs a CIMConstInstance object from the value of a specified
381                          CIMConstInstance object, so that both objects refer to the same data
382                          copy.
383                          @param x The CIMConstInstance object from which to construct a new
384                              CIMConstInstance object.
385                      */
386 kumpf       1.36     CIMConstInstance(const CIMConstInstance& x);
387 mike        1.23 
388 kumpf       1.71     /**
389                          Constructs a CIMConstInstance object from the value of a specified
390                          CIMInstance object, so that both objects refer to the same data
391                          copy.
392                          @param x The CIMInstance object from which to construct a new
393                              CIMConstInstance object.
394                      */
395 kumpf       1.36     CIMConstInstance(const CIMInstance& x);
396 mike        1.23 
397 kumpf       1.71     /**
398                          Constructs a CIMConstInstance object from the value of a specified
399                          CIMObject object, so that both objects refer to the same data copy.
400                          @param x The CIMObject object from which to construct the
401                              CIMConstInstance object.
402                          @exception DynamicCastFailedException If a CIMConstInstance can not be
403                              created from the given CIMObject.
404                      */
405 kumpf       1.73     explicit CIMConstInstance(const CIMObject& x);
406 mike        1.25 
407 kumpf       1.71     /**
408                          Constructs a CIMConstInstance object from the value of a specified
409                          CIMConstObject object, so that both objects refer to the same data
410                          copy.
411                          @param x The CIMConstObject object from which to construct the
412                              CIMConstInstance object.
413                          @exception DynamicCastFailedException If a CIMConstInstance can not be
414                              created from the given CIMConstObject.
415                      */
416 kumpf       1.73     explicit CIMConstInstance(const CIMConstObject& x);
417 mike        1.25 
418 kumpf       1.71     /**
419                          Constructs a CIMConstInstance object with the specified class name.
420                          @param className A CIMName specifying the class name of the instance.
421                      */
422 kumpf       1.52     CIMConstInstance(const CIMName& className);
423 kumpf       1.36 
424 kumpf       1.71     /**
425                          Assigns the value of the specified CIMConstInstance object to this
426                          object, so that both objects refer to the same data copy.
427                          @param x The CIMConstInstance object from which to assign this
428                              CIMConstInstance object.
429                          @return A reference to this CIMConstInstance object.
430                      */
431 kumpf       1.36     CIMConstInstance& operator=(const CIMConstInstance& x);
432                  
433 kumpf       1.71     /**
434                          Assigns the value of the specified CIMInstance object to this
435                          object, so that both objects refer to the same data copy.
436                          @param x The CIMInstance object from which to assign this
437                              CIMConstInstance object.
438                          @return A reference to this CIMConstInstance object.
439                      */
440 kumpf       1.36     CIMConstInstance& operator=(const CIMInstance& x);
441                  
442 kumpf       1.71     /**
443                          Destructs the CIMConstInstance object.
444                      */
445 kumpf       1.36     ~CIMConstInstance();
446                  
447 kumpf       1.71     /**
448                          Gets the class name of the instance.
449                          @return A CIMName containing the class name.
450                          @exception UninitializedObjectException If the object is not
451                              initialized.
452                      */
453 kumpf       1.52     const CIMName& getClassName() const;
454 kumpf       1.36 
455 kumpf       1.71     /**
456                          Gets the object path for the instance.
457                          @return A CIMObjectPath containing the object path.
458                          @exception UninitializedObjectException If the object is not
459                              initialized.
460                      */
461 kumpf       1.43     const CIMObjectPath& getPath() const;
462 kumpf       1.36 
463 kumpf       1.71     /**
464                          Finds a qualifier by name.
465                          @param name A CIMName specifying the name of the qualifier to be found.
466                          @return Index of the qualifier if found or PEG_NOT_FOUND if not found.
467                          @exception UninitializedObjectException If the object is not
468                              initialized.
469                      */
470 kumpf       1.52     Uint32 findQualifier(const CIMName& name) const;
471 kumpf       1.36 
472 kumpf       1.71     /**
473                          Gets the qualifier at the specified index.
474                          @param index The index of the qualifier to be retrieved.
475                          @return The CIMConstQualifier at the specified index.
476                          @exception IndexOutOfBoundsException If the index is outside
477                              the range of qualifiers available for the CIMConstInstance.
478                          @exception UninitializedObjectException If the object is not
479                              initialized.
480                      */
481 kumpf       1.57     CIMConstQualifier getQualifier(Uint32 index) const;
482 kumpf       1.36 
483 kumpf       1.71     /**
484                          Gets the number of qualifiers in the instance.
485                          @return An integer count of the qualifiers in the CIMInstance.
486                          @exception UninitializedObjectException If the object is not
487                              initialized.
488                      */
489 kumpf       1.36     Uint32 getQualifierCount() const;
490                  
491 kumpf       1.71     /**
492                          Finds a property by name.
493                          @param name A CIMName specifying the name of the property to be found.
494                          @return Index of the property if found or PEG_NOT_FOUND if not found.
495                          @exception UninitializedObjectException If the object is not
496                              initialized.
497                      */
498 kumpf       1.52     Uint32 findProperty(const CIMName& name) const;
499 kumpf       1.36 
500 kumpf       1.71     /**
501                          Gets the property at the specified index.
502                          @param index The index of the property to be retrieved.
503                          @return The CIMConstProperty at the specified index.
504                          @exception IndexOutOfBoundsException If the index is outside
505                              the range of properties available for the CIMConstInstance.
506                          @exception UninitializedObjectException If the object is not
507                              initialized.
508                      */
509 kumpf       1.57     CIMConstProperty getProperty(Uint32 index) const;
510 mike        1.23 
511 kumpf       1.71     /**
512                          Gets the number of properties in the instance.
513                          @return An integer count of the properties in the CIMConstInstance.
514                          @exception UninitializedObjectException If the object is not
515                              initialized.
516                      */
517 kumpf       1.36     Uint32 getPropertyCount() const;
518                  
519 kumpf       1.71     /**
520                          Builds the object path for this instance, based on the class name
521                          and property values in the instance and the Key qualifiers on the
522                          properties in the class definition.  The returned object path does
523                          not include hostname and namespace attributes.
524                          Note that this method does not update the path attribute of the
525                          CIMInstance.
526                          @return A CIMObjectPath containing the object path for the instance.
527                          @exception UninitializedObjectException If the object is not
528                              initialized.
529                      */
530 kumpf       1.55     CIMObjectPath buildPath(const CIMConstClass& cimClass) const;
531 kumpf       1.36 
532 kumpf       1.71     /**
533                          Makes a deep copy of the instance.  This creates a new copy of all
534                          the instance attributes including qualifiers and properties.
535                          @return A CIMInstance object with a separate copy of the
536                              CIMConstInstance object.
537                          @exception UninitializedObjectException If the object is not
538                              initialized.
539                      */
540 kumpf       1.36     CIMInstance clone() const;
541                  
542 kumpf       1.71     /**
543                          Compares the CIMConstInstance with a specified CIMConstInstance.
544                          @param x The CIMConstInstance to be compared.
545                          @return True if this instance is identical to the one specified,
546                              false otherwise.
547                          @exception UninitializedObjectException If the object is not
548                              initialized.
549                      */
550 kumpf       1.36     Boolean identical(const CIMConstInstance& x) const;
551                  
552 kumpf       1.71     /**
553                          Determines whether the object has been initialized.
554                          @return True if the object has not been initialized, false otherwise.
555                      */
556 kumpf       1.54     Boolean isUninitialized() const;
557 mike        1.23 
558                  private:
559                  
560 kumpf       1.36     CIMInstanceRep* _rep;
561                  
562                      void _checkRep() const;
563 mike        1.23 
564                      friend class CIMInstance;
565 mike        1.25     friend class CIMObject;
566                      friend class CIMConstObject;
567 kumpf       1.40     friend class XmlWriter;
568 kumpf       1.41     friend class MofWriter;
569 schuur      1.64     friend class BinaryStreamer;
570 mike        1.23 };
571                  
572                  #define PEGASUS_ARRAY_T CIMInstance
573 kumpf       1.46 # include <Pegasus/Common/ArrayInter.h>
574 mike        1.23 #undef PEGASUS_ARRAY_T
575                  
576                  PEGASUS_NAMESPACE_END
577                  
578 mike        1.25 #endif /* Pegasus_Instance_h */

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2