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

Lamp::TextConverter Class Reference

テキストコンバータ Stringを"でかこまれ、エスケープシーケンスが文字列に展開されたテキストに変換し、 逆変換も行うクラスです。 More...

#include <TextConverter.h>

List of all members.

Static Public Member Functions

String stringToText (const String &string)
 Stringからテキストへの変換.

String textToString (const String &text)
 テキストからStringへの変換


Detailed Description

テキストコンバータ Stringを"でかこまれ、エスケープシーケンスが文字列に展開されたテキストに変換し、 逆変換も行うクラスです。

Definition at line 36 of file TextConverter.h.


Member Function Documentation

String Lamp::TextConverter::stringToText const String string  )  [static]
 

Stringからテキストへの変換.

Parameters:
string テキストに変換するString
Returns:
テキストデータ

Definition at line 33 of file TextConverter.cpp.

References Lamp::String::getBytes(), Lamp::String::getSize(), and StdStrinc.

String Lamp::TextConverter::textToString const String text  )  [static]
 

テキストからStringへの変換

Parameters:
text Stringに変換するテキスト
Returns:
Stringデータ

Definition at line 110 of file TextConverter.cpp.

References Assert, AssertMessage, Lamp::String::charAt(), Lamp::String::getBytes(), Lamp::String::getSize(), and StdStrinc.


The documentation for this class was generated from the following files:
Generated on Wed Mar 16 10:29:52 2005 for Lamp by doxygen 1.3.2