|
svvitch
digital signage player
|
#include <windows.h>#include <map>#include <string>#include <vector>#include <Poco/Path.h>

Go to the source code of this file.
Namespaces | |
| namespace | svvitch |
ユーティリティ関数 | |
Functions | |
| const string | svvitch::version () |
| バージョン | |
| bool | svvitch::readFile (const string &file, LPVOID *buf) |
| ファイルを読込んでバッファのポインタを返します。 バッファは呼出し側で解放すること。 | |
| void | svvitch::sjis_utf8 (const string &in, string &out) |
| SJIS>UTF-8に変換 | |
| void | svvitch::sjis_utf16 (const string &in, wstring &out) |
| SJIS>UTF-16に変換 | |
| void | svvitch::utf16_sjis (const wstring &wstr, string &out) |
| UTF16->SJISに変換 | |
| void | svvitch::utf8_sjis (const string &str, string &out) |
| UTF-8->SJISに変換 | |
| int | svvitch::fileCount (const Path &path) |
| サブフォルダを含むファイル数を返します | |
| string | svvitch::md5 (const Path &path) |
| ファイルのMD5シグネイチャを取得 | |
| string | svvitch::join (const vector< string > &v, const string &c) |
| 文字列結合 | |
| void | svvitch::split (const string &s, char c, vector< string > &v, int splits=0) |
| 文字列分割 | |
| bool | svvitch::parseMultiNumbers (const string &s, int min, int max, vector< int > &result) |
| 複数数値記述文字列のパース | |
| string | svvitch::formatJSON (const string &s) |
| JSON文字列生成 | |
| string | svvitch::formatJSON (const map< string, string > &obj) |
| JSON文字列生成 | |
| string | svvitch::formatJSONArray (const vector< string > &list) |
| JSON配列文字列生成 | |
| string | svvitch::trimQuotationMark (const string &s) |
| void | svvitch::parseJSON (const string &json, map< string, string > &map) |
| void | svvitch::parseJSONArray (const string &json, vector< string > &v) |
| string | svvitch::findLastOfText (const string &src, const string &find) |
| srcの中の最後のfind以降の文字列を取得します | |
| vector< int > | svvitch::parseTimes (const string &timeText) |
| void | svvitch::rebootWindows (BOOL shutdown=FALSE, BOOL force=FALSE) |