| 27 | |
| 28 | |
| 29 | template<typename T> inline T cASCPPParameter::Get() const |
| 30 | { |
| 31 | if (strcmp(m_nobj->GetType(), typeid(T).name()) != 0) |
| 32 | exit(AS_EXIT_INTERNAL_ERROR); // @AS_TODO - report type mismatch error |
| 33 | return (T)m_nobj->GetObject(); |
| 34 | } |
| 35 | |
| 36 | #endif |