Beispiel #1
0
 void MemberDecl::registerTypes( RC::Handle<CG::Manager> const &cgManager, CG::Diagnostics &diagnostics ) const
 {
   try
   {
     cgManager->getAdapter( m_type );
   }
   catch ( Exception e )
   {
     addError( diagnostics, e );
   }
 }
Beispiel #2
0
 std::string AssignOpImpl::getDesc( RC::Handle<CG::Manager> const &cgManager ) const
 {
   RC::ConstHandle<CG::Adapter> thisAdapter = cgManager->getAdapter( m_thisTypeName );
   RC::ConstHandle<CG::Adapter> thatAdapter = cgManager->getAdapter( m_rhs->getType() );
   return CG::AssignOpFullDesc( thisAdapter, m_assignOpType, thatAdapter );
 }
Beispiel #3
0
 std::string AssignOpImpl::getPencilKey( RC::Handle<CG::Manager> const &cgManager ) const
 {
   RC::ConstHandle<CG::Adapter> thisAdapter = cgManager->getAdapter( m_thisTypeName );
   return CG::AssignOpPencilKey( thisAdapter, m_assignOpType );
 }