Changeset 25113 in vbox
- Timestamp:
- Nov 30, 2009 3:55:00 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/doc/VBox-CodingGuidelines.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/VBox-CodingGuidelines.cpp
r21449 r25113 331 331 * - The 'm_' (or 'm') prefix means a class data member. 332 332 * 333 * In new code in Main, use "m_" (and common sense). As an exception, in Main, 334 * if a class encapsulates its member variables in an anonymous 335 * structure which is declared in the class, but defined only in the 336 * implementation (like this: "class X { struct Data; Data *m; }"), then 337 * the pointer to that struct is called "m" itself and its members then need no prefix, 338 * because the members are accessed with "m->member" already which is clear enough. 339 * 333 340 * - The 'p' prefix means pointer. For instance 'pVM' is pointer to VM. 334 341 * … … 368 375 * 369 376 * - The 'usz' prefix means zero terminated Unicode string (array of RTUNICP). 377 * 378 * - The 'str' prefix means C++ string; either a std::string or, in Main, a Utf8Str. 379 * 380 * - The 'bstr' prefix, in Main, means a UTF-16 Bstr. 370 381 * 371 382 * - The 'pfn' prefix means pointer to function. Common usage is 'pfnCallback'
Note:
See TracChangeset
for help on using the changeset viewer.

