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

Diff for /pegasus/src/Pegasus/Common/Formatter.h between version 1.21 and 1.23

version 1.21, 2005/02/05 22:59:23 version 1.23, 2005/12/09 19:42:09
Line 35 
Line 35 
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
 #include <Pegasus/Common/String.h> #include <Pegasus/Common/String.h>
 #include <Pegasus/Common/Linkage.h> #include <Pegasus/Common/Linkage.h>
   #ifdef PEGASUS_INTERNALONLY
   #include <Pegasus/Common/StrLit.h>
   #endif
  
 #ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES #ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES
  
Line 81 
Line 84 
     {     {
     public:     public:
  
         enum Type { VOIDT, STRING, BOOLEAN, INTEGER, UINTEGER, LINTEGER,          enum Type { VOIDT, STRING, CSTRLIT, BOOLEAN, INTEGER,
                         ULINTEGER, REAL };              UINTEGER, LINTEGER, ULINTEGER, REAL };
  
         Arg() : _type(VOIDT)         Arg() : _type(VOIDT)
         {         {
Line 96 
Line 99 
         {         {
         }         }
  
   #ifdef PEGASUS_INTERNALONLY
           Arg(const StrLit& x) : _cstrlit(&x), _type(CSTRLIT)
           {
           }
   #endif
   
         Arg(Boolean x) : _boolean(x), _type(BOOLEAN)         Arg(Boolean x) : _boolean(x), _type(BOOLEAN)
         {         {
         }         }
Line 121 
Line 130 
  
         String toString() const;         String toString() const;
  
           void appendToString(String& out) const;
   
         friend class MessageLoader;  //l10n         friend class MessageLoader;  //l10n
  
     private:     private:
Line 135 
Line 146 
             int _boolean;             int _boolean;
             Sint64 _lInteger;             Sint64 _lInteger;
             Uint64 _lUInteger;             Uint64 _lUInteger;
   #ifdef PEGASUS_INTERNALONLY
               const StrLit* _cstrlit;
   #else
               const void* _unused;
   #endif
         };         };
  
         Type _type;         Type _type;


Legend:
Removed from v.1.21  
changed lines
  Added in v.1.23

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2