Distinction between properties and methods

The ITLogLib API doesn’t contain direct accessible values (global variables, class and instance members) -- access is provided only by methods.

 

Of course the API classes have many values that are returned using methods called GetPropertyName() or IsPropertyName(). Such values are called "properties" in the API documentation. Usually they are members of the classes (i.e. of the instances) or primitively computed values. Besides read-only properties there are also read/write properties -- properties which also have a SetPropertyName() method.

 

As a consequence, the access methods (all methods carrying the prefixes "Get", "Is" and "Set" and additionally the method ITLogMsg::WillBeLogged) are listed under the name of the respective properties and not under "methods", although they are methods in the strict C++ sense and also called so in the API documentation.

In the COM-DLL variant of ITLogLib they are true properties.