![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
Helper functions for parsing MySQL statements and the like. More...
Static Public Member Functions | |
| static string | ConvertUnderscoreToCamelCase (string name) |
Properties | |
| static MySqlConnectionStringBuilder SqlBuilder | get |
Static Private Attributes | |
| static MySqlConnectionStringBuilder | _builder |
Definition at line 12 of file ParseHelper.cs.
| static string RoutineAnalyzer::ParseHelper::ConvertUnderscoreToCamelCase | ( | string | name | ) | [inline, static] |
Definition at line 29 of file ParseHelper.cs.
Referenced by RoutineAnalyzer::CppWrapperSetRoutine::GetCode(), RoutineAnalyzer::CppWrapperGetRoutine::GetCode(), RoutineAnalyzer::CppGetRoutineParam::GetCppName(), RoutineAnalyzer::UScriptSetRoutineParam::GetDeclaration(), RoutineAnalyzer::UScriptSetRoutine::GetDeclaration(), RoutineAnalyzer::UScriptGetRoutine::GetDeclaration(), RoutineAnalyzer::CppWrapperSetRoutineParam::GetDeclaration(), RoutineAnalyzer::CppWrapperSetRoutine::GetDeclaration(), RoutineAnalyzer::CppWrapperGetRoutine::GetDeclaration(), RoutineAnalyzer::CppSetRoutineParam::GetDeclaration(), RoutineAnalyzer::CppSetRoutine::GetDeclaration(), RoutineAnalyzer::CppGetRoutine::GetDeclaration(), RoutineAnalyzer::CppWrapperSetRoutineParam::GetParameter(), RoutineAnalyzer::CppWrapperSetRoutineParam::GetPostExecuteCode(), RoutineAnalyzer::CppSetRoutineParam::GetPostExecuteCode(), RoutineAnalyzer::CppSetRoutineParam::GetPreExecuteCode(), RoutineAnalyzer::CppGetRoutineParam::GetPreExecuteCode(), and RoutineAnalyzer::CppWrapperSetRoutineParam::GetStdStringName().
{
string[] nameParts = name.Split('_');
name = nameParts[0];
for (int i = 1; i < nameParts.Length; ++i)
{
name += char.ToUpper(nameParts[i][0]);
name += nameParts[i].Substring(1, nameParts[i].Length - 1);
}
return name;
}
MySqlConnectionStringBuilder RoutineAnalyzer::ParseHelper::_builder [static, private] |
Definition at line 14 of file ParseHelper.cs.
MySqlConnectionStringBuilder SqlBuilder RoutineAnalyzer::ParseHelper::get [static] |
Definition at line 18 of file ParseHelper.cs.
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.