template<typename T> const T &GetData(unsigned int tag) const template<typename T> const T &GetData(const char *tag) const
These template methods return the first instance of data stored previously with the associated data tag. Integer tags should be allocated using the OEGetTag (Section 10.7) function. Run-time type checking is performed when data is requested. A data type mismatch between the storage and request types will result in a default data instance being returned instead of the original data. Request for datum not present will also result in a default data instance being returned.