SORTIE Java Interface  1
Public Member Functions | Protected Attributes | List of all members
sortie.data.simpletypes.ModelFloat Class Reference

This class packages float values with additional information. More...

Inheritance diagram for sortie.data.simpletypes.ModelFloat:
sortie.data.simpletypes.ModelData

Public Member Functions

 ModelFloat (float fValue, String sDescriptor, String sXMLTag)
 Constructor. More...
 
String toString ()
 Required overridden method. More...
 
 ModelFloat (String sDescriptor, String sXMLTag)
 Constructor. More...
 
void setValue (float fValue)
 Sets the float value. More...
 
float getValue ()
 Gets the float value. More...
 
Object clone ()
 Creates a clone of this object. More...
 
- Public Member Functions inherited from sortie.data.simpletypes.ModelData
 ModelData (String sDescriptor, String sXMLTag)
 Constructor. More...
 
String getDescriptor ()
 Returns the descriptor string. More...
 
void setDescriptor (String sDescriptor)
 Sets the descriptor string. More...
 
String getXMLTag ()
 Returns the XML tag associated with this piece of data. More...
 
abstract String toString ()
 String representation of the value. More...
 
void setXMLTag (String sXMLTag)
 Sets the XML tag associated with this piece of data. More...
 

Protected Attributes

float m_fValue
 Variable value. More...
 
- Protected Attributes inherited from sortie.data.simpletypes.ModelData
String m_sDescriptor
 Descriptive string. More...
 

Detailed Description

This class packages float values with additional information.

Copyright: Copyright (c) Charles D. Canham 2003

Company: Cary Institute of Ecosystem Studies

Author
Lora E. Murphy
Version
1.0


Edit history:
---------------—
April 28, 2004: Submitted in beta version (LEM)

Constructor & Destructor Documentation

◆ ModelFloat() [1/2]

sortie.data.simpletypes.ModelFloat.ModelFloat ( float  fValue,
String  sDescriptor,
String  sXMLTag 
)

Constructor.

Parameters
fValueFloat value being encapsulated
sDescriptorDescriptor string.
sXMLTagThe XML tag associated with this piece of data.

◆ ModelFloat() [2/2]

sortie.data.simpletypes.ModelFloat.ModelFloat ( String  sDescriptor,
String  sXMLTag 
)

Constructor.

Parameters
sDescriptorDescriptor string.
sXMLTagThe XML tag associated with this piece of data.

Member Function Documentation

◆ clone()

Object sortie.data.simpletypes.ModelFloat.clone ( )

Creates a clone of this object.

Returns
Object

◆ getValue()

float sortie.data.simpletypes.ModelFloat.getValue ( )

Gets the float value.

Returns
The float value.

◆ setValue()

void sortie.data.simpletypes.ModelFloat.setValue ( float  fValue)

Sets the float value.

Parameters
fValueValue to set.

◆ toString()

String sortie.data.simpletypes.ModelFloat.toString ( )

Required overridden method.

Returns
String representation of the value.

Member Data Documentation

◆ m_fValue

float sortie.data.simpletypes.ModelFloat.m_fValue
protected

Variable value.


The documentation for this class was generated from the following file: