Ignore:
Timestamp:
Apr 22, 2009, 9:07:53 PM (16 years ago)
Author:
Christoph Mayer
Message:

-jede Menge fixes und Umstellungen
-angefangen ariba/interface los zu werden, erste dateien sind weg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/messages/Message.h

    r3036 r3037  
    235235                }
    236236                return NULL;
     237        }
     238       
     239        /**
     240         * The same as decapsulate, but this function
     241         * is used in the samples to make the semantics easier
     242         * to understand. The semantics is shown to be: you get
     243         * a message and convert it to your type. Not as: you
     244         * get a message and have to extract your message from it.
     245         */ 
     246        template<class T>
     247        inline T* convert() {
     248                return decapsulate<T>();       
    237249        }
    238250
Note: See TracChangeset for help on using the changeset viewer.