00001 #ifndef ATLFAST_ISASSOCIATED_H
00002 #define ATLFAST_ISASSOCIATED_H
00006
00007 #ifndef ATLFAST_TYPEVISITOR_H
00008 #include "AtlfastEvent/TypeVisitor.h"
00009 #endif
00010
00011 #ifndef ATLFAST_IAOO_H
00012 #include "AtlfastEvent/IAOO.h"
00013 #endif
00014
00015 #ifndef ATLFAST_SIMPLEASSOCSDISPATCHER_H
00016 #include "AtlfastEvent/SimpleAssocsDispatcher.h"
00017 #endif
00018
00019
00020 namespace Atlfast {
00021
00022 template<class T>
00023 bool IsAssociated( const IAOO* c ){
00024
00025 TypeVisitor tv = SimpleAssocsDispatcher(c, TypeVisitor());
00026 T t;
00027 return ( !((tv.typeVector( t )).empty()) );
00028 }
00029 }
00030
00031
00032
00033
00034 #endif
00035
00036
00037
00038
00039