From 8560817afe733401f3e29d172ab8b46ceba120a6 Mon Sep 17 00:00:00 2001 From: chatty Date: Wed, 2 Aug 1995 10:22:28 +0000 Subject: Added DnnEventType::GetName() --- dnn/Event.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dnn/Event.h b/dnn/Event.h index 40197fc..7609036 100644 --- a/dnn/Event.h +++ b/dnn/Event.h @@ -3,7 +3,7 @@ * * by Stephane Chatty * - * Copyright 1993-1994 + * Copyright 1993-1995 * Centre d'Etudes de la Navigation Aerienne (CENA) * * Events. @@ -75,6 +75,7 @@ public: DnnEventType (const char*, const DnnEventFeatureList&); ~DnnEventType (); inline int operator == (const DnnEventType& evt) const { return (this == &evt); } +inline const char* GetName () const { return Name; } inline int GetTotalSize () const { return (NbFeatures) > 0 ? FeaturesOffsets [NbFeatures - 1] : 0; } inline int GetOffset (int i) const { return i ? FeaturesOffsets [i-1] : 0; } inline int GetSize (int i) const { return FeaturesOffsets [i] - (i ? FeaturesOffsets [i-1] : 0); } -- cgit v1.1