Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

AIDA_Tuple.templ

Go to the documentation of this file.
00001 // Emacs -*- C++ -*-
00002 
00003 template< class T > bool
00004 Anaphe::AIDA_Tuple_native::AIDA_Tuple::fillChecked( int column, T value ) {
00005   void * p = m_store->variableAddress( m_header, column );
00006   if ( !p ) return false;
00007   T* tp = reinterpret_cast<T*>( p );
00008   *tp = value;
00009   return true;
00010 };
00011 
00012 
00013 template< class T > const T*
00014 Anaphe::AIDA_Tuple_native::AIDA_Tuple::getVariable( int column ) const {
00015   const AIDA::Dev::IBackingStore* pstore = m_store;
00016   const void* p = pstore->variableAddress( m_header, column );
00017   if ( !p ) return 0;
00018   return reinterpret_cast<const T*>( p );
00019 };
00020 
00021 
00022 template< class T > T*
00023 Anaphe::AIDA_Tuple_native::AIDA_Tuple::getVariable( int column ) {
00024   void* p = m_store->variableAddress( m_header, column );
00025   if ( !p ) return 0;
00026   return reinterpret_cast<T*>( p );
00027 };

Generated on Tue Feb 18 17:51:19 2003 for AIDA_Tuple_native by doxygen1.2.16