示例#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 );
   }
 }
示例#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 );
 }
示例#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 );
 }