|
SqlBuilder Syntax conventions
----------------------------------------------------------------------------------
Using these conventions results in better readable code and less coding errors !
(not all of the following is used for C# anymore)
----------------------------------------------------------------------------------
cName for class definitions
tName for type definitions
eName for enum definitions
kName for struct definitions
e_Name for enum variables
E_Name for enum constant values
ev_Name for events
i_Name for instances of classes
h_Name for handles
T_Name for Templates
s_Name for strings
r_Name for return values
f_Name for function pointers
k_Name for contructs (struct)
b_Name bool 1 Bit
s8_Name signed 8 Bit (char)
s16_Name signed 16 Bit (SHORT, WCHAR)
s32_Name signed 32 Bit (LONG, int)
s64_Name signed 64 Bit (LONGLONG)
u8_Name unsigned 8 Bit (BYTE)
u16_Name unsigned 16 bit (WORD)
u32_Name unsigned 32 Bit (DWORD, UINT)
u64_Name unsigned 64 Bit (ULONGLONG)
d_Name for double
c_Name for a C# character (unicode)
----------------
m_Name for member variables of a class (e.g. ms32_Name for int member variable)
g_Name for global variables (e.g. gu16_Name for global WORD)
p_Name for pointer (e.g. ps_Name *pointer to string)
pp_Name for pointer to pointer (e.g. ppd_Name **pointer to double)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.