This is an old revision of the document!
These standards should be followed by all CoastalME developers.
Class in CoastalME begin with C and are formed using CamelCase.
Class member names begin with a lower case “m_” followed by variable name using Hungarian notation. A variable name starts with a group of lower-case letters which are mnemonics for the type that variable, followed by whatever name the programmer has chosen; this last part is sometimes distinguished as the given name. The first character of the given name should be capitalized to separate it from the type indicators.
An exception to this rule are ofstream type variables being the format of ofstream is VariableNAmeStream
Examples of ofstream variables:
All class members should be private. Public class members are STRONGLY discouraged
Class member values should be obtained through accesssor functions. The function should be named without a get prefix. Accessor functions for the two private members above would be:
Function names begin with a lowercase letter and are formed using mixed case. The function name should convey something about the purpose of the function.