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

CEGUI::PropertyHelper Class Reference

Helper class used to convert various data types to and from the format expected in Propery strings. More...

#include <CEGUIPropertyHelper.h>

List of all members.

Static Public Member Functions

float stringToFloat (const String &str)
uint stringToUint (const String &str)
bool stringToBool (const String &str)
Size stringToSize (const String &str)
Point stringToPoint (const String &str)
Rect stringToRect (const String &str)
MetricsMode stringToMetricsMode (const String &str)
const Image * stringToImage (const String &str)
colour stringToColour (const String &str)
ColourRect stringToColourRect (const String &str)
String floatToString (float val)
String uintToString (uint val)
String boolToString (bool val)
String sizeToString (const Size &val)
String pointToString (const Point &val)
String rectToString (const Rect &val)
String metricsModeToString (MetricsMode val)
String imageToString (const Image *const val)
String colourToString (const colour &val)
String colourRectToString (const ColourRect &val)


Detailed Description

Helper class used to convert various data types to and from the format expected in Propery strings.

Definition at line 39 of file CEGUIPropertyHelper.h.


Member Function Documentation

String CEGUI::PropertyHelper::boolToString (  bool  val  )  [static]
 

Definition at line 169 of file CEGUIPropertyHelper.cpp.

References CEGUI::utf8.

String CEGUI::PropertyHelper::colourRectToString (  const ColourRect &  val  )  [static]
 

Definition at line 268 of file CEGUIPropertyHelper.cpp.

References CEGUI::ColourRect::d_bottom_left, CEGUI::ColourRect::d_bottom_right, CEGUI::ColourRect::d_top_left, CEGUI::ColourRect::d_top_right, CEGUI::colour::getARGB(), and CEGUI::utf8.

String CEGUI::PropertyHelper::colourToString (  const colour &  val  )  [static]
 

Definition at line 245 of file CEGUIPropertyHelper.cpp.

References CEGUI::colour::getARGB(), and CEGUI::utf8.

String CEGUI::PropertyHelper::floatToString (  float  val  )  [static]
 

Definition at line 147 of file CEGUIPropertyHelper.cpp.

References CEGUI::utf8.

String CEGUI::PropertyHelper::imageToString (  const Image *const   val  )  [static]
 

Definition at line 234 of file CEGUIPropertyHelper.cpp.

References CEGUI::Image::getImagesetName(), CEGUI::Image::getName(), and CEGUI::utf8.

String CEGUI::PropertyHelper::metricsModeToString (  MetricsMode  val  )  [static]
 

Definition at line 216 of file CEGUIPropertyHelper.cpp.

References CEGUI::utf8.

String CEGUI::PropertyHelper::pointToString (  const Point &  val  )  [static]
 

Definition at line 194 of file CEGUIPropertyHelper.cpp.

References CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, CEGUI::Point, and CEGUI::utf8.

String CEGUI::PropertyHelper::rectToString (  const Rect &  val  )  [static]
 

Definition at line 205 of file CEGUIPropertyHelper.cpp.

References CEGUI::Rect::d_bottom, CEGUI::Rect::d_left, CEGUI::Rect::d_right, CEGUI::Rect::d_top, and CEGUI::utf8.

String CEGUI::PropertyHelper::sizeToString (  const Size &  val  )  [static]
 

Definition at line 183 of file CEGUIPropertyHelper.cpp.

References CEGUI::Size::d_height, CEGUI::Size::d_width, and CEGUI::utf8.

bool CEGUI::PropertyHelper::stringToBool (  const String &  str  )  [static]
 

Definition at line 58 of file CEGUIPropertyHelper.cpp.

References CEGUI::utf8.

colour CEGUI::PropertyHelper::stringToColour (  const String &  str  )  [static]
 

Definition at line 256 of file CEGUIPropertyHelper.cpp.

References CEGUI::String::c_str(), and CEGUI::ulong.

ColourRect CEGUI::PropertyHelper::stringToColourRect (  const String &  str  )  [static]
 

Definition at line 279 of file CEGUIPropertyHelper.cpp.

References CEGUI::String::c_str(), and CEGUI::ulong.

float CEGUI::PropertyHelper::stringToFloat (  const String &  str  )  [static]
 

Definition at line 36 of file CEGUIPropertyHelper.cpp.

References CEGUI::String::c_str().

const Image * CEGUI::PropertyHelper::stringToImage (  const String &  str  )  [static]
 

Definition at line 123 of file CEGUIPropertyHelper.cpp.

References CEGUI::String::c_str(), and CEGUI::utf8.

MetricsMode CEGUI::PropertyHelper::stringToMetricsMode (  const String &  str  )  [static]
 

Definition at line 105 of file CEGUIPropertyHelper.cpp.

References CEGUI::MetricsMode, and CEGUI::utf8.

Point CEGUI::PropertyHelper::stringToPoint (  const String &  str  )  [static]
 

Definition at line 83 of file CEGUIPropertyHelper.cpp.

References CEGUI::String::c_str(), CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, and CEGUI::Point.

Rect CEGUI::PropertyHelper::stringToRect (  const String &  str  )  [static]
 

Definition at line 94 of file CEGUIPropertyHelper.cpp.

References CEGUI::String::c_str(), CEGUI::Rect::d_bottom, CEGUI::Rect::d_left, CEGUI::Rect::d_right, and CEGUI::Rect::d_top.

Size CEGUI::PropertyHelper::stringToSize (  const String &  str  )  [static]
 

Definition at line 72 of file CEGUIPropertyHelper.cpp.

References CEGUI::String::c_str(), CEGUI::Size::d_height, and CEGUI::Size::d_width.

uint CEGUI::PropertyHelper::stringToUint (  const String &  str  )  [static]
 

Definition at line 47 of file CEGUIPropertyHelper.cpp.

References CEGUI::String::c_str(), and CEGUI::uint.

String CEGUI::PropertyHelper::uintToString (  uint  val  )  [static]
 

Definition at line 158 of file CEGUIPropertyHelper.cpp.

References CEGUI::utf8.


The documentation for this class was generated from the following files:
Generated on Wed Feb 16 12:41:10 2005 for Crazy Eddies GUI System by  doxygen 1.3.9.1