|  | 
Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members 
 XMLFloat  Class Reference#include <XMLFloat.hpp>
Inheritance diagram for XMLFloat  [legend]Collaboration diagram for XMLFloat:  [legend]List of all members. 
 Member Enumeration Documentation
 
  
    | 
        
          | enum XMLFloat::LiteralType |  |  
  
    |  | 
Constructs a newly allocated XMLFloatobject that represents the value represented by the string. 
 
Parameters: 
| the | Stringto be converted to anXMLFloat. | 
 
Exceptions: 
| NumberFormatException | if the Stringdoes not contain a parsable XMLFloat. | 
 
Enumeration values:
| NegINF |  |  | NegZero |  |  | PosZero |  |  | PosINF |  |  | NaN |  |  | SpecialTypeNum |  |  | Normal |  | 
 |  
 Constructor & Destructor Documentation
 
  
    | 
        
          | XMLFloat::XMLFloat ( | const XMLCh *const strValue ) |  |  
 
 
  
    | 
        
          | XMLFloat::XMLFloat ( | const XMLFloat & toCopy ) |  |  
 Member Function Documentation
 
  
    | 
        
          | int XMLFloat::compareValues ( | const XMLFloat *const lValue, |  
          |  | const XMLFloat *const rValue )  [static] |  |  
 
  
    | 
        
          | int XMLFloat::getSign ( | ) const  [virtual] |  |  
  
    |  | 
Returns the sign of this number.
 
-1 negative 0 zero 1 positive 
 
Reimplemented from XMLNumber.     |  
 
  
    | 
        
          | bool XMLFloat::operator== ( | const XMLFloat & toCompare ) const |  |  
  
    |  | 
Compares this object to the specified object.
 
The result is trueif and only if the argument is notnulland is anXMLFloatobject that contains the sameintvalue as this object. 
Parameters: 
| obj | the object to compare with. | 
 
Returns: 
 trueif the objects are the same;falseotherwise.
 |  
 
  
    | 
        
          | void XMLFloat::reinitXMLFloat ( | )  [static] |  |  
 
  
    | 
        
          | virtual XMLCh* XMLFloat::toString ( | ) const  [virtual] |  |  
  
    |  | 
Return string representation of the decimal value.
 
A decimal point will be included as necessary,  the caller of this method is responsible for the  de-allocation of the memory. 
 
Reimplemented from XMLNumber.     |  The documentation for this class was generated from the following file:
 |