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

Diff for /pegasus/src/Pegasus/Common/CIMFlavor.h between version 1.7.2.1 and 1.7.2.2

version 1.7.2.1, 2001/08/01 11:17:36 version 1.7.2.2, 2001/08/06 14:39:03
Line 57 
Line 57 
     static const Uint32 DEFAULTS;     static const Uint32 DEFAULTS;
 }; };
  
 PEGASUS_COMMON_LINKAGE String FlavorToString(Uint32 scope);  /** FlavorToMof - Converts the flavor attributes of a qualifier to CIM MOF
       keywords separated by spaces and returns them as a String.
       @param flavor Variable contianing the flavor mask
       @return Strin containing the flavor attribute keywords.
   */
   PEGASUS_COMMON_LINKAGE String FlavorToMof(Uint32 flavor);
   
   /** FlavorToXML - converts the flavor attributes of a qualifier to cimxml
       format and puts them into the variable out.
       @param out XML output stream into which the xml is places.
       @param flavor variable containing the flavor definition
       <pre>
       // Get flavorkeywords and test for any returned keywords
       Uint32 flavor = CIMFlavor::DEFAULTS,
       String flavorString;
       flavorString = FlavorToMof(_flavor);
       if (flavorString.size())
           ...           // code to execute if keywords exist
  
       </pre>
   */
 PEGASUS_COMMON_LINKAGE void FlavorToXml( PEGASUS_COMMON_LINKAGE void FlavorToXml(
     Array<Sint8>& out,     Array<Sint8>& out,
     Uint32 flavor);     Uint32 flavor);
  
 PEGASUS_COMMON_LINKAGE void FlavorToMof(  
     Array<Sint8>& out,  
     Uint32 flavor);  
   
   
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END
  
 #endif /* Pegasus_Flavor_h */ #endif /* Pegasus_Flavor_h */


Legend:
Removed from v.1.7.2.1  
changed lines
  Added in v.1.7.2.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2