PowerPointRTC  0.5.0
 全て クラス ファイル 関数 変数
関数
SubFunction.cpp

文字列の操作等 [詳細]

#include "SubFunction.h"

関数

std::string Replace (std::string String1, std::string String2, std::string String3)
 文字を置換する関数
int convertStrToVal (std::string m_str)
 セルの番号を数値に変換する関数
std::string MarshalString (System::String^s)
 System::Stringをstd::stringに変換する関数
vector< string > split (const string &str, const string &delim)

説明

文字列の操作等


関数

int convertStrToVal ( std::string  m_str)

セルの番号を数値に変換する関数

引数:
m_strセルの番号(アルファベット)
戻り値:
対応する数値
std::string MarshalString ( System::String^  s)

System::Stringをstd::stringに変換する関数

引数:
s変換前の文字列
戻り値:
変換後の文字列
std::string Replace ( std::string  String1,
std::string  String2,
std::string  String3 
)

文字を置換する関数

引数:
String1変換元の文字列
String2置換前の文字
String3置換後の文字
戻り値:
変換後の文字列