Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members

Sofu::Value Class Reference

Represents the type "Value" of the Sofu file format. More...

Inheritance diagram for Sofu::Value:

Sofu::Object List of all members.

Public Member Functions

 Value (const string &ivalue)
 Value (const Value &cpy)
string getString (void)
 Converts the value to a string.

int getInt (void)
 Converts the value to an integer.

double getFloat (void)
 Converts the value to a floating-point number.


Detailed Description

Represents the type "Value" of the Sofu file format.


Member Function Documentation

double Sofu::Value::getFloat void   ) 
 

Converts the value to a floating-point number.

Returns:
The double containing the value.

int Sofu::Value::getInt void   ) 
 

Converts the value to an integer.

Returns:
The integer containing the value.

string Sofu::Value::getString void   ) 
 

Converts the value to a string.

Returns:
The string containing the value.


The documentation for this class was generated from the following file:
Generated on Wed Jan 7 21:34:45 2004 for libsofu by doxygen 1.3.5