openrave.org

 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義 グループ ページ
関数
cpp-gen-md5.cpp

(2013-03-18 10:33:00 +0900, commit:334d202)

Generates a md5 hash from the lexical tokens of a C++ ignoring directives and whitespace. [詳細]

#include "cpp_lexer.hpp"
#include <iostream>
#include <vector>
#include <sstream>
#include <cstdio>
#include <cstring>
#include "md5.h"
cpp-gen-md5.cppのインクルード依存関係図

ソースコードを見る。

関数

void getTokenData (const char *fname, vector< char > &vdata)
 
string getmd5hash (const char *fname, const vector< char > &vbasedata)
 
int main (int argc, char *argv[])
 

説明

Generates a md5 hash from the lexical tokens of a C++ ignoring directives and whitespace.

作者
Rosen Diankov Usage:
cpp-gen-md5 [filename1 define1] [filename2 define2] ...

If only a filename is given, will output a 16 byte string. If both filename and define are given will output a file consisting of the hashes:

#define @define2@ "@md5hash@"

cpp-gen-md5.cpp で定義されています。

関数

string getmd5hash ( const char *  fname,
const vector< char > &  vbasedata 
)

cpp-gen-md5.cpp125 行で定義されています。

void getTokenData ( const char *  fname,
vector< char > &  vdata 
)

cpp-gen-md5.cpp68 行で定義されています。

int main ( int  argc,
char *  argv[] 
)

cpp-gen-md5.cpp32 行で定義されています。