src/IntRank2/FrameMap.cc
// ____________________________________________________________________________
// ii                REFERENCE FRAME MAP CHECKING FUNCTIONS
// ____________________________________________________________________________
ii                REFERENCE FRAME MAP CHECKING FUNCTIONS
ii REFERENCE FRAME MAP CHECKING FUNCTIONS
bool FrameMap::ChkIdx(int i, bool warn) const
  {
  if(i<0 || i>=int(size()))		
    {					
    if(warn)				
      {					
      FMerror(20, 1);			
      FMerror(21,Gdec(i),1);		
      }
    return false;			
    }
  return true;				
  }
bool FrameMap :: ChkIdx ( int i , bool warn ) const { if ( i < 0 || i >= int ( size ( ) ) ) { if ( warn ) { FMerror ( 20 , 1 ) ; FMerror ( 21 , Gdec ( i ) , 1 ) ; } return false ; } return true ; }
____________________________________________________________________________
ii                REFERENCE FRAME MAP CHECKING FUNCTIONS
____________________________________________________________________________
____________________________________________________________________________ ii REFERENCE FRAME MAP CHECKING FUNCTIONS ____________________________________________________________________________
// Check that object exists // If not we will fail //   If warnings desired we output //   message(s) as desired //     Rotation not present //     Cannot access object i //   Rotation i is not present // AOK, rotation is present