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

Diff for /pegasus/src/Pegasus/Common/Attic/BinaryStreamer.cpp between version 1.3 and 1.4

version 1.3, 2004/07/01 15:11:38 version 1.4, 2004/08/19 21:24:34
Line 49 
Line 49 
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
 PEGASUS_EXPORT int removeDescription=-1;  
   
 void BinaryStreamer::encode(Array<Sint8>& out, const CIMClass& cls) void BinaryStreamer::encode(Array<Sint8>& out, const CIMClass& cls)
 { {
    toBin(out, cls);    toBin(out, cls);
Line 668 
Line 666 
    CIMName name=rep->getName();    CIMName name=rep->getName();
    append(out,name);    append(out,name);
  
    if (removeDescription>0 && name=="description") {     toBin(out,rep->getValue());
       CIMValue val(CIMTYPE_STRING,false);  
       val.set(String("*REMOVED*"));  
       toBin(out,val);  
    }  
    else toBin(out,rep->getValue());  
  
    toBin(out,rep->getFlavor());    toBin(out,rep->getFlavor());
  


Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2