メインページ | ネームスペース一覧 | 構成 | Directories | ファイル一覧 | ネームスペースメンバ | 構成メンバ | ファイルメンバ

ネームスペース azarac


構成

class  Cookie
 Cookieを扱うためのクラス [詳細]
class  HTTPResponse
 クライアントへの返答を処理するクラス [詳細]
class  HTTPRequest
 クライアントからの入力を処理するクラス [詳細]

関数

template<typename T>
string toString (T x)
 任意の型からstringに変換する
template<typename T>
fromString (string x)
 stringを任意の型に変換する
string escapeHTML (const string &s)
 HTML用に文字列をエスケープする
string urlEncode (const string &s)
 URL Encodeする
string urlDecode (const string &s)
 URL Decodeする
void include (const string &fn)
int display (string input_fn, HTTPRequest *pRequest=NULL, HTTPResponse *pResponse=NULL)
 テンプレートを読み込み、その内容を解釈して標準出力に出力する
string what ()
 エラーメッセージを生成する
string what_html ()
 エラーメッセージをHTMLで生成する


関数

int azarac::display string  input_fn,
HTTPRequest *  pRequest = NULL,
HTTPResponse *  pResponse = NULL
 

テンプレートを読み込み、その内容を解釈して標準出力に出力する

引数:
input_fn 読み込むテンプレート
pRequest クライアントへの要求を表すオブジェクト
pResponse クライアントへの返答を表すオブジェクト
戻り値:
エラーなら-1、そうでなければ0

string azarac::escapeHTML const string &  s  ) 
 

HTML用に文字列をエスケープする

引数:
s エスケープする文字列
戻り値:
エスケープされた文字列 '<' -> "&lt;" '>' -> "&gt;" '&' -> "&amp;" '\'' -> "&apos;" '"' -> "&quot;" にそれぞれエスケープされる

template<typename T>
T azarac::fromString string  x  ) 
 

stringを任意の型に変換する

void azarac::include const string &  fn  ) 
 

template<typename T>
string azarac::toString x  ) 
 

任意の型からstringに変換する

string azarac::urlDecode const string &  s  ) 
 

URL Decodeする

引数:
s URL Decodeする文字列
戻り値:
URL Decodeされた文字列

string azarac::urlEncode const string &  s  ) 
 

URL Encodeする

引数:
s URL Encodeする文字列
戻り値:
URL Encodeされた文字列

string azarac::what  ) 
 

エラーメッセージを生成する

戻り値:
エラーメッセージ

string azarac::what_html  ) 
 

エラーメッセージをHTMLで生成する

戻り値:
HTML化されたエラーメッセージ


AzaraCに対してTue Oct 10 03:24:51 2006に生成されました。  doxygen 1.4.4