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

Diff for /pegasus/src/Pegasus/Common/SCMOXmlWriter.cpp between version 1.4.2.2 and 1.4.2.6

version 1.4.2.2, 2011/10/11 18:18:09 version 1.4.2.6, 2013/10/13 21:31:59
Line 27 
Line 27 
 // //
 ////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
 // //
   // This code implements part of PEP#348 - The CMPI infrastructure using SCMO
   // (Single Chunk Memory Objects).
   // The design document can be found on the OpenPegasus website openpegasus.org
   // at https://collaboration.opengroup.org/pegasus/pp/documents/21210/PEP_348.pdf
   //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
Line 127 
Line 132 
     }     }
 } }
  
   // EXP_PULL_BEGIN
 void SCMOXmlWriter::appendValueSCMOInstanceWithPathElements( void SCMOXmlWriter::appendValueSCMOInstanceWithPathElements(
      Buffer& out,      Buffer& out,
      const Array<SCMOInstance> & _scmoInstances,      const Array<SCMOInstance> & _scmoInstances,
Line 137 
Line 143 
         Array<Uint32> emptyNodes;         Array<Uint32> emptyNodes;
         for (Uint32 i = 0, n = _scmoInstances.size(); i < n; i++)         for (Uint32 i = 0, n = _scmoInstances.size(); i < n; i++)
         {         {
             SCMOXmlWriter::appendValueSCMOInstanceWithPathElement(              SCMOXmlWriter::appendValueInstanceWithPathElement(
                 out,                 out,
                 _scmoInstances[i],                 _scmoInstances[i],
                 false,                 false,
Line 158 
Line 164 
                     _scmoInstances[i],                     _scmoInstances[i],
                     propertyList);                     propertyList);
  
             SCMOXmlWriter::appendValueSCMOInstanceWithPathElement(              SCMOXmlWriter::appendValueInstanceWithPathElement(
                 out,                 out,
                 _scmoInstances[i],                 _scmoInstances[i],
                 true,                 true,
Line 166 
Line 172 
         }         }
     }     }
 } }
   //EXP_PULL_END
  
 // KS_TODO - Show the XML statement for this function // KS_TODO - Show the XML statement for this function
 void SCMOXmlWriter::appendValueSCMOInstanceElement( void SCMOXmlWriter::appendValueSCMOInstanceElement(
Line 182 
Line 189 
     out << STRLIT("</VALUE.NAMEDINSTANCE>\n");     out << STRLIT("</VALUE.NAMEDINSTANCE>\n");
 } }
  
 //------------------------------------------------------------------------------  
 //  
 // appendValueInstanceWithPathElement() -- Pull Operation support  
 //  
 //     <!ELEMENT VALUE.INSTANCEWITHPATH (INSTANCEPATH,INSTANCE)>  
 //  
 //------------------------------------------------------------------------------  
   
 // KS_TODO - Double check to be sure this not duplication  
 void SCMOXmlWriter::appendValueSCMOInstanceWithPathElement(  
     Buffer& out,  
     const SCMOInstance& scmoInstance,  
     bool filtered,  
     const Array<Uint32> & nodes)  
 {  
     out << STRLIT("<VALUE.INSTANCEWITHPATH>\n");  
   
     appendInstancePathElement(out,scmoInstance);  
     appendInstanceElement(out, scmoInstance, filtered, nodes);  
   
     out << STRLIT("</VALUE.INSTANCEWITHPATH>\n");  
 }  
  
 void SCMOXmlWriter::appendInstanceNameElement( void SCMOXmlWriter::appendInstanceNameElement(
     Buffer& out,     Buffer& out,
Line 796 
Line 781 
     appendInstanceNameElement(out, instancePath);     appendInstanceNameElement(out, instancePath);
     out << STRLIT("</INSTANCEPATH>\n");     out << STRLIT("</INSTANCEPATH>\n");
 } }
   
 void SCMOXmlWriter::appendValueObjectWithPathElement( void SCMOXmlWriter::appendValueObjectWithPathElement(
     Buffer& out,     Buffer& out,
     const Array<SCMOInstance> & objectWithPath,     const Array<SCMOInstance> & objectWithPath,
Line 835 
Line 821 
     }     }
 } }
  
   //EXP_PULL_BEGIN
 //------------------------------------------------------------------------------ //------------------------------------------------------------------------------
 // //
 // appendValueInstanceWithPathElement() // appendValueInstanceWithPathElement()
Line 857 
Line 844 
  
     out << STRLIT("</VALUE.INSTANCEWITHPATH>\n");     out << STRLIT("</VALUE.INSTANCEWITHPATH>\n");
 } }
   //EXP_PULL_END
  
 // appendValueObjectWithPathElement() // appendValueObjectWithPathElement()
 //     <!ELEMENT VALUE.OBJECTWITHPATH //     <!ELEMENT VALUE.OBJECTWITHPATH


Legend:
Removed from v.1.4.2.2  
changed lines
  Added in v.1.4.2.6

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2