* foo.numericId(); // returns foo's NumericId.
* \endcode
*/
- template<class TDerived, class TNumericIdType>
+ template<class _Derived, class _NumericIdType>
struct ProvideNumericId
{
public:
/** \return The objects numeric Id. */
- TNumericIdType numericId() const
+ _NumericIdType numericId() const
{ return _numericId; }
protected:
{}
private:
/** Provide the next Id to use. */
- static TNumericIdType nextId()
+ static _NumericIdType nextId()
{
- static TNumericIdType _staticCounter = 0;
+ static _NumericIdType _staticCounter = 0;
// Assert not returning 0
return ++_staticCounter;
}
/** */
- const TNumericIdType _numericId;
+ const _NumericIdType _numericId;
};
///////////////////////////////////////////////////////////////////